Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion contract_manager/src/core/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,9 @@ export class EvmChain extends Chain {
web3.eth.accounts.wallet.add(signer);
const contract = new web3.eth.Contract(abi);
const deployTx = contract.deploy({ data: bytecode, arguments: deployArgs });
const gas = Math.trunc((await deployTx.estimateGas()) * gasMultiplier);
const gas = Math.trunc(
(await deployTx.estimateGas({ from: signer.address })) * gasMultiplier,
);
const gasPrice = Math.trunc(
Number(await this.getGasPrice()) * gasPriceMultiplier,
);
Expand Down
14 changes: 14 additions & 0 deletions contract_manager/store/chains/EvmChains.json
Original file line number Diff line number Diff line change
Expand Up @@ -1335,5 +1335,19 @@
"rpcUrl": "https://rpc.plasma.to/",
"networkId": 9745,
"type": "EvmChain"
},
{
"id": "injective_evm",
"mainnet": true,
"rpcUrl": "https://sentry.evm-rpc.injective.network/",
"networkId": 1776,
"type": "EvmChain"
},
{
"id": "sonic_evm_testnet",
"mainnet": false,
"rpcUrl": "https://rpc.testnet.soniclabs.com",
"networkId": 14601,
"type": "EvmChain"
}
]
5 changes: 5 additions & 0 deletions contract_manager/store/contracts/EvmEntropyContracts.json
Original file line number Diff line number Diff line change
Expand Up @@ -198,5 +198,10 @@
"chain": "giwa_testnet",
"address": "0x0708325268dF9F66270F1401206434524814508b",
"type": "EvmEntropyContract"
},
{
"chain": "sonic_evm_testnet",
"address": "0x8D254a21b3C86D32F7179855531CE99164721933",
"type": "EvmEntropyContract"
}
]
7 changes: 6 additions & 1 deletion contract_manager/store/contracts/EvmExecutorContracts.json
Original file line number Diff line number Diff line change
Expand Up @@ -233,5 +233,10 @@
"chain": "itsnotreal2",
"address": "0x5744Cbf430D99456a0A8771208b674F27f8EF0Fb",
"type": "EvmExecutorContract"
},
{
"chain": "sonic_evm_testnet",
"address": "0x36825bf3Fbdf5a29E2d5148bfe7Dcf7B5639e320",
"type": "EvmExecutorContract"
}
]
]
10 changes: 10 additions & 0 deletions contract_manager/store/contracts/EvmPriceFeedContracts.json
Original file line number Diff line number Diff line change
Expand Up @@ -878,5 +878,15 @@
"chain": "plasma",
"address": "0x2880aB155794e7179c9eE2e38200202908C17B43",
"type": "EvmPriceFeedContract"
},
{
"chain": "sonic_evm_testnet",
"address": "0x2880aB155794e7179c9eE2e38200202908C17B43",
"type": "EvmPriceFeedContract"
},
{
"chain": "injective_evm",
"address": "0x36825bf3Fbdf5a29E2d5148bfe7Dcf7B5639e320",
"type": "EvmPriceFeedContract"
}
]
12 changes: 11 additions & 1 deletion contract_manager/store/contracts/EvmWormholeContracts.json
Original file line number Diff line number Diff line change
Expand Up @@ -888,5 +888,15 @@
"chain": "plasma",
"address": "0xb27e5ca259702f209a29225d0eDdC131039C9933",
"type": "EvmWormholeContract"
},
{
"chain": "sonic_evm_testnet",
"address": "0xb27e5ca259702f209a29225d0eDdC131039C9933",
"type": "EvmWormholeContract"
},
{
"chain": "injective_evm",
"address": "0x2880aB155794e7179c9eE2e38200202908C17B43",
"type": "EvmWormholeContract"
}
]
]
2 changes: 2 additions & 0 deletions governance/xc_admin/packages/xc_admin_common/src/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ export const RECEIVER_CHAINS = {
itsnotreal: 60089, // Deprecated
plasma: 60090,
itsnotreal2: 60091,
injective_evm: 60092,

// Testnets as a separate chain ids (to use stable data sources and governance for them)
injective_testnet: 60013,
Expand Down Expand Up @@ -258,6 +259,7 @@ export const RECEIVER_CHAINS = {
ethereal_testnet_v2: 50129,
fluent_testnet: 50130,
giwa_testnet: 50131,
sonic_evm_testnet: 50132, // sonic_testnet already exist, so had to use sonic_evm_testnet
};

// If there is any overlapping value the receiver chain will replace the wormhole
Expand Down
Loading