From 79f4fddded3cda07f4eee706ea46203fb3f8ce88 Mon Sep 17 00:00:00 2001 From: Callum Waters Date: Wed, 8 Nov 2023 16:05:37 +0100 Subject: [PATCH] chore: include calculated and proposed data root in log message (#2826) (cherry picked from commit fb8492c509deae7d9e2825bfb8feb66153b61611) --- app/process_proposal.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/process_proposal.go b/app/process_proposal.go index b2e6a446b9..0aaf791840 100644 --- a/app/process_proposal.go +++ b/app/process_proposal.go @@ -135,7 +135,7 @@ func (app *App) ProcessProposal(req abci.RequestProcessProposal) (resp abci.Resp // are identical and that square layout is consistent. This also means that the share commitment rules // have been followed and thus each blobs share commitment should be valid if !bytes.Equal(dah.Hash(), req.Header.DataHash) { - logInvalidPropBlock(app.Logger(), req.Header, "proposed data root differs from calculated data root") + logInvalidPropBlock(app.Logger(), req.Header, fmt.Sprintf("proposed data root %X differs from calculated data root %X", req.Header.DataHash, dah.Hash())) return reject() }