Skip to content

Commit

Permalink
Merge branch 'main' into evan/evan-merge-main-rc3
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-forbes committed Jun 13, 2023
2 parents 1b0afb8 + 6e13d5d commit 212b11b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions test/util/testnode/node_interaction_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ func (c *Context) GoContext() context.Context {
return c.rootCtx
}

// LatestHeight returns the latest height of the network or an error if the
// query fails.
// GenesisTime returns the genesis block time.
func (c *Context) GenesisTime() (time.Time, error) {
height := int64(1)
status, err := c.Client.Block(c.GoContext(), &height)
Expand Down
2 changes: 1 addition & 1 deletion x/qgb/keeper/keeper_attestation.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func (k Keeper) GetLatestAttestationNonce(ctx sdk.Context) uint64 {
// attestation nonce has been initialized in store, and false if not.
func (k Keeper) CheckEarliestAvailableAttestationNonce(ctx sdk.Context) bool {
store := ctx.KVStore(k.storeKey)
has := store.Has([]byte(types.LatestAttestationtNonce))
has := store.Has([]byte(types.EarliestAvailableAttestationNonce))
return has
}

Expand Down

0 comments on commit 212b11b

Please sign in to comment.