Skip to content

Commit

Permalink
Update EIP-7251: update byte code with logging
Browse files Browse the repository at this point in the history
Merged by EIP-Bot.
  • Loading branch information
lightclient authored Sep 17, 2024
1 parent 78ae640 commit cb7da3e
Showing 1 changed file with 28 additions and 16 deletions.
44 changes: 28 additions & 16 deletions EIPS/eip-7251.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def reset_consolidation_requests_count():
caller
push20 0xfffffffffffffffffffffffffffffffffffffffe
eq
push1 0x98
push1 0xa8
jumpi
calldatasize
Expand All @@ -250,7 +250,7 @@ calldatasize
push1 0x60
eq
iszero
push2 0x0144
push2 0x0155
jumpi
push1 0x11
Expand Down Expand Up @@ -296,7 +296,7 @@ swap1
div
callvalue
lt
push2 0x0144
push2 0x0155
jumpi
push1 0x01
Expand Down Expand Up @@ -333,6 +333,18 @@ push1 0x40
calldataload
swap1
sstore
caller
push1 0x60
shl
push0
mstore
push1 0x60
push0
push1 0x14
calldatacopy
push1 0x74
push0
log0
push1 0x01
add
push1 0x03
Expand All @@ -350,7 +362,7 @@ sub
dup1
push1 0x01
gt
push1 0xac
push1 0xbc
jumpi
pop
Expand All @@ -363,7 +375,7 @@ jumpdest
dup2
dup2
eq
push1 0xf1
push2 0x0102
jumpi
dup1
Expand Down Expand Up @@ -412,7 +424,7 @@ add
mstore
push1 0x01
add
push1 0xae
push1 0xbe
jump
jumpdest
Expand All @@ -421,13 +433,13 @@ add
dup1
swap3
eq
push2 0x0103
push2 0x0114
jumpi
swap1
push1 0x02
sstore
push2 0x010e
push2 0x011f
jump
jumpdest
Expand All @@ -447,7 +459,7 @@ dup1
push2 0x049d
eq
iszero
push2 0x011d
push2 0x012e
jumpi
pop
Expand All @@ -461,13 +473,13 @@ dup3
dup3
add
gt
push2 0x0132
push2 0x0143
jumpi
pop
pop
push0
push2 0x0138
push2 0x0149
jump
jumpdest
Expand Down Expand Up @@ -507,17 +519,17 @@ The consolidation requests contract is deployed like any other smart contract. A
"maxPriorityFeePerGas": null,
"maxFeePerGas": null,
"value": "0x0",
"input": "0x61049d5f5561014880600f5f395ff33373fffffffffffffffffffffffffffffffffffffffe146098573615156028575f545f5260205ff35b36606014156101445760115f54600182026001905f5b5f82111560595781019083028483029004916001019190603e565b90939004341061014457600154600101600155600354806004026004013381556001015f35815560010160203581556001016040359055600101600355005b6003546002548082038060011160ac575060015b5f5b81811460f15780607402838201600402600401805490600101805490600101805490600101549260601b84529083601401528260340152906054015260010160ae565b9101809214610103579060025561010e565b90505f6002555f6003555b5f548061049d141561011d57505f5b6001546001828201116101325750505f610138565b01600190035b5f555f6001556074025ff35b5f5ffd",
"input": "0x61049d5f5561015980600f5f395ff33373fffffffffffffffffffffffffffffffffffffffe1460a8573615156028575f545f5260205ff35b36606014156101555760115f54600182026001905f5b5f82111560595781019083028483029004916001019190603e565b90939004341061015557600154600101600155600354806004026004013381556001015f358155600101602035815560010160403590553360601b5f5260605f60143760745fa0600101600355005b6003546002548082038060011160bc575060015b5f5b8181146101025780607402838201600402600401805490600101805490600101805490600101549260601b84529083601401528260340152906054015260010160be565b9101809214610114579060025561011f565b90505f6002555f6003555b5f548061049d141561012e57505f5b6001546001828201116101435750505f610149565b01600190035b5f555f6001556074025ff35b5f5ffd",
"v": "0x1b",
"r": "0x539",
"s": "0x13370066aa8fbe21ca1511",
"hash": "0x6de32a89ba4c0592fd2453f8838d6bb69d93a102723de5f4b0f046ddcf8b8fa9"
"s": "0xc4685471e9c721b4",
"hash": "0x57a60c23a80c7df7448c27ca04c7961506029371d90f611b779657e34188dd52"
}
```

```
Sender: 0xd6e25886D7B986C394156C31a48e84Ee0BA71f72
Address: 0x00b42dbF2194e931E80326D950320f7d9Dbeac02
Sender: 0x4a4Fe09214d31cA1509797266683511750e67383
Address: 0x00706203067988Ab3E2A2ab626EdCD6f28bDBbbb
```

#### Block processing
Expand Down

0 comments on commit cb7da3e

Please sign in to comment.