William Banfield
c80734e5af
This change implements the spec for `ProcessProposal`. It first calls the Tendermint block validation logic to check that all of the proposed block fields are well formed and do not violate any of the rules for Tendermint to consider the block valid and then passes the validated block the `ProcessProposal`. This change also adds additional fixtures to test the change. It adds the `baseMock` types that holds a mock as well as a reference to `BaseApplication`. If the function was not setup by the test on the contained mock Application, the type delegates to the `BaseApplication` and returns what `BaseApplication` returns. The change also switches the `makeState` helper to take an arg struct so that an ABCI application can be plumbed through when needed. closes: #7656 |
3 years ago | |
---|---|---|
.. | ||
mocks | state: synchronize the ProcessProposal implementation with the latest version of the spec (#7961) | 3 years ago |
application.go | state: synchronize the ProcessProposal implementation with the latest version of the spec (#7961) | 3 years ago |
client.go | proxy: move proxy package to internal (#6953) | 3 years ago |
messages.go | Completed the existing `FinalizeBlock` PR and rebased to master (#7798) | 3 years ago |
messages_test.go | testing: pass testing.T to assert and require always, assertion cleanup (#7508) | 3 years ago |
pubkey.go | cleanup: Reduce and normalize import path aliasing. (#6975) | 3 years ago |
result.go | state: synchronize the ProcessProposal implementation with the latest version of the spec (#7961) | 3 years ago |
types.pb.go | state: synchronize the ProcessProposal implementation with the latest version of the spec (#7961) | 3 years ago |
util.go | fix lint failures with 1.31 (#5489) | 4 years ago |