Skip to content

fix(vm): propagate response on DerivedEVMCall VM failure - #52

Merged
0xNilesh merged 1 commit into
audit-fixesfrom
fix/F-2026-18824-rec2
Sep 2, 2026
Merged

fix(vm): propagate response on DerivedEVMCall VM failure#52
0xNilesh merged 1 commit into
audit-fixesfrom
fix/F-2026-18824-rec2

Conversation

@0xNilesh

@0xNilesh 0xNilesh commented Sep 2, 2026

Copy link
Copy Markdown
Member

DerivedEVMCall returned nil on VM failure, discarding a response that still carries GasUsed. Callers that charge for the gas a call actually burned were left with nothing to charge against, so a reverted call ran for free.

Return the response alongside the error, matching CallEVM directly above it.

Callers bill GasUsed from the receipt; returning nil made that a no-op.
@0xNilesh
0xNilesh force-pushed the fix/F-2026-18824-rec2 branch from d798d45 to c8043e9 Compare September 2, 2026 05:50
@0xNilesh 0xNilesh changed the title fix(vm): propagate response on DerivedEVMCall VM failure (F-2026-18824 rec 2) fix(vm): propagate response on DerivedEVMCall VM failure Sep 2, 2026
@0xNilesh
0xNilesh merged commit 7ac130d into audit-fixes Sep 2, 2026
18 of 22 checks passed
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