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

Implement incremental nonces for preauth transactions below a certain nonce #67

Closed
izqui opened this issue Jul 24, 2017 · 3 comments
Closed

Comments

@izqui
Copy link
Contributor

izqui commented Jul 24, 2017

Right now nonces are just used for checking a certain preauthorized payload be executed just once, while also allowing for executing different times the same preauth action (with different signatures, of course)

As proposed in this EIP comment, it could be interesting to treat nonces below a certain x threshold (x = 10 ^ 10 seems good enough) as an incremental nonce. This means that a preauthorized transaction that has a nonce n below x, will only be executed iff last executed preauth tx for that address was n - 1.

It would require adding an additional storage key for keeping track of address nonces.

@Quazia
Copy link
Contributor

Quazia commented Jul 31, 2017

I'd like to take a crack at this.

@izqui
Copy link
Contributor Author

izqui commented Jul 31, 2017

Awesome, all yours!

@izqui
Copy link
Contributor Author

izqui commented Nov 7, 2017

No longer relevant

@izqui izqui closed this as completed Nov 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants