Skip to content

fix(evm-tests): align reverter_contract.hex with reverter.sol (solc 0.8.28)#3116

Merged
mojtaba-esk merged 1 commit into
mainfrom
mojtaba/fix-reverter-contract-hex-from-solc
Mar 25, 2026
Merged

fix(evm-tests): align reverter_contract.hex with reverter.sol (solc 0.8.28)#3116
mojtaba-esk merged 1 commit into
mainfrom
mojtaba/fix-reverter-contract-hex-from-solc

Conversation

@mojtaba-esk

@mojtaba-esk mojtaba-esk commented Mar 25, 2026

Copy link
Copy Markdown
Contributor

Describe your changes and provide context

Regenerate integration_test/evm_module/scripts/contracts/reverter_contract.hex from reverter.sol using solc 0.8.28 so the committed bytecode matches the source; document the compiler version in the .sol comment. Issue flagged by #eng-cursor-bugbot (hex did not match a proper compile of reverter.sol).

Testing performed to validate your change

The old blob was not solc output for reverter.sol, but it still implemented the same outward behavior the .iox files assert: revert with Error("user error") for empty / 0x01 calldata and a panic-style path for 0x02.
so the test outcome did not change with this fix.

@github-actions

github-actions Bot commented Mar 25, 2026

Copy link
Copy Markdown

The latest Buf updates on your PR. Results from workflow Buf / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedMar 25, 2026, 8:29 AM

@mojtaba-esk mojtaba-esk enabled auto-merge March 25, 2026 08:31
@mojtaba-esk mojtaba-esk added this pull request to the merge queue Mar 25, 2026
Merged via the queue into main with commit d6f6b9c Mar 25, 2026
42 checks passed
@mojtaba-esk mojtaba-esk deleted the mojtaba/fix-reverter-contract-hex-from-solc branch March 25, 2026 14:20
jewei1997 pushed a commit that referenced this pull request Mar 30, 2026
….8.28) (#3116)

## Describe your changes and provide context

Regenerate
`integration_test/evm_module/scripts/contracts/reverter_contract.hex`
from `reverter.sol` using `solc 0.8.28` so the committed bytecode
matches the source; document the compiler version in the .sol comment.
Issue flagged by `#eng-cursor-bugbot` (hex did not match a proper
compile of `reverter.sol`).


## Testing performed to validate your change

The old blob was not solc output for `reverter.sol`, but it still
implemented the same outward behavior the `.iox` files assert: revert
with `Error("user error")` for empty / 0x01 calldata and a panic-style
path for 0x02.
so the test outcome did not change with this fix.

Co-authored-by: Mojtaba <mojtaba@celestia.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants