From b2429050670e91542c1702747cc4f9e89b5132a6 Mon Sep 17 00:00:00 2001 From: KillariDev Date: Mon, 26 Feb 2024 10:57:35 +0200 Subject: [PATCH] make experimental nethermind functional --- app/ts/types/multicall-types.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/ts/types/multicall-types.ts b/app/ts/types/multicall-types.ts index 7277f7e4..034e3d35 100644 --- a/app/ts/types/multicall-types.ts +++ b/app/ts/types/multicall-types.ts @@ -75,11 +75,13 @@ export const CallResultLog = funtypes.Intersect( funtypes.ReadonlyObject({ logIndex: EthereumQuantity, address: EthereumAddress, - blockHash: EthereumQuantity, + blockHash: EthereumBytes32, blockNumber: EthereumQuantity, data: EthereumData, topics: funtypes.ReadonlyArray(EthereumBytes32), - transactionHash: EthereumQuantity, + }), + funtypes.ReadonlyPartial({ // these are not optional in the spec, but they are not standard for logs + transactionHash: EthereumBytes32, transactionIndex: EthereumQuantity, }) ) @@ -120,7 +122,7 @@ export const ExecutionSpec383MultiCallCallResults = funtypes.ReadonlyArray(funty export type ExecutionSpec383MultiCallBlockResult = funtypes.Static export const ExecutionSpec383MultiCallBlockResult = funtypes.ReadonlyObject({ number: EthereumQuantity, - hash: EthereumQuantity, + hash: EthereumBytes32, timestamp: EthereumQuantity, prevRandao: EthereumQuantity, gasLimit: EthereumQuantitySmall,