-
Notifications
You must be signed in to change notification settings - Fork 249
Labels
ymaxIOUIOU
Description
I started the resolver, and it attempted to resolve CCTP_TO_NOBLE
transactions.
Currently, these transactions rely on a very fragile check - it only verifies if there’s a balance increase. If the Noble ICA balance is greater than the amount sent to the wallet, it assumes the transaction succeeded and tries to resolve it.
Because of this, it tried to resolve multiple pending CCTP_TO_NOBLE
transactions at once, which resulted in the following error:
Error#62: Broadcasting transaction failed with code 32 (codespace: sdk). Log: account sequence mismatch, expected 538, got 537: incorrect account sequence
at async Object.executeOffer (packages/client-utils/dist/signing-smart-wallet-kit.js:35:9)
at async resolvePendingTx (file:///home/rabi/Desktop/Agoric/agoric-sdk/services/ymax-planner/src/resolver.ts:52:18)
at async Object.watch (file:///home/rabi/Desktop/Agoric/agoric-sdk/services/ymax-planner/src/pending-tx-manager.ts:171:5)
at async handlePendingTx (file:///home/rabi/Desktop/Agoric/agoric-sdk/services/ymax-planner/src/pending-tx-manager.ts:216:5)
Failed to process pending tx tx30 with lookback {
blockHeight: 3103710n,
tx: {
txId: 'tx30',
amount: 50000n,
destinationAddress: 'cosmos:grand-1:noble1gpqqdhkxwuu0rfnp592xelse3hv0uks4gajupgupwk93phcfy0xqskn7xw',
status: 'pending',
type: 'CCTP_TO_NOBLE'
}
} (Error#63)
Error#63: Broadcasting transaction failed with code 32 (codespace: sdk). Log: account sequence mismatch, expected 538, got 537: incorrect account sequence
at async Object.executeOffer (packages/client-utils/dist/signing-smart-wallet-kit.js:35:9)
at async resolvePendingTx (file:///home/rabi/Desktop/Agoric/agoric-sdk/services/ymax-planner/src/resolver.ts:52:18)
at async Object.watch (file:///home/rabi/Desktop/Agoric/agoric-sdk/services/ymax-planner/src/pending-tx-manager.ts:171:5)
at async handlePendingTx (file:///home/rabi/Desktop/Agoric/agoric-sdk/services/ymax-planner/src/pending-tx-manager.ts:216:5)
Failed to process pending tx tx36 with lookback {
blockHeight: 3104292n,
tx: {
txId: 'tx36',
amount: 500000n,
destinationAddress: 'cosmos:grand-1:noble1jx8m235686w20uq8fftdp3ue2a45mjv6ekrvq2plqqk5fqak5r9s5eg72g',
status: 'pending',
type: 'CCTP_TO_NOBLE'
}
} (Error#64)
This was expected because we multiple transactions were being resolved simultaneously.
Metadata
Metadata
Assignees
Labels
ymaxIOUIOU