From 12ce74ee6cf76f2cbe8847c133bc0e6daecd765f Mon Sep 17 00:00:00 2001 From: Greg Colvin Date: Sun, 18 Sep 2022 22:28:28 -0400 Subject: [PATCH] Update eip-2315.md (#5685) --- EIPS/eip-2315.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EIPS/eip-2315.md b/EIPS/eip-2315.md index 55ab21a1c6..8dc9afd0dd 100644 --- a/EIPS/eip-2315.md +++ b/EIPS/eip-2315.md @@ -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).