File tree Expand file tree Collapse file tree 5 files changed +12
-11
lines changed
sdk-coin-coredao/test/unit Expand file tree Collapse file tree 5 files changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ describe('Coredao', function () {
111
111
eip1559 : { maxFeePerGas : 20000000000 , maxPriorityFeePerGas : 10000000000 } ,
112
112
gasLimit : 500000 ,
113
113
replayProtectionOptions : {
114
- chain : 1115 ,
114
+ chain : 1114 ,
115
115
hardfork : 'london' ,
116
116
} ,
117
117
} ) ;
@@ -121,7 +121,7 @@ describe('Coredao', function () {
121
121
const tx = FeeMarketEIP1559Transaction . fromSerializedTx ( Buffer . from ( stripHexPrefix ( transaction . tx ) , 'hex' ) ) ;
122
122
tx . getSenderAddress ( ) . toString ( ) . should . equal ( mockData . walletRootAddress ) ;
123
123
const jsonTx = tx . toJSON ( ) ;
124
- jsonTx . chainId ?. should . equal ( '0x45b ' ) ;
124
+ jsonTx . chainId ?. should . equal ( '0x45a ' ) ;
125
125
jsonTx . to ?. should . equal ( mockData . recoveryDestination ) ;
126
126
} ) ;
127
127
} ) ;
Original file line number Diff line number Diff line change @@ -6,10 +6,9 @@ describe('Coredao Transfer Builder', () => {
6
6
it ( 'Should successfully build from txHex' , async function ( ) {
7
7
const txBuilder = getBuilder ( 'tcoredao' ) ;
8
8
const txHex =
9
- '0x02f86482045b010102825208944943dd2a2494e3ea5937954cb836692a047695b50180c080a0a967298f91f5c8bb735a0837e68cb43d6541f987028b60a10a165f55bca0eda6a04266fc6f2b7b1c55636bbcc2552fbe18930cf0a483ba85d2fa496fe3042f1796 ' ;
9
+ '0xf9016c02843b9aca0083b8a1a0948f977e912ef500548a0c3be6ddde9899f1199b8180b901043912521500000000000000000000000019645032c7f1533395d44a629462e751084d3e4c000000000000000000000000000000000000000000000000000000003b9aca0000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000005ec67e28000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008208d7a01157f17e3b584fa18159a0badf189c4fcea677afdbd0af8bfa9429d9a21665e7a04ac01f86b999875a64ff8333d09143ab78ab2b26fd26d6b09d367449bcf8d59c ' ;
10
10
txBuilder . from ( txHex ) ;
11
11
const parsedTx = await txBuilder . build ( ) ;
12
-
13
12
should . exist ( parsedTx . toJson ( ) ) ;
14
13
} ) ;
15
14
} ) ;
Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ describe('Network Common Configuration', () => {
16
16
const common = getCommon ( NetworkType . TESTNET ) ;
17
17
should . equal ( common . chainName ( ) , 'coredao testnet' ) ;
18
18
should . equal ( common . hardfork ( ) , 'london' ) ;
19
- should . equal ( common . chainIdBN ( ) . toString ( ) , '1115 ' ) ;
20
- should . equal ( common . networkIdBN ( ) . toString ( ) , '1115 ' ) ;
19
+ should . equal ( common . chainIdBN ( ) . toString ( ) , '1114 ' ) ;
20
+ should . equal ( common . networkIdBN ( ) . toString ( ) , '1114 ' ) ;
21
21
} ) ;
22
22
23
23
it ( 'getCommon for invalid network' , ( ) => {
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ export class CoinMap {
57
57
10 : 'opeth' ,
58
58
11155420 : 'topeth' ,
59
59
1116 : 'coredao' ,
60
- 1115 : 'tcoredao' ,
60
+ 1114 : 'tcoredao' ,
61
61
248 : 'oas' ,
62
62
9372 : 'toas' ,
63
63
14 : 'flr' ,
Original file line number Diff line number Diff line change @@ -1153,10 +1153,12 @@ class Coredao extends Mainnet implements EthereumNetwork {
1153
1153
class CoredaoTestnet extends Testnet implements EthereumNetwork {
1154
1154
name = 'CoredaoTestnet' ;
1155
1155
family = CoinFamily . COREDAO ;
1156
- explorerUrl = 'https://scan.test.btcs.network/tx/' ;
1157
- accountExplorerUrl = 'https://scan.test.btcs.network/address/' ;
1158
- chainId = 1115 ;
1159
- nativeCoinOperationHashPrefix = '1115' ;
1156
+ explorerUrl = 'https://scan.test2.btcs.network/tx/' ;
1157
+ accountExplorerUrl = 'https://scan.test2.btcs.network/address/' ;
1158
+ chainId = 1114 ;
1159
+ nativeCoinOperationHashPrefix = '1114' ;
1160
+
1161
+ // TODO (SC-1024) Update contract addresses to new testnet when they are deployed
1160
1162
batcherContractAddress = '0xad7a34aa9c0c7cb2c4d1f07ce8d1d0530b07fe27' ;
1161
1163
forwarderFactoryAddress = '0x37996e762fa8b671869740c79eb33f625b3bf92a' ;
1162
1164
forwarderImplementationAddress = '0xd5fe1c1f216b775dfd30638fa7164d41321ef79b' ;
You can’t perform that action at this time.
0 commit comments