Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dshulyak committed Sep 12, 2023
1 parent ede168b commit 2047c04
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config/presets/testnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func testnet() config.Config {
MaxRequestRetries: 10,
},
POST: activation.PostConfig{
MinNumUnits: 4,
MinNumUnits: 2,
MaxNumUnits: math.MaxUint32,
LabelsPerUnit: 1024,
K1: 26,
Expand Down
1 change: 1 addition & 0 deletions node/adminservice_api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import (

func TestPeerInfoApi(t *testing.T) {
cfg := config.DefaultTestConfig()
cfg.Genesis.Accounts = nil
cfg.P2P.DisableNatPort = true
cfg.P2P.Listen = "/ip4/127.0.0.1/tcp/0"

Expand Down
1 change: 1 addition & 0 deletions node/util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ func NewTestNetwork(t *testing.T, conf config.Config, l log.Log, size int) []*Te
c.DataDirParent = dir
c.SMESHING.Opts.DataDir = dir
c.SMESHING.CoinbaseAccount = types.GenerateAddress([]byte(strconv.Itoa(i))).String()

c.FileLock = filepath.Join(c.DataDirParent, "LOCK")

app := NewApp(t, &c, l)
Expand Down

0 comments on commit 2047c04

Please sign in to comment.