Skip to content

Commit

Permalink
Merge branch 'teja/specs' of https://github.com/vitwit/avail-da-module
Browse files Browse the repository at this point in the history
…into teja/specs
  • Loading branch information
Teja2045 committed Sep 19, 2024
2 parents 1205901 + a018696 commit 5a8ed1f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion specs/07_vote_extension.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ order: 7

# Vote Extensions

Vote extensions are used to propagate arbitrary data across the network without needing to implement transactions that modify the state. Validators utilize vote extensions to verify data availability of a specific range of blocks and update the state of the Cada module accordingly.

This specification details the functionality and purpose of the `ExtendVoteHandler` and `VerifyVoteExtensionHandler` methods within the VoteExtHandler struct. These methods are part of a voting extension process where validators extend their votes based on the availability of data in the Avail DA network.

### ExtendVoteHandler
Expand Down Expand Up @@ -76,4 +78,4 @@ if currentHeight+1 != int64(voteEndHeight) || blobStatus != IN_VOTING_STATE {
### VerifyVoteExtensionHandler
The `VerifyVoteExtensionHandler` method is responsible for validating the format and content of the vote extensions generated by the `ExtendVoteHandler`.

This method performs a basic validation check on the received vote extension, ensuring it meets the necessary format requirements. It then returns a response indicating whether the vote extension is accepted.
This method performs a basic validation check on the received vote extension, ensuring it meets the necessary format requirements. It then returns a response indicating whether the vote extension is accepted.

0 comments on commit 5a8ed1f

Please sign in to comment.