docs: VerifyVoteExtension has to be deterministic (backport #17957) (#17977)

This commit is contained in:
mergify[bot] 2023-10-05 18:56:02 +00:00 committed by GitHub
parent 10bd5a2cac
commit 53d228f4eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -538,7 +538,7 @@ https://github.com/cosmos/cosmos-sdk/blob/v0.50.0-alpha.0/baseapp/abci_utils.go#
### VerifyVoteExtension
`VerifyVoteExtension` allows an application to verify that the data returned by `ExtendVote` is valid. This process does NOT have to be deterministic and the data returned can be unique to the validator process.
`VerifyVoteExtension` allows an application to verify that the data returned by `ExtendVote` is valid. This process MUST be deterministic. Moreover, the value of ResponseVerifyVoteExtension.status MUST exclusively depend on the parameters passed in the call to RequestVerifyVoteExtension, and the last committed Application state.
In the Cosmos-SDK this is implemented as a NoOp: