-
Notifications
You must be signed in to change notification settings - Fork 480
Add E2E testing framework MVP #1395
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 all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
3d9084f
Add missing words to spellcheck dictionary
cmichi ee872be
Add `contracts-node.scale` metadata
cmichi 4ba3a3f
Run `substrate-contracts-node` in CI
cmichi 6b7698f
Invoke `cargo doc` separately for each crate
cmichi 0d45a1f
Add MVP for E2E testing framework
cmichi a786af3
Add E2E tests for `contract-transfer` example
cmichi 91178e6
Merge branch 'master' into cmichi-mvp-e2e-testing
cmichi efe1635
Merge branch 'master' into cmichi-mvp-e2e-testing
cmichi 3119f64
Add ToDo comment for migration to `state_call` RPC
cmichi fe9ce06
Update to new `ink` entrance crate
cmichi 1c0c2df
Add ToDo for `node_log_contains`
cmichi aa7d31a
Update to `ink` entrance crate
cmichi 5509604
Migrate to `state_call` RPC
cmichi cdd52e5
Always initialize `env_logger`
cmichi cfba1e6
Merge branch 'master' into cmichi-mvp-e2e-testing
cmichi d28d234
Use latest `subxt` release
cmichi b9ddff6
Merge branch 'master' into cmichi-mvp-e2e-testing
cmichi 772c8fb
Remove superfluous TODO
cmichi cc9b76a
Apply `cargo fmt`
cmichi 312a9e6
Adapt test fixtures
cmichi 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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -50,6 +50,26 @@ secp256k1 = { version = "0.24", features = ["recovery", "global-context"], optio | |
| rand = { version = "0.8", default-features = false, features = ["alloc"], optional = true } | ||
| scale-info = { version = "2", default-features = false, features = ["derive"], optional = true } | ||
|
|
||
| contract-metadata = "2.0.0-alpha.2" | ||
| impl-serde = { version = "0.3.1", default-features = false } | ||
| jsonrpsee = { version = "0.14.0", features = ["ws-client"] } | ||
| pallet-contracts-primitives = "6.0.0" | ||
| serde = { version = "1.0.137", default-features = false, features = ["derive"] } | ||
| serde_json = "1.0.81" | ||
| tokio = { version = "1.18.2", features = ["rt-multi-thread"] } | ||
| log = "0.4" | ||
| env_logger = "0.8" | ||
| subxt = "0.24.0" | ||
|
|
||
| # Substrate | ||
| sp-rpc = "6.0.0" | ||
| sp-core = "6.0.0" | ||
| sp-keyring = "6.0.0" | ||
| sp-runtime = "6.0.0" | ||
|
|
||
| # TODO(#xxx) `smart-bench_macro` needs to be forked. | ||
| smart-bench-macro = { git = "https://github.com/paritytech/smart-bench", branch = "cmichi-ink-e2e-test-mvp", package = "smart-bench-macro"} | ||
|
|
||
|
Comment on lines
+53
to
+72
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think all of these new e2e dependencies should be Arguably we may even want an additional feature to prevent them being compiled for the metadata generation which is |
||
| [features] | ||
| default = ["std"] | ||
| std = [ | ||
|
|
||
Binary file not shown.
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.