-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Runtime API: introduce candidates_pending_availability
#4027
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 5 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
9d164db
wip
sandreim 288e1f6
Merge branch 'master' of github.com:paritytech/polkadot-sdk into sand…
sandreim 7f7b571
bulk changes done
sandreim 9dc96ea
impl for test-runtime
sandreim a5d94d8
1 round of fmt
sandreim 0c2256c
remove bogus file
sandreim 1fb8d1e
another bogus file
sandreim f7e1fad
add missing `api_version`
sandreim a09d2d8
fix deprectated warning
sandreim d1e9dd3
fix clippy/build
sandreim aaed730
more fixing
sandreim 22c56e5
fix the fix
sandreim c3a5488
add prdoc
sandreim 3deb11a
review
sandreim 3f81885
Merge branch 'master' of github.com:paritytech/polkadot-sdk into sand…
sandreim 3f55d40
review
sandreim 1a21a2c
review
sandreim b732fe5
Merge branch 'master' of github.com:paritytech/polkadot-sdk into sand…
sandreim 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| TestConfiguration: | ||
| - objective: !DataAvailabilityRead | ||
| fetch_from_backers: true | ||
| n_validators: 1000 | ||
| n_cores: 20 | ||
| max_validators_per_core: 5 | ||
| min_pov_size: 5120 | ||
| max_pov_size: 5120 | ||
| peer_bandwidth: 52428800 | ||
| bandwidth: 52428800 | ||
| latency: | ||
| mean_latency_ms: 100 | ||
| std_dev: 1.0 | ||
| connectivity: 90 | ||
| num_blocks: 3 | ||
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
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
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
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
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
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
47 changes: 47 additions & 0 deletions
47
polkadot/zombienet_tests/async_backing/004-async-backing-6s.toml
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,47 @@ | ||
| [settings] | ||
sandreim marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| timeout = 1000 | ||
|
|
||
| [relaychain.genesis.runtimeGenesis.patch.configuration.config.async_backing_params] | ||
| max_candidate_depth = 6 | ||
| allowed_ancestry_len = 2 | ||
|
|
||
| [relaychain.genesis.runtimeGenesis.patch.configuration.config.scheduler_params] | ||
| max_validators_per_core = 1 | ||
| scheduling_lookahead = 2 | ||
| num_cores = 3 | ||
|
|
||
| [relaychain.genesis.runtimeGenesis.patch.configuration.config.approval_voting_params] | ||
| needed_approvals = 3 | ||
| max_approval_coalesce_count = 5 | ||
|
|
||
| [relaychain] | ||
| default_image = "{{ZOMBIENET_INTEGRATION_TEST_IMAGE}}" | ||
| chain = "rococo-local" | ||
| default_command = "/Users/andrei/polkadot-sdk/target/release/polkadot" | ||
|
|
||
| [relaychain.default_resources] | ||
| limits = { memory = "4G", cpu = "2" } | ||
| requests = { memory = "2G", cpu = "1" } | ||
|
|
||
| [[relaychain.node_groups]] | ||
| name = "honest-validator" | ||
| count = 5 | ||
| args = [ "-lparachain=debug,parachain::candidate-backing=trace,parachain::provisioner=trace,parachain::prospective-parachains=trace,runtime=debug"] | ||
|
|
||
| {% for id in range(2000,2002) %} | ||
| [[parachains]] | ||
| id = {{id}} | ||
| addToGenesis = true | ||
|
|
||
| [parachains.collator] | ||
| name = "some-parachain" | ||
| image = "{{CUMULUS_IMAGE}}" | ||
| command = "/Users/andrei/polkadot-sdk/target/release/adder-collator" | ||
| args = ["-lparachain::collation-generation=trace,parachain::collator-protocol=trace,parachain=debug"] | ||
| {% endfor %} | ||
|
|
||
|
|
||
| [types.Header] | ||
| number = "u64" | ||
| parent_hash = "Hash" | ||
| post_state = "Hash" | ||
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.