Skip to content
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

Document Substrate's Nonce Behaviour #178

Open
HCastano opened this issue Feb 23, 2023 · 1 comment
Open

Document Substrate's Nonce Behaviour #178

HCastano opened this issue Feb 23, 2023 · 1 comment
Labels
documentation Improvements or additions to documentation OpenZeppelin

Comments

@HCastano
Copy link
Contributor

Substrate is unusual from other blockchains because an account nonce can be reset if, for
example, an account's balance drops below the existential deposit for the Substrate chain
it's on.

In other blockchain ecosystems this is not the case, so an account nonce is typically
used to provide replay protection. In Substrate this is done through the use of
transaction mortality.

Since smart contract developers will be coming from different ecosystems we should
document this behaviour for them, and have some possible mitigation.

Here are some resources to help get these docs started:

@HCastano HCastano added OpenZeppelin documentation Improvements or additions to documentation labels Feb 23, 2023
@nazar-pc
Copy link

Is this mostly addressed by paritytech/polkadot-sdk#4034 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation OpenZeppelin
Projects
None yet
Development

No branches or pull requests

2 participants