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

chore: upgrade fuel-core to 0.18.1, forc to 0.40.1 #986

Merged
merged 59 commits into from
Jun 19, 2023

Conversation

Dhaiwat10
Copy link
Member

@Dhaiwat10 Dhaiwat10 commented May 7, 2023

Summary

This PR bumps the fuel-core version to 0.18.1, and forc to 0.40.1. I have used FuelLabs/fuels-rs#950 and https://github.com/FuelLabs/fuel-core/releases/tag/v0.18.0 as references.

Major changes

  • The resourcesToSpend API has been reverted back to coinsToSpend.
  • Signing a transaction now requires chainId.
  • The produceBlocks API has been updated.
  • Message outputs have been removed. We don't need to specify them in the outputs anymore.
  • The MessageProof schema has been updated according to the new proof API.
  • Update some contracts according to the new Storage API
  • Use the Sway version from this unreleased PR: Upgrade to fuel-core 0.18.1 and fuels-rs 0.41 sway#4525

Closes #976

@Dhaiwat10 Dhaiwat10 changed the title chore: upgrade fuel-core to 0.18.1, forc to 0.38.0 chore: upgrade fuel-core to 0.18.1, forc to 0.39.0 May 22, 2023
@Voxelot
Copy link
Member

Voxelot commented May 24, 2023

FYI - we'll need to use the sway version that's compatible with fuel-core 0.18, which is currently unreleased in a PR here: FuelLabs/sway#4525

@Voxelot Voxelot changed the title chore: upgrade fuel-core to 0.18.1, forc to 0.39.0 chore: upgrade fuel-core to 0.18.1, forc to 0.40.0 May 31, 2023
Torres-ssf
Torres-ssf previously approved these changes Jun 16, 2023
Copy link
Contributor

@Torres-ssf Torres-ssf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job 🚀

camsjams
camsjams previously approved these changes Jun 16, 2023
@luizstacio luizstacio dismissed stale reviews from camsjams and Torres-ssf via 8f79aee June 16, 2023 15:01
@Lukasz2891
Copy link

Using the 0.0.0-pr-986-20230616125036 I have the same unknown revert as I've reported here:

#982

Copy link
Contributor

@camsjams camsjams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, tests pass too!

@Dhaiwat10 Dhaiwat10 changed the title chore: upgrade fuel-core to 0.18.1, forc to 0.40.0 chore: upgrade fuel-core to 0.18.1, forc to 0.40.1 Jun 19, 2023
@Dhaiwat10 Dhaiwat10 merged commit 8328d4b into master Jun 19, 2023
9 of 10 checks passed
@Dhaiwat10 Dhaiwat10 deleted the dp/fuel-core-0.18.1 branch June 19, 2023 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade fuel-core to 0.18.1
7 participants