Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Alok committed Feb 6, 2024
1 parent c0b72ae commit 4d8b208
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/updater/updater_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,12 @@ func TestUpdater(t *testing.T) {
if i%2 == 0 {
commitments[string(idxBytes[:])] = preconf.PreConfCommitmentStorePreConfCommitment{
Commiter: builderAddr,
TxnHash: txn.Hash().Hex(),
TxnHash: txn.Hash().Hex()[2:],
}
} else {
commitments[string(idxBytes[:])] = preconf.PreConfCommitmentStorePreConfCommitment{
Commiter: otherBuilderAddr,
TxnHash: txn.Hash().Hex(),
TxnHash: txn.Hash().Hex()[2:],
}
}
}
Expand All @@ -93,9 +93,9 @@ func TestUpdater(t *testing.T) {
for i := 0; i < 10; i++ {
idxBytes := getIdxBytes(int64(i + 10))

bundle := txns[i].Hash().Hex()
bundle := txns[i].Hash().Hex()[2:]
for j := i + 1; j < 10; j++ {
bundle += "," + txns[j].Hash().Hex()
bundle += "," + txns[j].Hash().Hex()[2:]
}

commitments[string(idxBytes[:])] = preconf.PreConfCommitmentStorePreConfCommitment{
Expand Down

0 comments on commit 4d8b208

Please sign in to comment.