Add support for historical BlockNumber rpc methods (#4574)
* Add support for historical BlockNumber rpc methods * Update function description * Apply suggestions from code review Co-authored-by: Jaco <jacogr@gmail.com>
This commit is contained in:
@@ -62,6 +62,7 @@ export const rpc: DefinitionsRpc = objectSpread({}, netRpc, web3Rpc, {
|
||||
type: 'EthCallRequest'
|
||||
},
|
||||
{
|
||||
isHistoric: true,
|
||||
isOptional: true,
|
||||
name: 'number',
|
||||
type: 'BlockNumber'
|
||||
@@ -87,6 +88,7 @@ export const rpc: DefinitionsRpc = objectSpread({}, netRpc, web3Rpc, {
|
||||
type: 'EthCallRequest'
|
||||
},
|
||||
{
|
||||
isHistoric: true,
|
||||
isOptional: true,
|
||||
name: 'number',
|
||||
type: 'BlockNumber'
|
||||
@@ -107,6 +109,7 @@ export const rpc: DefinitionsRpc = objectSpread({}, netRpc, web3Rpc, {
|
||||
type: 'H160'
|
||||
},
|
||||
{
|
||||
isHistoric: true,
|
||||
isOptional: true,
|
||||
name: 'number',
|
||||
type: 'BlockNumber'
|
||||
@@ -167,6 +170,7 @@ export const rpc: DefinitionsRpc = objectSpread({}, netRpc, web3Rpc, {
|
||||
type: 'H160'
|
||||
},
|
||||
{
|
||||
isHistoric: true,
|
||||
isOptional: true,
|
||||
name: 'number',
|
||||
type: 'BlockNumber'
|
||||
@@ -234,6 +238,7 @@ export const rpc: DefinitionsRpc = objectSpread({}, netRpc, web3Rpc, {
|
||||
type: 'U256'
|
||||
},
|
||||
{
|
||||
isHistoric: true,
|
||||
isOptional: true,
|
||||
name: 'number',
|
||||
type: 'BlockNumber'
|
||||
@@ -287,6 +292,7 @@ export const rpc: DefinitionsRpc = objectSpread({}, netRpc, web3Rpc, {
|
||||
type: 'H256'
|
||||
},
|
||||
{
|
||||
isHistoric: true,
|
||||
isOptional: true,
|
||||
name: 'number',
|
||||
type: 'BlockNumber'
|
||||
|
||||
Reference in New Issue
Block a user