turboflakes / crunch

Crunch is a command-line interface (CLI) and Matrix Bot to claim staking rewards every Era for Substrate-based chains
https://turboflakes.io
Apache License 2.0
63 stars 22 forks source link

Move some of the transaction errors as warnings #50

Open paulormart opened 4 days ago

paulormart commented 4 days ago

Move some of the transaction errors to just warnings, ex:

ERROR crunch::crunch] Subxt error: Rpc error: RPC error: ErrorObject { code: ServerError(1010), message: "Invalid Transaction", data: Some(RawValue("Transaction is outdated")) }

Ideally the transaction should be retried at least one more time, if it fails again with the same error just discard it and continue

CJ13th commented 2 days ago

Hey @paulormart, this looks like it could be a good first issue for one of the Polkadot Blockchain Academy to work on during the Kudos Carnival. What do you think?

paulormart commented 1 day ago

Hi @CJ13th absolutely, any collaboration is welcome