From c361ad33e4e9aad14ef598b107b864cda4390af2 Mon Sep 17 00:00:00 2001 From: Matthew Slipper Date: Fri, 26 Aug 2022 16:13:12 -0600 Subject: [PATCH] op-node: fix withdrawals Fixes withdrawals by specifying the correct storage slot. Note that this does not fix the op-e2e tests, which were incorrectly passing. @protolambda is working on this. --- op-node/withdrawals/utils.go | 1 - 1 file changed, 1 deletion(-) diff --git a/op-node/withdrawals/utils.go b/op-node/withdrawals/utils.go index 04926bd6b80..697c7d3ccc1 100644 --- a/op-node/withdrawals/utils.go +++ b/op-node/withdrawals/utils.go @@ -319,6 +319,5 @@ func StorageSlotOfWithdrawalHash(hash common.Hash) common.Hash { // Where p is the 32 byte value of the storage slot and ++ is concatenation buf := make([]byte, 64) copy(buf, hash[:]) - buf[63] = 1 return crypto.Keccak256Hash(buf) }