Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zjg555543 committed Jan 4, 2024
1 parent cff691e commit 58cfbb1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"time"

"github.com/0xPolygonHermez/zkevm-node/config/types"
"github.com/ethereum/go-ethereum/common"
"github.com/stretchr/testify/require"
"github.com/urfave/cli/v2"
)
Expand Down Expand Up @@ -40,6 +41,10 @@ func Test_Defaults(t *testing.T) {
path: "L1.BlockBatchSize",
expectedValue: uint(64),
},
{
path: "SignSequenceAddress",
expectedValue: common.Address{},
},
// TODO: more default checks
}

Expand Down
2 changes: 1 addition & 1 deletion config/default.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
// DefaultValues is the default configuration
const DefaultValues = `
PrivateKey = {Path = "/pk/test-member.keystore", Password = "testonly"}
SignSequenceAddress = ""
SignSequenceAddress = "0x0000000000000000000000000000000000000000"
[L1]
WsURL = "ws://127.0.0.1:8546"
Expand Down
1 change: 0 additions & 1 deletion test/config/test.da.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
PrivateKey = {Path = "/pk/test-member.keystore", Password = "testonly"}
SignSequenceAddress = ""

[L1]
WsURL = "ws://x1-mock-l1-network:8546"
Expand Down

0 comments on commit 58cfbb1

Please sign in to comment.