Conversation
Codecov Report
@@ Coverage Diff @@
## abci++ #6544 +/- ##
==========================================
- Coverage 62.39% 60.41% -1.98%
==========================================
Files 298 299 +1
Lines 39991 27943 -12048
==========================================
- Hits 24951 16881 -8070
+ Misses 13269 9344 -3925
+ Partials 1771 1718 -53
|
|
Blocked on spec version release. |
|
@ValarDragon in one section of the RFC you mention sending only blockdata (txs) but in a different section you mention also the header. Could you double-check this is right? |
|
The header should came after vote extensions are built, right now it should just have the tx data |
|
(does this PR have the right name?) |
cmwaters
left a comment
There was a problem hiding this comment.
This seems like a relative straight forward PR to me.
Since PrepareProposal also acts like a CheckTx, do you think it would be possible to remove or adjust the way we RecheckTx after every block
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com> Co-authored-by: Callum Waters <cmwaters19@gmail.com>
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
alexanderbez
left a comment
There was a problem hiding this comment.
Looks good @marbar3778! Left a bit of small feedback.
| if len(req.BlockData) >= 1 { | ||
| req.BlockData[1] = []byte("modified tx") | ||
| } |
There was a problem hiding this comment.
Maybe add a quick comment on what we're doing here in this example.
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
* [Rebased to v0.34.x] abci: PrepareProposal (#6544) * fixed cherry-pick * proto changes * make proto-gen * UT fixes * generate Client directive * mockery * App fixes * Disable 'modified tx' hack * mockery * Make format * Fix lint Co-authored-by: Marko <marbar3778@yahoo.com>
* [Rebased to v0.34.x] abci: PrepareProposal (#6544) * fixed cherry-pick * proto changes * make proto-gen * UT fixes * generate Client directive * mockery * App fixes * Disable 'modified tx' hack * mockery * Make format * Fix lint Co-authored-by: Marko <marbar3778@yahoo.com>
* abci: PrepareProposal (tendermint#6544) * regenerate mocks, proto, mod/sum, and clean up remaining preprocesstxs * fix tests and revert to old go.mod * mockery * add processproposal proto/boilerplate/logic * gofmt * fix test * move UNKNOWN response behaviour to reject * fix test and add testing util code * pass full block data when proposing or processing proposals * linter * add the process proposal method to the e2e app * add missing kvstore abci method * pass block data and results for bass app * use correct kvstore process logic for kvstore app * remove linting comment Co-authored-by: Ismail Khoffi <Ismail.Khoffi@gmail.com> * formatting Co-authored-by: John Adler <adlerjohn@users.noreply.github.com> * use go generate instead of make mockery * add link Co-authored-by: Marko <marbar3778@yahoo.com> Co-authored-by: mconcat <monoidconcat@gmail.com> Co-authored-by: Ismail Khoffi <Ismail.Khoffi@gmail.com> Co-authored-by: John Adler <adlerjohn@users.noreply.github.com>
* abci: PrepareProposal (tendermint#6544) * regenerate mocks, proto, mod/sum, and clean up remaining preprocesstxs * fix tests and revert to old go.mod * mockery * add processproposal proto/boilerplate/logic * gofmt * fix test * move UNKNOWN response behaviour to reject * fix test and add testing util code * pass full block data when proposing or processing proposals * linter * add the process proposal method to the e2e app * add missing kvstore abci method * pass block data and results for bass app * use correct kvstore process logic for kvstore app * add new lazy share writers * linter * remove unused arg * sort messages before exporting * formatting and bug fix * fix tests * allow for picking of square size when computing shares for the data square * remove accidental code duplication * fix test from using wrong formatting directive * linter * ci: backport lint configuration changes (tendermint#7225) * lint: cleanup pending lint errors (tendermint#7237) * linter * remove unused arg * sort messages before exporting * formatting and bug fix * fix tests * allow for picking of square size when computing shares for the data square * fix test from using wrong formatting directive * linter * ci: backport lint configuration changes (tendermint#7225) * lint: cleanup pending lint errors (tendermint#7237) * add new lazy share writers * fix rebase * linter * try ci with go 1.17 * Revert "try ci with go 1.17" This reverts commit 0f76b4d444465cf8209bd98bb18f21b242207436. * please work, linter gods * spelling Co-authored-by: Hlib Kanunnikov <hlibwondertan@gmail.com> * initialize pending share using the const share size for capacity * force the last reserve bytes to be zero * remove todo * add typecheck back to golang linter * Revert "ci: backport lint configuration changes (tendermint#7225)" This reverts commit 35178048f0fef2d80a0346f28c7687be75c3db11. * Revert "lint: cleanup pending lint errors (tendermint#7237)" This reverts commit 5d806709a9dbfed4f7dda2facb49d46604584d36. * add the link to issue back in * removed unfinished comment * switch fuzzer back to one minute * regenerate proto * better docs * fix encoding check to include the hash added to Data * add docs to CotiguousShareWriter * fix encoding check * explain why the share reserve byte is zero * use punctuation Co-authored-by: Ismail Khoffi <Ismail.Khoffi@gmail.com> * use punctuation Co-authored-by: Ismail Khoffi <Ismail.Khoffi@gmail.com> * use punctuation Co-authored-by: Ismail Khoffi <Ismail.Khoffi@gmail.com> * use punctuation Co-authored-by: Ismail Khoffi <Ismail.Khoffi@gmail.com> * use punctuation Co-authored-by: Ismail Khoffi <Ismail.Khoffi@gmail.com> * use punctuation Co-authored-by: Ismail Khoffi <Ismail.Khoffi@gmail.com> * use clearer wording for compute shares docs * more accurate docs Co-authored-by: Marko <marbar3778@yahoo.com> Co-authored-by: mconcat <monoidconcat@gmail.com> Co-authored-by: Sam Kleinman <garen@tychoish.com> Co-authored-by: Hlib Kanunnikov <hlibwondertan@gmail.com> Co-authored-by: Ismail Khoffi <Ismail.Khoffi@gmail.com>
Description
PrepareProposal implementation.
TODO:
ref #6066
cc @ValarDragon