Skip to content

Commit e1ec072

Browse files
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-6
1 parent 0a0b148 commit e1ec072

File tree

1 file changed

+244
-211
lines changed

1 file changed

+244
-211
lines changed

0 commit comments

Comments
 (0)