From cf515d10c536b02f0dcf4620b8489fa3a781513e Mon Sep 17 00:00:00 2001 From: Aaron Cox Date: Tue, 22 Oct 2024 20:50:07 -0700 Subject: [PATCH] Fixed decoding issue with block state headers The `header_extensions` field is not the struct as it was defined, changed to an `any[]` value since we can't define it better. Also marked the `activated_protocol_features` field as optional since it's now returning a null value (instead of an object) on Savanna endpoints. --- src/api/v1/types.ts | 7 +- src/p2p/types.ts | 2 +- test/api.ts | 15 + ...6fe827d856c9b69f0e9b659d895aaf831cfce.json | 67 ++ ...09cd73be3545cb1ad61d70919af955f53bf7f.json | 751 +++++++++++++++++ ...3ba44ab4a1d0b51e8b400b072896c886cf1be.json | 756 ++++++++++++++++++ 6 files changed, 1593 insertions(+), 5 deletions(-) create mode 100644 test/data/17e6fe827d856c9b69f0e9b659d895aaf831cfce.json create mode 100644 test/data/54b09cd73be3545cb1ad61d70919af955f53bf7f.json create mode 100644 test/data/bba3ba44ab4a1d0b51e8b400b072896c886cf1be.json diff --git a/src/api/v1/types.ts b/src/api/v1/types.ts index 6b02ea8..86c71ab 100644 --- a/src/api/v1/types.ts +++ b/src/api/v1/types.ts @@ -286,7 +286,7 @@ export class GetBlockResponse extends Struct { @Struct.field('checksum256') declare action_mroot: Checksum256 @Struct.field('uint32') declare schedule_version: UInt32 @Struct.field(NewProducers, {optional: true}) new_producers?: NewProducers - @Struct.field('header_extension', {optional: true}) header_extensions?: HeaderExtension[] + @Struct.field('any', {optional: true}) header_extensions?: any[] @Struct.field('any', {optional: true}) new_protocol_features?: any @Struct.field('signature') declare producer_signature: Signature @Struct.field(GetBlockResponseTransactionReceipt, {array: true}) @@ -341,8 +341,7 @@ export class BlockStateHeader extends Struct { @Struct.field('checksum256') declare transaction_mroot: Checksum256 @Struct.field('checksum256') declare action_mroot: Checksum256 @Struct.field('uint32') declare schedule_version: UInt32 - @Struct.field(HeaderExtension, {array: true, optional: true}) - header_extensions?: HeaderExtension[] + @Struct.field('any', {array: true, optional: true}) declare header_extensions?: any[] @Struct.field('signature') declare producer_signature: Signature } @@ -361,7 +360,7 @@ export class GetBlockHeaderStateResponse extends Struct { @Struct.field('any') declare valid_block_signing_authority: any @Struct.field('any') declare confirm_count: any @Struct.field('any') declare pending_schedule: any - @Struct.field('any') declare activated_protocol_features: any + @Struct.field('any', {optional: true}) declare activated_protocol_features?: any @Struct.field('any') declare additional_signatures: any } diff --git a/src/p2p/types.ts b/src/p2p/types.ts index 49982a7..486bc78 100644 --- a/src/p2p/types.ts +++ b/src/p2p/types.ts @@ -124,7 +124,7 @@ export class BlockHeader extends Struct { @Struct.field(BlockId) declare action_mroot: BlockId @Struct.field('uint32') declare schedule_version: UInt32 @Struct.field(NewProducers, {optional: true}) new_producers?: NewProducers - @Struct.field(HeaderExtension, {array: true}) declare header_extensions: HeaderExtension[] + @Struct.field('any', {array: true}) declare header_extensions: any[] get blockNum(): UInt32 { return this.previous.blockNum.adding(1) diff --git a/test/api.ts b/test/api.ts index 2cfc6cc..84f4904 100644 --- a/test/api.ts +++ b/test/api.ts @@ -53,6 +53,10 @@ const wax = new APIClient({ provider: new MockProvider('https://wax.greymass.com'), }) +const telos = new APIClient({ + provider: new MockProvider('https://telos.greymass.com'), +}) + @Struct.type('transfer') class Transfer extends Struct { @Struct.field('name') from!: Name @@ -330,6 +334,17 @@ suite('api v1', function () { assert.equal(Number(header.block_num), 323978187) }) + test('chain get_block_header_state (header extensions)', async function () { + const header = await eos.v1.chain.get_block_header_state(400838396) + assert.equal(Number(header.block_num), 400838396) + + const header2 = await wax.v1.chain.get_block_header_state(336356138) + assert.equal(Number(header2.block_num), 336356138) + + const header3 = await telos.v1.chain.get_block_header_state(369358506) + assert.equal(Number(header3.block_num), 369358506) + }) + test('chain get_block', async function () { const block = await eos.v1.chain.get_block(8482113) assert.equal(Number(block.block_num), 8482113) diff --git a/test/data/17e6fe827d856c9b69f0e9b659d895aaf831cfce.json b/test/data/17e6fe827d856c9b69f0e9b659d895aaf831cfce.json new file mode 100644 index 0000000..b3ed56c --- /dev/null +++ b/test/data/17e6fe827d856c9b69f0e9b659d895aaf831cfce.json @@ -0,0 +1,67 @@ +{ + "api": "https://eos.greymass.com", + "headers": { + "access-control-allow-headers": "X-Requested-With,Accept,Content-Type,Origin", + "access-control-allow-methods": "GET, POST, OPTIONS", + "access-control-allow-origin": "*", + "connection": "close", + "content-length": "1176", + "content-type": "application/json", + "date": "Wed, 23 Oct 2024 03:20:50 GMT", + "host": "eos.greymass.com", + "server": "nginx", + "x-cached": "MISS" + }, + "status": 200, + "json": { + "block_num": 400838396, + "dpos_proposed_irreversible_blocknum": 0, + "dpos_irreversible_blocknum": 0, + "active_schedule": { + "version": 0, + "producers": [] + }, + "blockroot_merkle": { + "_active_nodes": [], + "_node_count": 0 + }, + "producer_to_last_produced": [], + "producer_to_last_implied_irb": [], + "valid_block_signing_authority": [ + 0, + { + "threshold": 0, + "keys": [] + } + ], + "confirm_count": [], + "id": "17e44efcfcd9cb439ab93de5f1e4328c4d02382281da17f0478f6f2810ee4789", + "header": { + "timestamp": "2024-10-23T03:17:45.000", + "producer": "atticlabeosb", + "confirmed": 0, + "previous": "17e44efb304a3d81378887b7f1e9cff1b4c2f7a065f5368b337a69bed5f57add", + "transaction_mroot": "f196c51b021c50ea09b482e09e00ab1ecf7207535c13089d20b003455faaca98", + "action_mroot": "8bf47442736dc9d7ac73580d5f936a8fc0f6d09580687d305cd1cd4c564a1159", + "schedule_version": 2147483648, + "header_extensions": [ + [ + 2, + "fb4ee417010000" + ] + ], + "producer_signature": "SIG_K1_K3JYzkSiRLkWmWcbsELQJkaFnZHNVqegvrqgZjwpF45StmRUquUz4wjpSuxZC9Pv6uHrSzr1mpdXuA4MhXAM368FDC1kZp" + }, + "pending_schedule": { + "schedule_lib_num": 0, + "schedule_hash": "0000000000000000000000000000000000000000000000000000000000000000", + "schedule": { + "version": 0, + "producers": [] + } + }, + "activated_protocol_features": null, + "additional_signatures": [] + }, + "text": "{\"block_num\":400838396,\"dpos_proposed_irreversible_blocknum\":0,\"dpos_irreversible_blocknum\":0,\"active_schedule\":{\"version\":0,\"producers\":[]},\"blockroot_merkle\":{\"_active_nodes\":[],\"_node_count\":0},\"producer_to_last_produced\":[],\"producer_to_last_implied_irb\":[],\"valid_block_signing_authority\":[0,{\"threshold\":0,\"keys\":[]}],\"confirm_count\":[],\"id\":\"17e44efcfcd9cb439ab93de5f1e4328c4d02382281da17f0478f6f2810ee4789\",\"header\":{\"timestamp\":\"2024-10-23T03:17:45.000\",\"producer\":\"atticlabeosb\",\"confirmed\":0,\"previous\":\"17e44efb304a3d81378887b7f1e9cff1b4c2f7a065f5368b337a69bed5f57add\",\"transaction_mroot\":\"f196c51b021c50ea09b482e09e00ab1ecf7207535c13089d20b003455faaca98\",\"action_mroot\":\"8bf47442736dc9d7ac73580d5f936a8fc0f6d09580687d305cd1cd4c564a1159\",\"schedule_version\":2147483648,\"header_extensions\":[[2,\"fb4ee417010000\"]],\"producer_signature\":\"SIG_K1_K3JYzkSiRLkWmWcbsELQJkaFnZHNVqegvrqgZjwpF45StmRUquUz4wjpSuxZC9Pv6uHrSzr1mpdXuA4MhXAM368FDC1kZp\"},\"pending_schedule\":{\"schedule_lib_num\":0,\"schedule_hash\":\"0000000000000000000000000000000000000000000000000000000000000000\",\"schedule\":{\"version\":0,\"producers\":[]}},\"activated_protocol_features\":null,\"additional_signatures\":[]}" +} \ No newline at end of file diff --git a/test/data/54b09cd73be3545cb1ad61d70919af955f53bf7f.json b/test/data/54b09cd73be3545cb1ad61d70919af955f53bf7f.json new file mode 100644 index 0000000..dff151c --- /dev/null +++ b/test/data/54b09cd73be3545cb1ad61d70919af955f53bf7f.json @@ -0,0 +1,751 @@ +{ + "api": "https://telos.greymass.com", + "headers": { + "access-control-allow-headers": "X-Requested-With,Accept,Content-Type,Origin", + "access-control-allow-methods": "GET, POST, OPTIONS", + "access-control-allow-origin": "*", + "connection": "close", + "content-length": "8230", + "content-type": "application/json", + "date": "Wed, 23 Oct 2024 03:48:19 GMT", + "host": "telos.greymass.com", + "server": "nginx" + }, + "status": 200, + "json": { + "block_num": 369358506, + "dpos_proposed_irreversible_blocknum": 369358347, + "dpos_irreversible_blocknum": 369358179, + "active_schedule": { + "version": 6212, + "producers": [ + { + "producer_name": "bigironbptex", + "authority": [ + 0, + { + "threshold": 1, + "keys": [ + { + "key": "EOS712mhzh3AGc3sEm1uENjVMr3XxBRSL6yq3oZfv522KDXjtS7rK", + "weight": 1 + } + ] + } + ] + }, + { + "producer_name": "ledgerwisete", + "authority": [ + 0, + { + "threshold": 1, + "keys": [ + { + "key": "EOS77CkBFzx12ZY6KW2s32WH2KwPGeSKa54gFM25HiFvHR3YCtoa8", + "weight": 1 + } + ] + } + ] + }, + { + "producer_name": "eosiodetroit", + "authority": [ + 0, + { + "threshold": 1, + "keys": [ + { + "key": "EOS85K67qSueCLQCcv7kgoXZR44rgDqYiZUJzyV4HULWhPMa3UU7L", + "weight": 1 + } + ] + } + ] + }, + { + "producer_name": "telosunlimit", + "authority": [ + 0, + { + "threshold": 1, + "keys": [ + { + "key": "EOS6eULtNmR8SpczkD1NQ8ufWwhh4W5mgPDNtUQwhTNFbqHMioZMc", + "weight": 1 + } + ] + } + ] + }, + { + "producer_name": "caleosblocks", + "authority": [ + 0, + { + "threshold": 1, + "keys": [ + { + "key": "EOS5dE2h1zymNHqu9UFYj57F5qv8E3ghjSLxNSVoRjMCWeGZB4F6T", + "weight": 1 + } + ] + } + ] + }, + { + "producer_name": "teamgreymass", + "authority": [ + 0, + { + "threshold": 1, + "keys": [ + { + "key": "EOS5K3Wt4b8yDijdrQ5Hcbonrb5V2EQv7YHN29TZejnnCmWZSN9AP", + "weight": 1 + } + ] + } + ] + }, + { + "producer_name": "kainosblkpro", + "authority": [ + 0, + { + "threshold": 1, + "keys": [ + { + "key": "EOS5EdaJGc9YqXhwdwf2SipjBuiCEBYY2r8S8odcEDexidrGSBbJk", + "weight": 1 + } + ] + } + ] + }, + { + "producer_name": "infinitybloc", + "authority": [ + 0, + { + "threshold": 1, + "keys": [ + { + "key": "EOS7rkeZxB5Ex45tsYTtmoWogzZAnZCDSW1gFaja7xcUT7s17zSnV", + "weight": 1 + } + ] + } + ] + }, + { + "producer_name": "votetelosusa", + "authority": [ + 0, + { + "threshold": 1, + "keys": [ + { + "key": "EOS5D2Xfg39dfiXYs84FvvEccLD23d1PPmkv8SoU3EgYCjhRtWbzb", + "weight": 1 + } + ] + } + ] + }, + { + "producer_name": "teloscentral", + "authority": [ + 0, + { + "threshold": 1, + "keys": [ + { + "key": "EOS78ZkoSt2tKz9xmeNL2u99vnNvDspNGWPXriRFkobagHCA2RsgW", + "weight": 1 + } + ] + } + ] + }, + { + "producer_name": "bp.boid", + "authority": [ + 0, + { + "threshold": 1, + "keys": [ + { + "key": "EOS6iMAq5SZVrkZimCJoAixWKy5uPRZ4bmcs7U9CzC96XwvsLcTBd", + "weight": 1 + } + ] + } + ] + }, + { + "producer_name": "bp.yknot", + "authority": [ + 0, + { + "threshold": 1, + "keys": [ + { + "key": "EOS7vjN5aHuRjg5q8kfWLsFGcZu2s8tnAAPq84pLPQiAz5uav9aHL", + "weight": 1 + } + ] + } + ] + }, + { + "producer_name": "telosgreenbp", + "authority": [ + 0, + { + "threshold": 1, + "keys": [ + { + "key": "EOS71Jn2wt32tEru3xSaFjeMES2gXiXgGarmDeuotVUtM5Puf23b2", + "weight": 1 + } + ] + } + ] + }, + { + "producer_name": "swapsicledex", + "authority": [ + 0, + { + "threshold": 1, + "keys": [ + { + "key": "EOS5JCkTHVvVJCafH9UVe9m7GJKXdxCn2pZwjgnC19PnYfyxkE9vj", + "weight": 1 + } + ] + } + ] + }, + { + "producer_name": "telosmadrid1", + "authority": [ + 0, + { + "threshold": 1, + "keys": [ + { + "key": "EOS8LSnCvd5CaN6sa5wbsFtJ2ZyPfyvXDcP5jBhxvnn33xAracDh8", + "weight": 1 + } + ] + } + ] + }, + { + "producer_name": "projectblanc", + "authority": [ + 0, + { + "threshold": 1, + "keys": [ + { + "key": "EOS5qQFFnshotPsHsBE81ouZSdpkwGwyZ6cHWH5Jr8sjfiJXcX8kk", + "weight": 1 + } + ] + } + ] + }, + { + "producer_name": "teleologytls", + "authority": [ + 0, + { + "threshold": 1, + "keys": [ + { + "key": "PUB_R1_8WLW5zVDm9Nzgd1oJZsFxFAWbmpobgXCJvAZRm9CsxN7ExHqFz", + "weight": 1 + } + ] + } + ] + }, + { + "producer_name": "teloskiwinzz", + "authority": [ + 0, + { + "threshold": 1, + "keys": [ + { + "key": "EOS7uNGYhXGvLzmeQzyrRbd3MVfCKRkoCQnkyJgyUmQ25DsC2PF7u", + "weight": 1 + } + ] + } + ] + }, + { + "producer_name": "eosphereiobp", + "authority": [ + 0, + { + "threshold": 1, + "keys": [ + { + "key": "EOS5fNhSCnuesLTDz61gMGqeZHrANx3mujc4Es7BaVyqarWVuUNza", + "weight": 1 + } + ] + } + ] + }, + { + "producer_name": "persiantelos", + "authority": [ + 0, + { + "threshold": 1, + "keys": [ + { + "key": "EOS7rGBxBAGkbAKd7BWuKNQ1LXVHuEHZcVKsRj2fYtCjqZtNYW1VU", + "weight": 1 + } + ] + } + ] + }, + { + "producer_name": "vairosean123", + "authority": [ + 0, + { + "threshold": 1, + "keys": [ + { + "key": "EOS5x2Kne3ZWeDPjAcxjrCt4nRmPiUB912jdpDbitzYz3cgrmYFpB", + "weight": 1 + } + ] + } + ] + } + ] + }, + "blockroot_merkle": { + "_active_nodes": [ + "1603f6a9fd5379e902f4cbce964b088aa44bc42001301b7da2c4fac64070356e", + "4ceb8e42f7261d8cd94ebe2830efb3e6c848b92c7cd88814e5b26de3048b7e1b", + "bca0a8cec7f980a1961047581acf74e50131e935f14bfbcbd47ee5b18dc571c7", + "0607c3536219c1e84a59bd617f942620dee2f17857988187dc92a44098b466f5", + "5a3194cfb0f12ad84a2fd42232068546a37a9e99ef4c00d8b8577fedd982b5de", + "537150729dc4e678b63e5dad7bc33800adbf5d583a971c8c7dac104fa8a62c98", + "25d909fca662275686b7ecfcd2d70b2034eec91e98a915d985601dcb9c4163b2", + "b332d43b16f0aff233808e7acd6b4402be7aa01c0e2c41dc4ad155ea205d8688", + "14076c660a53dac7631f47a122abcedf6ca002b9d5e92e92deb7f8c4fbdcf61d", + "c012818cbc5f570c06e63061c21902dc3051b1b946ffbb1d4c2fa31364607b5b", + "50a09b43c8f1fca4f43a17ef5977bbfb03c71df56f13074653a41df8239e4ab3", + "cd5c646126c8d37db202a42e1159808058f4e1b3e46d604730f59fb085bdd790", + "50fbbea2ce3f23804e94129ceaab4312e5d960c19fb70d8e3e03ec529060c812", + "8f51e7c7aea65f91d624a72be236f408e2afc2321b58da3962c069d4c67a648c", + "6153591b7e28b23cdedc0a4a19e6a54c41ed23c2356d5a939e78e159debdafd3", + "a7570402c625d8500e3e308a39181f7b4f934f0256c776e66adb7adce18b526a" + ], + "_node_count": 369358505 + }, + "producer_to_last_produced": [ + [ + "bigironbptex", + 369358419 + ], + [ + "bp.boid", + 369358287 + ], + [ + "bp.yknot", + 369358299 + ], + [ + "caleosblocks", + 369358467 + ], + [ + "eosiodetroit", + 369358443 + ], + [ + "eosphereiobp", + 369358383 + ], + [ + "infinitybloc", + 369358503 + ], + [ + "kainosblkpro", + 369358491 + ], + [ + "ledgerwisete", + 369358431 + ], + [ + "persiantelos", + 369358395 + ], + [ + "projectblanc", + 369358347 + ], + [ + "swapsicledex", + 369358323 + ], + [ + "teamgreymass", + 369358479 + ], + [ + "teleologytls", + 369358359 + ], + [ + "teloscentral", + 369358275 + ], + [ + "telosgreenbp", + 369358311 + ], + [ + "teloskiwinzz", + 369358371 + ], + [ + "telosmadrid1", + 369358335 + ], + [ + "telosunlimit", + 369358455 + ], + [ + "vairosean123", + 369358407 + ], + [ + "votetelosusa", + 369358506 + ] + ], + "producer_to_last_implied_irb": [ + [ + "bigironbptex", + 369358251 + ], + [ + "bp.boid", + 369358119 + ], + [ + "bp.yknot", + 369358131 + ], + [ + "caleosblocks", + 369358299 + ], + [ + "eosiodetroit", + 369358275 + ], + [ + "eosphereiobp", + 369358215 + ], + [ + "infinitybloc", + 369358335 + ], + [ + "kainosblkpro", + 369358323 + ], + [ + "ledgerwisete", + 369358263 + ], + [ + "persiantelos", + 369358227 + ], + [ + "projectblanc", + 369358179 + ], + [ + "swapsicledex", + 369358155 + ], + [ + "teamgreymass", + 369358311 + ], + [ + "teleologytls", + 369358191 + ], + [ + "teloscentral", + 369358107 + ], + [ + "telosgreenbp", + 369358143 + ], + [ + "teloskiwinzz", + 369358203 + ], + [ + "telosmadrid1", + 369358167 + ], + [ + "telosunlimit", + 369358287 + ], + [ + "vairosean123", + 369358239 + ], + [ + "votetelosusa", + 369358347 + ] + ], + "valid_block_signing_authority": [ + 0, + { + "threshold": 1, + "keys": [ + { + "key": "EOS5D2Xfg39dfiXYs84FvvEccLD23d1PPmkv8SoU3EgYCjhRtWbzb", + "weight": 1 + } + ] + } + ], + "confirm_count": [ + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 2, + 2, + 2, + 2, + 2, + 2, + 2, + 2, + 2, + 2, + 2, + 2, + 3, + 3, + 3, + 3, + 3, + 3, + 3, + 3, + 3, + 3, + 3, + 3, + 4, + 4, + 4, + 4, + 4, + 4, + 4, + 4, + 4, + 4, + 4, + 4, + 5, + 5, + 5, + 5, + 5, + 5, + 5, + 5, + 5, + 5, + 5, + 5, + 6, + 6, + 6, + 6, + 6, + 6, + 6, + 6, + 6, + 6, + 6, + 6, + 7, + 7, + 7, + 7, + 7, + 7, + 7, + 7, + 7, + 7, + 7, + 7, + 8, + 8, + 8, + 8, + 8, + 8, + 8, + 8, + 8, + 8, + 8, + 8, + 9, + 9, + 9, + 9, + 9, + 9, + 9, + 9, + 9, + 9, + 9, + 9, + 10, + 10, + 10, + 10, + 10, + 10, + 10, + 10, + 10, + 10, + 10, + 10, + 11, + 11, + 11, + 11, + 11, + 11, + 11, + 11, + 11, + 11, + 11, + 11, + 12, + 12, + 12, + 12, + 12, + 12, + 12, + 12, + 12, + 12, + 12, + 12, + 13, + 13, + 13, + 13, + 13, + 13, + 13, + 13, + 13, + 13, + 13, + 13, + 14, + 14, + 14 + ], + "id": "1603f6aa25ea55144513f298014c6f5a3cf1d642c221bf8c3adf0981b2837780", + "header": { + "timestamp": "2024-10-23T03:47:55.000", + "producer": "votetelosusa", + "confirmed": 0, + "previous": "1603f6a9fd5379e902f4cbce964b088aa44bc42001301b7da2c4fac64070356e", + "transaction_mroot": "0000000000000000000000000000000000000000000000000000000000000000", + "action_mroot": "12276ff214cef1b78426f63f9e0d6256204119a077d7df4bc4032a0d6eef1508", + "schedule_version": 6212, + "header_extensions": [], + "producer_signature": "SIG_K1_KhsUn9mLLs93SEL2aV4ps7F5fZG765ZczDNBh6PAcTW5L3RzTMSb1Unnz5dGbB9t4Kpm2YshGcHQbsCZ6UB11JaeQ1Bpt9" + }, + "pending_schedule": { + "schedule_lib_num": 369350452, + "schedule_hash": "2c561d0eb30c1029fbd4b2e33f6c590de2e4b07420516db3139846cca7ac3893", + "schedule": { + "version": 6212, + "producers": [] + } + }, + "activated_protocol_features": { + "protocol_features": [ + "0ec7e080177b2c02b278d5088611686b49d739925a92d9bfcacd7fc6b74053bd", + "1a99a59d87e06e09ec5b028a9cbb7749b4a5ad8819004365d02dc4379a8b7241", + "2652f5f96006294109b3dd0bbde63693f55324af452b799ee137a81a905eed25", + "299dcb6af692324b899b39f16d5a530a33062804e41f09dc97e9f156b4476707", + "35c2186cc36f7bb4aeaf4487b36e57039ccf45a9136aa856a5d569ecca55ef2b", + "4a90c00d55454dc5b059055ca213579c6ea856967712a56017487886a4d4cc0f", + "4e7bf348da00a945489b2a681749eb56f5de00b900014e137ddae39f48f69d67", + "4fca8bd82bbd181e714e283f83e1b45d95ca5af40fb89ad3977b653c448f78c2", + "5443fcf88330c586bc0e5f3dee10e7f63c76c00249c87fe4fbf7f38c082006b4", + "68dcaa34c0517d19666e6b33add67351d8c5f69e999ca1e37931bc410a297428", + "6bcb40a24e49c26d0a60513b6aeb8551d264e4717f306b81a37a5afb3b47cedc", + "8ba52fe7a3956c5cd3a656a3174b931d3bb2abb45578befc59f283ecd816a405", + "ad9e3d8f650687709fd68f4b90b41f7d825a365b02c23a636cef88ac2ac00c43", + "bcd2a26394b36614fd4894241d3c451ab0f6fd110958c3423073621a70826e99", + "c3a6138c5061cf291310887c0b5c71fcaffeab90d5deb50d3b9e687cead45071", + "d528b9f6e9693f45ed277af93474fd473ce7d831dae2180cca35d907bd10cb40", + "e0fb64b1085cc5538970158d05a009c24e276fb94e1a0bf6a528b48fbc4ff526", + "ef43112c6543b88db2283a2e077278c315ae2c84719a8b25f25cc88565fbea99", + "f0af56d2c5a48d60a4a5b5c903edfb7db3a736a94ed589d0b797df33ff9d3e1d" + ] + }, + "additional_signatures": [] + }, + "text": "{\"block_num\":369358506,\"dpos_proposed_irreversible_blocknum\":369358347,\"dpos_irreversible_blocknum\":369358179,\"active_schedule\":{\"version\":6212,\"producers\":[{\"producer_name\":\"bigironbptex\",\"authority\":[0,{\"threshold\":1,\"keys\":[{\"key\":\"EOS712mhzh3AGc3sEm1uENjVMr3XxBRSL6yq3oZfv522KDXjtS7rK\",\"weight\":1}]}]},{\"producer_name\":\"ledgerwisete\",\"authority\":[0,{\"threshold\":1,\"keys\":[{\"key\":\"EOS77CkBFzx12ZY6KW2s32WH2KwPGeSKa54gFM25HiFvHR3YCtoa8\",\"weight\":1}]}]},{\"producer_name\":\"eosiodetroit\",\"authority\":[0,{\"threshold\":1,\"keys\":[{\"key\":\"EOS85K67qSueCLQCcv7kgoXZR44rgDqYiZUJzyV4HULWhPMa3UU7L\",\"weight\":1}]}]},{\"producer_name\":\"telosunlimit\",\"authority\":[0,{\"threshold\":1,\"keys\":[{\"key\":\"EOS6eULtNmR8SpczkD1NQ8ufWwhh4W5mgPDNtUQwhTNFbqHMioZMc\",\"weight\":1}]}]},{\"producer_name\":\"caleosblocks\",\"authority\":[0,{\"threshold\":1,\"keys\":[{\"key\":\"EOS5dE2h1zymNHqu9UFYj57F5qv8E3ghjSLxNSVoRjMCWeGZB4F6T\",\"weight\":1}]}]},{\"producer_name\":\"teamgreymass\",\"authority\":[0,{\"threshold\":1,\"keys\":[{\"key\":\"EOS5K3Wt4b8yDijdrQ5Hcbonrb5V2EQv7YHN29TZejnnCmWZSN9AP\",\"weight\":1}]}]},{\"producer_name\":\"kainosblkpro\",\"authority\":[0,{\"threshold\":1,\"keys\":[{\"key\":\"EOS5EdaJGc9YqXhwdwf2SipjBuiCEBYY2r8S8odcEDexidrGSBbJk\",\"weight\":1}]}]},{\"producer_name\":\"infinitybloc\",\"authority\":[0,{\"threshold\":1,\"keys\":[{\"key\":\"EOS7rkeZxB5Ex45tsYTtmoWogzZAnZCDSW1gFaja7xcUT7s17zSnV\",\"weight\":1}]}]},{\"producer_name\":\"votetelosusa\",\"authority\":[0,{\"threshold\":1,\"keys\":[{\"key\":\"EOS5D2Xfg39dfiXYs84FvvEccLD23d1PPmkv8SoU3EgYCjhRtWbzb\",\"weight\":1}]}]},{\"producer_name\":\"teloscentral\",\"authority\":[0,{\"threshold\":1,\"keys\":[{\"key\":\"EOS78ZkoSt2tKz9xmeNL2u99vnNvDspNGWPXriRFkobagHCA2RsgW\",\"weight\":1}]}]},{\"producer_name\":\"bp.boid\",\"authority\":[0,{\"threshold\":1,\"keys\":[{\"key\":\"EOS6iMAq5SZVrkZimCJoAixWKy5uPRZ4bmcs7U9CzC96XwvsLcTBd\",\"weight\":1}]}]},{\"producer_name\":\"bp.yknot\",\"authority\":[0,{\"threshold\":1,\"keys\":[{\"key\":\"EOS7vjN5aHuRjg5q8kfWLsFGcZu2s8tnAAPq84pLPQiAz5uav9aHL\",\"weight\":1}]}]},{\"producer_name\":\"telosgreenbp\",\"authority\":[0,{\"threshold\":1,\"keys\":[{\"key\":\"EOS71Jn2wt32tEru3xSaFjeMES2gXiXgGarmDeuotVUtM5Puf23b2\",\"weight\":1}]}]},{\"producer_name\":\"swapsicledex\",\"authority\":[0,{\"threshold\":1,\"keys\":[{\"key\":\"EOS5JCkTHVvVJCafH9UVe9m7GJKXdxCn2pZwjgnC19PnYfyxkE9vj\",\"weight\":1}]}]},{\"producer_name\":\"telosmadrid1\",\"authority\":[0,{\"threshold\":1,\"keys\":[{\"key\":\"EOS8LSnCvd5CaN6sa5wbsFtJ2ZyPfyvXDcP5jBhxvnn33xAracDh8\",\"weight\":1}]}]},{\"producer_name\":\"projectblanc\",\"authority\":[0,{\"threshold\":1,\"keys\":[{\"key\":\"EOS5qQFFnshotPsHsBE81ouZSdpkwGwyZ6cHWH5Jr8sjfiJXcX8kk\",\"weight\":1}]}]},{\"producer_name\":\"teleologytls\",\"authority\":[0,{\"threshold\":1,\"keys\":[{\"key\":\"PUB_R1_8WLW5zVDm9Nzgd1oJZsFxFAWbmpobgXCJvAZRm9CsxN7ExHqFz\",\"weight\":1}]}]},{\"producer_name\":\"teloskiwinzz\",\"authority\":[0,{\"threshold\":1,\"keys\":[{\"key\":\"EOS7uNGYhXGvLzmeQzyrRbd3MVfCKRkoCQnkyJgyUmQ25DsC2PF7u\",\"weight\":1}]}]},{\"producer_name\":\"eosphereiobp\",\"authority\":[0,{\"threshold\":1,\"keys\":[{\"key\":\"EOS5fNhSCnuesLTDz61gMGqeZHrANx3mujc4Es7BaVyqarWVuUNza\",\"weight\":1}]}]},{\"producer_name\":\"persiantelos\",\"authority\":[0,{\"threshold\":1,\"keys\":[{\"key\":\"EOS7rGBxBAGkbAKd7BWuKNQ1LXVHuEHZcVKsRj2fYtCjqZtNYW1VU\",\"weight\":1}]}]},{\"producer_name\":\"vairosean123\",\"authority\":[0,{\"threshold\":1,\"keys\":[{\"key\":\"EOS5x2Kne3ZWeDPjAcxjrCt4nRmPiUB912jdpDbitzYz3cgrmYFpB\",\"weight\":1}]}]}]},\"blockroot_merkle\":{\"_active_nodes\":[\"1603f6a9fd5379e902f4cbce964b088aa44bc42001301b7da2c4fac64070356e\",\"4ceb8e42f7261d8cd94ebe2830efb3e6c848b92c7cd88814e5b26de3048b7e1b\",\"bca0a8cec7f980a1961047581acf74e50131e935f14bfbcbd47ee5b18dc571c7\",\"0607c3536219c1e84a59bd617f942620dee2f17857988187dc92a44098b466f5\",\"5a3194cfb0f12ad84a2fd42232068546a37a9e99ef4c00d8b8577fedd982b5de\",\"537150729dc4e678b63e5dad7bc33800adbf5d583a971c8c7dac104fa8a62c98\",\"25d909fca662275686b7ecfcd2d70b2034eec91e98a915d985601dcb9c4163b2\",\"b332d43b16f0aff233808e7acd6b4402be7aa01c0e2c41dc4ad155ea205d8688\",\"14076c660a53dac7631f47a122abcedf6ca002b9d5e92e92deb7f8c4fbdcf61d\",\"c012818cbc5f570c06e63061c21902dc3051b1b946ffbb1d4c2fa31364607b5b\",\"50a09b43c8f1fca4f43a17ef5977bbfb03c71df56f13074653a41df8239e4ab3\",\"cd5c646126c8d37db202a42e1159808058f4e1b3e46d604730f59fb085bdd790\",\"50fbbea2ce3f23804e94129ceaab4312e5d960c19fb70d8e3e03ec529060c812\",\"8f51e7c7aea65f91d624a72be236f408e2afc2321b58da3962c069d4c67a648c\",\"6153591b7e28b23cdedc0a4a19e6a54c41ed23c2356d5a939e78e159debdafd3\",\"a7570402c625d8500e3e308a39181f7b4f934f0256c776e66adb7adce18b526a\"],\"_node_count\":369358505},\"producer_to_last_produced\":[[\"bigironbptex\",369358419],[\"bp.boid\",369358287],[\"bp.yknot\",369358299],[\"caleosblocks\",369358467],[\"eosiodetroit\",369358443],[\"eosphereiobp\",369358383],[\"infinitybloc\",369358503],[\"kainosblkpro\",369358491],[\"ledgerwisete\",369358431],[\"persiantelos\",369358395],[\"projectblanc\",369358347],[\"swapsicledex\",369358323],[\"teamgreymass\",369358479],[\"teleologytls\",369358359],[\"teloscentral\",369358275],[\"telosgreenbp\",369358311],[\"teloskiwinzz\",369358371],[\"telosmadrid1\",369358335],[\"telosunlimit\",369358455],[\"vairosean123\",369358407],[\"votetelosusa\",369358506]],\"producer_to_last_implied_irb\":[[\"bigironbptex\",369358251],[\"bp.boid\",369358119],[\"bp.yknot\",369358131],[\"caleosblocks\",369358299],[\"eosiodetroit\",369358275],[\"eosphereiobp\",369358215],[\"infinitybloc\",369358335],[\"kainosblkpro\",369358323],[\"ledgerwisete\",369358263],[\"persiantelos\",369358227],[\"projectblanc\",369358179],[\"swapsicledex\",369358155],[\"teamgreymass\",369358311],[\"teleologytls\",369358191],[\"teloscentral\",369358107],[\"telosgreenbp\",369358143],[\"teloskiwinzz\",369358203],[\"telosmadrid1\",369358167],[\"telosunlimit\",369358287],[\"vairosean123\",369358239],[\"votetelosusa\",369358347]],\"valid_block_signing_authority\":[0,{\"threshold\":1,\"keys\":[{\"key\":\"EOS5D2Xfg39dfiXYs84FvvEccLD23d1PPmkv8SoU3EgYCjhRtWbzb\",\"weight\":1}]}],\"confirm_count\":[1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,13,13,13,13,13,13,13,13,13,13,13,13,14,14,14],\"id\":\"1603f6aa25ea55144513f298014c6f5a3cf1d642c221bf8c3adf0981b2837780\",\"header\":{\"timestamp\":\"2024-10-23T03:47:55.000\",\"producer\":\"votetelosusa\",\"confirmed\":0,\"previous\":\"1603f6a9fd5379e902f4cbce964b088aa44bc42001301b7da2c4fac64070356e\",\"transaction_mroot\":\"0000000000000000000000000000000000000000000000000000000000000000\",\"action_mroot\":\"12276ff214cef1b78426f63f9e0d6256204119a077d7df4bc4032a0d6eef1508\",\"schedule_version\":6212,\"header_extensions\":[],\"producer_signature\":\"SIG_K1_KhsUn9mLLs93SEL2aV4ps7F5fZG765ZczDNBh6PAcTW5L3RzTMSb1Unnz5dGbB9t4Kpm2YshGcHQbsCZ6UB11JaeQ1Bpt9\"},\"pending_schedule\":{\"schedule_lib_num\":369350452,\"schedule_hash\":\"2c561d0eb30c1029fbd4b2e33f6c590de2e4b07420516db3139846cca7ac3893\",\"schedule\":{\"version\":6212,\"producers\":[]}},\"activated_protocol_features\":{\"protocol_features\":[\"0ec7e080177b2c02b278d5088611686b49d739925a92d9bfcacd7fc6b74053bd\",\"1a99a59d87e06e09ec5b028a9cbb7749b4a5ad8819004365d02dc4379a8b7241\",\"2652f5f96006294109b3dd0bbde63693f55324af452b799ee137a81a905eed25\",\"299dcb6af692324b899b39f16d5a530a33062804e41f09dc97e9f156b4476707\",\"35c2186cc36f7bb4aeaf4487b36e57039ccf45a9136aa856a5d569ecca55ef2b\",\"4a90c00d55454dc5b059055ca213579c6ea856967712a56017487886a4d4cc0f\",\"4e7bf348da00a945489b2a681749eb56f5de00b900014e137ddae39f48f69d67\",\"4fca8bd82bbd181e714e283f83e1b45d95ca5af40fb89ad3977b653c448f78c2\",\"5443fcf88330c586bc0e5f3dee10e7f63c76c00249c87fe4fbf7f38c082006b4\",\"68dcaa34c0517d19666e6b33add67351d8c5f69e999ca1e37931bc410a297428\",\"6bcb40a24e49c26d0a60513b6aeb8551d264e4717f306b81a37a5afb3b47cedc\",\"8ba52fe7a3956c5cd3a656a3174b931d3bb2abb45578befc59f283ecd816a405\",\"ad9e3d8f650687709fd68f4b90b41f7d825a365b02c23a636cef88ac2ac00c43\",\"bcd2a26394b36614fd4894241d3c451ab0f6fd110958c3423073621a70826e99\",\"c3a6138c5061cf291310887c0b5c71fcaffeab90d5deb50d3b9e687cead45071\",\"d528b9f6e9693f45ed277af93474fd473ce7d831dae2180cca35d907bd10cb40\",\"e0fb64b1085cc5538970158d05a009c24e276fb94e1a0bf6a528b48fbc4ff526\",\"ef43112c6543b88db2283a2e077278c315ae2c84719a8b25f25cc88565fbea99\",\"f0af56d2c5a48d60a4a5b5c903edfb7db3a736a94ed589d0b797df33ff9d3e1d\"]},\"additional_signatures\":[]}" +} \ No newline at end of file diff --git a/test/data/bba3ba44ab4a1d0b51e8b400b072896c886cf1be.json b/test/data/bba3ba44ab4a1d0b51e8b400b072896c886cf1be.json new file mode 100644 index 0000000..aa6d7aa --- /dev/null +++ b/test/data/bba3ba44ab4a1d0b51e8b400b072896c886cf1be.json @@ -0,0 +1,756 @@ +{ + "api": "https://wax.greymass.com", + "headers": { + "access-control-allow-headers": "X-Requested-With,Accept,Content-Type,Origin", + "access-control-allow-methods": "GET, POST, OPTIONS", + "access-control-allow-origin": "*", + "connection": "close", + "content-length": "7976", + "content-type": "application/json", + "date": "Wed, 23 Oct 2024 03:47:33 GMT", + "host": "wax.greymass.com", + "server": "nginx" + }, + "status": 200, + "json": { + "block_num": 336356138, + "dpos_proposed_irreversible_blocknum": 336355970, + "dpos_irreversible_blocknum": 336355802, + "active_schedule": { + "version": 796, + "producers": [ + { + "producer_name": "guild.nefty", + "authority": [ + 0, + { + "threshold": 1, + "keys": [ + { + "key": "EOS8VXNhcufCtVCWnPBxrArAjqGSwHxhVumqegj8kPuPWJy3n6mTf", + "weight": 1 + } + ] + } + ] + }, + { + "producer_name": "alohaeosprod", + "authority": [ + 0, + { + "threshold": 1, + "keys": [ + { + "key": "EOS7T2mAzC5eNGb6WGuFpHRHjSDakcrvP9uF2VenUGZo2BfJ9bJFR", + "weight": 1 + } + ] + } + ] + }, + { + "producer_name": "liquidstudio", + "authority": [ + 0, + { + "threshold": 1, + "keys": [ + { + "key": "EOS6oj1Yn1FMvMcnVYVYg6g4Szr2gVWKLjncuQP7eKUksD3rhyxbt", + "weight": 1 + } + ] + } + ] + }, + { + "producer_name": "eosiodetroit", + "authority": [ + 0, + { + "threshold": 1, + "keys": [ + { + "key": "EOS5skUnkBWe1VpSm8D1pnGLmMHC9gY4Wdmg9nEUEpyKbBXKcTkDT", + "weight": 1 + } + ] + } + ] + }, + { + "producer_name": "ivote4waxusa", + "authority": [ + 0, + { + "threshold": 1, + "keys": [ + { + "key": "EOS7D3rXJ6P8vxohmjyw2153HUy7EoU36g2nKP4TcJxvfGJRrgmqc", + "weight": 1 + } + ] + } + ] + }, + { + "producer_name": "eosriobrazil", + "authority": [ + 0, + { + "threshold": 1, + "keys": [ + { + "key": "EOS62VTMkGDMWpK3ECNegVLt92UYQQMXC3uzcx5zjW64hrMCaL1rx", + "weight": 1 + } + ] + } + ] + }, + { + "producer_name": "bountyblokbp", + "authority": [ + 0, + { + "threshold": 1, + "keys": [ + { + "key": "EOS6Sb1qLEkLWA8KyVZjeHTTXBKdgHVM9oKRZd3tihjJKYSmxjy3K", + "weight": 1 + } + ] + } + ] + }, + { + "producer_name": "eosdacserver", + "authority": [ + 0, + { + "threshold": 1, + "keys": [ + { + "key": "EOS5jhw6Ao5jYH9biZojT7ua5sZwGQp6EB7G4pM2MYVuCrzWC9R2C", + "weight": 1 + } + ] + } + ] + }, + { + "producer_name": "teamgreymass", + "authority": [ + 0, + { + "threshold": 1, + "keys": [ + { + "key": "EOS6JBJCVe4jjAwWKoWnU28zjkb4MKUuyNQpuRAnobhkg7dbGdkVH", + "weight": 1 + } + ] + } + ] + }, + { + "producer_name": "eosauthority", + "authority": [ + 0, + { + "threshold": 1, + "keys": [ + { + "key": "EOS8QSYJrfDCMQxfXtkCPpbKd44XgYUJyniRKXZpnURCixqLBzrEE", + "weight": 1 + } + ] + } + ] + }, + { + "producer_name": "amsterdamwax", + "authority": [ + 0, + { + "threshold": 1, + "keys": [ + { + "key": "EOS7CxjxLmEgpRPFu87HKfvmMKTZf4PGasuUMRoEPBd8K7q6VaQ7X", + "weight": 1 + } + ] + } + ] + }, + { + "producer_name": "ledgerwiseio", + "authority": [ + 0, + { + "threshold": 1, + "keys": [ + { + "key": "EOS7Vi2QBmjyPaRxFsJ1BtcmfEyRPCniD18CpKExdZnrZTVjp7BBV", + "weight": 1 + } + ] + } + ] + }, + { + "producer_name": "cryptolions1", + "authority": [ + 0, + { + "threshold": 1, + "keys": [ + { + "key": "EOS6G5CgDoLioNSNwYciyT79Gr9vguTSufXDS8VG3zHRzizVCC6S5", + "weight": 1 + } + ] + } + ] + }, + { + "producer_name": "guild.taco", + "authority": [ + 0, + { + "threshold": 1, + "keys": [ + { + "key": "EOS7rU4ZDPZtjLHKSBa5mUCWo6NXXzewxKBuWZiboUzZg1M9cVz2d", + "weight": 1 + } + ] + } + ] + }, + { + "producer_name": "3dkrenderwax", + "authority": [ + 0, + { + "threshold": 1, + "keys": [ + { + "key": "EOS6LSgC1fiMemkMABnFLX91K2t8cE6Tg1abwHM1UJeDqrj2MbnvS", + "weight": 1 + } + ] + } + ] + }, + { + "producer_name": "waxswedenorg", + "authority": [ + 0, + { + "threshold": 1, + "keys": [ + { + "key": "EOS7SGSBsWhSob6TEric6u3TGodcc1uXFcqSrquJ3Etuqcbb3VnNY", + "weight": 1 + } + ] + } + ] + }, + { + "producer_name": "waxhiveguild", + "authority": [ + 0, + { + "threshold": 1, + "keys": [ + { + "key": "EOS5vHihSTgucFY6LCgvWYxCT6GozY46WwNuf8ed3eoKXgqruYoB8", + "weight": 1 + } + ] + } + ] + }, + { + "producer_name": "eosphereiobp", + "authority": [ + 0, + { + "threshold": 1, + "keys": [ + { + "key": "EOS6YiSDbsNRJMV5prJRS1R28a31TWQ6S8W1CaHn6gz4eJ8WXnn4P", + "weight": 1 + } + ] + } + ] + }, + { + "producer_name": "bp.alcor", + "authority": [ + 0, + { + "threshold": 1, + "keys": [ + { + "key": "EOS6ATw71SK7rDJQQBFMQkw4D9k3n9oEw3Mk5QEaQyLes63ZSLvs8", + "weight": 1 + } + ] + } + ] + }, + { + "producer_name": "bp.wecan", + "authority": [ + 0, + { + "threshold": 1, + "keys": [ + { + "key": "EOS8coa6fhiEQJbfaSXwqeBG6YZaHXybQErvid3mpHJZfsu4pWpbv", + "weight": 1 + } + ] + } + ] + }, + { + "producer_name": "guild.waxdao", + "authority": [ + 0, + { + "threshold": 1, + "keys": [ + { + "key": "EOS7Jqix9G63Jsadj5RnZ7EEwtKSTDjRDUZMoN5HC2JnLoorEfty9", + "weight": 1 + } + ] + } + ] + } + ] + }, + "blockroot_merkle": { + "_active_nodes": [ + "140c6329b4050641d0d1552bd09dd1e36c83e10badbba47604343388161b55e2", + "d212f406aa9cb995828306ae9e58cbe255f5114acbe398d38d0c6938e764ddd3", + "79f743c05272b6b35164bc9dc4e9763ffdc0f97e59fe7c8623d287b3e7b40acc", + "a54f52cde8d4e8364374ba28c78709423754c2a7456bc497c0381a01564e56ba", + "8eb68868cd56b5a05a3bbc5297b968b9fc1eaabc8212d4241ae2698a25e73a55", + "8cf9e386dbf30eed6a38251765cde97af98f1aad3e4a2975f3ed616ed88e5f8a", + "426ae1469994eae1f3b46a406af86e62ff55a659245f86a07597ec177729c72d", + "b73f19a10e16326b0c33806c58debf0d7b794555c702f3af470e3d2738676213", + "1df35f7254fe2542fe42a4fb0b009cb400af5d7b06c170617ec996250e9aab8c", + "913dd0f818597c6b28228d071c0d6598526d5e1e3b2266e47df89ba503d539c1", + "3c12afe65662602517f8f934931552ced47416fe37f6f4d767946330172e4b75", + "e03f345309aed6d5845ded576633cf0f818f83c3e8320a6d9bcfd24dd4b0ab45" + ], + "_node_count": 336356137 + }, + "producer_to_last_produced": [ + [ + "3dkrenderwax", + 336356042 + ], + [ + "alohaeosprod", + 336356138 + ], + [ + "amsterdamwax", + 336355994 + ], + [ + "bountyblokbp", + 336355946 + ], + [ + "bp.alcor", + 336356090 + ], + [ + "bp.wecan", + 336356102 + ], + [ + "cryptolions1", + 336356018 + ], + [ + "eosauthority", + 336355982 + ], + [ + "eosdacserver", + 336355958 + ], + [ + "eosiodetroit", + 336355910 + ], + [ + "eosphereiobp", + 336356078 + ], + [ + "eosriobrazil", + 336355934 + ], + [ + "guild.nefty", + 336356126 + ], + [ + "guild.taco", + 336356030 + ], + [ + "guild.waxdao", + 336356114 + ], + [ + "ivote4waxusa", + 336355922 + ], + [ + "ledgerwiseio", + 336356006 + ], + [ + "liquidstudio", + 336355898 + ], + [ + "teamgreymass", + 336355970 + ], + [ + "waxhiveguild", + 336356066 + ], + [ + "waxswedenorg", + 336356054 + ] + ], + "producer_to_last_implied_irb": [ + [ + "3dkrenderwax", + 336355874 + ], + [ + "alohaeosprod", + 336355970 + ], + [ + "amsterdamwax", + 336355826 + ], + [ + "bountyblokbp", + 336355778 + ], + [ + "bp.alcor", + 336355922 + ], + [ + "bp.wecan", + 336355934 + ], + [ + "cryptolions1", + 336355850 + ], + [ + "eosauthority", + 336355814 + ], + [ + "eosdacserver", + 336355790 + ], + [ + "eosiodetroit", + 336355742 + ], + [ + "eosphereiobp", + 336355910 + ], + [ + "eosriobrazil", + 336355766 + ], + [ + "guild.nefty", + 336355958 + ], + [ + "guild.taco", + 336355862 + ], + [ + "guild.waxdao", + 336355946 + ], + [ + "ivote4waxusa", + 336355754 + ], + [ + "ledgerwiseio", + 336355838 + ], + [ + "liquidstudio", + 336355730 + ], + [ + "teamgreymass", + 336355802 + ], + [ + "waxhiveguild", + 336355898 + ], + [ + "waxswedenorg", + 336355886 + ] + ], + "valid_block_signing_authority": [ + 0, + { + "threshold": 1, + "keys": [ + { + "key": "EOS7T2mAzC5eNGb6WGuFpHRHjSDakcrvP9uF2VenUGZo2BfJ9bJFR", + "weight": 1 + } + ] + } + ], + "confirm_count": [ + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 2, + 2, + 2, + 2, + 2, + 2, + 2, + 2, + 2, + 2, + 2, + 2, + 3, + 3, + 3, + 3, + 3, + 3, + 3, + 3, + 3, + 3, + 3, + 3, + 4, + 4, + 4, + 4, + 4, + 4, + 4, + 4, + 4, + 4, + 4, + 4, + 5, + 5, + 5, + 5, + 5, + 5, + 5, + 5, + 5, + 5, + 5, + 5, + 6, + 6, + 6, + 6, + 6, + 6, + 6, + 6, + 6, + 6, + 6, + 6, + 7, + 7, + 7, + 7, + 7, + 7, + 7, + 7, + 7, + 7, + 7, + 7, + 8, + 8, + 8, + 8, + 8, + 8, + 8, + 8, + 8, + 8, + 8, + 8, + 9, + 9, + 9, + 9, + 9, + 9, + 9, + 9, + 9, + 9, + 9, + 9, + 10, + 10, + 10, + 10, + 10, + 10, + 10, + 10, + 10, + 10, + 10, + 10, + 11, + 11, + 11, + 11, + 11, + 11, + 11, + 11, + 11, + 11, + 11, + 11, + 12, + 12, + 12, + 12, + 12, + 12, + 12, + 12, + 12, + 12, + 12, + 12, + 13, + 13, + 13, + 13, + 13, + 13, + 13, + 13, + 13, + 13, + 13, + 13, + 14, + 14, + 14, + 14, + 14, + 14, + 14, + 14, + 14, + 14, + 14, + 14 + ], + "id": "140c632a137c242dfa2f0ad4a9ad4459029ef46afbbc1fafe95c50db6b651b7c", + "header": { + "timestamp": "2024-10-23T03:47:17.500", + "producer": "alohaeosprod", + "confirmed": 0, + "previous": "140c6329b4050641d0d1552bd09dd1e36c83e10badbba47604343388161b55e2", + "transaction_mroot": "b7a89616e05e7d6cdb0f05b2a47a36289e1a5404cfb05e09596c9ac07b802444", + "action_mroot": "e3e335b8296e8f0f7d57c6ab425115f159f5865132691254dacfde2146536d5b", + "schedule_version": 796, + "header_extensions": [], + "producer_signature": "SIG_K1_JyctDonJHbvmerxLc9tnCpZ9HkWRfNPGzcrdrphVQDdRYFMKKAVHMbmS1yab8hQPvx97NKGnRDw7b3pXDQWn9u96pU8Mnu" + }, + "pending_schedule": { + "schedule_lib_num": 334709828, + "schedule_hash": "35c7bfd6eac98b4bd76dd6c4aed533d37a28b535d877faa28692b63a7ad6e856", + "schedule": { + "version": 796, + "producers": [] + } + }, + "activated_protocol_features": { + "protocol_features": [ + "0ec7e080177b2c02b278d5088611686b49d739925a92d9bfcacd7fc6b74053bd", + "1a99a59d87e06e09ec5b028a9cbb7749b4a5ad8819004365d02dc4379a8b7241", + "2652f5f96006294109b3dd0bbde63693f55324af452b799ee137a81a905eed25", + "299dcb6af692324b899b39f16d5a530a33062804e41f09dc97e9f156b4476707", + "35c2186cc36f7bb4aeaf4487b36e57039ccf45a9136aa856a5d569ecca55ef2b", + "4a90c00d55454dc5b059055ca213579c6ea856967712a56017487886a4d4cc0f", + "4e7bf348da00a945489b2a681749eb56f5de00b900014e137ddae39f48f69d67", + "4fca8bd82bbd181e714e283f83e1b45d95ca5af40fb89ad3977b653c448f78c2", + "5443fcf88330c586bc0e5f3dee10e7f63c76c00249c87fe4fbf7f38c082006b4", + "68dcaa34c0517d19666e6b33add67351d8c5f69e999ca1e37931bc410a297428", + "6bcb40a24e49c26d0a60513b6aeb8551d264e4717f306b81a37a5afb3b47cedc", + "8ba52fe7a3956c5cd3a656a3174b931d3bb2abb45578befc59f283ecd816a405", + "ad9e3d8f650687709fd68f4b90b41f7d825a365b02c23a636cef88ac2ac00c43", + "bcd2a26394b36614fd4894241d3c451ab0f6fd110958c3423073621a70826e99", + "c3a6138c5061cf291310887c0b5c71fcaffeab90d5deb50d3b9e687cead45071", + "d528b9f6e9693f45ed277af93474fd473ce7d831dae2180cca35d907bd10cb40", + "e0fb64b1085cc5538970158d05a009c24e276fb94e1a0bf6a528b48fbc4ff526", + "ef43112c6543b88db2283a2e077278c315ae2c84719a8b25f25cc88565fbea99", + "f0af56d2c5a48d60a4a5b5c903edfb7db3a736a94ed589d0b797df33ff9d3e1d" + ] + }, + "additional_signatures": [] + }, + "text": "{\"block_num\":336356138,\"dpos_proposed_irreversible_blocknum\":336355970,\"dpos_irreversible_blocknum\":336355802,\"active_schedule\":{\"version\":796,\"producers\":[{\"producer_name\":\"guild.nefty\",\"authority\":[0,{\"threshold\":1,\"keys\":[{\"key\":\"EOS8VXNhcufCtVCWnPBxrArAjqGSwHxhVumqegj8kPuPWJy3n6mTf\",\"weight\":1}]}]},{\"producer_name\":\"alohaeosprod\",\"authority\":[0,{\"threshold\":1,\"keys\":[{\"key\":\"EOS7T2mAzC5eNGb6WGuFpHRHjSDakcrvP9uF2VenUGZo2BfJ9bJFR\",\"weight\":1}]}]},{\"producer_name\":\"liquidstudio\",\"authority\":[0,{\"threshold\":1,\"keys\":[{\"key\":\"EOS6oj1Yn1FMvMcnVYVYg6g4Szr2gVWKLjncuQP7eKUksD3rhyxbt\",\"weight\":1}]}]},{\"producer_name\":\"eosiodetroit\",\"authority\":[0,{\"threshold\":1,\"keys\":[{\"key\":\"EOS5skUnkBWe1VpSm8D1pnGLmMHC9gY4Wdmg9nEUEpyKbBXKcTkDT\",\"weight\":1}]}]},{\"producer_name\":\"ivote4waxusa\",\"authority\":[0,{\"threshold\":1,\"keys\":[{\"key\":\"EOS7D3rXJ6P8vxohmjyw2153HUy7EoU36g2nKP4TcJxvfGJRrgmqc\",\"weight\":1}]}]},{\"producer_name\":\"eosriobrazil\",\"authority\":[0,{\"threshold\":1,\"keys\":[{\"key\":\"EOS62VTMkGDMWpK3ECNegVLt92UYQQMXC3uzcx5zjW64hrMCaL1rx\",\"weight\":1}]}]},{\"producer_name\":\"bountyblokbp\",\"authority\":[0,{\"threshold\":1,\"keys\":[{\"key\":\"EOS6Sb1qLEkLWA8KyVZjeHTTXBKdgHVM9oKRZd3tihjJKYSmxjy3K\",\"weight\":1}]}]},{\"producer_name\":\"eosdacserver\",\"authority\":[0,{\"threshold\":1,\"keys\":[{\"key\":\"EOS5jhw6Ao5jYH9biZojT7ua5sZwGQp6EB7G4pM2MYVuCrzWC9R2C\",\"weight\":1}]}]},{\"producer_name\":\"teamgreymass\",\"authority\":[0,{\"threshold\":1,\"keys\":[{\"key\":\"EOS6JBJCVe4jjAwWKoWnU28zjkb4MKUuyNQpuRAnobhkg7dbGdkVH\",\"weight\":1}]}]},{\"producer_name\":\"eosauthority\",\"authority\":[0,{\"threshold\":1,\"keys\":[{\"key\":\"EOS8QSYJrfDCMQxfXtkCPpbKd44XgYUJyniRKXZpnURCixqLBzrEE\",\"weight\":1}]}]},{\"producer_name\":\"amsterdamwax\",\"authority\":[0,{\"threshold\":1,\"keys\":[{\"key\":\"EOS7CxjxLmEgpRPFu87HKfvmMKTZf4PGasuUMRoEPBd8K7q6VaQ7X\",\"weight\":1}]}]},{\"producer_name\":\"ledgerwiseio\",\"authority\":[0,{\"threshold\":1,\"keys\":[{\"key\":\"EOS7Vi2QBmjyPaRxFsJ1BtcmfEyRPCniD18CpKExdZnrZTVjp7BBV\",\"weight\":1}]}]},{\"producer_name\":\"cryptolions1\",\"authority\":[0,{\"threshold\":1,\"keys\":[{\"key\":\"EOS6G5CgDoLioNSNwYciyT79Gr9vguTSufXDS8VG3zHRzizVCC6S5\",\"weight\":1}]}]},{\"producer_name\":\"guild.taco\",\"authority\":[0,{\"threshold\":1,\"keys\":[{\"key\":\"EOS7rU4ZDPZtjLHKSBa5mUCWo6NXXzewxKBuWZiboUzZg1M9cVz2d\",\"weight\":1}]}]},{\"producer_name\":\"3dkrenderwax\",\"authority\":[0,{\"threshold\":1,\"keys\":[{\"key\":\"EOS6LSgC1fiMemkMABnFLX91K2t8cE6Tg1abwHM1UJeDqrj2MbnvS\",\"weight\":1}]}]},{\"producer_name\":\"waxswedenorg\",\"authority\":[0,{\"threshold\":1,\"keys\":[{\"key\":\"EOS7SGSBsWhSob6TEric6u3TGodcc1uXFcqSrquJ3Etuqcbb3VnNY\",\"weight\":1}]}]},{\"producer_name\":\"waxhiveguild\",\"authority\":[0,{\"threshold\":1,\"keys\":[{\"key\":\"EOS5vHihSTgucFY6LCgvWYxCT6GozY46WwNuf8ed3eoKXgqruYoB8\",\"weight\":1}]}]},{\"producer_name\":\"eosphereiobp\",\"authority\":[0,{\"threshold\":1,\"keys\":[{\"key\":\"EOS6YiSDbsNRJMV5prJRS1R28a31TWQ6S8W1CaHn6gz4eJ8WXnn4P\",\"weight\":1}]}]},{\"producer_name\":\"bp.alcor\",\"authority\":[0,{\"threshold\":1,\"keys\":[{\"key\":\"EOS6ATw71SK7rDJQQBFMQkw4D9k3n9oEw3Mk5QEaQyLes63ZSLvs8\",\"weight\":1}]}]},{\"producer_name\":\"bp.wecan\",\"authority\":[0,{\"threshold\":1,\"keys\":[{\"key\":\"EOS8coa6fhiEQJbfaSXwqeBG6YZaHXybQErvid3mpHJZfsu4pWpbv\",\"weight\":1}]}]},{\"producer_name\":\"guild.waxdao\",\"authority\":[0,{\"threshold\":1,\"keys\":[{\"key\":\"EOS7Jqix9G63Jsadj5RnZ7EEwtKSTDjRDUZMoN5HC2JnLoorEfty9\",\"weight\":1}]}]}]},\"blockroot_merkle\":{\"_active_nodes\":[\"140c6329b4050641d0d1552bd09dd1e36c83e10badbba47604343388161b55e2\",\"d212f406aa9cb995828306ae9e58cbe255f5114acbe398d38d0c6938e764ddd3\",\"79f743c05272b6b35164bc9dc4e9763ffdc0f97e59fe7c8623d287b3e7b40acc\",\"a54f52cde8d4e8364374ba28c78709423754c2a7456bc497c0381a01564e56ba\",\"8eb68868cd56b5a05a3bbc5297b968b9fc1eaabc8212d4241ae2698a25e73a55\",\"8cf9e386dbf30eed6a38251765cde97af98f1aad3e4a2975f3ed616ed88e5f8a\",\"426ae1469994eae1f3b46a406af86e62ff55a659245f86a07597ec177729c72d\",\"b73f19a10e16326b0c33806c58debf0d7b794555c702f3af470e3d2738676213\",\"1df35f7254fe2542fe42a4fb0b009cb400af5d7b06c170617ec996250e9aab8c\",\"913dd0f818597c6b28228d071c0d6598526d5e1e3b2266e47df89ba503d539c1\",\"3c12afe65662602517f8f934931552ced47416fe37f6f4d767946330172e4b75\",\"e03f345309aed6d5845ded576633cf0f818f83c3e8320a6d9bcfd24dd4b0ab45\"],\"_node_count\":336356137},\"producer_to_last_produced\":[[\"3dkrenderwax\",336356042],[\"alohaeosprod\",336356138],[\"amsterdamwax\",336355994],[\"bountyblokbp\",336355946],[\"bp.alcor\",336356090],[\"bp.wecan\",336356102],[\"cryptolions1\",336356018],[\"eosauthority\",336355982],[\"eosdacserver\",336355958],[\"eosiodetroit\",336355910],[\"eosphereiobp\",336356078],[\"eosriobrazil\",336355934],[\"guild.nefty\",336356126],[\"guild.taco\",336356030],[\"guild.waxdao\",336356114],[\"ivote4waxusa\",336355922],[\"ledgerwiseio\",336356006],[\"liquidstudio\",336355898],[\"teamgreymass\",336355970],[\"waxhiveguild\",336356066],[\"waxswedenorg\",336356054]],\"producer_to_last_implied_irb\":[[\"3dkrenderwax\",336355874],[\"alohaeosprod\",336355970],[\"amsterdamwax\",336355826],[\"bountyblokbp\",336355778],[\"bp.alcor\",336355922],[\"bp.wecan\",336355934],[\"cryptolions1\",336355850],[\"eosauthority\",336355814],[\"eosdacserver\",336355790],[\"eosiodetroit\",336355742],[\"eosphereiobp\",336355910],[\"eosriobrazil\",336355766],[\"guild.nefty\",336355958],[\"guild.taco\",336355862],[\"guild.waxdao\",336355946],[\"ivote4waxusa\",336355754],[\"ledgerwiseio\",336355838],[\"liquidstudio\",336355730],[\"teamgreymass\",336355802],[\"waxhiveguild\",336355898],[\"waxswedenorg\",336355886]],\"valid_block_signing_authority\":[0,{\"threshold\":1,\"keys\":[{\"key\":\"EOS7T2mAzC5eNGb6WGuFpHRHjSDakcrvP9uF2VenUGZo2BfJ9bJFR\",\"weight\":1}]}],\"confirm_count\":[1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,13,13,13,13,13,13,13,13,13,13,13,13,14,14,14,14,14,14,14,14,14,14,14,14],\"id\":\"140c632a137c242dfa2f0ad4a9ad4459029ef46afbbc1fafe95c50db6b651b7c\",\"header\":{\"timestamp\":\"2024-10-23T03:47:17.500\",\"producer\":\"alohaeosprod\",\"confirmed\":0,\"previous\":\"140c6329b4050641d0d1552bd09dd1e36c83e10badbba47604343388161b55e2\",\"transaction_mroot\":\"b7a89616e05e7d6cdb0f05b2a47a36289e1a5404cfb05e09596c9ac07b802444\",\"action_mroot\":\"e3e335b8296e8f0f7d57c6ab425115f159f5865132691254dacfde2146536d5b\",\"schedule_version\":796,\"header_extensions\":[],\"producer_signature\":\"SIG_K1_JyctDonJHbvmerxLc9tnCpZ9HkWRfNPGzcrdrphVQDdRYFMKKAVHMbmS1yab8hQPvx97NKGnRDw7b3pXDQWn9u96pU8Mnu\"},\"pending_schedule\":{\"schedule_lib_num\":334709828,\"schedule_hash\":\"35c7bfd6eac98b4bd76dd6c4aed533d37a28b535d877faa28692b63a7ad6e856\",\"schedule\":{\"version\":796,\"producers\":[]}},\"activated_protocol_features\":{\"protocol_features\":[\"0ec7e080177b2c02b278d5088611686b49d739925a92d9bfcacd7fc6b74053bd\",\"1a99a59d87e06e09ec5b028a9cbb7749b4a5ad8819004365d02dc4379a8b7241\",\"2652f5f96006294109b3dd0bbde63693f55324af452b799ee137a81a905eed25\",\"299dcb6af692324b899b39f16d5a530a33062804e41f09dc97e9f156b4476707\",\"35c2186cc36f7bb4aeaf4487b36e57039ccf45a9136aa856a5d569ecca55ef2b\",\"4a90c00d55454dc5b059055ca213579c6ea856967712a56017487886a4d4cc0f\",\"4e7bf348da00a945489b2a681749eb56f5de00b900014e137ddae39f48f69d67\",\"4fca8bd82bbd181e714e283f83e1b45d95ca5af40fb89ad3977b653c448f78c2\",\"5443fcf88330c586bc0e5f3dee10e7f63c76c00249c87fe4fbf7f38c082006b4\",\"68dcaa34c0517d19666e6b33add67351d8c5f69e999ca1e37931bc410a297428\",\"6bcb40a24e49c26d0a60513b6aeb8551d264e4717f306b81a37a5afb3b47cedc\",\"8ba52fe7a3956c5cd3a656a3174b931d3bb2abb45578befc59f283ecd816a405\",\"ad9e3d8f650687709fd68f4b90b41f7d825a365b02c23a636cef88ac2ac00c43\",\"bcd2a26394b36614fd4894241d3c451ab0f6fd110958c3423073621a70826e99\",\"c3a6138c5061cf291310887c0b5c71fcaffeab90d5deb50d3b9e687cead45071\",\"d528b9f6e9693f45ed277af93474fd473ce7d831dae2180cca35d907bd10cb40\",\"e0fb64b1085cc5538970158d05a009c24e276fb94e1a0bf6a528b48fbc4ff526\",\"ef43112c6543b88db2283a2e077278c315ae2c84719a8b25f25cc88565fbea99\",\"f0af56d2c5a48d60a4a5b5c903edfb7db3a736a94ed589d0b797df33ff9d3e1d\"]},\"additional_signatures\":[]}" +} \ No newline at end of file