Skip to content

Commit b6d1049

Browse files
committed
fix: test expectations for rolling hash
1 parent e3fcbce commit b6d1049

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

encoding/da_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ func TestMessageQueueV2EncodeRollingHash(t *testing.T) {
181181
0xFF, 0xFF, 0xFF, 0xFF,
182182
0xFF, 0xFF, 0xFF, 0xFF,
183183
0xFF, 0xFF, 0xFF, 0xFF,
184-
0xFF, 0xFF, 0xFF, 0xF0,
184+
0xFF, 0xFF, 0xFF, 0xFF,
185185
0x00, 0x00, 0x00, 0x00,
186186
},
187187
},
@@ -204,14 +204,14 @@ func TestMessageQueueV2EncodeRollingHash(t *testing.T) {
204204
0xCC, 0xDD, 0xEE, 0xFF,
205205
0x00, 0x11, 0x22, 0x33,
206206
0x44, 0x55, 0x66, 0x77,
207-
0x88, 0x99, 0xAA, 0xB0,
207+
0x88, 0x99, 0xAA, 0xBB,
208208
0x00, 0x00, 0x00, 0x00,
209209
},
210210
},
211211
{
212212
"random hash",
213213
common.HexToHash("0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"),
214-
common.HexToHash("0x1234567890abcdef1234567890abcdef1234567890abcdef1234567000000000"),
214+
common.HexToHash("0x1234567890abcdef1234567890abcdef1234567890abcdef1234567800000000"),
215215
},
216216
}
217217

0 commit comments

Comments
 (0)