Closed Tbaut closed 6 months ago
@Tbaut are those logs from latest master?
return value for 0x1585d62
should be 0x9a5396ee2bee9f3c7d30c4ca19bff52992db72418cd5e31e44456bbb86af8c90
while you have different hash
also make sure to delete ./db.sqlite
to make sure you're not loading any wrong block
yes, it should have been latest master
rebased on top of https://github.com/AcalaNetwork/chopsticks/pull/719
I just triple checked, and yup I removed db.sqlite*
checked that your code from master was correct. I updated the first post with the output again, but it answers something different for 0x1585d62
still.
My config again:
endpoint: wss://kusama.rpc.amforc.com
mock-signature-host: true
block: 22568290
db: ./db.sqlite
# wasm-override: staging_kusama_runtime.wasm
runtime-log-level: 5
import-storage:
System:
Account:
- - - 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY
- providers: 1
data:
free: '10000000000000000000'
- - - JEqfw2FPda5eycsqqXN2Ay67eEh5R85aSHcArs3XdUYjj5H
- providers: 1
data:
free: '10000000000000000000'
- - - JF3RaX21TrQuPrRbEV7i1iT5QXNQZBN6qvKx3iZN8CEN9bB
- providers: 1
data:
free: '10000000000000000000'
- - - HxehWqUZGorCrahv3PiWWqdcFNBG9oQhZ2ft5VXueWaSBEs
- providers: 1
data:
free: '10000000000000000000'
FellowshipCollective:
$removePrefix:
- IdToIndex
- IndexToId
- MemberCount
- Members
IdToIndex:
- [[0, 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY], 0]
- [[1, 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY], 0]
- [[2, 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY], 0]
- [[3, 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY], 0]
- [[4, 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY], 0]
- [[5, 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY], 0]
- [[6, 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY], 0]
- [[7, 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY], 0]
IndexToId:
- [[0, 0], 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY]
- [[1, 0], 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY]
- [[2, 0], 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY]
- [[3, 0], 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY]
- [[4, 0], 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY]
- [[5, 0], 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY]
- [[6, 0], 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY]
- [[7, 0], 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY]
MemberCount:
- [[0], 1]
- [[1], 1]
- [[2], 1]
- [[3], 1]
- [[4], 1]
- [[5], 1]
- [[6], 1]
- [[7], 1]
Members:
- [[5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY], rank: 7]
Voting: []
ParasDisputes:
# $removePrefix: ['disputes'] # those can makes block building super slow
@Tbaut #722 wasn't handling incorrect bit length #727 should fix it
Thanks @ermalkaleci the latest master looks good indeed. Any chance you can publish a beta of it?
Yes
Follow up of https://github.com/AcalaNetwork/chopsticks/pull/719#issuecomment-2034111586
my config: https://github.com/ChainSafe/Multix/blob/tbaut-bump-subsquid/chopsticks-config.yml
Running with the following
Although both indexer and chopsticks are running starting from block 22568290, somehow chopsticks end up telling the indexer that we're at block
22578439
although we didn't produce any block, see last line.here is the trace: