Skip to content
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

Add lookahead collator and enable async backing in all runtimes #448

Merged
merged 40 commits into from
Mar 21, 2024
Merged
Show file tree
Hide file tree
Changes from 37 commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
a5711fb
first steps for lookahead collator implementation
Agusrodri Mar 4, 2024
7e41cd9
experiment lookahead collator with current 12s
Agusrodri Mar 5, 2024
2e64994
Merge remote-tracking branch 'origin/master' into agustin-lookahead-c…
Agusrodri Mar 5, 2024
147653b
fix zombie test
Agusrodri Mar 5, 2024
24633fa
set capacity to 1 in dancebox
Agusrodri Mar 5, 2024
97f604a
fix dev nodes
Agusrodri Mar 7, 2024
c5f5e6c
set six seconds in all runtimes
Agusrodri Mar 7, 2024
41f882b
add async backing params to zombienet config
Agusrodri Mar 7, 2024
fac1013
Merge remote-tracking branch 'origin/master' into agustin-lookahead-c…
Agusrodri Mar 7, 2024
a03f770
fix some zombie tests
Agusrodri Mar 8, 2024
b338b8c
fmt and cleanup
Agusrodri Mar 11, 2024
5a81355
toml fmt
Agusrodri Mar 11, 2024
98fe64f
fix ts tests
girazoki Mar 11, 2024
77cb835
use custom branches
Agusrodri Mar 11, 2024
4b79ce0
fix rust tests
Agusrodri Mar 11, 2024
9fd0035
Merge remote-tracking branch 'origin/master' into agustin-lookahead-c…
Agusrodri Mar 12, 2024
f2b934c
add end_lookahead channel
Agusrodri Mar 13, 2024
97e80e9
changes in zombie test
Agusrodri Mar 13, 2024
414ef9d
fmt
Agusrodri Mar 13, 2024
30ca760
toml fmt
Agusrodri Mar 13, 2024
4c71957
change velocity to 1
Agusrodri Mar 13, 2024
d868df1
use proper polkadot-sdk branches
Agusrodri Mar 13, 2024
14abe6a
increase timeout in zombie_rotation tests
Agusrodri Mar 14, 2024
9439081
add relay config for all zombienet suites
Agusrodri Mar 14, 2024
6958b5a
point at new moonkit commit with expectedBlockTime
girazoki Mar 15, 2024
40ea822
replace with our own custom fork of chopsticks
girazoki Mar 15, 2024
ef015f6
update lock
girazoki Mar 15, 2024
c2f8050
always ask the runtime for the slot duration, otherwise there will be…
girazoki Mar 15, 2024
4ec28de
fix staking ts tests
Agusrodri Mar 15, 2024
2178a15
update api-augment
Agusrodri Mar 15, 2024
4c40acf
use previous timeout in zombie_parathreads
Agusrodri Mar 15, 2024
1f1f424
fmt
Agusrodri Mar 15, 2024
2a3a3ce
use proper Receiver
Agusrodri Mar 15, 2024
26cdc94
cleanup some comments
Agusrodri Mar 15, 2024
6c51a8e
Read aura slot duration at parent block, not best block
tmpolaczyk Mar 18, 2024
db44a8e
Merge remote-tracking branch 'origin/master' into agustin-lookahead-c…
Agusrodri Mar 19, 2024
ae45421
adjust inflation
Agusrodri Mar 19, 2024
19a54c5
pr comments
Agusrodri Mar 19, 2024
053245b
refactor imports
Agusrodri Mar 19, 2024
e0045c1
Merge remote-tracking branch 'origin/master' into agustin-lookahead-c…
Agusrodri Mar 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
650 changes: 328 additions & 322 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ test-relay-sproof-builder = { git = "https://github.com/moondance-labs/dancekit"
dc-orchestrator-chain-interface = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-v1.6.0" }

# Moonkit (wasm)
async-backing-primitives = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-v1.6.0", default-features = false }
nimbus-consensus = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-v1.6.0" }
nimbus-primitives = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-v1.6.0", default-features = false }
pallet-async-backing = { git = "https://github.com/moondance-labs/moonkit", branch = "tanssi-polkadot-v1.6.0", default-features = false }
Expand Down Expand Up @@ -218,6 +219,7 @@ westend-runtime-constants = { git = "https://github.com/moondance-labs/polkadot-

# Polkadot (client)
polkadot-cli = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0" }
polkadot-node-subsystem = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0" }
polkadot-overseer = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0" }
polkadot-primitives = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0", default-features = false }
polkadot-service = { git = "https://github.com/moondance-labs/polkadot-sdk", branch = "tanssi-polkadot-v1.6.0" }
Expand Down
4 changes: 3 additions & 1 deletion client/consensus/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,12 @@ cumulus-relay-chain-interface = { workspace = true }

# Polkadot
polkadot-node-primitives = { workspace = true }
polkadot-node-subsystem = { workspace = true }
girazoki marked this conversation as resolved.
Show resolved Hide resolved
polkadot-overseer = { workspace = true }
polkadot-primitives = { workspace = true }

# Nimbus Dependencies
async-backing-primitives = { workspace = true }
nimbus-consensus = { workspace = true }
nimbus-primitives = { workspace = true, features = [ "std" ] }

Expand All @@ -62,6 +64,7 @@ async-trait = { workspace = true }
futures = { workspace = true }
log = { workspace = true }
parity-scale-codec = { workspace = true, features = [ "derive" ] }
tokio = { workspace = true }
tracing = { workspace = true }

[dev-dependencies]
Expand All @@ -76,4 +79,3 @@ sc-network-test = { workspace = true }
sp-keyring = { workspace = true }
substrate-test-runtime-client = { workspace = true }
tempfile = { workspace = true }
tokio = { workspace = true }
1 change: 1 addition & 0 deletions client/consensus/src/collators.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
// along with Tanssi. If not, see <http://www.gnu.org/licenses/>.

pub mod basic;
pub mod lookahead;

use {
crate::{find_pre_digest, AuthorityId, OrchestratorAuraWorkerAuxData},
Expand Down
Loading
Loading