Skip to content

INVALID_FILE_ID is missing from the list of Hedera errors #4943

@Neurone

Description

@Neurone

Description

INVALID_FILE_ID is missing from the list of Hedera errors, and this causes problems while asking the list of transactions in a block containing those type of errors. That value should be included in the default configuration.

As a temporary workaround, inserting the INVALID_FILE_ID value in the HEDERA_SPECIFIC_REVERT_STATUSES environment variable fixes the behavior.

Steps to reproduce

Examples of the issue on the testnet:

~ curl -s -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["0x1E37880",false],"id":1}' https://testnet.hashio.io/api | jq .result.transactions
[
  "0x29314af280aea48780466317b6bb95180acbc4f7bff2eb93ee45bcfcf9d1b571",
  "0xa5c699508857de1e67819a59f91def0209f76eb590572ec6ae336a95b5d49ddd",
  "0x"
]

➜  ~ curl -s -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["0x1E37775",false],"id":1}' https://testnet.hashio.io/api | jq .result.transactions
[
  "0x"
]

Additional context

No response

Hedera network

testnet, other, mainnet, previewnet

Version

v0.75.0-rc1

Operating system

None

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions