-
Notifications
You must be signed in to change notification settings - Fork 372
Collate only if --validator is given
#161
Conversation
.rustfmt.toml
Outdated
| @@ -1 +1,2 @@ | |||
| hard_tabs=true | |||
| merge_imports=true | |||
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.
Ah so rustfmt does have something to merge imports? cool!
(I didn't add that line. Well.. I can't remember I did it)
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 added this in the rococo branch.
Why does this contains rococo changes?
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.
Because we also need to get rococo changes on cumulus branch right?
|
Nice, so this enables regular full nodes? |
|
Yes!! ^_^ if I can make the ci pass... |
|
Actually it also does light node if asked to do so. I will remove that because I think Basti asked me to do only full node for now |
a61ed8c to
25032ac
Compare
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.
This will not work.
- No Polkadot light client.
- We need the custom block announce validator to validate the block announcements. (This is really important!)
|
Right!! Thanks |
This reverts commit 99f6af9.
test/parachain/src/service.rs
Outdated
| enable_color: true, | ||
| prefix: format!("[{}] ", Color::Blue.bold().paint("Relaychain")), | ||
| let finality_proof_provider = | ||
| GrandpaFinalityProofProvider::new_for_service(backend.clone(), client.clone()); |
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.
This can be removed
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.
done
test/parachain/src/service.rs
Outdated
| client: client.clone(), | ||
| transaction_pool: transaction_pool.clone(), | ||
| task_manager: &mut task_manager, | ||
| telemetry_connection_sinks: sc_service::TelemetryConnectionSinks::default(), |
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.
| telemetry_connection_sinks: sc_service::TelemetryConnectionSinks::default(), | |
| telemetry_connection_sinks: Default::default(), |
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.
done
Fixes #152