Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Invalid extrinsics are stored in the block #9651

Answered by shawntabrizi
Mr-Leshiy asked this question in Q&A
Discussion options

You must be logged in to vote

You add "invalid" extrinsics into the block because you still need to charge a fee.

This is the same reason you add transaction which "run out of gas" on the Ethereum network.

If the blockchain would not include the extrinsic or charge a fee, then it becomes easy to attack the chain with bad transactions which still does computation and waste resources of the node.

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
2 replies
@Mr-Leshiy
Comment options

@KiChjang
Comment options

Comment options

You must be logged in to vote
5 replies
@Mr-Leshiy
Comment options

@xlc
Comment options

@Mr-Leshiy
Comment options

@xlc
Comment options

@h4x3rotab
Comment options

Answer selected by Mr-Leshiy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants