Skip to content

Commit

Permalink
devnet-5: fix Consolidation and Withdrawal request predeploy address
Browse files Browse the repository at this point in the history
[Update EIP-7251: Set MAX_CONSOLIDATIONS=2](ethereum/EIPs#9127)
will override
[Update EIP-7251: fix CONSOLIDATION_REQUEST_PREDEPLOY_ADDRES](ethereum/EIPs#9118)
therefore we only need the later.
  • Loading branch information
jangko committed Dec 19, 2024
1 parent 48aa410 commit 8253054
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions nimbus/constants.nim
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,6 @@ const
initAddress(3)

HISTORY_STORAGE_ADDRESS* = address"0x0aae40965e6800cd9b1f4b05ff21581047e3f91e"
WITHDRAWAL_QUEUE_ADDRESS* = address"0x09Fc772D0857550724b07B850a4323f39112aAaA"
CONSOLIDATION_QUEUE_ADDRESS* = address"0x01aBEa29659e5e97C95107F20bb753cD3e09bBBb"
WITHDRAWAL_REQUEST_PREDEPLOY_ADDRESS* = address"0x0c15F14308530b7CDB8460094BbB9cC28b9AaaAA"
CONSOLIDATION_REQUEST_PREDEPLOY_ADDRESS* = address"0x00431F263cE400f4455c2dCf564e53007Ca4bbBb"
# End
4 changes: 2 additions & 2 deletions nimbus/core/executor/process_transaction.nim
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ proc processDequeueWithdrawalRequests*(vmState: BaseVMState): seq[byte] =
sender : SYSTEM_ADDRESS,
gasLimit : DEFAULT_GAS_LIMIT.GasInt,
gasPrice : 0.GasInt,
to : WITHDRAWAL_QUEUE_ADDRESS,
to : WITHDRAWAL_REQUEST_PREDEPLOY_ADDRESS,

# It's a systemCall, no need for other knicks knacks
sysCall : true,
Expand All @@ -223,7 +223,7 @@ proc processDequeueConsolidationRequests*(vmState: BaseVMState): seq[byte] =
sender : SYSTEM_ADDRESS,
gasLimit : DEFAULT_GAS_LIMIT.GasInt,
gasPrice : 0.GasInt,
to : CONSOLIDATION_QUEUE_ADDRESS,
to : CONSOLIDATION_REQUEST_PREDEPLOY_ADDRESS,

# It's a systemCall, no need for other knicks knacks
sysCall : true,
Expand Down

0 comments on commit 8253054

Please sign in to comment.