-
Notifications
You must be signed in to change notification settings - Fork 278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Specify the antehandler #2044
Comments
specifically this comment (copied for convenience) good question! I don't think the ante handlers are really specified sufficiently anywhere, especially our usage of them, so I added #2044 that might involve updating the above! the reasoning behind saying "all remaining transactions types do not have to be valid" were these lines celestia-app/app/process_proposal.go Lines 55 to 61 in 65046dd
in the past, the rules were that validators could include invalid transactions in the block. It's very reasonable to see this as incorrect now since the most recent fix to use the entire antehandler instead of only incrementing the nonce! celestia-app/app/process_proposal.go Lines 72 to 79 in 65046dd
we might want to say something along the lines of "random tx data is permitted, but decodable sdk.Txs must pass all antehandler checks in order for the block to be valid". |
Closes #2044 --------- Co-authored-by: CHAMI Rachid <[email protected]> Co-authored-by: Evan Forbes <[email protected]> Co-authored-by: Callum Waters <[email protected]> Co-authored-by: Abu Sayeed Khan <[email protected]>
Closes #2044 --------- Co-authored-by: CHAMI Rachid <[email protected]> Co-authored-by: Evan Forbes <[email protected]> Co-authored-by: Callum Waters <[email protected]> Co-authored-by: Abu Sayeed Khan <[email protected]> (cherry picked from commit 97fc207) # Conflicts: # specs/src/README.md # specs/src/SUMMARY.md # specs/src/specs/block_validity_rules.md
Closes celestiaorg/celestia-app#2044 --------- Co-authored-by: CHAMI Rachid <[email protected]> Co-authored-by: Evan Forbes <[email protected]> Co-authored-by: Callum Waters <[email protected]> Co-authored-by: Abu Sayeed Khan <[email protected]>
Given its importance and slightly weird usage, we should add a spec for our antehandler. We should be sure to include what occurs to failed transactions and how it is used in prepare/processProposal.
The text was updated successfully, but these errors were encountered: