From 43c245da65b3aca0ee63a326998254f6128b5cd9 Mon Sep 17 00:00:00 2001 From: William Banfield Date: Mon, 21 Mar 2022 12:04:19 -0400 Subject: [PATCH] add default values to base application --- abci/types/application.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/abci/types/application.go b/abci/types/application.go index 5753a6438..8b8991adc 100644 --- a/abci/types/application.go +++ b/abci/types/application.go @@ -95,11 +95,11 @@ func (BaseApplication) ApplySnapshotChunk(req RequestApplySnapshotChunk) Respons } func (BaseApplication) PrepareProposal(req RequestPrepareProposal) ResponsePrepareProposal { - return ResponsePrepareProposal{} + return ResponsePrepareProposal{ModifiedTxStatus: ResponsePrepareProposal_UNMODIFIED} } func (BaseApplication) ProcessProposal(req RequestProcessProposal) ResponseProcessProposal { - return ResponseProcessProposal{} + return ResponseProcessProposal{Status: ResponseProcessProposal_ACCEPT} } func (BaseApplication) FinalizeBlock(req RequestFinalizeBlock) ResponseFinalizeBlock {