This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
try-runtime-cli: execute-block
& create-snapshot
tests
#14343
Merged
paritytech-processbot
merged 24 commits into
paritytech:master
from
Szegoo:try-runtime-tests
Jun 24, 2023
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
4bb74f2
execute-block test
Szegoo cb9720c
test create-snapshot
Szegoo 2644c25
oops
Szegoo 64ed955
Update utils/frame/try-runtime/cli/tests/create_snapshot.rs
Szegoo aa7e6a7
Update utils/frame/try-runtime/cli/tests/create_snapshot.rs
Szegoo 2989dfc
Update utils/frame/try-runtime/cli/tests/create_snapshot.rs
Szegoo af1cfde
remove snapshot
Szegoo c1d5b80
execute block: new log
Szegoo c3a964d
use prefix & make tempfile a dev dependencie
Szegoo e7a54ab
Update utils/frame/try-runtime/cli/tests/execute_block.rs
Szegoo d3a9ca9
Update utils/frame/try-runtime/cli/tests/create_snapshot.rs
Szegoo 6ce396e
".git/.scripts/commands/fmt/fmt.sh"
7d274e6
Merge remote-tracking branch 'origin/master' into try-runtime-tests
f439f28
--at option in execute-block test
Szegoo 84a27de
fixes & use --at option in create-snapshot test
Szegoo 7581859
hmm
Szegoo 8fc182a
fmt
Szegoo b7c157b
remove nonsense
Szegoo f1c77b4
Update utils/frame/try-runtime/cli/tests/create_snapshot.rs
Szegoo 08b881c
Update utils/frame/try-runtime/cli/tests/execute_block.rs
Szegoo e78e7e4
remove unnecessary test modules
Szegoo 4e3e29b
try to load snapshot file
Szegoo 2c689d5
Merge branch 'paritytech:master' into try-runtime-tests
Szegoo daab1cc
fix
Szegoo 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
use prefix & make tempfile a dev dependencie
- Loading branch information
commit c3a964da89166fe303d2495e67a40eb31e6bcecf
There are no files selected for viewing
This file contains 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 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I now understood why we have to build again. Just very annoying and slow…
Maybe we can somehow inherit the build args in this function, so that it re-uses the cargo cache.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That would be great. It does take quite some time to run all of these tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yea that would be a follow up as well; debug that
build_substrate
function and check if we can make it re-use the already existing build artifacts by using the same compile args that were used for the test.