Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deserializeNative >> signed_block >> Invalid argument #75

Closed
Wapaca opened this issue Dec 15, 2021 · 2 comments
Closed

deserializeNative >> signed_block >> Invalid argument #75

Wapaca opened this issue Dec 15, 2021 · 2 comments

Comments

@Wapaca
Copy link

Wapaca commented Dec 15, 2021

Hi,

I try to run hyperion with nodeos on wax mainnet chain and have issue with indexer which connect fine to node but doesn't seem to be able to process blocks.

I get deserializer error then a dump of hexadecimal then the "No blocks processed!" error like in issue #39

Any hint ?

2021-12-15T10:26:18:  /hyperion-history-api/logs/wax/deserialization_errors.log
2021-12-15T10:26:19: [01_reader] Websocket connected!
2021-12-15T10:26:19: [02_continuous_reader] Websocket connected!
2021-12-15T10:26:19: [00_master] received ship abi for distribution
2021-12-15T10:26:19: [03_deserializer] deserializeNative >> signed_block >> Invalid argument
2021-12-15T10:26:19: {
2021-12-15T10:26:19:   head: {
2021-12-15T10:26:19:     block_num: 156093695,
2021-12-15T10:26:19:     block_id: '094DCCFF173FD4920B50B07DC834DA1F6EA2895ABBE59782282E13E0A3F2256D'
2021-12-15T10:26:19:   },
2021-12-15T10:26:19:   last_irreversible: {
2021-12-15T10:26:19:     block_num: 156093364,
2021-12-15T10:26:19:     block_id: '094DCBB4939CCA484A44D1175BD6AF1D39389B6624E3CF3A404D79D1C2BDDB02'
2021-12-15T10:26:19:   },
2021-12-15T10:26:19:   this_block: {
2021-12-15T10:26:19:     block_num: 156093673,
2021-12-15T10:26:19:     block_id: '094DCCE93EAA3D10EF581DB9808501E17AA446BD89E60674ADCB9867F481FF8A'
2021-12-15T10:26:19:   },
2021-12-15T10:26:19:   prev_block: {
2021-12-15T10:26:19:     block_num: 156093672,
2021-12-15T10:26:19:     block_id: '094DCCE8ACACEC7E8DD7C618B10565B558CF0A1CE097DC5EF2EEE0C64DEE97E0'
2021-12-15T10:26:19:   },
2021-12-15T10:26:19:   block: [
2021-12-15T10:26:19:     'signed_block_v1',
2021-12-15T10:26:19:     {
2021-12-15T10:26:19:       timestamp: '2021-12-14T17:00:52.000',
2021-12-15T10:26:19:       producer: 'ledgerwiseio',
2021-12-15T10:26:19:       confirmed: 0,
2021-12-15T10:26:19:       previous: '094DCCE8ACACEC7E8DD7C618B10565B558CF0A1CE097DC5EF2EEE0C64DEE97E0',
2021-12-15T10:26:19:       transaction_mroot: 'CB132A7AF33AF8D4CDF03C69B4C0B327B13101B74AD53E900F8C0607A21BE50D',
2021-12-15T10:26:19:       action_mroot: '701A6CB7552BDA2FED34958C0FF269113ED781EDA80860C88F62E7C588B97AB0',
2021-12-15T10:26:19:       schedule_version: 389,
2021-12-15T10:26:19:       new_producers: null,
2021-12-15T10:26:19:       header_extensions: [],
2021-12-15T10:26:19:       producer_signature: 'SIG_K1_K5CKHkcKjzi5bkwCb49JnNt2c5m4HbMMcERDbXb8WqPSU7uVKC8wkTaSnc6zpQPfBbPg8EsUztEmCK9pMw3mNEW7P36WrF',
2021-12-15T10:26:19:       prune_state: 2,
2021-12-15T10:26:19:       transactions: [Array],
2021-12-15T10:26:19:       block_extensions: []
2021-12-15T10:26:19:     }
2021-12-15T10:26:19:   ],
2021-12-15T10:26:19: 321100009086037A3C9F0834283B62E9DDCD0700000000000000000000000000000001020101008053BC9483A95C342DB137842FA2BD77528DEB81C60389FD2FD9E5E4E43ED9D291E80F69945E9E3BAAD2A03707000000DF007C5D010000000130A9CBE6AAA41690315164FE0400000005048053BC
....
....
....
2021-12-15T12:32:59: [00_master] The worker #3 has disconnected
2021-12-15T12:33:03: [00_master] W:13 | R:2.2 | C:0 | A:0 | D:0 | I:0 | 0/0/156234312 | syncs a few seconds ago (0.0% 0.0%)
2021-12-15T12:33:03: [00_master] No blocks processed! Indexer will stop in 295 seconds!
2021-12-15T12:33:08: [00_master] W:13 | R:2 | C:0 | A:0 | D:0 | I:0 | 0/0/156234312 | syncs a few seconds ago (0.0% 0.0%)
2021-12-15T12:33:08: [00_master] No blocks processed! Indexer will stop in 290 seconds!
2021-12-15T12:33:13: [00_master] W:13 | R:2 | C:0 | A:0 | D:0 | I:0 | 0/0/156234312 | syncs a few seconds ago (0.0% 0.0%)
2021-12-15T12:33:13: [00_master] No blocks processed! Indexer will stop in 285 seconds!
2021-12-15T12:33:18: [00_master] W:13 | R:2 | C:0 | A:0 | D:0 | I:0 | 0/0/156234312 | syncs a few seconds ago (0.0% 0.0%)
2021-12-15T12:33:18: [00_master] No blocks processed! Indexer will stop in 280 seconds!
@Wapaca
Copy link
Author

Wapaca commented Dec 20, 2021

Solved, i switched from v5 snapshots to v4 ones.

@Wapaca Wapaca closed this as completed Dec 20, 2021
@mikevmk
Copy link

mikevmk commented Jan 11, 2022

Hello

I'm facing the same issue with eosio (EOS Jungle Testnet) blockchain:

2022-01-11T09:17:16: [03_deserializer] deserializeNative >> signed_block >> Invalid argument
2022-01-11T09:17:16: {
2022-01-11T09:17:16: head: {
2022-01-11T09:17:16: block_num: 119327771,
2022-01-11T09:17:16: block_id: '071CCC1B954DF8EEECE204150045CE97F9D9171B83855BB004D27E708165829B'
2022-01-11T09:17:16: },
2022-01-11T09:17:16: last_irreversible: {
2022-01-11T09:17:16: block_num: 119327445,
2022-01-11T09:17:16: block_id: '071CCAD5D18744666A0025F3979382551D1CAF38CA024D25C796AF0F02E91400'
2022-01-11T09:17:16: },
2022-01-11T09:17:16: this_block: {
2022-01-11T09:17:16: block_num: 119327170,
2022-01-11T09:17:16: block_id: '071CC9C2F9E16381547FEF93D3B8747222F93B705FE32AA54EC516D6EB67B9D7'
2022-01-11T09:17:16: },
2022-01-11T09:17:16: prev_block: {
2022-01-11T09:17:16: block_num: 119327169,
2022-01-11T09:17:16: block_id: '071CC9C16591244ABD9F9B0276CF41653635AC37D9434C864FF8FB762292FBD1'
2022-01-11T09:17:16: },
2022-01-11T09:17:16: block: [
2022-01-11T09:17:16: 'signed_block_v1',
2022-01-11T09:17:16: {
2022-01-11T09:17:16: timestamp: '2022-01-11T06:08:24.000',
2022-01-11T09:17:16: producer: 'hippopotamus',
2022-01-11T09:17:16: confirmed: 228,
2022-01-11T09:17:16: previous: '071CC9C16591244ABD9F9B0276CF41653635AC37D9434C864FF8FB762292FBD1',
2022-01-11T09:17:16: transaction_mroot: '0000000000000000000000000000000000000000000000000000000000000000',
2022-01-11T09:17:16: action_mroot: '0000000000000000000000000000000000000000000000000000000000000000',
2022-01-11T09:17:16: schedule_version: 108,
2022-01-11T09:17:16: new_producers: null,
2022-01-11T09:17:16: header_extensions: [],
2022-01-11T09:17:16: producer_signature: 'SIG_K1_KW4LGQALqB2yfnL6CgwVg98ewf4JwodUJSHNDHi8XzfYcb8bkGm7ZwjuMRK2cHiKVhiZedgxbTGGup8nVXD2VFCDTFeDrB',
2022-01-11T09:17:16: prune_state: 2,
2022-01-11T09:17:16: transactions: [],
2022-01-11T09:17:16: block_extensions: []
2022-01-11T09:17:16: }
2022-01-11T09:17:16: ],
2022-01-11T09:17:16: traces: '00',
2022-01-11T09:17:16: deltas: '0101157265736F757263655F6C696D6974735F73746174650101530000C2C91C07A257B301000000001D0000000000000000C2C91C0708E4C900000000000E000000000000005E4ABF5BE5590300080E736958280D000A6A516F030000000000803E0000000000C2EB0B00000000'
2022-01-11T09:17:16: }
2022-01-11T09:17:16: [00_master] The worker #3 has disconnected
2022-01-11T09:17:19: [00_master] W:13 | R:39.2 | C:0 | A:0 | D:0 | I:0 | 0/0/119327169 | syncs a few seconds ago (0.0% 0.0%)
2022-01-11T09:17:19: [00_master] No blocks processed! Indexer will stop in 290 seconds!

@Wapaca You said you've managed to solve it. Could you let me know the details? I mean you're using Hyperion against another chain, but maybe some information about your approach can help. E.g. how did you figure out that you need to switch to the previous version of snapshot?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants