Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/go_modules/log/github.com/bytedan…
Browse files Browse the repository at this point in the history
…ce/sonic-1.12.7
  • Loading branch information
aljo242 authored Jan 15, 2025
2 parents ff422e6 + bbf813c commit 00de73c
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
3 changes: 3 additions & 0 deletions types/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ func (c Context) CometInfo() comet.Info { return c.comet
func (c Context) HeaderInfo() header.Info { return c.headerInfo }

// BlockHeader returns the header by value.
// Note, only ChainID, Time and Height are always filled by baseapp.
// In finalize block, the proposer address, validator hash and app hash are also filled.
// Use CometInfo service and/or the Consensus Keeper for getting more information.
func (c Context) BlockHeader() cmtproto.Header {
return c.header
}
Expand Down
1 change: 1 addition & 0 deletions x/auth/ante/expected_keepers.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@ type FeegrantKeeper interface {
}

type ConsensusKeeper interface {
AppVersion(ctx context.Context) (uint64, error)
BlockParams(context.Context) (uint64, uint64, error)
}
15 changes: 15 additions & 0 deletions x/auth/ante/testutil/expected_keepers_mocks.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 00de73c

Please sign in to comment.