From 76ade5fa31a572a4f27c13c0a0bb73dcfacb88e7 Mon Sep 17 00:00:00 2001 From: Marko Date: Wed, 28 Jun 2023 17:04:42 +0200 Subject: [PATCH] feat: add apphash to core header info (#16739) Co-authored-by: Aaron Craelius --- core/CHANGELOG.md | 4 ++++ core/header/service.go | 1 + 2 files changed, 5 insertions(+) diff --git a/core/CHANGELOG.md b/core/CHANGELOG.md index ac6434ff22..1a73a15d29 100644 --- a/core/CHANGELOG.md +++ b/core/CHANGELOG.md @@ -36,6 +36,10 @@ Ref: https://keepachangelog.com/en/1.0.0/ ## [Unreleased] +## [v0.9.0](https://github.com/cosmos/cosmos-sdk/releases/tag/core%2Fv0.9.0) + +* [#16739](https://github.com/cosmos/cosmos-sdk/pull/16739) Add `AppHash` to header.Info. + ## [v0.8.0](https://github.com/cosmos/cosmos-sdk/releases/tag/core%2Fv0.8.0) * [#15519](https://github.com/cosmos/cosmos-sdk/pull/15519) Update `comet.VoteInfo` for CometBFT v0.38. diff --git a/core/header/service.go b/core/header/service.go index 982b9a049c..cce7e6de30 100644 --- a/core/header/service.go +++ b/core/header/service.go @@ -16,4 +16,5 @@ type Info struct { Hash []byte // Hash returns the hash of the block header Time time.Time // Time returns the time of the block ChainID string // ChainId returns the chain ID of the block + AppHash []byte // AppHash used in the current block header }