Skip to content

Commit

Permalink
Support archive_unstable_call (#869)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tbaut authored Dec 19, 2024
1 parent fd31a89 commit 9988c7d
Showing 1 changed file with 2 additions and 0 deletions.
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 9988c7d

Please sign in to comment.