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

Handle new state transition bytecode and new consensus parameter version #2621

Merged
Show file tree
Hide file tree
Changes from 41 commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
2dd8965
tests: Initial test suite for merklized storage updates
netrome Jan 17, 2025
ce34251
chore: Add changelog
netrome Jan 17, 2025
06c9de2
chore: Deny warnings
netrome Jan 28, 2025
626cb5f
Store state transition bytecode version and consensus parameter versi…
acerone85 Jan 22, 2025
5c6976f
Remove dependency from IterableStore
acerone85 Jan 22, 2025
1c84bf8
Remove todo
acerone85 Jan 22, 2025
57db1ca
Add helper trait to retrieve latest consensus parameters and state tr…
acerone85 Jan 23, 2025
1db781e
Avoid recomputing metadata
acerone85 Jan 23, 2025
4e39edd
Implement IterableStore for DummyStorage
acerone85 Jan 23, 2025
7fab0c1
Update crates/fraud_proofs/global_merkle_root/storage/src/update.rs
acerone85 Jan 28, 2025
453819e
Remove unused ReadTransaction
acerone85 Jan 28, 2025
c8e6774
Remove IterableStore trait bound for
acerone85 Jan 28, 2025
05442ce
tests: Initial test suite for merklized storage updates
netrome Jan 17, 2025
a370f4f
chore: Add changelog
netrome Jan 17, 2025
b9bdd5e
chore: Deny warnings
netrome Jan 28, 2025
7382104
refactor: Rename update_tx -> storage_update_tx
netrome Jan 30, 2025
92b1d22
chore: Add explanatory comments
netrome Jan 30, 2025
5a7ccd1
fix: Return storage in `update_merklized_tables`
netrome Jan 30, 2025
06dd547
fix: Rename `merklized` -> `merkleized`
netrome Jan 30, 2025
1fa8a92
refactor: More informative name for test helper trait
netrome Jan 30, 2025
80bd2b6
refactor: Rename `update_tx` to `storage_update_tx` in one more test
netrome Jan 30, 2025
c79a153
refactor: Take a mutable self receiver in UpdateMerkleizedTables trait
netrome Jan 30, 2025
e22205f
Store state transition bytecode version and consensus parameter versi…
acerone85 Jan 22, 2025
fdba665
Remove dependency from IterableStore
acerone85 Jan 22, 2025
e171887
Remove todo
acerone85 Jan 22, 2025
89b2d2e
Add helper trait to retrieve latest consensus parameters and state tr…
acerone85 Jan 23, 2025
71bf996
Avoid recomputing metadata
acerone85 Jan 23, 2025
07de424
Implement IterableStore for DummyStorage
acerone85 Jan 23, 2025
d37eb0e
Update crates/fraud_proofs/global_merkle_root/storage/src/update.rs
acerone85 Jan 28, 2025
5379df8
Remove unused ReadTransaction
acerone85 Jan 28, 2025
538e66b
Remove IterableStore trait bound for
acerone85 Jan 28, 2025
69528e2
Implement IterableStore for InMemoryStorage
acerone85 Jan 29, 2025
9e80511
Tests for upgrade transaction
acerone85 Jan 29, 2025
16593b7
Minor improvements
acerone85 Jan 30, 2025
2b71419
Changelog
acerone85 Jan 30, 2025
09b3f1f
Fix Cargo.toml formatting issue
acerone85 Jan 30, 2025
f519225
Placate Clippy
acerone85 Jan 30, 2025
a36f417
Fix compilation
acerone85 Jan 30, 2025
c61ec39
Merge remote-tracking branch 'origin/2584-fault_provingglobal_roots-p…
xgreenx Jan 31, 2025
9f9f383
Removed iterator and use versions from the header
xgreenx Jan 31, 2025
8737fe6
Calculate metadata if it is not avaialble
xgreenx Jan 31, 2025
87e179a
Merge branch 'master' into 2584-fault_provingglobal_roots-populate-ta…
acerone85 Feb 3, 2025
ca06a26
Small inconsistencies after git merge master
acerone85 Feb 3, 2025
7b1e6d3
Merge remote-tracking branch 'origin/master' into 2584-fault_provingg…
acerone85 Feb 4, 2025
447de60
Update crates/fraud_proofs/global_merkle_root/storage/src/update.rs
acerone85 Feb 4, 2025
9e38374
Fmt
acerone85 Feb 4, 2025
735062d
Merge remote-tracking branch 'origin/master' into 2584-fault_provingg…
acerone85 Feb 5, 2025
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
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

### Added
- [2553](https://github.com/FuelLabs/fuel-core/pull/2553): Scaffold global merkle root storage crate.
- [2598](https://github.com/FuelLabs/fuel-core/pull/2598): Add initial test suite for global merkle root storage updates.
- [2621](https://github.com/FuelLabs/fuel-core/pull/2598): Global merkle root storage updates process upgrade transactions.

### Fixed
- [2632](https://github.com/FuelLabs/fuel-core/pull/2632): Improved performance of certain async trait impls in the gas price service.
Expand Down
2 changes: 2 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions crates/fraud_proofs/global_merkle_root/storage/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,16 @@ num_enum = { workspace = true }
strum = { workspace = true }
strum_macros = { workspace = true }

[dev-dependencies]
fuel-core-storage = { workspace = true, features = ["alloc", "test-helpers"] }
fuel-core-types = { workspace = true, features = [
"serde",
"alloc",
"test-helpers",
] }
postcard = { workspace = true, features = ["alloc"] }
rand = { workspace = true }

[features]
default = ["std"]
std = ["fuel-core-storage/std", "fuel-core-types/std"]
Expand Down
Loading