Skip to content

Commit

Permalink
fix: test err
Browse files Browse the repository at this point in the history
  • Loading branch information
fearlessfe authored and GrapeBaBa committed Apr 12, 2024
1 parent 9077ad4 commit 5cc962a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion portalnetwork/beacon/light_client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ func getClient(strictCheckpointAge bool, t *testing.T) (*ConsensusLightClient, e
Chain: baseConfig.Chain,
Spec: baseConfig.Spec,
StrictCheckpointAge: strictCheckpointAge,
MaxCheckpointAge: 123123123,
}

checkpoint := common.Root(hexutil.MustDecode("0xc62aa0de55e6f21230fa63713715e1a6c13e73005e89f6389da271955d819bde"))
Expand All @@ -99,6 +98,7 @@ func TestVerifyCheckpointAgeInvalid(t *testing.T) {
func TestVerifyUpdate(t *testing.T) {
client, err := getClient(false, t)
require.NoError(t, err)
client.Config.MaxCheckpointAge = 123123123

period := CalcSyncPeriod(uint64(client.Store.FinalizedHeader.Slot))
updates, err := client.API.GetUpdates(period, MaxRequestLightClientUpdates)
Expand Down

0 comments on commit 5cc962a

Please sign in to comment.