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
  • Loading branch information
cmwaters authored Nov 8, 2023
1 parent 7d28fc0 commit fb8492c
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 @@ -159,7 +159,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 fb8492c

Please sign in to comment.