Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prepare sdk for fuel-core upgrade #1170

Closed

Conversation

hal3e
Copy link
Contributor

@hal3e hal3e commented Oct 23, 2023

I am preparing our SDK for the upcoming release of fuel-core and I will use this PR for feedback on some breaking changes.

fuel-core split up ConsesnsusParameters into smaller parameters and one is called TxParameters. In the SDK we already have a type called TxParameters. For now, I import the ConsesnsuParameters one as FuelTxParameters. What do you think about this ?

Please have a look at the other changes to:

  • get_message_proof not uses Nonce instead of the message_id
  • predicates do not use ChainId for address calculation
  • manual_blocks_enabled is replaced with debug in local chain config
  • fee_checked_from_tx uses FeeParameters

Checklist

  • I have updated the documentation.
  • I have added necessary labels.
  • I have done my best to ensure that my PR adheres to the Fuel Labs Code Review Standards.
  • I have requested a review from the relevant team or maintainers.

@hal3e hal3e added the blocked label Oct 23, 2023
@hal3e hal3e self-assigned this Oct 23, 2023
@github-actions github-actions bot force-pushed the upgrade/fuel-core-master branch 6 times, most recently from 96cb71b to 711b1af Compare November 2, 2023 10:25
@github-actions github-actions bot force-pushed the upgrade/fuel-core-master branch 2 times, most recently from be4a6a0 to 70b1e52 Compare November 6, 2023 14:25
@hal3e hal3e force-pushed the upgrade/fuel-core-master-draft branch from ef16bfe to 9297769 Compare November 7, 2023 10:59
digorithm and others added 6 commits November 8, 2023 10:52
### Checklist
- [ ] I have linked to any relevant issues.
- [ ] I have updated the documentation.
- [ ] I have added tests that prove my fix is effective or that my
feature works.
- [ ] I have added necessary labels.
- [ ] I have done my best to ensure that my PR adheres to [the Fuel Labs
Code Review
Standards](https://github.com/FuelLabs/rfcs/blob/master/text/code-standards/external-contributors.md).
- [ ] I have requested a review from the relevant team or maintainers.
This PR closes #1179 by removing the `TransactionStatus` type that was
used in only one place.

Further work is needed because the current `TxStatus` holds receipts
which the client `TransactionStatus` does not,
and doesn't hold some information the client's type does (block id,
time, etc).

---------

Co-authored-by: MujkicA <[email protected]>
@iqdecay
Copy link
Contributor

iqdecay commented Nov 15, 2023

If I'm not mistaken this can be closed in favor of #1200 @hal3e?

@hal3e
Copy link
Contributor Author

hal3e commented Nov 16, 2023

closed in favor of: #1200

@hal3e hal3e closed this Nov 16, 2023
@hal3e hal3e deleted the upgrade/fuel-core-master-draft branch November 24, 2023 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants