enigma-contract icon indicating copy to clipboard operation
enigma-contract copied to clipboard

BUG: fix nonce for concurrency tasks

Open lacabra opened this issue 5 years ago • 0 comments

Continues the work initiated in #181, this PR implements the true intent of that first PR, tracking locally nonces used that are submitted concurrently too quickly before the contract can update them. The exception is the Contract Deployment where the nonce has to be the "true" nonce in sync with the contract, otherwise the contract will throw an error. In all other cases (compute task), the nonces do not need to be in sync.

Please note that the contract and EnigmaJS DO NOT support concurrency in contract deployments, only in computations.

lacabra avatar Dec 24 '19 19:12 lacabra