Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Metropolis: EIP86 account abstraction #277

Closed
wants to merge 12 commits into from
Prev Previous commit
Next Next commit
EIP86: add CREATE_P2SH
  • Loading branch information
pirapira committed Jul 6, 2017
commit 6e4c4b62718e21390d1ee0c4f656cc194a2c69a3
5 changes: 5 additions & 0 deletions Paper.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2026,6 +2026,11 @@ \subsection{Instruction Set}
&&&& This means that the recipient is in fact the same account as at present, simply\\
&&&& that the code is overwritten {\it and} the context is almost entirely identical.\\
\midrule
0xfb & {\small CREATE\_P2SH} & 3 & 1 & Create a new account with associated code on an address calculated using the \\
&&&& creator's address. \\
&&&& Exactly equivalent to {\small CREATE} except: \\
&&&& $a \equiv \mathcal{B}_{96..255}\Big(\mathtt{\tiny KEC}\big(I_a \cdot \mathbf{i}\big)\Big)$ \\
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should read ...KEC(\mathbf{i})...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed.

\midrule
0xfe & {\small INVALID} & $\varnothing$ & $\varnothing$ & Designated invalid instruction. \\
\midrule
0xff & {\small SELFDESTRUCT} & 1 & 0 & Halt execution and register account for later deletion. \\
Expand Down