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

Add snapshot subcommand that creates a ledger snapshot from an archive #1368

Merged
merged 74 commits into from
Aug 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
6663ca9
Add a snapshot command for creating snapshots of ledger state
leighmcculloch Jun 10, 2024
9b8c53b
Add filtering
leighmcculloch Jun 11, 2024
27df088
Configurable out file and protocol version from meta
leighmcculloch Jun 11, 2024
4072f18
Cache downloaded buckets
leighmcculloch Jun 11, 2024
9825893
Make bucket cache resilient to partial downloads
leighmcculloch Jun 11, 2024
80058e7
Add duration
leighmcculloch Jun 11, 2024
bb67a7f
Docs
leighmcculloch Jun 11, 2024
379cf5d
Remove unused error
leighmcculloch Jun 12, 2024
4490360
Collect wasm with contract id and make ledger optional
leighmcculloch Jun 12, 2024
7954ad3
Reorder help fields
leighmcculloch Jun 12, 2024
bc846dd
Display help when no args submitted
leighmcculloch Jun 12, 2024
f6f44b3
Unwrap -> ?
leighmcculloch Jun 13, 2024
16aed38
Give errors names
leighmcculloch Jun 13, 2024
cca2695
Make archive configurable
leighmcculloch Jun 13, 2024
72b202c
comment
leighmcculloch Jun 14, 2024
1b1955e
clippy
leighmcculloch Jun 14, 2024
b0b2540
Merge branch 'main' into snap
leighmcculloch Jul 22, 2024
0bd7eb8
fix help
leighmcculloch Jul 22, 2024
dd7fcad
undo
leighmcculloch Jul 22, 2024
f4414e0
get all wasm hashes for contracts
leighmcculloch Jul 23, 2024
2c8e512
add format rename filters
leighmcculloch Jul 23, 2024
69ceffe
better error handling with responses
leighmcculloch Jul 26, 2024
2ef0154
fix new line
leighmcculloch Jul 26, 2024
e7b668c
reorg
leighmcculloch Jul 26, 2024
1b563ba
Merge branch 'main' into snap
leighmcculloch Jul 29, 2024
b4cbe80
include instead of filter vocab for less ambiguity
leighmcculloch Jul 29, 2024
e3fbd43
fn
leighmcculloch Jul 29, 2024
1abb430
fix async escape
leighmcculloch Jul 29, 2024
61236fc
bugs
leighmcculloch Jul 29, 2024
b53a17e
fix
leighmcculloch Jul 30, 2024
1c3d3c4
Merge branch 'main' into snap
leighmcculloch Jul 30, 2024
181f901
fix
leighmcculloch Jul 30, 2024
77bbc12
fix
leighmcculloch Jul 30, 2024
d8d5eb9
Merge branch 'main' into snap
leighmcculloch Jul 30, 2024
203ed77
Merge branch 'main' into snap
leighmcculloch Jul 31, 2024
8863060
add test
leighmcculloch Jul 31, 2024
c299525
fix
leighmcculloch Jul 31, 2024
c2d49c6
organize state
leighmcculloch Jul 31, 2024
94d65d6
gitignore
leighmcculloch Jul 31, 2024
c12adf8
simplify
leighmcculloch Jul 31, 2024
1e25167
fix unwrap
leighmcculloch Jul 31, 2024
3dc7d00
move archive url in
leighmcculloch Aug 1, 2024
1eab6ce
fix
leighmcculloch Aug 1, 2024
0f26a40
upd help
leighmcculloch Aug 1, 2024
cdcf48c
move into subcommand
leighmcculloch Aug 1, 2024
b5e836e
rename format to output
leighmcculloch Aug 1, 2024
fd176b6
print size
leighmcculloch Aug 1, 2024
8164620
fix multi-slash
leighmcculloch Aug 1, 2024
4dc24a6
fmt
leighmcculloch Aug 1, 2024
93a04e4
fix
leighmcculloch Aug 1, 2024
d2bb6c0
simplify
leighmcculloch Aug 1, 2024
981b106
use hashset
leighmcculloch Aug 1, 2024
e785bc4
optimise make it fast!
leighmcculloch Aug 1, 2024
5df72b0
avoid conversions
leighmcculloch Aug 1, 2024
4cd8e72
fix
leighmcculloch Aug 1, 2024
f84f788
fix
leighmcculloch Aug 1, 2024
7530218
Merge branch 'main' into snap
leighmcculloch Aug 1, 2024
e1b0e3b
Merge branch 'main' into snap
leighmcculloch Aug 1, 2024
99e187a
fix dupe
leighmcculloch Aug 2, 2024
b182ab1
remove early exit optimisation
leighmcculloch Aug 2, 2024
f83d4f3
across all search seen
leighmcculloch Aug 2, 2024
9db6917
add assets
leighmcculloch Aug 2, 2024
7b74532
fix missing issuer
leighmcculloch Aug 2, 2024
0e7245d
add println
leighmcculloch Aug 2, 2024
5cea3ac
fix getting name
leighmcculloch Aug 2, 2024
74efd98
fix
leighmcculloch Aug 2, 2024
d415290
remove deep asset support
leighmcculloch Aug 2, 2024
9368818
help
leighmcculloch Aug 2, 2024
fac1393
help
leighmcculloch Aug 2, 2024
8c8a807
help
leighmcculloch Aug 2, 2024
9ee88b8
Update Makefile
leighmcculloch Aug 2, 2024
d0680c0
fix
leighmcculloch Aug 2, 2024
25a67b9
help
leighmcculloch Aug 2, 2024
577cca6
Merge branch 'main' into snap
fnando Aug 5, 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 .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
target/
captive-core/
.soroban/
snapshot.json
!test.toml
*.sqlite
test_snapshots
Expand Down
Loading
Loading