Commit e1ec072
committed
refactor resolve logic and gas defaults in test_precompile_call
Extract ExpectedOutcome dataclass with factory methods, add
_normalize() for parameterless function edge cases, and centralize
gas computation in scenario_call_code so callers no longer need to
manually calculate gas. Simplify resolve_outcome_pair by sorting
scenarios by priority and adding stipend threshold check.
Co-Authored-By: Claude claude-opus-4-61 parent 0a0b148 commit e1ec072
File tree
1 file changed
+244
-211
lines changed- tests/monad_eight/staking_precompile
1 file changed
+244
-211
lines changed
0 commit comments