Skip to content

Commit

Permalink
chore: include calculated and proposed data root in log message (#2826)
Browse files Browse the repository at this point in the history
(cherry picked from commit fb8492c)
  • Loading branch information
cmwaters authored and mergify[bot] committed Nov 8, 2023
1 parent 2799ace commit 79f4fdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/process_proposal.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}

Expand Down

0 comments on commit 79f4fdd

Please sign in to comment.