You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CHerry-pick #337 to release/0.4
Update log response integers to be hexadecimals
Signed-off-by: Nikolay Atanasow <[email protected]>
Signed-off-by: Nana-EC <[email protected]>
Co-authored-by: Nikolay Atanasow <[email protected]>
Description
hedera-json-rpc-relay/packages/relay/src/lib/eth.ts
Lines 825 to 835 in 73d8244
blockNumber
,transactionIndex
,logIndex
requireEthImpl.numberTo0x
because they are of typeuint
(execution-api reference https://github.com/ethereum/execution-apis/blob/8e43f278b8afdf2f496383361275a515d87b80cf/src/schemas/receipt.yaml#L10-L24)Steps to reproduce
Fetch any transaction receipt with logs, e.g. transaction
0x9040d4244cfeb7c5fc96ac378308d9df8a6616c550e9d02162b3ef3fe889df86
Additional context
Transaction receipt response, compare
result.blockNumber
andresult.logs[*].blockNumber
, one of them must be wrong :)Hedera network
testnet
Version
0.3.0
Operating system
Linux
The text was updated successfully, but these errors were encountered: