From 9d2b74ad8bbe35764c6eaabc49c905c763dd604f Mon Sep 17 00:00:00 2001 From: "Li, Amazing Ang" Date: Tue, 5 Sep 2023 00:41:10 +0800 Subject: [PATCH] Update eip_draft.md --- eip_draft.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/eip_draft.md b/eip_draft.md index f0187b6..3a92983 100644 --- a/eip_draft.md +++ b/eip_draft.md @@ -51,7 +51,7 @@ The disassembly of the new minimal proxy contract code: | [05] | 5f | PUSH0 | 0 0 | | [06] | 36 | CALLDATASIZE | cds 0 0 | | [07] | 5f | PUSH0 | 0 cds 0 0 | -| [08] | 73bebe.| PUSH20 | 0xbebe. 0 cds 0 0 | +| [08] | 73bebe.| PUSH20 0xbebe. | 0xbebe. 0 cds 0 0 | | [1d] | 5a | GAS | gas 0xbebe. 0 cds 0 0| | [1e] | f4 | DELEGATECALL | suc | | [1f] | 3d | RETURNDATASIZE | rds suc | @@ -61,7 +61,7 @@ The disassembly of the new minimal proxy contract code: | [23] | 5f | PUSH0 | 0 suc | | [24] | 3d | RETURNDATASIZE | rds 0 suc | | [25] | 91 | SWAP2 | suc 0 rds | -| [26] | 602a | PUSH1 | 0x2a suc 0 rds | +| [26] | 602a | PUSH1 0x2a | 0x2a suc 0 rds | | [27] | 57 | JUMPI | 0 rds | | [29] | fd | REVERT | | | [2a] | 5b | JUMPDEST | 0 rds | @@ -157,7 +157,7 @@ To forward the calldata to the delegate call, we need to prepare arguments for t | [05] | 5f | PUSH0 | 0 0 | | [06] | 36 | CALLDATASIZE | cds 0 0 | | [07] | 5f | PUSH0 | 0 cds 0 0 | -| [08] | 73bebe.| PUSH20 | 0xbebe. 0 cds 0 0 | +| [08] | 73bebe.| PUSH20 0xbebe. | 0xbebe. 0 cds 0 0 | | [1d] | 5a | GAS | gas 0xbebe. 0 cds 0 0| | [1e] | f4 | DELEGATECALL | suc | ``` @@ -187,7 +187,7 @@ Lastly we need to return the data or revert the transaction based on whether the | [23] | 5f | PUSH0 | 0 suc | | [24] | 3d | RETURNDATASIZE | rds 0 suc | | [25] | 91 | SWAP2 | suc 0 rds | -| [26] | 602a | PUSH1 | 0x2a suc 0 rds | +| [26] | 602a | PUSH1 0x2a | 0x2a suc 0 rds | | [27] | 57 | JUMPI | 0 rds | | [29] | fd | REVERT | | | [2a] | 5b | JUMPDEST | 0 rds |