ERROR Cannot read properties of null (reading 'deploymentId')

Today morning starts not well

indexer version 2.9.1 query 2.3.0
proxy 1.2.0 coordinator 1.2.1
45208191 Block broke the Kepler Network.(?)

`2023-07-18T11:23:55.261Z <Worker Service #2> ERROR Failed to index block 45208191: AssertionError [ERR_ASSERTION]: Expected StateChannel (0x8c7acda4fb91949ac2e45d7908fc7e96a5206cc510757e9de3d84787c6209934) to exist
at ReadOnlyHandler.apply (/usr/local/lib/node_modules/@subql/node-ethereum/node_modules/vm2/lib/bridge.js:485:11)
at e.handleChannelFinalize (webpack://subquery-network-subql-project/src/mappings/stateChannel.ts:90:26) AssertionError: Expected StateChannel (0x8c7acda4fb91949ac2e45d7908fc7e96a5206cc510757e9de3d84787c6209934) to exist

282023-07-18T11:23:55.262Z ERROR failed to index block at height 45208191 Error: Expected StateChannel (0x8c7acda4fb91949ac2e45d7908fc7e96a5206cc510757e9de3d84787c6209934) to exist`

Solution - sync from scratch Kepler-Network

But other problem:
My coordinator logs

3 Likes

node log:
2023-07-18T12:30:06.126Z <Worker Service #2> ERROR Failed to index block 45209734: AssertionError [ERR_ASSERTION]: Expected StateChannel (0x6c0a3bab22313c53632509c7d8ddce37929d84aa6bccacd7369ddb847d92ba76) to exist
at ReadOnlyHandler.apply (/usr/local/lib/node_modules/@subql/node-ethereum/node_modules/vm2/lib/bridge.js:485:11)
at e.handleChannelFund (webpack://subquery-network-subql-project/src/mappings/stateChannel.ts:57:26) AssertionError: Expected StateChannel (0x6c0a3bab22313c53632509c7d8ddce37929d84aa6bccacd7369ddb847d92ba76) to exist
2023-07-18T12:30:06.130Z ERROR failed to index block at height 45209734 Error: Expected StateChannel (0x6c0a3bab22313c53632509c7d8ddce37929d84aa6bccacd7369ddb847d92ba76) to exist

coordinator log:
2023-07-18T12:30:23.102Z ERROR Cannot read properties of null (reading ‘deploymentId’)
2023-07-18T12:30:32.592Z ERROR Cannot read properties of null (reading ‘deploymentId’)
2023-07-18T12:30:44.357Z ERROR Cannot read properties of null (reading ‘deploymentId’)

I’ve tried different versions node and query and different endpoints with the same results.

3 Likes

Google Bard offers this ALTER TABLE deployments ADD COLUMN deploymentId text;
lol

We’ve found the reason, will be fixed in next release. stay tuned

5 Likes

Is the offline status of Kepler Airdrop somehow related to this problem, or is it something else?

HI @Ian is this fixed . The Kepler network projects are still stuck.

Yes, Upgrade coordinator service to v1.3.0

They are separated, but both were fixed in v1.3.0

1 Like