Skip to content

Commit 9e3735e

Browse files
committed
feat: update rpc url for hbarevm
ticket: CECHO-11
1 parent 75fd540 commit 9e3735e

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

hardhat.config.ts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -715,15 +715,23 @@ const config: HardhatUserConfig = {
715715
]
716716
},
717717
thbarevm: {
718-
url: 'https://testnet.hashio.io/api',
718+
// Hashio relay (0.77.1) rejects contract-creation eth_estimateGas when a
719+
// `from` field is present (returns INSUFFICIENT_TX_FEE), which breaks the
720+
// deploy scripts. Thirdweb's Hedera gateway handles this correctly.
721+
// Keep Hashio/HashScan for contract verification only.
722+
url: 'https://296.rpc.thirdweb.com',
719723
accounts: [
720724
`${PRIVATE_KEY_FOR_V4_CONTRACT_DEPLOYMENT}`,
721725
`${PLACEHOLDER_KEY}`,
722726
`${PRIVATE_KEY_FOR_BATCHER_CONTRACT_DEPLOYMENT}`
723727
]
724728
},
725729
hbarevm: {
726-
url: 'https://mainnet.hashio.io/api',
730+
// Hashio relay (0.77.1) rejects contract-creation eth_estimateGas when a
731+
// `from` field is present (returns INSUFFICIENT_TX_FEE), which breaks the
732+
// deploy scripts. Thirdweb's Hedera gateway handles this correctly.
733+
// Keep Hashio/HashScan for contract verification only.
734+
url: 'https://295.rpc.thirdweb.com',
727735
accounts: [
728736
`${PRIVATE_KEY_FOR_V4_CONTRACT_DEPLOYMENT}`,
729737
`${PLACEHOLDER_KEY}`,

0 commit comments

Comments
 (0)