Skip to content

abci++: remove CheckTx call from PrepareProposal flow - #8176

Merged
williambanfield merged 4 commits into
masterfrom
wb/issue-8126
Mar 22, 2022
Merged

williambanfield merged 4 commits into
masterfrom
wb/issue-8126

Conversation

@williambanfield

Copy link
Copy Markdown
Contributor

closes: #8126

Comment thread spec/abci++/abci++_methods_002_draft.md Resolved

@sergio-mena sergio-mena left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From the code changes, I understand you went for the solution mentioned by Sam in yesterday's meeting.
I agree with that approach.
Thanks for this (in particular for updating the spec)!

@williambanfield
williambanfield merged commit 2361e0c into master Mar 22, 2022
@williambanfield
williambanfield deleted the wb/issue-8126 branch March 22, 2022 14:03
@sergio-mena sergio-mena mentioned this pull request Jul 22, 2022
35 tasks done
sergio-mena added a commit that referenced this pull request Aug 3, 2022
* -----start------

* [cherrypicked] state: panic on ResponsePrepareProposal validation error (#8145)

* state: panic on ResponsePrepareProposal validation error

* lint++

Co-authored-by: Sam Kleinman <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>

* [cherrypicked] abci++: remove CheckTx call from PrepareProposal flow (#8176)

* [cherrypicked] abci++: correct max-size check to only operate on added and unmodified (#8242)

* [cherrypicked] Remove `ModifiedTxStatus` from the spec and the code (#8210)

* Outstanding abci-gen changes to 'pb.go' files

* Removed modified_tx_status from spec and protobufs

* Fix sed for OSX

* Regenerated abci protobufs with 'abci-proto-gen'

* Code changes. UTs e2e tests passing

* Recovered UT: TestPrepareProposalModifiedTxStatusFalse

* Adapted UT

* Fixed UT

* Revert "Fix sed for OSX"

This reverts commit e576708.

* Update internal/state/execution_test.go

Co-authored-by: William Banfield <[email protected]>

* Update abci/example/kvstore/kvstore.go

Co-authored-by: M. J. Fromberger <[email protected]>

* Update internal/state/execution_test.go

Co-authored-by: William Banfield <[email protected]>

* Update spec/abci++/abci++_tmint_expected_behavior_002_draft.md

Co-authored-by: William Banfield <[email protected]>

* Addressed some comments

* Added one test that tests error at the ABCI client + Fixed some mock calls

* Addressed remaining comments

* Update abci/example/kvstore/kvstore.go

Co-authored-by: William Banfield <[email protected]>

* Update abci/example/kvstore/kvstore.go

Co-authored-by: William Banfield <[email protected]>

* Update abci/example/kvstore/kvstore.go

Co-authored-by: William Banfield <[email protected]>

* Update spec/abci++/abci++_tmint_expected_behavior_002_draft.md

Co-authored-by: William Banfield <[email protected]>

* Addressed William's latest comments

* Adressed Michael's comment

* Fixed UT

* Some md fixes

* More md fixes

* gofmt

Co-authored-by: William Banfield <[email protected]>
Co-authored-by: M. J. Fromberger <[email protected]>

* make proto-gen

* Fixed testcase on PrepareProposal error

* mockery

Co-authored-by: William Banfield <[email protected]>
Co-authored-by: Sam Kleinman <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: M. J. Fromberger <[email protected]>
samricotta pushed a commit that referenced this pull request Aug 16, 2022
* -----start------

* [cherrypicked] state: panic on ResponsePrepareProposal validation error (#8145)

* state: panic on ResponsePrepareProposal validation error

* lint++

Co-authored-by: Sam Kleinman <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>

* [cherrypicked] abci++: remove CheckTx call from PrepareProposal flow (#8176)

* [cherrypicked] abci++: correct max-size check to only operate on added and unmodified (#8242)

* [cherrypicked] Remove `ModifiedTxStatus` from the spec and the code (#8210)

* Outstanding abci-gen changes to 'pb.go' files

* Removed modified_tx_status from spec and protobufs

* Fix sed for OSX

* Regenerated abci protobufs with 'abci-proto-gen'

* Code changes. UTs e2e tests passing

* Recovered UT: TestPrepareProposalModifiedTxStatusFalse

* Adapted UT

* Fixed UT

* Revert "Fix sed for OSX"

This reverts commit e576708.

* Update internal/state/execution_test.go

Co-authored-by: William Banfield <[email protected]>

* Update abci/example/kvstore/kvstore.go

Co-authored-by: M. J. Fromberger <[email protected]>

* Update internal/state/execution_test.go

Co-authored-by: William Banfield <[email protected]>

* Update spec/abci++/abci++_tmint_expected_behavior_002_draft.md

Co-authored-by: William Banfield <[email protected]>

* Addressed some comments

* Added one test that tests error at the ABCI client + Fixed some mock calls

* Addressed remaining comments

* Update abci/example/kvstore/kvstore.go

Co-authored-by: William Banfield <[email protected]>

* Update abci/example/kvstore/kvstore.go

Co-authored-by: William Banfield <[email protected]>

* Update abci/example/kvstore/kvstore.go

Co-authored-by: William Banfield <[email protected]>

* Update spec/abci++/abci++_tmint_expected_behavior_002_draft.md

Co-authored-by: William Banfield <[email protected]>

* Addressed William's latest comments

* Adressed Michael's comment

* Fixed UT

* Some md fixes

* More md fixes

* gofmt

Co-authored-by: William Banfield <[email protected]>
Co-authored-by: M. J. Fromberger <[email protected]>

* make proto-gen

* Fixed testcase on PrepareProposal error

* mockery

Co-authored-by: William Banfield <[email protected]>
Co-authored-by: Sam Kleinman <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: M. J. Fromberger <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create way to add Tx to mempool without interacting with the application for PrepareProposal

4 participants