-
Notifications
You must be signed in to change notification settings - Fork 100
Accept custom snapshot sources in Env::from_ledger_snapshot #1620
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
Merged
Merged
Changes from 34 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
b5c75cb
extract default ledger info to testutils function
leighmcculloch ff856db
use unqualified import for default_ledger_info
leighmcculloch f0af184
reorder testutils imports alphabetically
leighmcculloch 3db0574
make ledger_info optional in new_for_testutils
leighmcculloch e863fb1
make default_ledger_info pub(crate)
leighmcculloch 9ac76d7
accept custom snapshot source input types as ledger snapshots
leighmcculloch 594aef5
remove redundant clone in SnapshotSourceInput from
leighmcculloch c857851
expose HostError in testutils module
leighmcculloch 1146edf
Merge branch 'main' into rs-soroban-sdk-snapshot-source
leighmcculloch 1fd662c
store test name and env number in env itself
leighmcculloch 678cf69
rename LastEnv field 'name' to 'test_name'
leighmcculloch 2196218
update snapshot file numbering documentation
leighmcculloch 6569681
wrap snapshot in RefCell and add cache-write layer
leighmcculloch 033a529
Merge branch 'rs-soroban-sdk-file-number-at-start' into rs-soroban-sd…
leighmcculloch b5d22ef
add ledger snapshot before file capture in tests
leighmcculloch 12799ba
move file number calculation before env initialization
leighmcculloch ff3f7b4
Merge branch 'rs-soroban-sdk-file-number-at-start' into rs-soroban-sd…
leighmcculloch cf0da97
add snapshot source fallback to test snapshots
leighmcculloch 33db562
reformat snapshot path and footprint initialization
leighmcculloch 62b2387
remove snapshot caching layer from env creation
leighmcculloch 03f2145
simplify snapshot mapping in env.rs
leighmcculloch 051f873
rename SnapshotSourceCacheWrite to SnapshotSourceCache
leighmcculloch 06921c3
add debug log for snapshot source file path
leighmcculloch 922026e
limit cache borrow scope in snapshot source get
leighmcculloch 5cd5b02
format multiline eprintln in snapshot source
leighmcculloch ca6cc9b
Merge branch 'main' into rs-soroban-sdk-snapshot-source
leighmcculloch 2a39c41
move LedgerEntry and LedgerKey to crate::xdr
leighmcculloch a50427f
add self to xdr import
leighmcculloch 8a6292b
rename snapshot before to source
leighmcculloch b048ca1
Merge branch 'main' into rs-soroban-sdk-snapshot-source
leighmcculloch 80057f2
undo auto source persisting and loading
leighmcculloch 23779c1
add HostError to public use
leighmcculloch f4b9d1d
Merge branch 'main' into rs-soroban-sdk-snapshot-source
leighmcculloch 8baa295
Merge branch 'main' into rs-soroban-sdk-snapshot-source
leighmcculloch f7527ed
Merge branch 'main' into rs-soroban-sdk-snapshot-source
leighmcculloch eef97ad
add documentation for snapshot source types and conversion
leighmcculloch 37badee
Merge branch 'main' into rs-soroban-sdk-snapshot-source
leighmcculloch File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.