OpenST / mosaic-contracts

Mosaic-0: Gateways and anchors on top of Ethereum to scale DApps
https://discuss.openst.org/c/mosaic
MIT License
114 stars 31 forks source link

Gateway nonce should start at zero #700

Closed schemar closed 5 years ago

schemar commented 5 years ago

Currently, the first nonce that the gateway expects from a new user is 1. Instead, the first nonce should be 0.

https://github.com/OpenSTFoundation/mosaic-contracts/blob/fa436b06cacf3ea84d72550b7398f94220476648/contracts/gateway/GatewayBase.sol#L686

Regenerate the proof using the tool from #711