forked from ethereum/go-ethereum
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Delegate handles found in call arguments
If a ciphertext handle is part of the arguments to a call opcode (call, static, delegate, callCode), delegate it such that it is verified for the callee. Previously, the delegation was implicit for deeper call depths. This PR makes it explicit, vie either the `delegateCiphertext` precompile or a call opcode. Implement by keeping a set of verified stack depths per ciphertext. Increment the stack depth when calling a precompile such that the depth is correct inside the precompile itself. Closes ethereum#52.
- Loading branch information
1 parent
da6a06e
commit 21b624e
Showing
5 changed files
with
542 additions
and
227 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.