hashgraph / hedera-services

Crypto, token, consensus, file, and smart contract services for the Hedera public ledger
Apache License 2.0
268 stars 120 forks source link

list of potential response codes that an EVM transaction could have in receipt #14207

Closed simsonraj closed 1 week ago

simsonraj commented 3 weeks ago

Is there a potential list of on-chain errors that could be returned by the “receipts”? For example, we already know “Insufficient_tx_fee” can be returned by the receipt. Please let us know if any of these errors or more could be returned through receipt other than the contract revert.

Nana-EC commented 3 weeks ago

Result of this ticket should be an MD file under https://github.com/hashgraph/hedera-services/tree/develop/hedera-node/docs/design/services/smart-contract-service that community members can refer to.

Essentially we should explore the following sources and build the smart contract related response codes that an execution could hit

Nana-EC commented 1 week ago

@simsonraj please find the list of error code at https://github.com/hashgraph/hedera-services/blob/develop/hedera-node/docs/design/services/smart-contract-service/evm-transaction-response-codes.md based on the resolution of this ticket