MCPcopy Create free account
hub / github.com/consensus-shipyard/ipc / process_proposal

Method process_proposal

fendermint/abci/src/application.rs:77–82  ·  view source on GitHub ↗

Opportunity for the application to inspect the proposal before voting on it. The application should accept the proposal unless there's something wrong with it. See the [spec](https://github.com/tendermint/tendermint/tree/v0.37.0-rc2/spec/abci#processproposal).

(
        &self,
        request: request::ProcessProposal,
    )

Source from the content-addressed store, hash-verified

75 ///
76 /// See the [spec](https://github.com/tendermint/tendermint/tree/v0.37.0-rc2/spec/abci#processproposal).
77 async fn process_proposal(
78 &self,
79 request: request::ProcessProposal,
80 ) -> AbciResult<response::ProcessProposal> {
81 Ok(response::ProcessProposal::Accept)
82 }
83
84 /// Opportunity for the application to add arbitrary extension data to precommit votes.
85 async fn extend_vote(&self, _request: request::ExtendVote) -> AbciResult<response::ExtendVote> {

Callers 1

callMethod · 0.45

Implementers 2

kvstore.rsfendermint/abci/examples/kvstore.rs
app.rsfendermint/app/src/app.rs

Calls

no outgoing calls

Tested by

no test coverage detected