Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: handle
Unknown
transactions, blocks and consensus parameters (#…
…2154) ## Linked Issues/PRs FuelLabs/fuels-rs#1477 ## Description Refactored code to handle `Unknown` transaction types, `ConsensusParameters` and `Blocks`. For transactions I have craeted a new `TransactionType` that we can `try_into` the `fuel_tx::Transaction`. For `ConsesnsuParameters` and `Block` I have used `cynic's` `fallback` attrbute and added a `Unknown` variant for all `Version` enums. I had to bump `cynic` to `3.1.0` and `reqwest` to `0.12.0` to use the `fallback` attribute on enums. BREAKING CHANGES: `graphql` endpoints for transactions use the new `TransactionType` type instead of `fuel_tx::Transaction`
- Loading branch information