Skip to content

Commit

Permalink
chore: include calculated and proposed data root in log message (back…
Browse files Browse the repository at this point in the history
…port #2826) (#2829)
  • Loading branch information
mergify[bot] authored Nov 8, 2023
1 parent 2799ace commit 77bf9e8
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 77bf9e8

Please sign in to comment.