File tree Expand file tree Collapse file tree 1 file changed +17
-2
lines changed
tests/monad_eight/staking_precompile Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -300,11 +300,26 @@ class FunctionInfo:
300300PAYABLE_FUNCTIONS = [f for f in ALL_FUNCTIONS if f .is_payable ]
301301NON_PAYABLE_FUNCTIONS = [f for f in ALL_FUNCTIONS if not f .is_payable ]
302302
303- # Representative subset to limit parametrization explosion
303+ # Representative subset to limit parametrization explosion.
304+ # One function per behavioral equivalence class:
305+ # addValidator — payable + overrides_size_errors
306+ # delegate — payable + nonzero_value_error
307+ # externalReward — payable + empty_state_error (no nonzero_value_error)
308+ # withdraw — non-payable + empty_state_error
309+ # undelegate — non-payable, no special errors
310+ # getEpoch — parameterless (calldata_size==4) + gas <= stipend
304311REPRESENTATIVE_FUNCTIONS = [
305312 f
306313 for f in ALL_FUNCTIONS
307- if f .name in ("delegate" , "undelegate" , "getEpoch" , "getValidator" )
314+ if f .name
315+ in (
316+ "addValidator" ,
317+ "delegate" ,
318+ "externalReward" ,
319+ "withdraw" ,
320+ "undelegate" ,
321+ "getEpoch" ,
322+ )
308323]
309324
310325# Lookup table: selector -> FunctionInfo
You can’t perform that action at this time.
0 commit comments