From 1c06fa0cd78cbacb414968d8857501058dc25e8a Mon Sep 17 00:00:00 2001 From: karim-en Date: Thu, 13 Jul 2023 18:20:22 +0100 Subject: [PATCH] Tests: rename & delete unsued blocks --- contracts/eth/nearbridge/test/NearBridge2.js | 29 ++- .../{126313429.json => block_126313429.json} | 0 .../{126315547.json => block_126315547.json} | 0 .../{126315744.json => block_126315744.json} | 0 .../{126315811.json => block_126315811.json} | 0 .../{126315892.json => block_126315892.json} | 0 .../{126315927.json => block_126315927.json} | 0 .../eth/nearbridge/test/block_15178713.json | 236 ------------------ .../eth/nearbridge/test/block_15178760.json | 1 - .../eth/nearbridge/test/block_15204402.json | 236 ------------------ .../eth/nearbridge/test/block_15248583.json | 1 - .../test/{244.json => block_244.json} | 0 .../test/{304.json => block_304.json} | 0 .../test/{308.json => block_308.json} | 0 14 files changed, 14 insertions(+), 489 deletions(-) rename contracts/eth/nearbridge/test/{126313429.json => block_126313429.json} (100%) rename contracts/eth/nearbridge/test/{126315547.json => block_126315547.json} (100%) rename contracts/eth/nearbridge/test/{126315744.json => block_126315744.json} (100%) rename contracts/eth/nearbridge/test/{126315811.json => block_126315811.json} (100%) rename contracts/eth/nearbridge/test/{126315892.json => block_126315892.json} (100%) rename contracts/eth/nearbridge/test/{126315927.json => block_126315927.json} (100%) delete mode 100644 contracts/eth/nearbridge/test/block_15178713.json delete mode 100644 contracts/eth/nearbridge/test/block_15178760.json delete mode 100644 contracts/eth/nearbridge/test/block_15204402.json delete mode 100644 contracts/eth/nearbridge/test/block_15248583.json rename contracts/eth/nearbridge/test/{244.json => block_244.json} (100%) rename contracts/eth/nearbridge/test/{304.json => block_304.json} (100%) rename contracts/eth/nearbridge/test/{308.json => block_308.json} (100%) diff --git a/contracts/eth/nearbridge/test/NearBridge2.js b/contracts/eth/nearbridge/test/NearBridge2.js index f25dc26a8..4dc51bbfd 100644 --- a/contracts/eth/nearbridge/test/NearBridge2.js +++ b/contracts/eth/nearbridge/test/NearBridge2.js @@ -61,11 +61,11 @@ it('2023-05-09 Example', async function () { it('Add second block in first epoch should be verifiable', async function () { // Get "initial validators" that will produce block 304 - const block244 = require('./244.json'); + const block244 = require('./block_244.json'); const initialValidators = block244.next_bps; - const block304 = require('./304.json'); - const block308 = require('./308.json'); + const block304 = require('./block_304.json'); + const block308 = require('./block_308.json'); await NearBridge.initWithValidators(borshifyInitialValidators(initialValidators)); await NearBridge.initWithBlock(borshify(block304)); @@ -84,13 +84,12 @@ it('Add second block in first epoch should be verifiable', async function () { }); it('Test adding blocks in new epoch when bps change', async function () { - - const block126313429 = require('./126313429.json'); - const block126315547 = require('./126315547.json'); - const block126315744 = require('./126315744.json'); - const block126315811 = require('./126315811.json'); - const block126315892 = require('./126315892.json'); - const block126315927 = require('./126315927.json'); + const block126313429 = require('./block_126313429.json'); + const block126315547 = require('./block_126315547.json'); + const block126315744 = require('./block_126315744.json'); + const block126315811 = require('./block_126315811.json'); + const block126315892 = require('./block_126315892.json'); + const block126315927 = require('./block_126315927.json'); await NearBridge.initWithValidators(borshifyInitialValidators(block126313429.next_bps)); await NearBridge.initWithBlock(borshify(block126315547)); @@ -119,11 +118,11 @@ it('Test adding blocks in new epoch when bps change', async function () { it('After challenge prev should be revert to prev epoch of latest valid block', async function () { - const block126313429 = require('./126313429.json'); - const block126315547 = require('./126315547.json'); - const block126315744 = require('./126315744.json'); - const block126315811 = require('./126315811.json'); - const block126315892 = require('./126315892.json'); + const block126313429 = require('./block_126313429.json'); + const block126315547 = require('./block_126315547.json'); + const block126315744 = require('./block_126315744.json'); + const block126315811 = require('./block_126315811.json'); + const block126315892 = require('./block_126315892.json'); await NearBridge.initWithValidators(borshifyInitialValidators(block126313429.next_bps)); await NearBridge.initWithBlock(borshify(block126315547)); diff --git a/contracts/eth/nearbridge/test/126313429.json b/contracts/eth/nearbridge/test/block_126313429.json similarity index 100% rename from contracts/eth/nearbridge/test/126313429.json rename to contracts/eth/nearbridge/test/block_126313429.json diff --git a/contracts/eth/nearbridge/test/126315547.json b/contracts/eth/nearbridge/test/block_126315547.json similarity index 100% rename from contracts/eth/nearbridge/test/126315547.json rename to contracts/eth/nearbridge/test/block_126315547.json diff --git a/contracts/eth/nearbridge/test/126315744.json b/contracts/eth/nearbridge/test/block_126315744.json similarity index 100% rename from contracts/eth/nearbridge/test/126315744.json rename to contracts/eth/nearbridge/test/block_126315744.json diff --git a/contracts/eth/nearbridge/test/126315811.json b/contracts/eth/nearbridge/test/block_126315811.json similarity index 100% rename from contracts/eth/nearbridge/test/126315811.json rename to contracts/eth/nearbridge/test/block_126315811.json diff --git a/contracts/eth/nearbridge/test/126315892.json b/contracts/eth/nearbridge/test/block_126315892.json similarity index 100% rename from contracts/eth/nearbridge/test/126315892.json rename to contracts/eth/nearbridge/test/block_126315892.json diff --git a/contracts/eth/nearbridge/test/126315927.json b/contracts/eth/nearbridge/test/block_126315927.json similarity index 100% rename from contracts/eth/nearbridge/test/126315927.json rename to contracts/eth/nearbridge/test/block_126315927.json diff --git a/contracts/eth/nearbridge/test/block_15178713.json b/contracts/eth/nearbridge/test/block_15178713.json deleted file mode 100644 index b479319de..000000000 --- a/contracts/eth/nearbridge/test/block_15178713.json +++ /dev/null @@ -1,236 +0,0 @@ -{ - "prev_block_hash":"4GxgMTWB9wixdWPPTLrfXH9wZWmRF8kaozrnjedgT3yN", - "next_block_inner_hash":"2tZib5wzkbFuGkRpj7z3TZ3sy6k8uPE5KUhvTNUDJ44c", - "inner_lite":{ - "height":15178713, - "epoch_id":"3Y2LeXHxrsYoXiNSs1YTLiir7XUyrXqCy5RZWVpMjj2f", - "next_epoch_id":"F6Kte1BopdxesfLSx2C4qX5D2pfHJLK2tPwAfPBjW7yb", - "prev_state_root":"23H98AdLAuWJ45xueJ3uce7ppqJhPaJmkHRmzXAH2dhG", - "outcome_root":"7tkzFg8RHBmMw1ncRJZCCZAizgq4rwCftTKYLce8RU8t", - "timestamp":1599610800786885400, - "timestamp_nanosec":"1599610800786885484", - "next_bp_hash":"3mpWxraadKzTFnPx7oNDpTS6TiXiG7xLrXkEJ2rW5ipR", - "block_merkle_root":"DBSrnjke2qqWoRnRFBNgEkxTM1z3QQFJxJVXR5GyHTNd" - }, - "inner_rest_hash":"4u48cKyeVQyVbFWHcgwY7nZQrSxCeott6vwLf1sWMYe2", - "next_bps":[ - { - "account_id":"alexandruast.pool.f863973.m0", - "public_key":"ed25519:A3XJ3uVGxSi9o2gnG2r8Ra3fqqodRpL4iuLTc6fNdGUj", - "stake":"107173191597663585523525746269" - }, - { - "account_id":"dsrvlabs.pool.f863973.m0", - "public_key":"ed25519:61ei2efmmLkeDR1CG6JDEC2U3oZCUuC2K1X16Vmxrud9", - "stake":"119451453112709816384635131094" - }, - { - "account_id":"zainy.pool.f863973.m0", - "public_key":"ed25519:CnYuTtsUsmYM8WxQiC3UMAbdVnapHtwLT2S7WBFKhD7M", - "stake":"72852799958430931761534272218" - }, - { - "account_id":"inotel.pool.f863973.m0", - "public_key":"ed25519:C55jH1MCHYGa3tzUyZZdGrJmmCLP22Aa4v88KYpn2xwZ", - "stake":"123432727217727761212405759400" - }, - { - "account_id":"bisontrails.pool.f863973.m0", - "public_key":"ed25519:8g4P5EXyp2b2pfVMHY1QLfkRcY59hjPfWrFCKUWX3RmR", - "stake":"336176656044126300277146541359" - }, - { - "account_id":"node2", - "public_key":"ed25519:GkDv7nSMS3xcqA45cpMvFmfV1o4fRF6zYo1JRR6mNqg5", - "stake":"1268346241475720087568057387055" - }, - { - "account_id":"pool_easy2stake.pool.f863973.m0", - "public_key":"ed25519:8nzKxvmyeauQRehWkby8GfWNLgqPiF5FCRFSD75M1Rwh", - "stake":"122397138234589506779466946084" - }, - { - "account_id":"top.pool.f863973.m0", - "public_key":"ed25519:FR5qxAsP8GgXDN96pappLtWMywiqWsPVqT3HLE3YaUx", - "stake":"119898836066057324986841673742" - }, - { - "account_id":"fresh_lockup.pool.f863973.m0", - "public_key":"ed25519:7CMFLtEohojtxBkmj9Jb6AGgbphb1zvxymHzpzuyCjfG", - "stake":"139619718154621021957788001435" - }, - { - "account_id":"node1", - "public_key":"ed25519:6DSjZ8mvsRZDvFqFxo8tCKePG96omXW7eVYVSySmDk8e", - "stake":"1313753104055069329020024981283" - }, - { - "account_id":"node0", - "public_key":"ed25519:7PGseFbWxvYVgZ89K1uTJKYoKetWs7BJtbyXDzfbAcqX", - "stake":"1313928341565675877507313830790" - }, - { - "account_id":"kronos.pool.f863973.m0", - "public_key":"ed25519:3i2pertqzF8xqkJ4BrE4t4r67YiYYrUKCktbqvDgjzuQ", - "stake":"102753264019650005274509265618" - }, - { - "account_id":"figment.pool.f863973.m0", - "public_key":"ed25519:5vyPYDsCsxfJvgremrL1cRPfuFqgm62AsyC4AZYJM85w", - "stake":"91606290289796633983270788197" - }, - { - "account_id":"01node.pool.f863973.m0", - "public_key":"ed25519:3iNqnvBgxJPXCxu6hNdvJso1PEAc1miAD35KQMBCA3aL", - "stake":"121106555067036708161091240204" - }, - { - "account_id":"sl1sub.pool.f863973.m0", - "public_key":"ed25519:3URBpNUjNAMzugQH1rdSKMtwFM8AwHaJgZk5Z6YtnfFL", - "stake":"109278830231560542166170239817" - }, - { - "account_id":"aquarius.pool.f863973.m0", - "public_key":"ed25519:8NfEarjStDYjJTwKUgQGy7Z7UTGsZaPhTUsExheQN3r1", - "stake":"88471539602392116738808466388" - }, - { - "account_id":"bazilik.pool.f863973.m0", - "public_key":"ed25519:3pDJwDQ6Y5B9QeW1jz8KunhZH4D4GQG86reTmrRfdD7c", - "stake":"120679415892907117111390134328" - }, - { - "account_id":"moonlet.pool.f863973.m0", - "public_key":"ed25519:3e1nVCVGNS3yr6CcUvpDAs3BhiWtyM9uTBWkyVR5Xn3K", - "stake":"98652874088329893947021598807" - }, - { - "account_id":"staked.pool.6fb1358", - "public_key":"ed25519:684rMbuVYYgL2CkmYgC1weLh3erd2bwrmtQtJJhWzPwj", - "stake":"199056759807572200425508675037" - }, - { - "account_id":"certusone.pool.f863973.m0", - "public_key":"ed25519:CKW7f41Kn8YCDPzaGLs1MrPb9h3BjQmHhbei6Ff6nRRF", - "stake":"125660363012937384021192901573" - }, - { - "account_id":"nodeasy.pool.f863973.m0", - "public_key":"ed25519:25Dhg8NBvQhsVTuugav3t1To1X1zKiomDmnh8yN9hHMb", - "stake":"90828895032286577298859651309" - }, - { - "account_id":"staked.pool.f863973.m0", - "public_key":"ed25519:D2afKYVaKQ1LGiWbMAZRfkKLgqimTR74wvtESvjx5Ft2", - "stake":"105830213003055269037660818310" - }, - { - "account_id":"orangeclub.pool.f863973.m0", - "public_key":"ed25519:HezFeSzcwuR5wvkqccgMCMnpf1eQkVCfk52tXZEdKZHz", - "stake":"208202022929424471252944494731" - }, - { - "account_id":"thepassivetrust.pool.f863973.m0", - "public_key":"ed25519:4NccD2DNJpBkDmWeJ2GbqPoivQ93qcKiR4PHALJKCTod", - "stake":"115110695650470114565756454966" - }, - { - "account_id":"lunanova.pool.f863973.m0", - "public_key":"ed25519:2fZ59qfo9QHNLijoht9cwUb9enSNcnRmXbQn1gKZxvkw", - "stake":"118259887838174750120242604774" - }, - { - "account_id":"dokia.pool.f863973.m0", - "public_key":"ed25519:935JMz1vLcJxFApG3TY4MA4RHhvResvoGwCrQoJxHPn9", - "stake":"167432217130375811242413280228" - }, - { - "account_id":"bitcat.pool.f863973.m0", - "public_key":"ed25519:9mtnwPQyyap1QNH9ag6r4the7Jkkpdyt9HUF5G1dWxKx", - "stake":"101101830043116301060736686489" - }, - { - "account_id":"zpool.pool.f863973.m0", - "public_key":"ed25519:ETFRFNHfvd6fpj74MGYYQp3diY8WB4bFmWMxjTB2yY4V", - "stake":"99512891516314260089253778858" - }, - { - "account_id":"blazenet.pool.f863973.m0", - "public_key":"ed25519:DiogP36wBXKFpFeqirrxN8G2Mq9vnakgBvgnHdL9CcN3", - "stake":"112255207308548035105975728558" - }, - { - "account_id":"masternode24.pool.f863973.m0", - "public_key":"ed25519:9E3JvrQN6VGDGg1WJ3TjBsNyfmrU6kncBcDvvJLj6qHr", - "stake":"113584978915478143979523867994" - }, - { - "account_id":"iosg.pool.f863973.m0", - "public_key":"ed25519:ENp2MvEsT4kVDRdyScSDJZeCMovVPPoodSfHVes1r43M", - "stake":"95085410110477417768019170089" - }, - { - "account_id":"jazza.pool.f863973.m0", - "public_key":"ed25519:85cPMNVrqUz8N7oWbbvWbUuamHcJNe49uRbaSzftLCz9", - "stake":"129183474509308730407487785636" - }, - { - "account_id":"moonlet.pool.6fb1358", - "public_key":"ed25519:3e1nVCVGNS3yr6CcUvpDAs3BhiWtyM9uTBWkyVR5Xn3K", - "stake":"122874033898208491354065066976" - }, - { - "account_id":"sparkpool.pool.f863973.m0", - "public_key":"ed25519:D8ByHdRhPAfRQNgVj1Pri8P2A5P1jthbyqYha38MtyBb", - "stake":"101926228632174257198533848344" - }, - { - "account_id":"syncnode.pool.f863973.m0", - "public_key":"ed25519:FUAVDkmLhuTbKYv4GWuWv9ogjKzRatLd5ZBMKXRy7WqE", - "stake":"92687242075644971666484304883" - }, - { - "account_id":"stakin.pool.f863973.m0", - "public_key":"ed25519:GvddxjaxBCqGGB4kMNWNFtvozU1EEZ2jrnggKZW8LaU4", - "stake":"93304393186632432779639241730" - } - ], - "approvals_after_next":[ - "ed25519:2aAUxF6maA1FzvgrRbBTRY39MNZSWB56wp2uXMswwMmfinHVKXC99Bbx6Nqn5fRcQ6UDksowhMn8wNCQAS37K89H", - null, - "ed25519:4t7eyZfGFLB5y1s2f6cTRKABswBb1YGvYapy8UfeHv94Dpt8gmxd4vKznHYVPa66UBxhmtrhihpRP6CPRgQj6JN", - "ed25519:65Vh5ky75H18UGRQpmtrAJEdsrcroQGthQSA8pCcqXm2G53ogcQU6HzPsskXmLaCYPJx1C5CPae9zTVbM7SrRvWN", - null, - "ed25519:2gcjpmXzqtw14thzFR2B3wiLf7m5e5Uwrq3wxFTGgEptweo931X6gqS3govKe44EKgu9x53ZNWq4Ay43d2JYEuXN", - "ed25519:2uN21heKG3n2tEVnw9ghckQPyRPpuLG5GTDXSQ3rYY6gCiAxT3aqBYnL6rWe92VZ9zTdwW5ye6cPv7TDbGqj2zoD", - "ed25519:362Q18K1gaQmPye19Hq6Xfi4hcjXYk2YUDEVvAP4siSg38yQVf4ud9D9TsRq3uZQM7axx1NsSDV3EeF3FUociwFm", - "ed25519:2aDdU7Tvw7eRXLA3sjDPNbLJZozBZcxEg5U9f64kPsB28kFAbLh2Tufux9NNakZyMLv1Qnso1CiozMVkDf5fXiAn", - "ed25519:5TnYqnCn4XVdYaceEbgkBR3pgTdMK8NPsPTj8kfMC83jcBdXbhL2bgbiYEwjJcdBhFh2HewrQMZHvjQzerk6apZJ", - "ed25519:5pHwCSy2b6bzH3Cn1ucRV8wDURdw7cmkYNbXv5urvdsXuS4JBVgdBfKho1prXrBVsQgRFYrpNzcAktXYfrF8ng5h", - "ed25519:4oLiywoqoggk5953QNfw7ybYmPYHgyC2KgSD3fsn7xwnwL2Ht2wY5dTHC6HcrzCRU4z5hL3gwrktXXMeXwMW2MYu", - "ed25519:5or3Zm12rFthdT93BuLLaMtsPxjUwyRrwZ8SHVAJAY7TG2asNXMDAywkbPKs4aqYnRYyA5oz1ihR5cVpouXxmKsQ", - "ed25519:5vgZWRRZWV9ujr8kmF31VWhN1LPDt1313DMVeZXEEpaEV6GC6feDzusfqmHFdj4v2pzh3oWwVzWWuzUbRyakqW68", - null, - "ed25519:5bbqAjxMTXxxPUgWxfJMfFiA6trunQW3JDXeCBAFSJCpwLWYymbghSoxuJAV8rccddiQA11y9Wu784TMU9bLRaD2", - "ed25519:4pTD7BbFe87uQBHUGzResTw4wss9idC1wePpqniyYRZak5G6itF3oF9JeeyxZ4DEcHZQ9HwT4JKkSFbqnqkQoTQh", - null, - null, - null, - null, - "ed25519:4QwthbHHvBjEB6JYx7tFUu7WHmjeQQMK6rKRkTEir6jD6p1RbYZn5gDKM33Dwis8igumrsVb92hjifLwdk7oVTRk", - null, - "ed25519:3zBBUBSKCkGUaSVTt3HNrYMwPFTEZnhRY3zEy5kr5xtdMdguc6FwK3iNiazK5G5WyeLufxLJoqZbuCKgVkZsw8fX", - null, - null, - "ed25519:5EDLUEZhkUbeAeu2Txd8kSo3YCCVgstWQPEQNdsCNT3pcBWLdcfT4hUxfXvzpBzYRjM8jWgmk1ivKxANcFVYJpZD", - null, - null, - "ed25519:4VBVmJijexgCfrYpSCr9K2rVk84DVNqjfzH8digA6xf2QVRbzVZcRiFWhnSaEJYHYzUuxEQVsToXiJVwp9eVjGqb", - null, - "ed25519:38p9Yr7Ec8XdHGcefK14zMh15YECrniELUZtttRuK2SZ6hLZcn2oTaW5p3ZuGKQzGNZEyVxvdFtVjoVPEE3rudHZ", - null, - "ed25519:5aYiTVUBNvwLuVyYUJ598Tcvent2E7hyw6MuTFioVW1PLCpb7h16SMr58QB74fFAs86znzmohdP5vjTYvTb5Dg6G", - null, - "ed25519:221Sa21DeVZEfyKTgGSYtguFeqdpHqfssH1yvSxn4JReQ439cQkmBzZwi9hS1JXD97UMrjmYX1Qp9iC35iKCK81D" - ] -} \ No newline at end of file diff --git a/contracts/eth/nearbridge/test/block_15178760.json b/contracts/eth/nearbridge/test/block_15178760.json deleted file mode 100644 index eae2df4b4..000000000 --- a/contracts/eth/nearbridge/test/block_15178760.json +++ /dev/null @@ -1 +0,0 @@ -{"prev_block_hash":"EHj7xo8oPieAZ3BQ48anjoSEMsmEWsWXNmiYFUDrKhTf","next_block_inner_hash":"BU4Zr9iJeUjyLCJWC6KeEjic7ptbtSMd91pFMJjzcXvt","inner_lite":{"height":15178760,"epoch_id":"3Y2LeXHxrsYoXiNSs1YTLiir7XUyrXqCy5RZWVpMjj2f","next_epoch_id":"F6Kte1BopdxesfLSx2C4qX5D2pfHJLK2tPwAfPBjW7yb","prev_state_root":"DfjMtVcAkmndrWejLdvU2vfaGA6ftR49vuqQmUFSrxee","outcome_root":"7tkzFg8RHBmMw1ncRJZCCZAizgq4rwCftTKYLce8RU8t","timestamp":1599610830921339000,"timestamp_nanosec":"1599610830921338861","next_bp_hash":"3mpWxraadKzTFnPx7oNDpTS6TiXiG7xLrXkEJ2rW5ipR","block_merkle_root":"BAgUjDATxWK5Cvzkd1yvmWCrqz2eroE784KTgvp6bpK8"},"inner_rest_hash":"CCKQ6Jqxdmu4SUM27yUd8QBXQAPAwHAu2tTcuwo23yqH","next_bps":[{"account_id":"alexandruast.pool.f863973.m0","public_key":"ed25519:A3XJ3uVGxSi9o2gnG2r8Ra3fqqodRpL4iuLTc6fNdGUj","stake":"107173191597663585523525746269"},{"account_id":"dsrvlabs.pool.f863973.m0","public_key":"ed25519:61ei2efmmLkeDR1CG6JDEC2U3oZCUuC2K1X16Vmxrud9","stake":"119451453112709816384635131094"},{"account_id":"zainy.pool.f863973.m0","public_key":"ed25519:CnYuTtsUsmYM8WxQiC3UMAbdVnapHtwLT2S7WBFKhD7M","stake":"72852799958430931761534272218"},{"account_id":"inotel.pool.f863973.m0","public_key":"ed25519:C55jH1MCHYGa3tzUyZZdGrJmmCLP22Aa4v88KYpn2xwZ","stake":"123432727217727761212405759400"},{"account_id":"bisontrails.pool.f863973.m0","public_key":"ed25519:8g4P5EXyp2b2pfVMHY1QLfkRcY59hjPfWrFCKUWX3RmR","stake":"336176656044126300277146541359"},{"account_id":"node2","public_key":"ed25519:GkDv7nSMS3xcqA45cpMvFmfV1o4fRF6zYo1JRR6mNqg5","stake":"1268346241475720087568057387055"},{"account_id":"pool_easy2stake.pool.f863973.m0","public_key":"ed25519:8nzKxvmyeauQRehWkby8GfWNLgqPiF5FCRFSD75M1Rwh","stake":"122397138234589506779466946084"},{"account_id":"top.pool.f863973.m0","public_key":"ed25519:FR5qxAsP8GgXDN96pappLtWMywiqWsPVqT3HLE3YaUx","stake":"119898836066057324986841673742"},{"account_id":"fresh_lockup.pool.f863973.m0","public_key":"ed25519:7CMFLtEohojtxBkmj9Jb6AGgbphb1zvxymHzpzuyCjfG","stake":"139619718154621021957788001435"},{"account_id":"node1","public_key":"ed25519:6DSjZ8mvsRZDvFqFxo8tCKePG96omXW7eVYVSySmDk8e","stake":"1313753104055069329020024981283"},{"account_id":"node0","public_key":"ed25519:7PGseFbWxvYVgZ89K1uTJKYoKetWs7BJtbyXDzfbAcqX","stake":"1313928341565675877507313830790"},{"account_id":"kronos.pool.f863973.m0","public_key":"ed25519:3i2pertqzF8xqkJ4BrE4t4r67YiYYrUKCktbqvDgjzuQ","stake":"102753264019650005274509265618"},{"account_id":"figment.pool.f863973.m0","public_key":"ed25519:5vyPYDsCsxfJvgremrL1cRPfuFqgm62AsyC4AZYJM85w","stake":"91606290289796633983270788197"},{"account_id":"01node.pool.f863973.m0","public_key":"ed25519:3iNqnvBgxJPXCxu6hNdvJso1PEAc1miAD35KQMBCA3aL","stake":"121106555067036708161091240204"},{"account_id":"sl1sub.pool.f863973.m0","public_key":"ed25519:3URBpNUjNAMzugQH1rdSKMtwFM8AwHaJgZk5Z6YtnfFL","stake":"109278830231560542166170239817"},{"account_id":"aquarius.pool.f863973.m0","public_key":"ed25519:8NfEarjStDYjJTwKUgQGy7Z7UTGsZaPhTUsExheQN3r1","stake":"88471539602392116738808466388"},{"account_id":"bazilik.pool.f863973.m0","public_key":"ed25519:3pDJwDQ6Y5B9QeW1jz8KunhZH4D4GQG86reTmrRfdD7c","stake":"120679415892907117111390134328"},{"account_id":"moonlet.pool.f863973.m0","public_key":"ed25519:3e1nVCVGNS3yr6CcUvpDAs3BhiWtyM9uTBWkyVR5Xn3K","stake":"98652874088329893947021598807"},{"account_id":"staked.pool.6fb1358","public_key":"ed25519:684rMbuVYYgL2CkmYgC1weLh3erd2bwrmtQtJJhWzPwj","stake":"199056759807572200425508675037"},{"account_id":"certusone.pool.f863973.m0","public_key":"ed25519:CKW7f41Kn8YCDPzaGLs1MrPb9h3BjQmHhbei6Ff6nRRF","stake":"125660363012937384021192901573"},{"account_id":"nodeasy.pool.f863973.m0","public_key":"ed25519:25Dhg8NBvQhsVTuugav3t1To1X1zKiomDmnh8yN9hHMb","stake":"90828895032286577298859651309"},{"account_id":"staked.pool.f863973.m0","public_key":"ed25519:D2afKYVaKQ1LGiWbMAZRfkKLgqimTR74wvtESvjx5Ft2","stake":"105830213003055269037660818310"},{"account_id":"orangeclub.pool.f863973.m0","public_key":"ed25519:HezFeSzcwuR5wvkqccgMCMnpf1eQkVCfk52tXZEdKZHz","stake":"208202022929424471252944494731"},{"account_id":"thepassivetrust.pool.f863973.m0","public_key":"ed25519:4NccD2DNJpBkDmWeJ2GbqPoivQ93qcKiR4PHALJKCTod","stake":"115110695650470114565756454966"},{"account_id":"lunanova.pool.f863973.m0","public_key":"ed25519:2fZ59qfo9QHNLijoht9cwUb9enSNcnRmXbQn1gKZxvkw","stake":"118259887838174750120242604774"},{"account_id":"dokia.pool.f863973.m0","public_key":"ed25519:935JMz1vLcJxFApG3TY4MA4RHhvResvoGwCrQoJxHPn9","stake":"167432217130375811242413280228"},{"account_id":"bitcat.pool.f863973.m0","public_key":"ed25519:9mtnwPQyyap1QNH9ag6r4the7Jkkpdyt9HUF5G1dWxKx","stake":"101101830043116301060736686489"},{"account_id":"zpool.pool.f863973.m0","public_key":"ed25519:ETFRFNHfvd6fpj74MGYYQp3diY8WB4bFmWMxjTB2yY4V","stake":"99512891516314260089253778858"},{"account_id":"blazenet.pool.f863973.m0","public_key":"ed25519:DiogP36wBXKFpFeqirrxN8G2Mq9vnakgBvgnHdL9CcN3","stake":"112255207308548035105975728558"},{"account_id":"masternode24.pool.f863973.m0","public_key":"ed25519:9E3JvrQN6VGDGg1WJ3TjBsNyfmrU6kncBcDvvJLj6qHr","stake":"113584978915478143979523867994"},{"account_id":"iosg.pool.f863973.m0","public_key":"ed25519:ENp2MvEsT4kVDRdyScSDJZeCMovVPPoodSfHVes1r43M","stake":"95085410110477417768019170089"},{"account_id":"jazza.pool.f863973.m0","public_key":"ed25519:85cPMNVrqUz8N7oWbbvWbUuamHcJNe49uRbaSzftLCz9","stake":"129183474509308730407487785636"},{"account_id":"moonlet.pool.6fb1358","public_key":"ed25519:3e1nVCVGNS3yr6CcUvpDAs3BhiWtyM9uTBWkyVR5Xn3K","stake":"122874033898208491354065066976"},{"account_id":"sparkpool.pool.f863973.m0","public_key":"ed25519:D8ByHdRhPAfRQNgVj1Pri8P2A5P1jthbyqYha38MtyBb","stake":"101926228632174257198533848344"},{"account_id":"syncnode.pool.f863973.m0","public_key":"ed25519:FUAVDkmLhuTbKYv4GWuWv9ogjKzRatLd5ZBMKXRy7WqE","stake":"92687242075644971666484304883"},{"account_id":"stakin.pool.f863973.m0","public_key":"ed25519:GvddxjaxBCqGGB4kMNWNFtvozU1EEZ2jrnggKZW8LaU4","stake":"93304393186632432779639241730"}],"approvals_after_next":["ed25519:53WkkqNk6exMia38rDiwkKzsm8Uu5iGM5HSouEvZjVrcj9NCPNcrkz4r5ZM8jAYGU5PVyx1RehfCvGxGdzDY1DH8","ed25519:2gVRCx2yeokBKwTCRB9oRZKnzHGbiiedor7YUw1Ks86DpZYRaBdheCq52PkxTrJyved5PBpxTs9avJxWJQSFHxgw","ed25519:4kwob2zUaoh7S18qoAPC5GUmSc4pNCipdJY9kRJ5h8J71BCQ5aYo3rsfjVpeFe2CtEF7ZuuLzmik3V7cjUSwcPMp","ed25519:5dD4bmcoZHNoVYDc87jnpRqn79sAkXpaEzuZFSKH1Zea13ARMujYrirkuwbvJcA9AAiXeUHRxNZh2KehHdELEB2B","ed25519:2gMi9fMhwaJPatTPHQY7tGsM9dHgqU9ax37Cn9fpbc1pgPYTnzekfvLwC7L5cVkWKS1L1mFwcKkJHX8UKbX3V3Xw",null,"ed25519:5VtmsPQuv4XKybU5i2tgLQgJ5wakmkw9GZbXQG3g18ihkrGAYcmoRa7gHGCgdripVFmDMLD3XRWhbiUgJhsiGtPw","ed25519:5sMDHBq5WWiR582oYE3B5DJtnbbE8Ma6UuuPja3LRmoobs2Uqu99wdwddaELBs98WevxGpQrM1JUVrqZAyA7VeqT","ed25519:4gGAqSjtqRu6corjEDFVpfWBMMPruwXPUMu4e1dq26p6hMVEdJ6N3Vvkgov1F7g1D1pgqs23AiZ4SULvU33wfZ9g","ed25519:4LPcDNQhLJseyX8X3WyQU9gjKY6cvYNA6Lv44PKMsn9CJe6K5FBY4iHCuXg5KPt1KMK7HDUo2H6J3CVFCdZzWapm","ed25519:3D14Qs6FTih9nvkTHXac6JGVM9sxDvie6URcFJ8WbYgu7ro92RXT3Gm4Mt52LzQzCw4FRtaWctXEQPnzLuYsiZr5","ed25519:3jbvUCpCjKSLN1URhbYi3sYWAPyyuaNMhfo4fkp2S6ERMn8Xfxb4dBXwxAoju459AMAyvTkJtqG5aYRSUcGTLUY3","ed25519:57RVJYeKu3N2RJWqZozjkexNUeqYdNETY7AwjsJFvtomXW6svgnDuufTSmHqNsqEkGUxEJzCfk3gt1RXo3egsmkw","ed25519:52YiopXmjz4js65judtZn5kY3UnBsUQgbdDxHzCwXgSqxHFNTd4yY1UAWx1KHHkugvakYLStirDDMKNXo5gSHAiE","ed25519:6Noi9AfrVnKc1Jy2ZfUk4pQXy77AXHqCNYy9pkkoeTuPiQPQpKQZrteBqshNmBmhXooEgAk4K2g7PUjGQzbnmyY",null,null,"ed25519:2t5iVz2VX3VTEKsq9rDK1cS1Ca7bRGDKeQRWMwwYkx7GrzkcQFzZKJ5C4BYQ1ms1r7jUzPpw2jshn4BQHQkggejj",null,null,null,"ed25519:35smaqmMq9T1MDLJGEJkKUGdBpwPMX5euo4YbwMSsuPUc8NBLRqpwmMCtsbyaqKan8vVFDHDxg6QmHrz8oDyetmW","ed25519:2dP84wyfk7sKFpq7CixAevSRcRqetJLHtXQKxUmasfYqgYwERoSqh6bQzaf8nRynYh1UJ2XCMCS1ewmnPqHaoqP8","ed25519:21nnwu8qL5vNKQWUkzzo3rNYABHYjNjsKwMAngSokyH3vuPteLuwZqd2tY8NHcoWQH6L7TDfmVe6hX7RniCRhHVE","ed25519:2dsMnVq553dY4ThzxGqqWqjxgPaq3WDzTeJMeELtDVHTeYefyFf12qhHuvvGmcJg69EpHw4Lc7X1TWm471c8NQ6N","ed25519:i5RChcR1nfrVdkPfDT5zKPovETB24TasMBqTyovKa9d2qFCRqp4zW6LTdUKhmzpy7c6eaNHL44kFEuAb75AsTv1",null,null,"ed25519:5uUdKtTBvA7NZw7zkmF4K2D5nvPPvfeaH9H3nFviV2uGDfWirLvrsJCVZZnYCdHVAnbjLXnekomEjUT8kQrjMoz3","ed25519:4DPcmujCiJduhn8rC7juVTuzs16sGXqcYTuGt4TjoAGR3Yxb5MxPvpg8xXU6fo2tuSkFsZPHmW2nGBHecCSqar1V","ed25519:4CRoHFtz3rgPbPJkjv6Ly7qos5q1KZyFjDvytTN2YgzAdCnSU4RyTKny1khmNJHHNDd3RrmUvrgx7xiiisTSW2aB","ed25519:3GMGzFE8DiJueqZr7pARjRz7gnn3P62ZFDZwEBdctV97iVLLmGTp1RJjYPuPUhgL695pbpnLP45LC52EvafKDvA4","ed25519:5MUFAZKFJER8vsyCLYD5kfbtQbTdEtGVDNiQtPA9721gw2YuURVVRi5rNX5EdLeFJ5bciZWhnMHCS9UX8yJFTXfX",null,null,"ed25519:4tQKhSgXMmUuemeZqRsUsgFBpvhq5xYNVB46dAsj52JiazCa3a8rNjPgJcfb9ZanPz7bKGqJADJT8cnKqJwh4Baq"]} \ No newline at end of file diff --git a/contracts/eth/nearbridge/test/block_15204402.json b/contracts/eth/nearbridge/test/block_15204402.json deleted file mode 100644 index 8e1902bc8..000000000 --- a/contracts/eth/nearbridge/test/block_15204402.json +++ /dev/null @@ -1,236 +0,0 @@ -{ - "prev_block_hash":"GsQ1yYfeZz2QW8JKS7FoJTh1P31yayn8M1HDVFrvAoQb", - "next_block_inner_hash":"xh1vN4ocBW59ehnebTVcGhGL7J1tpDxnpBpYffknkSM", - "inner_lite":{ - "height":15204402, - "epoch_id":"3Y2LeXHxrsYoXiNSs1YTLiir7XUyrXqCy5RZWVpMjj2f", - "next_epoch_id":"F6Kte1BopdxesfLSx2C4qX5D2pfHJLK2tPwAfPBjW7yb", - "prev_state_root":"Bs8NHLP9CzHZc37KJCC8EzYp4Z5ydvRfL2gKH3v1SNTC", - "outcome_root":"2ywWmpLFDEg2zPEFTat1dbbbwWJYwbLEgCA6yHo8SuMo", - "timestamp":1599627215242035700, - "timestamp_nanosec":"1599627215242035740", - "next_bp_hash":"3mpWxraadKzTFnPx7oNDpTS6TiXiG7xLrXkEJ2rW5ipR", - "block_merkle_root":"CKyXksF2wjDY2fuxGTictrzU6xxQwB1ah5xFYT33JrcQ" - }, - "inner_rest_hash":"78Y7ExVAnBpyx9SGYJffaKuRaQY4fBYV22CJtXBkDDvX", - "next_bps":[ - { - "account_id":"alexandruast.pool.f863973.m0", - "public_key":"ed25519:A3XJ3uVGxSi9o2gnG2r8Ra3fqqodRpL4iuLTc6fNdGUj", - "stake":"107173191597663585523525746269" - }, - { - "account_id":"dsrvlabs.pool.f863973.m0", - "public_key":"ed25519:61ei2efmmLkeDR1CG6JDEC2U3oZCUuC2K1X16Vmxrud9", - "stake":"119451453112709816384635131094" - }, - { - "account_id":"zainy.pool.f863973.m0", - "public_key":"ed25519:CnYuTtsUsmYM8WxQiC3UMAbdVnapHtwLT2S7WBFKhD7M", - "stake":"72852799958430931761534272218" - }, - { - "account_id":"inotel.pool.f863973.m0", - "public_key":"ed25519:C55jH1MCHYGa3tzUyZZdGrJmmCLP22Aa4v88KYpn2xwZ", - "stake":"123432727217727761212405759400" - }, - { - "account_id":"bisontrails.pool.f863973.m0", - "public_key":"ed25519:8g4P5EXyp2b2pfVMHY1QLfkRcY59hjPfWrFCKUWX3RmR", - "stake":"336176656044126300277146541359" - }, - { - "account_id":"node2", - "public_key":"ed25519:GkDv7nSMS3xcqA45cpMvFmfV1o4fRF6zYo1JRR6mNqg5", - "stake":"1268346241475720087568057387055" - }, - { - "account_id":"pool_easy2stake.pool.f863973.m0", - "public_key":"ed25519:8nzKxvmyeauQRehWkby8GfWNLgqPiF5FCRFSD75M1Rwh", - "stake":"122397138234589506779466946084" - }, - { - "account_id":"top.pool.f863973.m0", - "public_key":"ed25519:FR5qxAsP8GgXDN96pappLtWMywiqWsPVqT3HLE3YaUx", - "stake":"119898836066057324986841673742" - }, - { - "account_id":"fresh_lockup.pool.f863973.m0", - "public_key":"ed25519:7CMFLtEohojtxBkmj9Jb6AGgbphb1zvxymHzpzuyCjfG", - "stake":"139619718154621021957788001435" - }, - { - "account_id":"node1", - "public_key":"ed25519:6DSjZ8mvsRZDvFqFxo8tCKePG96omXW7eVYVSySmDk8e", - "stake":"1313753104055069329020024981283" - }, - { - "account_id":"node0", - "public_key":"ed25519:7PGseFbWxvYVgZ89K1uTJKYoKetWs7BJtbyXDzfbAcqX", - "stake":"1313928341565675877507313830790" - }, - { - "account_id":"kronos.pool.f863973.m0", - "public_key":"ed25519:3i2pertqzF8xqkJ4BrE4t4r67YiYYrUKCktbqvDgjzuQ", - "stake":"102753264019650005274509265618" - }, - { - "account_id":"figment.pool.f863973.m0", - "public_key":"ed25519:5vyPYDsCsxfJvgremrL1cRPfuFqgm62AsyC4AZYJM85w", - "stake":"91606290289796633983270788197" - }, - { - "account_id":"01node.pool.f863973.m0", - "public_key":"ed25519:3iNqnvBgxJPXCxu6hNdvJso1PEAc1miAD35KQMBCA3aL", - "stake":"121106555067036708161091240204" - }, - { - "account_id":"sl1sub.pool.f863973.m0", - "public_key":"ed25519:3URBpNUjNAMzugQH1rdSKMtwFM8AwHaJgZk5Z6YtnfFL", - "stake":"109278830231560542166170239817" - }, - { - "account_id":"aquarius.pool.f863973.m0", - "public_key":"ed25519:8NfEarjStDYjJTwKUgQGy7Z7UTGsZaPhTUsExheQN3r1", - "stake":"88471539602392116738808466388" - }, - { - "account_id":"bazilik.pool.f863973.m0", - "public_key":"ed25519:3pDJwDQ6Y5B9QeW1jz8KunhZH4D4GQG86reTmrRfdD7c", - "stake":"120679415892907117111390134328" - }, - { - "account_id":"moonlet.pool.f863973.m0", - "public_key":"ed25519:3e1nVCVGNS3yr6CcUvpDAs3BhiWtyM9uTBWkyVR5Xn3K", - "stake":"98652874088329893947021598807" - }, - { - "account_id":"staked.pool.6fb1358", - "public_key":"ed25519:684rMbuVYYgL2CkmYgC1weLh3erd2bwrmtQtJJhWzPwj", - "stake":"199056759807572200425508675037" - }, - { - "account_id":"certusone.pool.f863973.m0", - "public_key":"ed25519:CKW7f41Kn8YCDPzaGLs1MrPb9h3BjQmHhbei6Ff6nRRF", - "stake":"125660363012937384021192901573" - }, - { - "account_id":"nodeasy.pool.f863973.m0", - "public_key":"ed25519:25Dhg8NBvQhsVTuugav3t1To1X1zKiomDmnh8yN9hHMb", - "stake":"90828895032286577298859651309" - }, - { - "account_id":"staked.pool.f863973.m0", - "public_key":"ed25519:D2afKYVaKQ1LGiWbMAZRfkKLgqimTR74wvtESvjx5Ft2", - "stake":"105830213003055269037660818310" - }, - { - "account_id":"orangeclub.pool.f863973.m0", - "public_key":"ed25519:HezFeSzcwuR5wvkqccgMCMnpf1eQkVCfk52tXZEdKZHz", - "stake":"208202022929424471252944494731" - }, - { - "account_id":"thepassivetrust.pool.f863973.m0", - "public_key":"ed25519:4NccD2DNJpBkDmWeJ2GbqPoivQ93qcKiR4PHALJKCTod", - "stake":"115110695650470114565756454966" - }, - { - "account_id":"lunanova.pool.f863973.m0", - "public_key":"ed25519:2fZ59qfo9QHNLijoht9cwUb9enSNcnRmXbQn1gKZxvkw", - "stake":"118259887838174750120242604774" - }, - { - "account_id":"dokia.pool.f863973.m0", - "public_key":"ed25519:935JMz1vLcJxFApG3TY4MA4RHhvResvoGwCrQoJxHPn9", - "stake":"167432217130375811242413280228" - }, - { - "account_id":"bitcat.pool.f863973.m0", - "public_key":"ed25519:9mtnwPQyyap1QNH9ag6r4the7Jkkpdyt9HUF5G1dWxKx", - "stake":"101101830043116301060736686489" - }, - { - "account_id":"zpool.pool.f863973.m0", - "public_key":"ed25519:ETFRFNHfvd6fpj74MGYYQp3diY8WB4bFmWMxjTB2yY4V", - "stake":"99512891516314260089253778858" - }, - { - "account_id":"blazenet.pool.f863973.m0", - "public_key":"ed25519:DiogP36wBXKFpFeqirrxN8G2Mq9vnakgBvgnHdL9CcN3", - "stake":"112255207308548035105975728558" - }, - { - "account_id":"masternode24.pool.f863973.m0", - "public_key":"ed25519:9E3JvrQN6VGDGg1WJ3TjBsNyfmrU6kncBcDvvJLj6qHr", - "stake":"113584978915478143979523867994" - }, - { - "account_id":"iosg.pool.f863973.m0", - "public_key":"ed25519:ENp2MvEsT4kVDRdyScSDJZeCMovVPPoodSfHVes1r43M", - "stake":"95085410110477417768019170089" - }, - { - "account_id":"jazza.pool.f863973.m0", - "public_key":"ed25519:85cPMNVrqUz8N7oWbbvWbUuamHcJNe49uRbaSzftLCz9", - "stake":"129183474509308730407487785636" - }, - { - "account_id":"moonlet.pool.6fb1358", - "public_key":"ed25519:3e1nVCVGNS3yr6CcUvpDAs3BhiWtyM9uTBWkyVR5Xn3K", - "stake":"122874033898208491354065066976" - }, - { - "account_id":"sparkpool.pool.f863973.m0", - "public_key":"ed25519:D8ByHdRhPAfRQNgVj1Pri8P2A5P1jthbyqYha38MtyBb", - "stake":"101926228632174257198533848344" - }, - { - "account_id":"syncnode.pool.f863973.m0", - "public_key":"ed25519:FUAVDkmLhuTbKYv4GWuWv9ogjKzRatLd5ZBMKXRy7WqE", - "stake":"92687242075644971666484304883" - }, - { - "account_id":"stakin.pool.f863973.m0", - "public_key":"ed25519:GvddxjaxBCqGGB4kMNWNFtvozU1EEZ2jrnggKZW8LaU4", - "stake":"93304393186632432779639241730" - } - ], - "approvals_after_next":[ - "ed25519:58hjypwyV7kji88wGguKkDs52cWFs4uAVqArECpMSXzEk4FAeWa2SMefaWokXYS7gEmqYNo7noVYo2thHPABYJ1A", - "ed25519:tB1BZtvA1Yp2sFt6gWYwDzf8a6mY3C1gH3YULSzuiiWcgdYx6WLtFAMRmwNYo5ZMQuxUyPSUsrovKNi5U1j4hj5", - "ed25519:5wjuWmTy5Z5nQzAjELErvRAwewzkvbiFbGR5WsyBtNTvPpiyhSZixRsoNCCcnmNxQgJuaA9hTrzct42gyfyKHym9", - "ed25519:2UfE6NVknvAB3PW38kSqVXA19ByCfLm2gfbwpx8BFsZ8xZ1mjyfvrWRniCM5MJ4F6e5NcTHRqaReyMctfXBjczd5", - "ed25519:5cANypaB55JXVRiLAfmARNg5Zrw8dotGxsGNSD3HX6H6JDYWRuYPSbK3dvUZhg7qVbcroqNSQJw9WqswWRr66FJ4", - null, - "ed25519:7izzJmQneFgg2iTEMPFWqyXpMvAX6dnqCZfDvVoJF7nwns58Qj4vJENb2TopH9MwrLevxEHqKgFGyJCoFXzCAn8", - "ed25519:2btpZJSWyrj32xp5vZ2qe2cFosAeQnJ5duhv8CcdLH2wKtSeUCpBNFhAdWY6Y12XUCcuXBAPfKA24neVSYLtThY7", - null, - "ed25519:5bmYG2T75ef16Nfoq8e6mBcyqLTLpVXCMf9U51M4hqjJD8pA3WZE3FNqGirn6WpCFudW6915rDdKTGUVYkKquHU5", - null, - null, - "ed25519:4uWWCCbgNTALLBKjreVT5ZfsQVNzrDRSUg16xN8GNnYgub5wNCt3EjiNqQ5tdmdYHCopjhRzckxfciGsgSoT64jt", - "ed25519:5pSPVoNv3gr8WBe8PLYcEuuMGpSNeAbqxjp6sH82kb5x15M8PLuSvVMtzAQqVwbdK5Pv2QR81De6PHQSJKttSEAv", - null, - "ed25519:3xHBEqTDVZs37Ruc6ZQ7kVfu6rh9K1xggV6p91JoffWFUMvLuNZAnKNZv8jxoz193uGeQq9tJtrKp1AcU2aTrEsz", - null, - "ed25519:5y32qwWrmKd6obNQXKkzzyb9mrLYFNGFkvXshwqAYmsxKCZ3EK5jVK6kd2UW5D3YpQpYYLYwVRZyqayvAqRrcVcc", - "ed25519:3VqKwcCnguySr2kqpoKPQSvNB4nszRbrRtSegAo3LRKpXA6jYLFHDNFaB7CKyGjNPc6fm8xwVfjX417jzCFDkjH3", - null, - null, - "ed25519:5tYqDhwfkRH2iz1ZAGMfnCXkfiDJHRLqhP5ngjxPH9XFBw3i6q5RxyS2XCyTN2rFPXVFJDgfULMS9rdmnPVt6hE6", - null, - "ed25519:5omcDNdb5Zj5QrpjYuUny9VxXNpJ82L5yN65pQ5cpAh6GoNaxYPCw2bH5ds9Dg9rUomJhM1g7E46ThqeVePKQUGU", - "ed25519:gt9jfzpFiu6xsWESoxNtvqT3G7vRnLBGkZvVJ9f4VMYcsfL3FCdLtk64Gp61Wpn6AiyBqSzUBgcPMKhC8fN9s7L", - "ed25519:fWtkaXSVWvU2wzqJj6AkNcLKd3aNsPB3cgfNLPJZiKtBzt6qabqBY25hNkLnryKc7uV9CoUwQg96hv7FGKTWn3H", - "ed25519:A22mNPwd12GTte974BDHz64MT5USVC3rEddjid5hABju3vy46zMaSGtBvqS96QcaxkoQM6YYp5j7CPANXuZUJgS", - null, - null, - "ed25519:KVAS5Jz5kgpRgHq2YWg8V5oL4q7EmMBjvphshB3K74bERwx7SKDKKxnxFvmpUoW38pqK2JyUWJztwmbcPAwQbxn", - null, - null, - "ed25519:362HotU5YXkVmVfCkBvNGLX7aQaXRbjSkHvqCEU3s6DMtg3tRBc43sy2p3AsUQ8VLesZ8s3tdRH7zDGwY9ukXdME", - "ed25519:64XSkHZ1fgJnwJESDSs4dyz6pvVtUrCSCKjdG3XrAirSfvmq6xCzTjUNbg4d9F7tPkHL55iD6UkCcZH9nyzd5jvd", - null, - null - ] -} \ No newline at end of file diff --git a/contracts/eth/nearbridge/test/block_15248583.json b/contracts/eth/nearbridge/test/block_15248583.json deleted file mode 100644 index d02c24c3a..000000000 --- a/contracts/eth/nearbridge/test/block_15248583.json +++ /dev/null @@ -1 +0,0 @@ -{"prev_block_hash":"ErGDUJMWFmbeVNT3JCoh8duqW8Y3PTdq67CMYNLonAUs","next_block_inner_hash":"2XQ6D9NUMQqqgn1BrFVmYzDBaRwA3TVh7LP7v1PEpnK3","inner_lite":{"height":15248583,"epoch_id":"F6Kte1BopdxesfLSx2C4qX5D2pfHJLK2tPwAfPBjW7yb","next_epoch_id":"5VBa1vppQWipxu2ubUtpNcf8GhSuN4FqGRBkoKE4NAJB","prev_state_root":"EqnKYC2RWAXKVrufeF9zUsc2R3gt8BjHSQ5XvPHvyYX6","outcome_root":"3vgzgGAzUnhj7mJePJqZNAJhovMYeySUjMsaV1tiE5Jb","timestamp":1599655442193278000,"timestamp_nanosec":"1599655442193278028","next_bp_hash":"GbsoqPiupovuXm912uP2nrkcgrB64qdfPcQjLLx2Gqwb","block_merkle_root":"qYv9dSPUBPQiMCjzUUPiyb25wfSQYqZwv4Fu7mTYAcR"},"inner_rest_hash":"GyuYe5Z1DT5TdNc1cFvxASqEydhUqxn8jpmyeAdxLiPB","next_bps":[{"account_id":"node0","public_key":"ed25519:7PGseFbWxvYVgZ89K1uTJKYoKetWs7BJtbyXDzfbAcqX","stake":"1324482328078707348260913863277"},{"account_id":"bisontrails.pool.f863973.m0","public_key":"ed25519:8g4P5EXyp2b2pfVMHY1QLfkRcY59hjPfWrFCKUWX3RmR","stake":"338879157567662027993155061366"},{"account_id":"inotel.pool.f863973.m0","public_key":"ed25519:C55jH1MCHYGa3tzUyZZdGrJmmCLP22Aa4v88KYpn2xwZ","stake":"124424186738459132030802645040"},{"account_id":"orangeclub.pool.f863973.m0","public_key":"ed25519:HezFeSzcwuR5wvkqccgMCMnpf1eQkVCfk52tXZEdKZHz","stake":"209874383036494420757856919511"},{"account_id":"node1","public_key":"ed25519:6DSjZ8mvsRZDvFqFxo8tCKePG96omXW7eVYVSySmDk8e","stake":"1324305682991854050339888348207"},{"account_id":"dokia.pool.f863973.m0","public_key":"ed25519:935JMz1vLcJxFApG3TY4MA4RHhvResvoGwCrQoJxHPn9","stake":"168788693189613005868446813476"},{"account_id":"node2","public_key":"ed25519:GkDv7nSMS3xcqA45cpMvFmfV1o4fRF6zYo1JRR6mNqg5","stake":"1278534094726863167984682179343"},{"account_id":"iosg.pool.f863973.m0","public_key":"ed25519:ENp2MvEsT4kVDRdyScSDJZeCMovVPPoodSfHVes1r43M","stake":"95849173326587239459692806193"},{"account_id":"staking-power.pool.f863973.m0","public_key":"ed25519:4s79F6Fdjgb3rHXPLwaXZG4Hq7Za8nogUu3vXEamRBQo","stake":"75499001037217435495800000000"},{"account_id":"pathrock.pool.f863973.m0","public_key":"ed25519:G138GdQsU7PdFLD6X88NmTLAEDR7agPcq9HLZqGpegkm","stake":"75180001845434730061700000000"},{"account_id":"top.pool.f863973.m0","public_key":"ed25519:FR5qxAsP8GgXDN96pappLtWMywiqWsPVqT3HLE3YaUx","stake":"120861910426741718830988640937"},{"account_id":"blazenet.pool.f863973.m0","public_key":"ed25519:DiogP36wBXKFpFeqirrxN8G2Mq9vnakgBvgnHdL9CcN3","stake":"113156885049732071336126978623"},{"account_id":"dsrvlabs.pool.f863973.m0","public_key":"ed25519:61ei2efmmLkeDR1CG6JDEC2U3oZCUuC2K1X16Vmxrud9","stake":"120410933919422276161522465008"},{"account_id":"bitcat.pool.f863973.m0","public_key":"ed25519:9mtnwPQyyap1QNH9ag6r4the7Jkkpdyt9HUF5G1dWxKx","stake":"101913894720129910228907064200"},{"account_id":"figment.pool.f863973.m0","public_key":"ed25519:5vyPYDsCsxfJvgremrL1cRPfuFqgm62AsyC4AZYJM85w","stake":"92342107854303468233126171019"},{"account_id":"thepassivetrust.pool.f863973.m0","public_key":"ed25519:4NccD2DNJpBkDmWeJ2GbqPoivQ93qcKiR4PHALJKCTod","stake":"116042005012709421694439233526"},{"account_id":"bazilik.pool.f863973.m0","public_key":"ed25519:3pDJwDQ6Y5B9QeW1jz8KunhZH4D4GQG86reTmrRfdD7c","stake":"121648760177098885496383518789"},{"account_id":"nodeasy.pool.f863973.m0","public_key":"ed25519:25Dhg8NBvQhsVTuugav3t1To1X1zKiomDmnh8yN9hHMb","stake":"91558468889672232508059343455"},{"account_id":"lunanova.pool.f863973.m0","public_key":"ed25519:2fZ59qfo9QHNLijoht9cwUb9enSNcnRmXbQn1gKZxvkw","stake":"119209797526392191325934434552"},{"account_id":"zpool.pool.f863973.m0","public_key":"ed25519:ETFRFNHfvd6fpj74MGYYQp3diY8WB4bFmWMxjTB2yY4V","stake":"100312217995324872174613566211"},{"account_id":"01node.pool.f863973.m0","public_key":"ed25519:3iNqnvBgxJPXCxu6hNdvJso1PEAc1miAD35KQMBCA3aL","stake":"122079330300192998729092564813"},{"account_id":"alexandruast.pool.f863973.m0","public_key":"ed25519:A3XJ3uVGxSi9o2gnG2r8Ra3fqqodRpL4iuLTc6fNdGUj","stake":"108034048603955423551907597831"},{"account_id":"staked.pool.6fb1358","public_key":"ed25519:684rMbuVYYgL2CkmYgC1weLh3erd2bwrmtQtJJhWzPwj","stake":"200655641864357045825503702772"},{"account_id":"joe1.pool.f863973.m0","public_key":"ed25519:G3SxwzmiEZSm3bHnTLtxJvm3NvT1TLQcWuV1iod6i6NJ","stake":"75480000412219679923400000000"},{"account_id":"masternode24.pool.f863973.m0","public_key":"ed25519:9E3JvrQN6VGDGg1WJ3TjBsNyfmrU6kncBcDvvJLj6qHr","stake":"114505203871155775353901940736"},{"account_id":"sl1sub.pool.f863973.m0","public_key":"ed25519:3URBpNUjNAMzugQH1rdSKMtwFM8AwHaJgZk5Z6YtnfFL","stake":"110156600589397032556257555582"},{"account_id":"jazza.pool.f863973.m0","public_key":"ed25519:85cPMNVrqUz8N7oWbbvWbUuamHcJNe49uRbaSzftLCz9","stake":"130221126719514624969597420914"},{"account_id":"certusone.pool.f863973.m0","public_key":"ed25519:CKW7f41Kn8YCDPzaGLs1MrPb9h3BjQmHhbei6Ff6nRRF","stake":"126669716213189431149025917969"},{"account_id":"kronos.pool.f863973.m0","public_key":"ed25519:3i2pertqzF8xqkJ4BrE4t4r67YiYYrUKCktbqvDgjzuQ","stake":"103578618962850310588092602710"},{"account_id":"fresh_lockup.pool.f863973.m0","public_key":"ed25519:7CMFLtEohojtxBkmj9Jb6AGgbphb1zvxymHzpzuyCjfG","stake":"140741195285550933533513419399"},{"account_id":"moonlet.pool.f863973.m0","public_key":"ed25519:3e1nVCVGNS3yr6CcUvpDAs3BhiWtyM9uTBWkyVR5Xn3K","stake":"99445268746300137013714042335"},{"account_id":"pool_easy2stake.pool.f863973.m0","public_key":"ed25519:8nzKxvmyeauQRehWkby8GfWNLgqPiF5FCRFSD75M1Rwh","stake":"123380278612462492982494529511"},{"account_id":"staked.pool.f863973.m0","public_key":"ed25519:D2afKYVaKQ1LGiWbMAZRfkKLgqimTR74wvtESvjx5Ft2","stake":"106680279100022673560774379542"},{"account_id":"kytzu.pool.f863973.m0","public_key":"ed25519:61tgPZpy8tqFeAwG4vtf2ZKCRoENiP2A1TJVWEwnbxZU","stake":"75480008476421513660000000000"},{"account_id":"stakin.pool.f863973.m0","public_key":"ed25519:GvddxjaxBCqGGB4kMNWNFtvozU1EEZ2jrnggKZW8LaU4","stake":"94054789557126204158737846962"},{"account_id":"aquarius.pool.f863973.m0","public_key":"ed25519:8NfEarjStDYjJTwKUgQGy7Z7UTGsZaPhTUsExheQN3r1","stake":"89182176188294579033950497317"},{"account_id":"sparkpool.pool.f863973.m0","public_key":"ed25519:D8ByHdRhPAfRQNgVj1Pri8P2A5P1jthbyqYha38MtyBb","stake":"102677689399739115609832287510"},{"account_id":"syncnode.pool.f863973.m0","public_key":"ed25519:FUAVDkmLhuTbKYv4GWuWv9ogjKzRatLd5ZBMKXRy7WqE","stake":"93431742267817395698694195338"}],"approvals_after_next":["ed25519:5Tc4LwS3xYx6JrqFxmmnfeLGSpLRguWCA2JwwUfwQPhmEj9KtJvgL7tW8hxBmjDbVb817sT2EeKSsXCBDP1AQgJ4","ed25519:2oEaFAnK78Xp751ELmbxdSbUj8Q1rQhWmAXyLwrSLEeUPByLqC5m3NwEXpLcsmrSRLoYiTAbbtdsSJ3SLjLE7q3o",null,"ed25519:3QUhsUN6j2PpQBRPKU153DC6NJiF9gSCuzuoPLVAgNbWJrCDE3Ag75qh3S3g5EmWGyBvyJpJxqdFnry3ecqXErE4","ed25519:3N7g2cYhxnyoxzw6jkEZ3RqBXat169jxDc4cMq7jqxmnbZw4GYGyW9gBrarHL4z1vpHSh6wj46BKxhV5BxWoRAnN","ed25519:4ji1HC4CxnV4jEbeR7M3e1KJsxPj6MLtB3UgJAPGrSVrHje5aYAiaUcaR7qdch84BUvKsuz83yWyrThjVcQxHqAn","ed25519:2AGC9SiYxfLn7a6bEiv57tUaMWcwvDmy4bNujHH9VrADASTfq95zZSTvu5ZnVR8oomWzQ3PU6NqsAZfxye9QMsYb","ed25519:2ZtFGMMEiPvA9o32SCCDSEK5Cb4rYZs1tfU7Zwodk29BMAY3NPMATRSJWWt8xEaEpgrKNkTe4mGNrQYvonKGdviw","ed25519:38KgHeZfH4fTjoShxRpdUwkXRHKunPdzFdoHYNkVuxGYqf4FKNBuHmcYGiXonGjrxQ5WK8kGgruBRQPSFJZ5zXsJ",null,"ed25519:5aWsg5wSTtBSTZp1DcjuNgMxPw1BzfivAtcDvnP4VtJxTvxhppsXqLhR2LpkewxKnKc9MmkuWtubNMiLo8x1vHFv","ed25519:DazKADj8wsVzwRyxyjdSipFa9BWjJ2ckksjxACu178o82nXTuucU3AAdVF39dvCSD5oJed8Hxca6VU2xYJw13ee","ed25519:3UTwQrTjJ53EYDfebbqFjgLCXKbWFuKwSusqpbLS97GYk6zboswoXNqPzEGoMjhV8kxX2egQ2Cqaqq4322BQqBHF","ed25519:4YJrNDGrFncY32NiBZHxjnCo1NXVAeBBq3PrChG4LzHe3EoVZD2PBvWrLi4xzqLE8RP3Tu45wJKwnWNnsF8favhM","ed25519:3ZcvbaxDqjhsrGd7foG1Kf4RyaDStcRuR4iRmpFnoJ5TutzC53z4iVyemMGsBF7rMwbwiftWnAvSJzK74PF9Fmwd","ed25519:4vwbXfHjdu6m7QB3nT7G2JnaKaqbSvmDhDFWnK1ETg3ANYBZkJpr7sPLq6bib5GYy6AmzoHDCcAPWqACszVKmvfr",null,null,"ed25519:3SXdL3MSwDVtYc56qCtLQNfumUSQ4MNo7GXsmj61gNHD4p8teWZThJVSqoXhRCz1XXyWnwFt9ZCveAwdYB5CmGbc",null,"ed25519:4eUZhCKJuUtfNPUiZxKdt9jYmt4Fem3ENcVTE1aAkHsnQh9PrqukMST3g812uGTjJdrHteW1T3J1cy4VwjoTa48","ed25519:Kgse4GBboekzLnmvX6FsDgfHRSMLZgbiq6k2Evj1mdGP4VoxYAY71rjJtABCfwAb5KZ6aj5bafS8D5Hm8KZ9bNy","ed25519:4zFP5E2K6TYiVPDfZEHJfCULXYfRNB8xxU94s1mJsNt8QnnnsCTXe1HnbWFGwNUcS7HwQxtCYgGyu6xTwL6n8LGg","ed25519:PErCkbyuXqKYikTnVaXFmKQ4rVSFtWzZ8CvqkVNnimtc5VqgneBiq6EVkm7gg1rLpnvqBcMuUbcsPw7Un2d8zUh","ed25519:5A9PVKuFTVqRw4KA6nW4xDks9ak6dj6S195cCYoHfN3nuzY3pkJuBRPw4WsaABSimyfepBv1NWxi1ak7SwzvRAA8","ed25519:3q9mCpEob1PuToEMmrZoF3wHQb2abi2RNLcnQ1rNxcZBHo55e2tS3q9EFLQMwWkn88HcbzCkqpSmeofb4e6DRW86","ed25519:2312fWreMrZeoAiHzhMZfBSSCao9AWzewpNyswTLXKuwMFhMk3e6WXTVPDPi4PuFWrVmYM5uqGnoZULsDTLtTrGb","ed25519:SrhadTGqQTuALez6xZG1yKomzjRjQtngs2u1Kj56SEY8HpUfUXtmfDLJZeTMXZxkZS574tuHJomxeZmkPvbxd64","ed25519:3h8QYq7drzPj63xSH3vB7KAK8uVzUioZuakbML7QP9SyrbfYJ6ws3SnrK61YDy7ssmaKcES6fM5WBdahRsxgvJqr","ed25519:2AkDMbZYbakXf9worQ8eKgmDaDsvWAvb8gbrTABRFErd8DqxxbBckztCvnDehLnLkT7ofAfAqJjmdwTG6JYhC5YX","ed25519:2tojmgaBn5yN9s2BeiQHJJTZm8LxqEDr6835ZqSw9MHxRa5Ef3gm7VfsdBVrpLeNuLhmgMnUosSHfdbFKbNv3CKb","ed25519:2gPy5h2rnaSKihWC6iyMvbEvwv2Rfk5pmcDSbHUUS5FpuyJKYBrPBS7nw16GvuXMG8BzR35W7uXNX9iTQ3NkfqjA",null,"ed25519:3iyPuJx5QZ8fzcRFFDveP6MvZ2Lbgb5WaBasoeipbxFdcU3bs8d95ybddDbTj9ExQJMcwoQTsEW25pArtmLcUJ9G","ed25519:56u7XySUgdy8qq7BtAUrWkTHarTnsJhKde9nY2ty9tTNr2PhMTyaRBCCwAzVcv4x7SkuwsijEMJTv7jwrj7Yrx5G","ed25519:4V3RqyvMML9LnWanrF3VXehnQRNpXDgFJuaNZHJPKYRqdZywZjH3URzZ3HU5r3LQybPdgQej8gvDkANNzCCRReoA","ed25519:2yfYKqcPhKRyRx2vGqs8tdoh5dEpZWofmTAMz7YhXTjS55R65qC1q9Yc2SgdRWHkLRhBNqnM2tG82aXTnvtbb3y7","ed25519:51jSANu52TRaAPsasB6eEYPbwixCEHYm4D19tFEn2tPaKGtYNse9kJbkZKscqNV4rtwEoBKDTSb3wUam3LsHJnqd","ed25519:29eioQjzQM8nLZaoaraf7R1ftn9GmPQJrfm1Q5B19exj5hE8dGBgMgarbSytEsdzwgTnzXmrHaYuTFYRwZRBQpdA","ed25519:LUXQJWdMv5rcntV8hw38kw7vvSsg2ghkKo4JwUrio2eYU88khdfzeQKG1yJbGyHHfKEpWPUNzWGtCPdjj5kcEY4"]} \ No newline at end of file diff --git a/contracts/eth/nearbridge/test/244.json b/contracts/eth/nearbridge/test/block_244.json similarity index 100% rename from contracts/eth/nearbridge/test/244.json rename to contracts/eth/nearbridge/test/block_244.json diff --git a/contracts/eth/nearbridge/test/304.json b/contracts/eth/nearbridge/test/block_304.json similarity index 100% rename from contracts/eth/nearbridge/test/304.json rename to contracts/eth/nearbridge/test/block_304.json diff --git a/contracts/eth/nearbridge/test/308.json b/contracts/eth/nearbridge/test/block_308.json similarity index 100% rename from contracts/eth/nearbridge/test/308.json rename to contracts/eth/nearbridge/test/block_308.json