Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
simlecode committed Feb 29, 2024
1 parent d78f517 commit 42b0637
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions pkg/beacon/drand_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ func TestMaxBeaconRoundForEpoch(t *testing.T) {

func TestQuicknetIsChained(t *testing.T) {
tf.UnitTest(t)
todayTs := uint64(1652222222)
todayTS := uint64(1652222222)
drandCfg := config.DrandConfigs[config.DrandQuicknet]
db, err := NewDrandBeacon(todayTs, config.NewDefaultConfig().NetworkParams.BlockDelay, drandCfg)
db, err := NewDrandBeacon(todayTS, config.NewDefaultConfig().NetworkParams.BlockDelay, drandCfg)
assert.NoError(t, err)
assert.False(t, db.IsChained())
}
2 changes: 1 addition & 1 deletion pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ func newDefaultNetworkParamsConfig() *NetworkParamsConfig {
abi.RegisteredSealProof_StackedDrg32GiBV1,
abi.RegisteredSealProof_StackedDrg64GiBV1,
},
DrandSchedule: map[abi.ChainEpoch]DrandEnum{0: 5, -1: 1},
DrandSchedule: map[abi.ChainEpoch]DrandEnum{0: DrandMainnet, defaultParams.UpgradePhoenixHeight: DrandQuicknet},
ForkUpgradeParam: &defaultParams,
PropagationDelaySecs: 10,
AllowableClockDriftSecs: 1,
Expand Down
4 changes: 2 additions & 2 deletions pkg/testhelpers/test_daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -396,9 +396,9 @@ func (td *TestDaemon) WaitForAPI() error {
if err == nil {
return nil
}
time.Sleep(time.Millisecond * 100)
time.Sleep(time.Second * 20)
}
return fmt.Errorf("filecoin node failed to come online in given time period (10 seconds); last err = %s", err)
return fmt.Errorf("filecoin node failed to come online in given time period (20 seconds); last err = %s", err)
}

// CreateStorageMinerAddr issues a new message to the network, mines the message
Expand Down

0 comments on commit 42b0637

Please sign in to comment.