diff --git a/contract_manager/src/chains.ts b/contract_manager/src/chains.ts index 5c4226c2e0..78df53a4c1 100644 --- a/contract_manager/src/chains.ts +++ b/contract_manager/src/chains.ts @@ -563,8 +563,10 @@ 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 = (await deployTx.estimateGas()) * gasMultiplier; - const gasPrice = Number(await this.getGasPrice()) * gasPriceMultiplier; + const gas = Math.trunc((await deployTx.estimateGas()) * gasMultiplier); + const gasPrice = Math.trunc( + Number(await this.getGasPrice()) * gasPriceMultiplier, + ); const deployerBalance = await web3.eth.getBalance(signer.address); const gasDiff = BigInt(gas) * BigInt(gasPrice) - BigInt(deployerBalance); if (gasDiff > 0n) { diff --git a/contract_manager/store/chains/EvmChains.yaml b/contract_manager/store/chains/EvmChains.yaml index 13a980989c..d65909578e 100644 --- a/contract_manager/store/chains/EvmChains.yaml +++ b/contract_manager/store/chains/EvmChains.yaml @@ -491,11 +491,6 @@ rpcUrl: https://evm-rpc-testnet.sei-apis.com networkId: 1328 type: EvmChain -- id: fantom_sonic_testnet - mainnet: false - rpcUrl: https://rpc.testnet.soniclabs.com - networkId: 64165 - type: EvmChain - id: dela_deperp_testnet mainnet: false rpcUrl: https://sepolia-dela.deperp.com @@ -598,11 +593,6 @@ rpcUrl: https://rpc-kakarot-sepolia.karnot.xyz/ networkId: 920637907288165 type: EvmChain -- id: berachain_testnet_v2 - mainnet: false - rpcUrl: https://evm-rpc-bera.rhino-apis.com/ - networkId: 80084 - type: EvmChain - id: opbnb mainnet: true rpcUrl: https://opbnb-mainnet-rpc.bnbchain.org @@ -784,11 +774,6 @@ rpcUrl: https://api.hyperliquid-testnet.xyz/evm networkId: 998 type: EvmChain -- id: happy_bird_song_ends_with_tio - mainnet: false - rpcUrl: https://happy_bird_song_ends_with_tio.com - networkId: 80000 - type: EvmChain - id: unichain mainnet: true rpcUrl: https://redacted.quiknode.pro/$ENV_UNICHAIN_API_KEY @@ -839,11 +824,6 @@ rpcUrl: $KRAKEN_INK_RPC_URL networkId: 57073 type: EvmChain -- id: monad_devnet - mainnet: false - rpcUrl: https://rpc-devnet.monadinfra.com/rpc/dT2y6zgpggQ20WuJZ3corhJwfh9NwJPM - networkId: 20143 - type: EvmChain - id: coredao_testnet_v2 mainnet: false rpcUrl: https://rpc.test2.btcs.network diff --git a/contract_manager/store/contracts/EvmEntropyContracts.yaml b/contract_manager/store/contracts/EvmEntropyContracts.yaml index e1016889aa..2a6f431570 100644 --- a/contract_manager/store/contracts/EvmEntropyContracts.yaml +++ b/contract_manager/store/contracts/EvmEntropyContracts.yaml @@ -4,9 +4,6 @@ - chain: chiliz_spicy address: "0xD458261E832415CFd3BAE5E416FdF3230ce6F134" type: EvmEntropyContract -- chain: conflux_espace_testnet - address: "0xdF21D137Aadc95588205586636710ca2890538d5" - type: EvmEntropyContract - chain: mode_testnet address: "0x98046Bd286715D3B0BC227Dd7a956b83D8978603" type: EvmEntropyContract @@ -70,9 +67,6 @@ - chain: merlin_testnet address: "0x5744Cbf430D99456a0A8771208b674F27f8EF0Fb" type: EvmEntropyContract -- chain: berachain_testnet_v2 - address: "0x36825bf3Fbdf5a29E2d5148bfe7Dcf7B5639e320" - type: EvmEntropyContract - chain: etherlink_testnet address: "0x23f0e8FAeE7bbb405E7A7C3d60138FCfd43d7509" type: EvmEntropyContract @@ -103,9 +97,6 @@ - chain: apechain_mainnet address: "0x36825bf3Fbdf5a29E2d5148bfe7Dcf7B5639e320" type: EvmEntropyContract -- chain: fantom_sonic_testnet - address: "0x5124FAE0890dE83B3bb2cc30Bb3EDAfFc07Da744" - type: EvmEntropyContract - chain: sanko address: "0x5744Cbf430D99456a0A8771208b674F27f8EF0Fb" type: EvmEntropyContract @@ -121,9 +112,6 @@ - chain: abstract address: "0x5a4a369F4db5df2054994AF031b7b23949b98c0e" type: EvmEntropyContract -- chain: happy_bird_song_ends_with_tio - address: "0x36825bf3Fbdf5a29E2d5148bfe7Dcf7B5639e320" - type: EvmEntropyContract - chain: sonic_blaze_testnet address: "0xEbe57e8045F2F230872523bbff7374986E45C486" type: EvmEntropyContract @@ -136,9 +124,6 @@ - chain: tabi_testnet address: "0xEbe57e8045F2F230872523bbff7374986E45C486" type: EvmEntropyContract -- chain: monad_devnet - address: "0x36825bf3Fbdf5a29E2d5148bfe7Dcf7B5639e320" - type: EvmEntropyContract - chain: monad_testnet address: "0x36825bf3Fbdf5a29E2d5148bfe7Dcf7B5639e320" type: EvmEntropyContract diff --git a/contract_manager/store/contracts/EvmPriceFeedContracts.yaml b/contract_manager/store/contracts/EvmPriceFeedContracts.yaml index 6540de1356..3762ab0e46 100644 --- a/contract_manager/store/contracts/EvmPriceFeedContracts.yaml +++ b/contract_manager/store/contracts/EvmPriceFeedContracts.yaml @@ -325,9 +325,6 @@ - chain: dela_mithreum_deperp_testnet address: "0xe9d69CdD6Fe41e7B621B4A688C5D1a68cB5c8ADc" type: EvmPriceFeedContract -- chain: berachain_testnet_v2 - address: "0x2880aB155794e7179c9eE2e38200202908C17B43" - type: EvmPriceFeedContract - chain: opbnb address: "0x2880aB155794e7179c9eE2e38200202908C17B43" type: EvmPriceFeedContract @@ -391,9 +388,6 @@ - chain: flow_mainnet address: "0x2880aB155794e7179c9eE2e38200202908C17B43" type: EvmPriceFeedContract -- chain: fantom_sonic_testnet - address: "0x96124d1F6E44FfDf1fb5D6d74BB2DE1B7Fbe7376" - type: EvmPriceFeedContract - chain: abstract_testnet address: "0x47F2A9BDAd52d65b66287253cf5ca0D2b763b486" type: EvmPriceFeedContract @@ -439,18 +433,12 @@ - chain: abstract address: "0x8739d5024B5143278E2b15Bd9e7C26f6CEc658F1" type: EvmPriceFeedContract -- chain: happy_bird_song_ends_with_tio - address: "0x2880aB155794e7179c9eE2e38200202908C17B43" - type: EvmPriceFeedContract - chain: eventum_testnet address: "0x2880aB155794e7179c9eE2e38200202908C17B43" type: EvmPriceFeedContract - chain: sonic_blaze_testnet address: "0x2880aB155794e7179c9eE2e38200202908C17B43" type: EvmPriceFeedContract -- chain: happy_bird_song_ends_with_tio - address: "0xDd24F84d36BF92C65F92307595335bdFab5Bbd21" - type: EvmPriceFeedContract - chain: fantom_sonic_mainnet address: "0x2880aB155794e7179c9eE2e38200202908C17B43" type: EvmPriceFeedContract @@ -466,9 +454,6 @@ - chain: coredao_testnet_v2 address: "0x2880aB155794e7179c9eE2e38200202908C17B43" type: EvmPriceFeedContract -- chain: monad_devnet - address: "0x2880aB155794e7179c9eE2e38200202908C17B43" - type: EvmPriceFeedContract - chain: monad_testnet address: "0x2880aB155794e7179c9eE2e38200202908C17B43" type: EvmPriceFeedContract diff --git a/contract_manager/store/contracts/EvmWormholeContracts.yaml b/contract_manager/store/contracts/EvmWormholeContracts.yaml index 41f32d5cbd..137502940a 100644 --- a/contract_manager/store/contracts/EvmWormholeContracts.yaml +++ b/contract_manager/store/contracts/EvmWormholeContracts.yaml @@ -307,9 +307,6 @@ - chain: dela_mithreum_deperp_testnet address: "0x66E9cBa5529824a03B5Bc9931d9c63637101D0F7" type: EvmWormholeContract -- chain: berachain_testnet_v2 - address: "0xb27e5ca259702f209a29225d0eDdC131039C9933" - type: EvmWormholeContract - chain: opbnb address: "0xb27e5ca259702f209a29225d0eDdC131039C9933" type: EvmWormholeContract @@ -379,9 +376,6 @@ - chain: flow_mainnet address: "0xb27e5ca259702f209a29225d0eDdC131039C9933" type: EvmWormholeContract -- chain: fantom_sonic_testnet - address: "0xb700C2f6D14e2cfbD0845Bb102701dBDFf5d1bC4" - type: EvmWormholeContract - chain: abstract_testnet address: "0xB1DB1498902F08E16E11F1a423ec9CCB9537E1D6" type: EvmWormholeContract @@ -433,18 +427,12 @@ - chain: abstract address: "0x056f829183Ec806A78c26C98961678c24faB71af" type: EvmWormholeContract -- chain: happy_bird_song_ends_with_tio - address: "0xb27e5ca259702f209a29225d0eDdC131039C9933" - type: EvmWormholeContract - chain: eventum_testnet address: "0xb27e5ca259702f209a29225d0eDdC131039C9933" type: EvmWormholeContract - chain: sonic_blaze_testnet address: "0xb27e5ca259702f209a29225d0eDdC131039C9933" type: EvmWormholeContract -- chain: happy_bird_song_ends_with_tio - address: "0x0708325268dF9F66270F1401206434524814508b" - type: EvmWormholeContract - chain: fantom_sonic_mainnet address: "0xb27e5ca259702f209a29225d0eDdC131039C9933" type: EvmWormholeContract @@ -460,9 +448,6 @@ - chain: coredao_testnet_v2 address: "0xb27e5ca259702f209a29225d0eDdC131039C9933" type: EvmWormholeContract -- chain: monad_devnet - address: "0xb27e5ca259702f209a29225d0eDdC131039C9933" - type: EvmWormholeContract - chain: monad_testnet address: "0xb27e5ca259702f209a29225d0eDdC131039C9933" type: EvmWormholeContract