Fix getting block registry when historical type isn't BlockHash (#4571)

* Fix getting block registry when historical type isn't BlockHash

* Revert change, remove isHistoric from historical BlockNumber fields
This commit is contained in:
Scott Twiname
2022-02-17 08:05:06 +02:00
committed by GitHub
parent ad363bac09
commit 0a85b4839d
-6
View File
@@ -62,7 +62,6 @@ export const rpc: DefinitionsRpc = objectSpread({}, netRpc, web3Rpc, {
type: 'EthCallRequest'
},
{
isHistoric: true,
isOptional: true,
name: 'number',
type: 'BlockNumber'
@@ -88,7 +87,6 @@ export const rpc: DefinitionsRpc = objectSpread({}, netRpc, web3Rpc, {
type: 'EthCallRequest'
},
{
isHistoric: true,
isOptional: true,
name: 'number',
type: 'BlockNumber'
@@ -109,7 +107,6 @@ export const rpc: DefinitionsRpc = objectSpread({}, netRpc, web3Rpc, {
type: 'H160'
},
{
isHistoric: true,
isOptional: true,
name: 'number',
type: 'BlockNumber'
@@ -170,7 +167,6 @@ export const rpc: DefinitionsRpc = objectSpread({}, netRpc, web3Rpc, {
type: 'H160'
},
{
isHistoric: true,
isOptional: true,
name: 'number',
type: 'BlockNumber'
@@ -238,7 +234,6 @@ export const rpc: DefinitionsRpc = objectSpread({}, netRpc, web3Rpc, {
type: 'U256'
},
{
isHistoric: true,
isOptional: true,
name: 'number',
type: 'BlockNumber'
@@ -292,7 +287,6 @@ export const rpc: DefinitionsRpc = objectSpread({}, netRpc, web3Rpc, {
type: 'H256'
},
{
isHistoric: true,
isOptional: true,
name: 'number',
type: 'BlockNumber'