Skip to content

Commit

Permalink
Update eip-2315.md (#5685)
Browse files Browse the repository at this point in the history
  • Loading branch information
gcolvin authored Sep 19, 2022
1 parent 8707f5d commit 12ce74e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EIPS/eip-2315.md
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ def validate_code(code: bytes, pc: int, sp: int, bp: int) -> boolean:

## Security Considerations

These changes introduce new flow control instructions. They do not introduce any new security considerations. This EIP is intended to improve security by validating a higher level of safety for EVM code deployed on the blockchain.
These changes introduce new flow control instructions. They do not introduce any new security considerations. This EIP is intended to improve security by validating a higher level of safety for EVM code deployed on the blockchain. The validation algorithm must be quasi-linear in time and space to not be a denial of service vulnerability. The algorithm here takes one linear-time pass, and uses a stack of continuations that cannot exceed the number of `RJUMPI` instructions in the code.

## Copyright
Copyright and related rights waived via [CC0](../LICENSE.md).

0 comments on commit 12ce74e

Please sign in to comment.