SIGN IN SIGN UP
FuelLabs / fuel-core UNCLAIMED

Rust full node implementation of the Fuel v2 protocol.

0 0 15 Rust

Classify the transactions statuses related to preconfirmations as interim (#2865)

Closes #2852 

## Description
This PR updates the API to treat the various statuses as final, and
other as intermittent. For example, the `transaction_status_change`
subscription will no longer close the stream upon receiving the
`PreconfirmationSuccess`, it'll do it only for the truly final statuses:
`Failed`, `Success`, `SqueezedOut`, `PreconfirmationSqueezedOut`.

Additionally, it removes the`PreconfirmationSqeezedOut` variant from the
user-facing transaction status types.

## Checklist
- [x] New behavior is reflected in tests

### Before requesting review
- [X] I have reviewed the code myself

---------

Co-authored-by: Green Baneling <XgreenX9999@gmail.com>
R
Rafał Chabowski committed
b759e4da95345e242b6b6533a35f05100cacb02d
Parent: 6bc50ba
Committed by GitHub <noreply@github.com> on 3/15/2025, 4:40:12 AM