Skip to content

Commit 2158f33

Browse files
gurukamathSamWilsn
authored andcommitted
Re-read account code after setting 7702 delegation
1 parent 9b75153 commit 2158f33

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ethereum/prague/vm/eoa_delegation.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,4 +202,6 @@ def set_delegation(message: Message) -> U256:
202202
if message.code_address is None:
203203
raise InvalidBlock("Invalid type 4 transaction: no target")
204204

205+
message.code = get_account(state, message.code_address).code
206+
205207
return refund_counter

0 commit comments

Comments
 (0)