Skip to content

Commit 5b27bfa

Browse files
committed
extend RequestFInalizeBlock
1 parent bcebd44 commit 5b27bfa

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

baseapp/abci.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -722,6 +722,13 @@ func (app *BaseApp) internalFinalizeBlock(ctx context.Context, req *abci.Request
722722
AppHash: app.LastCommitID().Hash,
723723
DataHash: txs.Hash(),
724724
EncryptedRandom: req.EncryptedRandom,
725+
Version: req.Version,
726+
LastBlockId: req.LastBlockId,
727+
LastCommitHash: req.LastCommitHash,
728+
ValidatorsHash: req.ValidatorsHash,
729+
ConsensusHash: req.ConsensusHash,
730+
LastResultsHash: req.LastResultsHash,
731+
EvidenceHash: req.EvidenceHash,
725732
}
726733

727734
// finalizeBlockState should be set on InitChain or ProcessProposal. If it is

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ toolchain go1.24.0
44

55
module github.com/cosmos/cosmos-sdk
66

7-
replace github.com/cometbft/cometbft => github.com/scrtlabs/tendermint v0.38.17-secret-beta-6
7+
replace github.com/cometbft/cometbft => github.com/scrtlabs/tendermint v0.38.19-secret.1
88

99
require (
1010
cosmossdk.io/api v0.7.6

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -642,8 +642,8 @@ github.com/sagikazarmark/slog-shim v0.1.0/go.mod h1:SrcSrq8aKtyuqEI1uvTDTK1arOWR
642642
github.com/samuel/go-zookeeper v0.0.0-20190923202752-2cc03de413da/go.mod h1:gi+0XIa01GRL2eRQVjQkKGqKF3SF9vZR/HnPullcV2E=
643643
github.com/sasha-s/go-deadlock v0.3.5 h1:tNCOEEDG6tBqrNDOX35j/7hL5FcFViG6awUGROb2NsU=
644644
github.com/sasha-s/go-deadlock v0.3.5/go.mod h1:bugP6EGbdGYObIlx7pUZtWqlvo8k9H6vCBBsiChJQ5U=
645-
github.com/scrtlabs/tendermint v0.38.17-secret-beta-6 h1:aKRU4crtRI49XwW38soSRJwzIizcMwXJCxP0HHsdasY=
646-
github.com/scrtlabs/tendermint v0.38.17-secret-beta-6/go.mod h1:CZUJG1djTJUVbpjGS9JmQx9CFfF4goKi3LzYUQtxWO8=
645+
github.com/scrtlabs/tendermint v0.38.19-secret.1 h1:NxZ21CS6INBjL2QCL087/BJLb1NAIeoY07mHasTuqKs=
646+
github.com/scrtlabs/tendermint v0.38.19-secret.1/go.mod h1:CZUJG1djTJUVbpjGS9JmQx9CFfF4goKi3LzYUQtxWO8=
647647
github.com/scrtlabs/tm-secret-enclave v1.13.0-beta h1:9IqEHQ/GSaRzcgqrFkxoLd/5ejOgLSezduz75VKCsZg=
648648
github.com/scrtlabs/tm-secret-enclave v1.13.0-beta/go.mod h1:nxZQtzzAqBNBLOEXSv4cKlUnVA4vRmHOn6ujr3kxVME=
649649
github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc=

0 commit comments

Comments
 (0)