We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d028c53 commit e3fcbceCopy full SHA for e3fcbce
encoding/da.go
@@ -815,12 +815,7 @@ func messageQueueV2ApplyL1Message(initialQueueHash common.Hash, message *types.L
815
}
816
817
func messageQueueV2EncodeRollingHash(rollingHash common.Hash) common.Hash {
818
- // clear last 36 bits
819
-
820
- // Clear the lower 4 bits of byte 26 (preserving the upper 4 bits)
821
- rollingHash[27] &= 0xF0
822
823
- // Clear the next 4 bytes (32 bits total)
+ // clear last 32 bits, i.e. 4 bytes.
824
rollingHash[28] = 0
825
rollingHash[29] = 0
826
rollingHash[30] = 0
0 commit comments