File tree Expand file tree Collapse file tree 6 files changed +65
-0
lines changed
governance/xc_admin/packages/xc_admin_common/src
target_chains/ethereum/contracts/networks Expand file tree Collapse file tree 6 files changed +65
-0
lines changed Original file line number Diff line number Diff line change @@ -269,6 +269,9 @@ export class WormholeEvmContract extends WormholeContract {
269
269
from : address ,
270
270
gas : 100000000 ,
271
271
} ) ;
272
+ // Some networks like Filecoin do not support the normal transaction type and need a type 2 transaction.
273
+ // To send a type 2 transaction, remove the ``gasPrice`` field and add the `type` field with the value
274
+ // `0x2` to the transaction configuration parameters.
272
275
const result = await transactionObject . send ( {
273
276
from : address ,
274
277
gas : gasEstiamte * GAS_ESTIMATE_MULTIPLIER ,
Original file line number Diff line number Diff line change 408
408
rpcUrl : https://rpc.s2.testblast.io/$ENV_BLAST_S2_TESTNET_API_KEY
409
409
networkId : 168587773
410
410
type : EvmChain
411
+ - id : hedera_testnet
412
+ mainnet : false
413
+ rpcUrl : https://testnet.hashio.io/api
414
+ networkId : 296
415
+ type : EvmChain
416
+ - id : hedera
417
+ mainnet : true
418
+ rpcUrl : https://mainnet.hashio.io/api
419
+ networkId : 295
420
+ type : EvmChain
421
+ - id : filecoin_calibration
422
+ mainnet : false
423
+ rpcUrl : https://rpc.ankr.com/filecoin_testnet
424
+ networkId : 314159
425
+ type : EvmChain
426
+ - id : filecoin
427
+ mainnet : true
428
+ rpcUrl : https://rpc.ankr.com/filecoin
429
+ networkId : 314
430
+ type : EvmChain
Original file line number Diff line number Diff line change 244
244
- chain : zkfair
245
245
address : " 0xA2aa501b19aff244D90cc15a4Cf739D2725B5729"
246
246
type : EvmContract
247
+ - chain : filecoin_calibration
248
+ address : " 0xA2aa501b19aff244D90cc15a4Cf739D2725B5729"
249
+ type : EvmContract
250
+ - chain : filecoin
251
+ address : " 0xA2aa501b19aff244D90cc15a4Cf739D2725B5729"
252
+ type : EvmContract
Original file line number Diff line number Diff line change @@ -58,6 +58,8 @@ export const RECEIVER_CHAINS = {
58
58
mode : 60039 ,
59
59
bttc : 60040 ,
60
60
zkfair : 60041 ,
61
+ hedera : 60042 ,
62
+ filecoin : 60043 ,
61
63
62
64
// Testnets as a separate chain ids (to use stable data sources and governance for them)
63
65
injective_testnet : 60013 ,
@@ -114,6 +116,8 @@ export const RECEIVER_CHAINS = {
114
116
movement_move_devnet : 50045 ,
115
117
zkfair_testnet : 50046 ,
116
118
blast_s2_testnet : 50047 ,
119
+ hedera_testnet : 50048 ,
120
+ filecoin_calibration : 50049 , // Filecoin testnet
117
121
} ;
118
122
119
123
// If there is any overlapping value the receiver chain will replace the wormhole
Original file line number Diff line number Diff line change
1
+ [
2
+ {
3
+ "contractName" : " Migrations" ,
4
+ "address" : " 0xf5BBe9558F4Bf37F1eB82fb2CEdb1C775FA56832"
5
+ },
6
+ {
7
+ "contractName" : " WormholeReceiver" ,
8
+ "address" : " 0x8250f4aF4B972684F7b336503E2D6dFeDeB1487a" ,
9
+ "transactionHash" : " 0x8c7c1bbecc72d29e7a025b855a384f685efc3089078a21096dd3157a4fdb5882"
10
+ },
11
+ {
12
+ "contractName" : " PythUpgradable" ,
13
+ "address" : " 0xA2aa501b19aff244D90cc15a4Cf739D2725B5729" ,
14
+ "transactionHash" : " 0x8afbfdc3e7669d76d25453bf0c8c6b8f5e1751eb9fc6d35bbd300541fd63b9d3"
15
+ }
16
+ ]
Original file line number Diff line number Diff line change
1
+ [
2
+ {
3
+ "contractName" : " Migrations" ,
4
+ "address" : " 0xf5BBe9558F4Bf37F1eB82fb2CEdb1C775FA56832"
5
+ },
6
+ {
7
+ "contractName" : " WormholeReceiver" ,
8
+ "address" : " 0x8250f4aF4B972684F7b336503E2D6dFeDeB1487a" ,
9
+ "transactionHash" : " 0xa504e9db88b136aaed24cc3fdcab56af757f1d7772ea2f7eb029ffaeb8ebb3e8"
10
+ },
11
+ {
12
+ "contractName" : " PythUpgradable" ,
13
+ "address" : " 0xA2aa501b19aff244D90cc15a4Cf739D2725B5729" ,
14
+ "transactionHash" : " 0xe8d4788b95f3c6418e4300b7e671f83a0bdc2872bba0ead6daeda1ac7ac45e41"
15
+ }
16
+ ]
You can’t perform that action at this time.
0 commit comments