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

Fuel Core v0.17.0 Upgrade #3961

Merged
merged 14 commits into from
Feb 8, 2023
Merged

Conversation

Voxelot
Copy link
Member

@Voxelot Voxelot commented Feb 1, 2023

Related PR: FuelLabs/fuels-rs#813

  • Used { workspace = true } syntax to use one version across the project and simplify integration with new changes in the future.
  • Added ci_checks.sh script to compile all tests to simplify integration of changes like this in the future.
  • Updated code and tests to be compatible with the latest fuels-rs and fuel-core 0.16.1.

Due to changes in fuel-asm for GTF, this is causing yet another circular upgrade issue.

xgreenx and others added 7 commits February 1, 2023 13:35
# Conflicts:
#	Cargo.lock
#	forc-plugins/forc-client/Cargo.toml
#	forc-plugins/forc-client/src/op/run.rs
#	forc-plugins/forc-client/src/ops/deploy/cmd.rs
#	forc-plugins/forc-client/src/ops/run/cmd.rs
#	forc-plugins/forc-doc/Cargo.toml
#	forc-plugins/forc-tx/Cargo.toml
#	forc-test/Cargo.toml
#	sway-core/Cargo.toml
#	sway-lib-std/src/inputs.sw
#	test/src/sdk-harness/Cargo.toml
Added `ci_check.sh` script that allows to run all check by one command locally.
Merge with master
@xgreenx xgreenx marked this pull request as ready for review February 1, 2023 18:16
mohammadfawaz
mohammadfawaz previously approved these changes Feb 1, 2023
Copy link
Contributor

@mohammadfawaz mohammadfawaz left a comment

Choose a reason for hiding this comment

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

Very cool, thank you!

@mohammadfawaz mohammadfawaz requested review from a team February 1, 2023 19:25
tritao
tritao previously approved these changes Feb 1, 2023
@Voxelot Voxelot marked this pull request as draft February 1, 2023 20:47
@Voxelot
Copy link
Member Author

Voxelot commented Feb 1, 2023

This PR shouldn't be merged until fuels-rs is released, putting into draft for now

Voxelot added a commit to FuelLabs/fuels-rs that referenced this pull request Feb 2, 2023
###### Description of changes

Update `fuels-rs` to the latest `fuel-core 0.16.1` and latest `sway
0.34.0`.

Due to changes in `fuel-asm` for GTF, this is causing yet another
circular upgrade issue.
- Used `{ workspace = true }` syntax to use one version across the
project and simplify integration with new changes in the future.
- Added `ci_checks.sh` script to compile all tests to simplify
integration of changes like this in the future.
- Update contracts to be compatible with `sway 0.34.0`.
- Updated tests to be compatible with `fuel-core 0.16.1`.

related PR: FuelLabs/sway#3961

---------

Co-authored-by: green <xgreenx9999@gmail.com>
…, `fuel-core` -> `0.17`. (#4004)

NOTE: This PR is against @Voxelot's PR branch here:
#3961.

This updates all crates for the recent upstream `fuel-asm` refactor.

To learn more about the refactor, see the original PR at the fuel-vm
repo: FuelLabs/fuel-vm#283.

The fuel-core update PR can be found here:
FuelLabs/fuel-core#973.

## TODO

- [x] Update `fuels` for `fuel-asm` change. `fuels-core` errors in the
`offsets` module. Will address this now and then update this PR.

## Follow-up

- [Rename `AllocatedOpcode` to `AllocatedInstruction` to follow
fuel-spec/fuel-asm
terminology.](#4006)

## Checklist

- [x] I have linked to any relevant issues.
- [x] I have commented my code, particularly in hard-to-understand
areas.
- [x] I have updated the documentation where relevant (API docs, the
reference, and the Sway book).
- [x] I have added tests that prove my fix is effective or that my
feature works.
- [x] I have added (or requested a maintainer to add) the necessary
`Breaking*` or `New Feature` labels where relevant.
- [x] 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).
- [x] I have requested a review from the relevant team or maintainers.

---------

Co-authored-by: bingcicle <bingcicle@proton.me>
Co-authored-by: Brandon Kite <brandonkite92@gmail.com>
@Voxelot Voxelot dismissed stale reviews from tritao and mohammadfawaz via 8f4d6ca February 8, 2023 07:27
@Voxelot Voxelot changed the title Fuel Core v0.16.1 Upgrade Fuel Core v0.17.0 Upgrade Feb 8, 2023
@Voxelot Voxelot marked this pull request as ready for review February 8, 2023 08:19
@Voxelot Voxelot enabled auto-merge (squash) February 8, 2023 08:27
Copy link
Contributor

@mohammadfawaz mohammadfawaz left a comment

Choose a reason for hiding this comment

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

Amazing, thank you so much.

@Voxelot Voxelot merged commit 67b37ce into master Feb 8, 2023
@Voxelot Voxelot deleted the Voxelot/update-predicate-metadata-0.33.1 branch February 8, 2023 09:01
MujkicA pushed a commit to FuelLabs/fuels-rs that referenced this pull request Feb 10, 2023
Update `fuels-rs` to the latest `fuel-core 0.16.1` and latest `sway
0.34.0`.

Due to changes in `fuel-asm` for GTF, this is causing yet another
circular upgrade issue.
- Used `{ workspace = true }` syntax to use one version across the
project and simplify integration with new changes in the future.
- Added `ci_checks.sh` script to compile all tests to simplify
integration of changes like this in the future.
- Update contracts to be compatible with `sway 0.34.0`.
- Updated tests to be compatible with `fuel-core 0.16.1`.

related PR: FuelLabs/sway#3961

---------

Co-authored-by: green <xgreenx9999@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants