Skip to content

scripts/invoke.mjs has the same TRY_AGAIN_LATER/DUPLICATE gap as deploy.mjs's submitAndWait #169

Description

@chonilius

scripts/invoke.mjs's inline transaction-submission logic (its own copy of the send-then-poll pattern, not shared code with deploy.mjs) has the identical gap as the sibling issue filed against deploy.mjs: only sendResult.status === "ERROR" is checked before polling getTransaction, with no handling for TRY_AGAIN_LATER or DUPLICATE. Since invoke.mjs is the script used for every contract call after deployment (including, per the already-filed issue, the ones it currently can't even encode arguments for), this is arguably the higher-traffic of the two scripts to get right.

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave programarchitectureArchitecture/design issuebugSomething isn't workinghelp wantedExtra attention is neededvery hardVery difficult task, expert-level effort required

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions