Skip to content

fix: clarify contract call decode failures#3814

Draft
ShaoyeLi wants to merge 1 commit intoethereum:mainfrom
ShaoyeLi:codex/contract-call-error-1002
Draft

fix: clarify contract call decode failures#3814
ShaoyeLi wants to merge 1 commit intoethereum:mainfrom
ShaoyeLi:codex/contract-call-error-1002

Conversation

@ShaoyeLi
Copy link
Copy Markdown

Summary

  • raise a clearer contract execution error when a contract address has code but returns insufficient data for ABI decoding
  • keep undeployed contract calls raising the existing missing-contract decode error
  • add a release note fragment for issue Clearer error on contract execution error during call() #1002 and update sync/async regression tests

Verification

  • .venv/bin/pytest tests/core/contracts/test_contract_call_interface.py -k "call_missing_function or call_undeployed_contract" -q

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant