Repository navigation
feat(sim): Safe execTransaction ExecutionFailure abort + drift wedge (#17) - #19
Merged
Merged
Conversation
) LaunchGate eight-lock implement for Gate-2 proposal→broadcast drift: - Hard abort when eth_simulateV1 logs (or debug_traceCall+callTracer) show Safe ExecutionFailure, even if outer status is success (-32080). - execTransaction outer success without log/trace inspection → uncertain. - Abort does not require inner revert bytes; optional callTracer for copy. - Fixtures: outer-success+ExecutionFailure, GS013, bubbled Error(string). - Docs: Protocol Kit complementarity + drift wedge; FromModule residual. - Sealed npm run demo:safe-exec (fixture-only; no checkout URL).
yellowgram
added a commit
that referenced
this pull request
Oct 20, 2026
feat(sim): Safe execTransaction ExecutionFailure abort + drift wedge (#17)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements #17 against the LaunchGate eight locks (design gate PASS-with-conditions). Founder GO for implement.
Gate-2 Layer 1 now treats Safe-shaped
execTransaction(0x6a761202) specially:ExecutionFailure→ hard abort (-32080) even when outer status is success.debug_traceCall+callTracerenriches copy.execTransactionFromModuledocumented as out of P0 residual.npm run demo:safe-execis fixture-only (mock upstream; no checkout URL).Package version stays 0.5.0 (no release bump / publish in this PR).
Not claiming CR4. This is the implement PR for LaunchGate lock compliance review.
LaunchGate lock checklist
ExecutionFailure→ hard abort (never forward as success)tests/safe.execFailure.test.ts,demo:safe-exec)execTransactionouter success without log/trace ⇒ uncertainapplySafeExecCertaintyinsrc/sim/simulator.tscallTracerdocs/SAFE_EXEC_DRIFT.md, ARCHITECTURE, READMEExecutionFailure+ GS013 / bubbled-innertests/safe.execFailure.test.tsnpm run demo:safe-exec+docs/fixtures/safe-exec.expected.txt; CI stepexecTransactionFromModuleout of P0docs/RESIDUAL_BYPASSES.md/ SAFE_EXEC_DRIFTTest plan
npm test(151 tests, including 11 new Safe EF cases)npm run lintnpm run build && npm run demo:safe-execnpm run demo:dual-layerstill passes