Skip to content

Commit

Permalink
add print statements to process proposal
Browse files Browse the repository at this point in the history
  • Loading branch information
cmwaters committed Nov 9, 2023
1 parent 0ba6053 commit 68e0f47
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/process_proposal.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,9 @@ func (app *App) ProcessProposal(req abci.RequestProcessProposal) (resp abci.Resp
// 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")
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
Empty file added block.txt
Empty file.
Binary file added tools/blocktime/blocktime
Binary file not shown.

0 comments on commit 68e0f47

Please sign in to comment.