Skip to content

Commit

Permalink
actually fix tests and bug
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaSripal committed Apr 23, 2021
1 parent ce002c4 commit 317bb64
Show file tree
Hide file tree
Showing 2 changed files with 84 additions and 77 deletions.
2 changes: 2 additions & 0 deletions modules/light-clients/07-tendermint/types/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,9 @@ func update(ctx sdk.Context, clientStore sdk.KVStore, clientState *ClientState,

// set context time as processed time as this is state internal to tendermint client logic.
// client state and consensus state will be set by client keeper
// set iteration key to provide ability for efficient ordered iteration of consensus states.
SetProcessedTime(clientStore, header.GetHeight(), uint64(ctx.BlockTime().UnixNano()))
SetIterationKey(clientStore, header.GetHeight())

return clientState, consensusState
}
Loading

0 comments on commit 317bb64

Please sign in to comment.