valory-xyz/trader-quickstart

RPC issues

Closed this issue · 1 comments

The script is still very flaky due to the RPC.

Example failures from a single update:

[Operator] Unbonding on-chain service 63...
[2024-01-09 12:00:46,661][WARNING] Unable to estimate gas with default state , ValueError: {'code': -32015, 'message': 'wrong transaction nonce'}
Error: Service unbonding failed with following error; ChainTimeoutError(Timed out when waiting for transaction to go through)

[Service owner] Updating on-chain service 63...
Error: Component mint failed with following error; ChainTimeoutError(Timed out when waiting for transaction to go through)

[Operator] Registering agent instance for on-chain service 63...
Error: Service activation failed with following error; ChainTimeoutError(Timed out when waiting for transaction to go through)

[Service owner] Deploying on-chain service 63...
Error: Service deployment failed with following error; ChainTimeoutError(Timed out when waiting for transaction to go through)```

Rerunning the script got me past these issues one by one

Addressed in #193