Skip to content

Commit

Permalink
Fix linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
anodar committed Apr 19, 2024
1 parent db855d5 commit 2f9cc14
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion system_tests/block_validator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ func testBlockValidatorSimple(t *testing.T, dasModeString string, workloadLoops

testClientB, cleanupB := builder.Build2ndNode(t, &SecondNodeParams{nodeConfig: validatorConfig})
if useRedisStreams {
testClientB.ConsensusNode.BlockValidator.SetCurrentWasmModuleRoot(common.HexToHash(wasmModuleRoot))
if err := testClientB.ConsensusNode.BlockValidator.SetCurrentWasmModuleRoot(common.HexToHash(wasmModuleRoot)); err != nil {
t.Fatalf("Error setting wasm module root: %v", err)
}
}
defer cleanupB()
builder.L2Info.GenerateAccount("User2")
Expand Down
2 changes: 1 addition & 1 deletion system_tests/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ import (
type info = *BlockchainTestInfo
type client = arbutil.L1Interface

const wasmModuleRoot = "0xe5059c8450e490232bf1ffe02b7cf056349dccea517c8ac7c6d28a0e91ae68cd"
const wasmModuleRoot = "0x0e5403827cef82bcbb6f4ba1b6f3d84edc5b4b8991b164f623ff2eacda768e35"

type SecondNodeParams struct {
nodeConfig *arbnode.Config
Expand Down

0 comments on commit 2f9cc14

Please sign in to comment.