Skip to content

Commit

Permalink
format error
Browse files Browse the repository at this point in the history
  • Loading branch information
cmwaters committed Nov 9, 2023
1 parent f814a63 commit 822b622
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/process_proposal.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,8 @@ 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()))
fmt.Println("square at height", req.Header.Height)
fmt.Println("proposed data root", req.Header.DataHash, "calculated data root", dah.Hash())
fmt.Println(eds.Flattened())
return reject()
}
Expand Down

0 comments on commit 822b622

Please sign in to comment.