diff --git a/chain/avalanche/node_genesis.go b/chain/avalanche/node_genesis.go index 79b43845f..c32a32419 100644 --- a/chain/avalanche/node_genesis.go +++ b/chain/avalanche/node_genesis.go @@ -1,5 +1,7 @@ package avalanche +import "time" + type ( GenesisLockedAmount struct { Amount uint32 `json:"amount"` @@ -37,7 +39,7 @@ func NewGenesis(networkID uint32, allocations []GenesisAllocation, initialStaked return Genesis{ NetworkID: networkID, Allocations: allocations, - StartTime: 1660536000, + StartTime: uint32(time.Now().Unix()), InitialStakeDuration: 31536000, InitialStakeDurationOffset: 5400, InitialStakedFunds: initialStakedFunds, diff --git a/examples/avalanche/avalanche_chain_test.go b/examples/avalanche/avalanche_chain_test.go index 477a302a7..d53634115 100644 --- a/examples/avalanche/avalanche_chain_test.go +++ b/examples/avalanche/avalanche_chain_test.go @@ -1,4 +1,4 @@ -package penumbra_test +package avalanche_test import ( "context"