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

Forkless state transition with upgradable WASM executor #1716

Merged
merged 77 commits into from
Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from 68 commits
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
3783579
Extraction of the `FuelBlockSecondaryKeyBlockHeights` table to an off…
xgreenx Feb 15, 2024
3c2d424
Updated CHANGELOG.md
xgreenx Feb 15, 2024
7e8689c
Merge branch 'master' into feature/blocks-second-key-extraction
xgreenx Feb 17, 2024
1d95e63
Merge with `master`
xgreenx Feb 17, 2024
95dfa58
Fix CI
xgreenx Feb 17, 2024
111efbd
Apply comments from the PR
xgreenx Feb 18, 2024
cabca80
Merge branch 'master' into feature/blocks-second-key-extraction
xgreenx Feb 18, 2024
0e20633
Merge branch 'master' into feature/blocks-second-key-extraction
xgreenx Feb 18, 2024
4e8ebc6
Merge branch 'master' into feature/blocks-second-key-extraction
Voxelot Feb 20, 2024
ad09341
Moved `StorageTransaction` to the `fuel-core-storage` crate
xgreenx Feb 21, 2024
b619743
Merge branch 'feature/blocks-second-key-extraction' into feature/comm…
xgreenx Feb 21, 2024
71dbc41
Merge branch 'master' into feature/blocks-second-key-extraction
xgreenx Feb 21, 2024
593ad52
Apply comments from the review
xgreenx Feb 21, 2024
97a96d5
Renamed `FuelBlockSecondaryKeyBlockHeights`
xgreenx Feb 21, 2024
3ce8c17
Remove contstrain
xgreenx Feb 21, 2024
802578e
Merge branch 'master' into feature/blocks-second-key-extraction
xgreenx Feb 21, 2024
5cc6c33
Merge branch 'feature/blocks-second-key-extraction' into feature/comm…
xgreenx Feb 22, 2024
0137658
Merge conflicts
xgreenx Feb 22, 2024
cc86bb6
Merge branch 'master' into feature/commit-changes
xgreenx Feb 22, 2024
5b9bd78
Generalized the implementation of the iterator functionality.
xgreenx Feb 22, 2024
7b1141a
Implemented tracking of the height during committing of the changes.
xgreenx Feb 23, 2024
305e567
Small nits
xgreenx Feb 23, 2024
4716c15
Make clippy happy
xgreenx Feb 23, 2024
518a842
Updated CHANGELOG.md
xgreenx Feb 23, 2024
253d188
Merge branch 'master' into feature/commit-changes
xgreenx Feb 27, 2024
f44b903
Removed TODOs
xgreenx Feb 27, 2024
00ef712
Apply comments from the PR
xgreenx Feb 27, 2024
0c27ff9
Apply comments from the PR
xgreenx Feb 28, 2024
fb5bc50
Merge branch 'master' into feature/commit-changes
xgreenx Feb 28, 2024
0c63393
Forkless state transition with upgradable WASM executor
xgreenx Mar 1, 2024
25b9f57
Merge branch 'master' into feature/commit-changes
xgreenx Mar 6, 2024
309a8bf
Merge with `master` before regenesis
xgreenx Mar 6, 2024
2e64af8
Merge branch 'master' into feature/commit-changes
xgreenx Mar 7, 2024
d682dd8
Merged with the `master`
xgreenx Mar 7, 2024
9344069
Address comemnts form the PR
xgreenx Mar 7, 2024
154328c
Merge branch 'master' into feature/commit-changes
xgreenx Mar 11, 2024
f8b9c07
Merge branch 'master' into feature/commit-changes
xgreenx Mar 11, 2024
d0b95df
Merge branch 'master' into feature/commit-changes
xgreenx Mar 11, 2024
ec92011
Merged `master`
xgreenx Mar 11, 2024
ffecd1d
Fixed tests
xgreenx Mar 11, 2024
dd42659
Some configuration for performance
xgreenx Mar 12, 2024
87e9524
Merge branch 'feature/commit-changes' into feature/forkless-state-tra…
xgreenx Mar 12, 2024
8b3be42
Applied comments from the PR
xgreenx Mar 13, 2024
3899b2b
Merge branch 'feature/commit-changes' into feature/forkless-state-tra…
xgreenx Mar 13, 2024
e8295ea
Merged with parent branch
xgreenx Mar 13, 2024
e12cb77
Remove patch section
xgreenx Mar 13, 2024
944a273
Make CI happy
xgreenx Mar 13, 2024
106df96
Make CI happy
xgreenx Mar 13, 2024
d92380a
Added `wasm32-unknown-unknown` and removed `protobuf`, since libp2p u…
xgreenx Mar 13, 2024
551baf6
Updated the implementation to show the relationship to the semaphore.
xgreenx Mar 13, 2024
47d6df8
Merge branch 'feature/commit-changes' into feature/forkless-state-tra…
xgreenx Mar 13, 2024
f909992
Small nits
xgreenx Mar 13, 2024
e21e58e
Hidded the wasm executor udnder the feature flag.
xgreenx Mar 13, 2024
dd45a89
Merge branch 'feature/commit-changes' into feature/forkless-state-tra…
xgreenx Mar 13, 2024
a94af64
Merge branch 'master' into feature/forkless-state-transition
xgreenx Mar 13, 2024
0916f64
Reverted changes in the cargo lock file.
xgreenx Mar 14, 2024
c37b5bb
Make CI happy
xgreenx Mar 14, 2024
15b921a
Self review
xgreenx Mar 14, 2024
e584453
Added comments, fixed clippy, udpated chagnelog
xgreenx Mar 15, 2024
98bbe6b
Merge branch 'master' into feature/forkless-state-transition
xgreenx Mar 16, 2024
b7da355
Merge branch 'master' into feature/forkless-state-transition
xgreenx Mar 18, 2024
b8ac0e8
Merge branch 'master' into feature/forkless-state-transition
xgreenx Mar 18, 2024
91a7c59
Merged with `master`
xgreenx Mar 18, 2024
e789e4e
Merge branch 'master' into feature/forkless-state-transition
xgreenx Mar 18, 2024
6999c47
Merge branch 'master' into feature/forkless-state-transition
xgreenx Mar 19, 2024
243ac6c
Applied suggestions from the PR.
xgreenx Mar 19, 2024
967289f
Merge branch 'master' into feature/forkless-state-transition
xgreenx Mar 19, 2024
2698382
Merge branch 'master' into feature/forkless-state-transition
xgreenx Mar 20, 2024
a0d99e1
Addressed comments. Make clippy happy
xgreenx Mar 21, 2024
95128e3
Rerun for any changes
xgreenx Mar 21, 2024
8ce8ac0
Up Rust in CI to 1.77
xgreenx Mar 21, 2024
09d3d96
Merge branch 'master' into feature/forkless-state-transition
xgreenx Mar 22, 2024
6328d2d
Revert "Up Rust in CI to 1.77"
xgreenx Mar 22, 2024
06d1826
Addressed comments in the PR
xgreenx Mar 22, 2024
072ec0e
Merge remote-tracking branch 'origin/feature/forkless-state-transitio…
xgreenx Mar 22, 2024
a53dd24
Fixed compilation
xgreenx Mar 22, 2024
325afec
Merge branch 'master' into feature/forkless-state-transition
Voxelot Mar 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ jobs:
strategy:
matrix:
include:
- command: clippy
args: -p fuel-core-wasm-executor --target wasm32-unknown-unknown --no-default-features
- command: clippy
args: --all-targets --all-features
- command: check
Expand All @@ -122,6 +124,8 @@ jobs:
args: --all-features --workspace --no-deps
- command: make
args: check --locked
- command: test
args: --workspace
- command: test
args: --all-features --workspace
- command: test
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Description of the upcoming release here.

### Added

- [#1716](https://github.com/FuelLabs/fuel-core/pull/1716): Added support of WASM state transition along with upgradable execution that works with native(std) and WASM(non-std) executors. The `fuel-core` now requires a `wasm32-unknown-unknown` target to build.
- [#1767](https://github.com/FuelLabs/fuel-core/pull/1767): Added consensus parameters version and state transition version to the `ApplicationHeader` to describe what was used to produce this block.
- [#1760](https://github.com/FuelLabs/fuel-core/pull/1760): Added tests to verify that the network operates with a custom chain id and base asset id.
- [#1752](https://github.com/FuelLabs/fuel-core/pull/1752): Add `ProducerGasPrice` trait that the `Producer` depends on to get the gas price for the block.
Expand Down
Loading
Loading