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

Chain state encoding #1474

Merged
merged 139 commits into from
Jan 26, 2024
Merged
Show file tree
Hide file tree
Changes from 138 commits
Commits
Show all changes
139 commits
Select commit Hold shift + click to select a range
b70ea97
split state
MujkicA Oct 27, 2023
e40aeda
fmt
MujkicA Oct 27, 2023
8586d43
Merge branch 'master' into feature/split-state-from-config
MujkicA Oct 27, 2023
a72e07b
fmt same as cli
MujkicA Oct 27, 2023
10859d6
Merge branch 'feature/split-state-from-config' of github.com:FuelLabs…
MujkicA Oct 27, 2023
909e789
changelog
MujkicA Oct 27, 2023
0fd779c
Merge branch 'master' into feature/split-state-from-config
MujkicA Oct 30, 2023
580b733
fix
MujkicA Oct 30, 2023
dbc740d
Merge branch 'feature/split-state-from-config' of github.com:FuelLab…
MujkicA Oct 30, 2023
a2da052
use optional height
MujkicA Oct 30, 2023
33bd9b5
fmt
MujkicA Oct 30, 2023
498dae6
add new deployment chainspect
MujkicA Oct 30, 2023
c036a3d
Fix initial height on test
MujkicA Oct 31, 2023
78eb08a
Merge branch 'master' into feature/split-state-from-config
MujkicA Oct 31, 2023
9ce29fc
from directory method
MujkicA Oct 31, 2023
5783ec9
fmt
MujkicA Oct 31, 2023
7e2fd14
use core FromStr
MujkicA Oct 31, 2023
53f2339
adapt p2p test helpers
MujkicA Oct 31, 2023
f098b70
snapshots
MujkicA Oct 31, 2023
c85f8c5
set state on p2p tests
MujkicA Oct 31, 2023
aa9855c
apply review comments
MujkicA Nov 7, 2023
d6027f3
fix
Salka1988 Nov 7, 2023
ae26acd
fix
Salka1988 Nov 7, 2023
93dbffc
fmt
Salka1988 Nov 7, 2023
d85517a
fix tests
MujkicA Nov 7, 2023
e807c2e
use constants
MujkicA Nov 7, 2023
26d9321
fmt
MujkicA Nov 7, 2023
9e9b962
rename chain parameters
MujkicA Nov 7, 2023
412e625
remove unneeded file
MujkicA Nov 7, 2023
0cbfd0a
finish renaming
MujkicA Nov 7, 2023
2cf7782
add std flag
MujkicA Nov 7, 2023
0fc7ef7
add state importer and consolidate db type
MujkicA Nov 8, 2023
2a8554a
fmt and changelog
MujkicA Nov 8, 2023
ac697c0
put importer behidn feature flag
MujkicA Nov 8, 2023
f18fe90
tracing behind rocksdb flag
MujkicA Nov 8, 2023
a37ed56
json support
segfault-magnet Nov 8, 2023
f841430
json writer finished
segfault-magnet Nov 8, 2023
7d7d5c2
Merge branch 'feature/stream-genesis-state' of github.com:FuelLabs/fu…
segfault-magnet Nov 9, 2023
19831bd
wip
segfault-magnet Nov 9, 2023
f3ce913
const for testnet wallet secrets
MujkicA Nov 9, 2023
7060fc5
trait tweaking
segfault-magnet Nov 9, 2023
9f4b9ba
Merge branch 'feature/split-state-from-config' into feature/stream-ge…
MujkicA Nov 9, 2023
671c434
first parquet test passing
segfault-magnet Nov 9, 2023
3c5309b
add type to json batch reader
segfault-magnet Nov 9, 2023
6123126
read trait
MujkicA Nov 13, 2023
72ec9de
Merge branch 'feature/stream-genesis-state' of github.com:FuelLabs/fu…
MujkicA Nov 13, 2023
024852c
finalize reading interface
MujkicA Nov 15, 2023
c566d00
add rev comments
MujkicA Nov 15, 2023
817b020
insta snapshot
MujkicA Nov 15, 2023
b7b42fa
progress
segfault-magnet Nov 17, 2023
78e9af4
interface
MujkicA Nov 17, 2023
bff5bd5
test passing
segfault-magnet Nov 17, 2023
176c7d9
replace ChainConfig with StateConfig
segfault-magnet Nov 20, 2023
6eecf13
Merge branch 'feature/stream-genesis-state' of github.com:FuelLabs/fu…
segfault-magnet Nov 20, 2023
8ca5c27
moved methods from trait into Iterator
segfault-magnet Nov 20, 2023
341fa13
in memory test added
segfault-magnet Nov 20, 2023
6c12d57
core is compiling
segfault-magnet Nov 20, 2023
9e16a32
renaming
segfault-magnet Nov 20, 2023
91c658a
reformat
segfault-magnet Nov 20, 2023
9096b9d
fix nth impl of iterator
segfault-magnet Nov 22, 2023
ef792e6
fix create_config_file()
MujkicA Nov 22, 2023
e40da6f
used enum instead of dyn dispatch
segfault-magnet Nov 22, 2023
051c855
no dyn dysatch remains
segfault-magnet Nov 23, 2023
7bf6a53
nits
segfault-magnet Nov 23, 2023
b34a631
stream state from db when creating a snapshot
segfault-magnet Nov 24, 2023
5461564
nits
segfault-magnet Nov 24, 2023
65da28d
sort toml
segfault-magnet Nov 24, 2023
1d6dc91
mangled cargo toml
segfault-magnet Nov 24, 2023
a318ccf
struct too private
segfault-magnet Nov 24, 2023
2e60394
Merge branch 'feature/split-state-from-config' into feature/stream-ge…
segfault-magnet Nov 29, 2023
bd0794f
Merge remote-tracking branch 'origin/feature/stream-genesis-state' in…
segfault-magnet Nov 29, 2023
5857fb2
change to BoxedIter, RPITIT not supported in stable rust currently
segfault-magnet Nov 29, 2023
156ec3a
rev comments
MujkicA Nov 30, 2023
18e0906
remove local_testnet as arg
MujkicA Nov 30, 2023
620d25c
rename in p2p test helpers
MujkicA Nov 30, 2023
1781f3a
Apply suggestions from code review
segfault-magnet Dec 1, 2023
409fa44
Merge remote-tracking branch 'origin/feature/split-state-from-config'…
segfault-magnet Dec 1, 2023
b3f2098
Merge remote-tracking branch 'origin/feature/snapshot_generation' int…
segfault-magnet Dec 1, 2023
79059d9
merge v0.21.0
MujkicA Dec 5, 2023
c9757ad
fix tests
MujkicA Dec 5, 2023
93114e0
merge
MujkicA Dec 5, 2023
a9ef147
fmt
MujkicA Dec 5, 2023
341de48
Merge branch 'feature/split-state-from-config' into feature/stream-ge…
MujkicA Dec 5, 2023
5b33aa1
Update crates/chain-config/src/config/state.rs
MujkicA Dec 7, 2023
0e25780
Update crates/chain-config/src/config/chain.rs
MujkicA Dec 7, 2023
f90bbb5
add checked add and clippy allow
MujkicA Dec 7, 2023
6764f5d
Merge branch 'feature/split-state-from-config' of github.com:FuelLabs…
MujkicA Dec 7, 2023
da73ede
fix poa test
MujkicA Dec 7, 2023
289ec10
Update bin/fuel-core/src/cli/snapshot.rs
MujkicA Dec 9, 2023
c92fd9f
group contract states and balances by contract when reading/writing
segfault-magnet Dec 11, 2023
6b45be7
Revert "group contract states and balances by contract when reading/w…
segfault-magnet Dec 12, 2023
b44f36d
json and parquet tests separated, naming suggestion applied
segfault-magnet Dec 12, 2023
5100094
added SeedableRng and reverted commented out deny(warnings)
segfault-magnet Dec 12, 2023
7f793e8
split up tests per entity
segfault-magnet Dec 13, 2023
557f39f
test that parquet groups are skipped optimally
segfault-magnet Dec 13, 2023
9a0139d
wip
segfault-magnet Dec 14, 2023
1333eb8
tests for writing in expected files
segfault-magnet Dec 18, 2023
195f2a2
Merge remote-tracking branch 'origin/feature/split-state-from-config'…
segfault-magnet Dec 18, 2023
39e50cc
Merge remote-tracking branch 'origin/feature/regenesis-support' into …
segfault-magnet Dec 18, 2023
df5c2d7
fix deployment tests
MujkicA Dec 18, 2023
e4d49dc
remove pretty dep
MujkicA Dec 18, 2023
b675f6e
Merge branch 'feature/split-state-from-config' into feature/stream-ge…
MujkicA Dec 18, 2023
9b281b3
remove bad formatting
MujkicA Dec 19, 2023
3ed7aee
more format fixes
MujkicA Dec 19, 2023
f8c0d99
one more format fix
MujkicA Dec 19, 2023
cdc6968
Merge branch 'feature/split-state-from-config' into feature/stream-ge…
MujkicA Dec 19, 2023
684227b
changelog
MujkicA Dec 19, 2023
37a66d0
pr comment: increase ident
segfault-magnet Dec 21, 2023
b1c02d3
add configurable compression
segfault-magnet Dec 24, 2023
9b44002
Apply suggestions from code review
segfault-magnet Dec 24, 2023
629b701
Merge branch 'feature/regenesis-support' into feature/stream-genesis-…
segfault-magnet Dec 24, 2023
34f20da
inline variables
segfault-magnet Dec 24, 2023
7b65052
remove suffix
segfault-magnet Dec 24, 2023
87062fb
formatting
segfault-magnet Dec 24, 2023
ea93fb5
parquet hidden behind a flag
segfault-magnet Dec 25, 2023
0b68be2
fix tests for all combinations of features
segfault-magnet Dec 25, 2023
66127f1
issue with string lifetime in serde Deserialize is fixed
segfault-magnet Dec 25, 2023
11ca936
add back tests
segfault-magnet Dec 25, 2023
f23246e
remove redundant tests
segfault-magnet Dec 26, 2023
0f4a5e9
remove unused fn
segfault-magnet Dec 26, 2023
049b5c8
test all compressions
segfault-magnet Dec 27, 2023
cad0094
debugging compression levels
segfault-magnet Dec 27, 2023
e00c6e3
Revert "debugging compression levels"
segfault-magnet Dec 27, 2023
9629f5f
change compression algo to zstd to avoid the buggy flate2 gzip backend
segfault-magnet Dec 27, 2023
cb023a1
add height to chain config
segfault-magnet Dec 28, 2023
6a797b4
Remove hack with imports
xgreenx Jan 8, 2024
d6b62ec
Update crates/fuel-core/src/service.rs
segfault-magnet Jan 8, 2024
ddce7bb
use autoimpl for &T and &mut T implementations of ChainStateDb
segfault-magnet Jan 8, 2024
42d597b
don't use magic values
segfault-magnet Jan 8, 2024
77e6d94
use postcard/canonical encoding inside parquet entities
segfault-magnet Jan 9, 2024
6d971c9
add json human readability tests
segfault-magnet Jan 9, 2024
4c909d8
add tests for the HexType and HexNumber encodings
segfault-magnet Jan 9, 2024
63b2465
implement snapshot metadata
segfault-magnet Jan 11, 2024
da890c3
delegate hex encoding (where possible) to fuel types serde impl
segfault-magnet Jan 13, 2024
e08ecfc
snapshot metadata tests
segfault-magnet Jan 14, 2024
9038e9e
sort cargo files
segfault-magnet Jan 14, 2024
b349271
put snapshot metadata behind std flag
MujkicA Jan 20, 2024
c95a3be
apply review comments pt1
MujkicA Jan 23, 2024
4feda69
review comments pt2
MujkicA Jan 24, 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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ FuelVM received a lot of safety and stability improvements:
- Refactored errors, returning more detailed errors to the user, simplifying debugging.

### Added
- [#1474](https://github.com/FuelLabs/fuel-core/pull/1474): Chain state encoding for streaming support.
- [#1459](https://github.com/FuelLabs/fuel-core/pull/1459): Split initial state from chain config.
- [#1503](https://github.com/FuelLabs/fuel-core/pull/1503): Add `gtf` opcode sanity check.
- [#1502](https://github.com/FuelLabs/fuel-core/pull/1502): Added price benchmark for `vm_initialization`.
Expand Down
Loading
Loading