Concordium / concordium-web3id

Tools for issuing, verification, and testing of Web3 ID
https://developer.concordium.software/en/mainnet/net/web3-id/index.html#web3-id
Mozilla Public License 2.0
3 stars 0 forks source link

Fix state synchronization bug #125

Closed lassemoldrup closed 1 year ago

lassemoldrup commented 1 year ago

Purpose

Addresses #123.

Changes

The responsibility for sending transactions to the chain and updating the state (i.e. nonce) is moved to a separate worker thread that continues running, even when a connection is cancelled. The worker submits the transaction, updates the state, and sends the transaction hash back to the request handler.

Checklist