Skip to content

Commit

Permalink
eip4762: fix extcodecopy for system contract
Browse files Browse the repository at this point in the history
Signed-off-by: Ignacio Hagopian <[email protected]>
  • Loading branch information
jsign committed Oct 16, 2024
1 parent 19125c0 commit 32fad71
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ def test_extcodecopy_precompile(blockchain_test: BlockchainTestFiller, fork: For
if target == system_contract_address:
sys_contract_account = Account(**fork.pre_allocation_blockchain()[system_contract_address])
code_chunks = chunkify_code(sys_contract_account.code)
witness_check.add_account_basic_data(system_contract_address, sys_contract_account)
witness_check.add_code_chunk(
address=system_contract_address, chunk_number=0, value=code_chunks[0]
)
Expand Down

0 comments on commit 32fad71

Please sign in to comment.