aboutsummaryrefslogtreecommitdiffstats
path: root/packages/subproviders/test/utils
diff options
context:
space:
mode:
authorJacob Evans <jacob@dekz.net>2018-04-06 14:07:00 +0800
committerJacob Evans <jacob@dekz.net>2018-04-06 14:07:00 +0800
commita0fac663f72feafbac98c2949578ec48b8d2ec0a (patch)
tree0e342072160e66f352260e32d7c34dd8ce8b0199 /packages/subproviders/test/utils
parent774ab8a8efa1ff5914896d9435c0362a4586c2ef (diff)
downloaddexon-sol-tools-a0fac663f72feafbac98c2949578ec48b8d2ec0a.tar
dexon-sol-tools-a0fac663f72feafbac98c2949578ec48b8d2ec0a.tar.gz
dexon-sol-tools-a0fac663f72feafbac98c2949578ec48b8d2ec0a.tar.bz2
dexon-sol-tools-a0fac663f72feafbac98c2949578ec48b8d2ec0a.tar.lz
dexon-sol-tools-a0fac663f72feafbac98c2949578ec48b8d2ec0a.tar.xz
dexon-sol-tools-a0fac663f72feafbac98c2949578ec48b8d2ec0a.tar.zst
dexon-sol-tools-a0fac663f72feafbac98c2949578ec48b8d2ec0a.zip
Update shared fixture data for network 42
Diffstat (limited to 'packages/subproviders/test/utils')
-rw-r--r--packages/subproviders/test/utils/fixture_data.ts19
1 files changed, 17 insertions, 2 deletions
diff --git a/packages/subproviders/test/utils/fixture_data.ts b/packages/subproviders/test/utils/fixture_data.ts
index 3b6ab123e..890573d0d 100644
--- a/packages/subproviders/test/utils/fixture_data.ts
+++ b/packages/subproviders/test/utils/fixture_data.ts
@@ -1,8 +1,23 @@
+const TEST_RPC_ACCOUNT_0 = '0x5409ed021d9299bf6814279a6a1411a7e866a631';
+const networkId = 42;
export const fixtureData = {
- TEST_RPC_ACCOUNT_0: '0x5409ed021d9299bf6814279a6a1411a7e866a631',
- TEST_ACCOUNT_PRIVATE_KEY: 'F2F48EE19680706196E2E339E5DA3491186E0C4C5030670656B0E0164837257D',
+ TEST_RPC_ACCOUNT_0,
+ TEST_RPC_ACCOUNT_0_ACCOUNT_PRIVATE_KEY: 'F2F48EE19680706196E2E339E5DA3491186E0C4C5030670656B0E0164837257D',
PERSONAL_MESSAGE_STRING: 'hello world',
PERSONAL_MESSAGE_SIGNED_RESULT:
'0x1b0ec5e2908e993d0c8ab6b46da46be2688fdf03c7ea6686075de37392e50a7d7fcc531446699132fbda915bd989882e0064d417018773a315fb8d43ed063c9b00',
TESTRPC_DERIVATION_PATH: `m/44'/60'/0'/0`,
+ NETWORK_ID: networkId,
+ TX_DATA: {
+ nonce: '0x00',
+ gasPrice: '0x0',
+ gas: '0x2710',
+ to: '0x0000000000000000000000000000000000000000',
+ value: '0x00',
+ chainId: networkId,
+ from: TEST_RPC_ACCOUNT_0,
+ },
+ // This is the signed result of the abouve Transaction Data
+ TX_DATA_SIGNED_RESULT:
+ '0xf85f8080822710940000000000000000000000000000000000000000808078a0712854c73c69445cc1b22a7c3d7312ff9a97fe4ffba35fd636e8236b211b6e7ca0647cee031615e52d916c7c707025bc64ad525d8f1b9876c3435a863b42743178',
};