• Maurelian's avatar
    Prevent reentrancy by disallowing default context values (#363) · 246e8dc9
    Maurelian authored
    * Prevent reentrancy by disallowing default context values
    
    * Combine with gas checks
    
    Also use a default context value for ovmNumber and blockNumber
    
    * remove unused code
    
    * fix re-entrancy reversions
    
    * clean up comment
    
    * actually fix test value
    
    * swap validity condition for nonreentrant input
    
    * fix gas spec
    
    * address PR feedback
    
    * linting
    Co-authored-by: default avatarBen Jones <ben@pseudonym.party>
    246e8dc9
test-runner.ts 15.4 KB