-
Notifications
You must be signed in to change notification settings - Fork 49
Update integration test for valid relay chain timestamp in parachain storage #1456
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
7 commits
Select commit
Hold shift + click to select a range
e3f521b
Update integration tests for battery station runtime and add relay ti…
297f2d6
Update relay timestamp test to use direct storage key for retrieval
720edbf
Update relay timestamp test to use bigint for timestamp values
8d81301
Refactor relay timestamp test to decode storage value as bigint
648d324
Update relay timestamp test to allow for small drift between parachai…
5614e63
Add zombieZeitgeist configuration for zombienet upgrade tests
d9ae9d2
Update integration tests and configurations for zombienet upgrades
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 |
|---|---|---|
| @@ -0,0 +1,45 @@ | ||
| { | ||
| "settings": { | ||
| "timeout": 1000, | ||
| "provider": "native" | ||
| }, | ||
| "relaychain": { | ||
| "chain": "rococo-local", | ||
| "default_command": "./tmp/polkadot", | ||
| "default_args": ["--no-hardware-benchmarks", "-lparachain=debug", "--database=paritydb", "--no-beefy", "--detailed-log-output"], | ||
| "nodes": [ | ||
| { | ||
| "name": "charlie", | ||
| "rpc_port": 9947, | ||
| "validator": true | ||
| }, | ||
| { | ||
| "name": "bob", | ||
| "rpc_port": 9950, | ||
| "validator": true | ||
| } | ||
| ] | ||
| }, | ||
| "parachains": [ | ||
| { | ||
| "id": 2101, | ||
| "chain": "dev", | ||
| "collators": [ | ||
| { | ||
| "name": "alice", | ||
| "command": "../target/release/zeitgeist", | ||
| "rpc_port": 9944, | ||
| "p2p_port": 33049, | ||
| "args": ["-lparachain=debug", "--force-authoring", "--detailed-log-output"] | ||
| } | ||
| ] | ||
| } | ||
| ], | ||
| "types": { | ||
| "Header": { | ||
| "number": "u64", | ||
| "parent_hash": "Hash", | ||
| "post_state": "Hash" | ||
| } | ||
| } | ||
| } |
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 |
|---|---|---|
| @@ -1,45 +1,55 @@ | ||
| { | ||
| "settings": { | ||
| "timeout": 1000, | ||
| "provider": "native" | ||
| }, | ||
| "relaychain": { | ||
| "chain": "rococo-local", | ||
| "default_command": "./tmp/polkadot", | ||
| "default_args": ["--no-hardware-benchmarks", "-lparachain=debug", "--database=paritydb", "--no-beefy", "--detailed-log-output"], | ||
| "nodes": [ | ||
| { | ||
| "name": "charlie", | ||
| "rpc_port": 9947, | ||
| "validator": true | ||
| }, | ||
| { | ||
| "name": "bob", | ||
| "rpc_port": 9950, | ||
| "validator": true | ||
| } | ||
| ] | ||
| }, | ||
| "parachains": [ | ||
| { | ||
| "id": 2101, | ||
| "chain": "dev", | ||
| "collators": [ | ||
| { | ||
| "name": "alice", | ||
| "command": "../target/release/zeitgeist", | ||
| "rpc_port": 9944, | ||
| "p2p_port": 33049, | ||
| "args": ["-lparachain=debug", "--force-authoring", "--detailed-log-output"] | ||
| } | ||
| ] | ||
| } | ||
| "settings": { | ||
| "timeout": 1000, | ||
| "provider": "native" | ||
| }, | ||
| "relaychain": { | ||
| "chain": "rococo-local", | ||
| "default_command": "./tmp/polkadot", | ||
| "default_args": [ | ||
| "--no-hardware-benchmarks", | ||
| "-lparachain=debug", | ||
| "--database=paritydb", | ||
| "--no-beefy", | ||
| "--detailed-log-output" | ||
| ], | ||
| "types": { | ||
| "Header": { | ||
| "number": "u64", | ||
| "parent_hash": "Hash", | ||
| "post_state": "Hash" | ||
| "nodes": [ | ||
| { | ||
| "name": "charlie", | ||
| "rpc_port": 9957, | ||
| "validator": true | ||
| }, | ||
| { | ||
| "name": "bob", | ||
| "rpc_port": 9960, | ||
| "validator": true | ||
| } | ||
| ] | ||
| }, | ||
| "parachains": [ | ||
| { | ||
| "id": 2092, | ||
| "chain": "./zeitgeist-parachain-2092.json", | ||
| "collators": [ | ||
| { | ||
| "name": "alice", | ||
| "command": "../target/release/zeitgeist", | ||
| "rpc_port": 9954, | ||
| "p2p_port": 33059, | ||
| "args": [ | ||
| "-lparachain=debug", | ||
| "--force-authoring", | ||
| "--detailed-log-output" | ||
| ] | ||
| } | ||
| ] | ||
| } | ||
| ], | ||
| "types": { | ||
| "Header": { | ||
| "number": "u64", | ||
| "parent_hash": "Hash", | ||
| "post_state": "Hash" | ||
| } | ||
| } | ||
| } |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.
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.
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.
Quote the command substitution to prevent word splitting.
Shellcheck flags the unquoted
$(dirname $0)which could break if the path contains spaces.Apply this diff:
Based on static analysis hints.
📝 Committable suggestion
🧰 Tools
🪛 Shellcheck (0.11.0)
[warning] 8-8: Quote this to prevent word splitting.
(SC2046)
🤖 Prompt for AI Agents