Skip to content

Commit

Permalink
add unstable call alias
Browse files Browse the repository at this point in the history
  • Loading branch information
Tbaut committed Dec 19, 2024
1 parent fd31a89 commit 01c2a7d
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 0 deletions.
64 changes: 64 additions & 0 deletions chopsticks-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
endpoint: wss://rpc-kusama.luckyfriday.io
mock-signature-host: true
block: 26000000
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
2 changes: 2 additions & 0 deletions packages/core/src/rpc/substrate/archive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { HexString } from '@polkadot/util/types'

import { Handler, ResponseError } from '../shared.js'
import { chain_getBlockHash } from './chain.js'
import { state_call } from './state.js'

/**
* @param context
Expand All @@ -18,3 +19,4 @@ export const archive_unstable_body: Handler<[HexString], HexString[]> = async (c
}

export const archive_unstable_hashByHeight = chain_getBlockHash
export const archive_unstable_call = state_call

0 comments on commit 01c2a7d

Please sign in to comment.