Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Conversation

@cecton
Copy link
Contributor

@cecton cecton commented Jul 27, 2020

Fixes #152

@cecton cecton self-assigned this Jul 27, 2020
.rustfmt.toml Outdated
@@ -1 +1,2 @@
hard_tabs=true
merge_imports=true
Copy link
Contributor Author

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)

Copy link
Member

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?

Copy link
Contributor Author

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?

@cecton cecton requested a review from bkchr July 27, 2020 16:38
@rphmeier
Copy link
Contributor

Nice, so this enables regular full nodes?

@cecton
Copy link
Contributor Author

cecton commented Jul 28, 2020

Yes!! ^_^ if I can make the ci pass...

@cecton
Copy link
Contributor Author

cecton commented Jul 28, 2020

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

cecton and others added 5 commits July 28, 2020 19:26
Forked at: bcc6277
Parent branch: origin/master
Forked at: bcc6277
Parent branch: origin/master
Forked at: bcc6277
Parent branch: origin/master
Forked at: bcc6277
Parent branch: origin/master
@cecton cecton force-pushed the cecton-collate-only-if-validator branch from a61ed8c to 25032ac Compare July 28, 2020 17:32
Copy link
Member

@bkchr bkchr left a 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.

  1. No Polkadot light client.
  2. We need the custom block announce validator to validate the block announcements. (This is really important!)

@cecton
Copy link
Contributor Author

cecton commented Jul 28, 2020

Right!! Thanks

cecton added 8 commits July 28, 2020 22:24
Forked at: bcc6277
Parent branch: origin/master
Forked at: bcc6277
Parent branch: origin/master
Forked at: bcc6277
Parent branch: origin/master
Forked at: bcc6277
Parent branch: origin/master
Forked at: bcc6277
Parent branch: origin/master
This reverts commit 99f6af9.
@cecton cecton marked this pull request as ready for review July 29, 2020 16:05
@cecton cecton requested a review from bkchr July 29, 2020 16:11
enable_color: true,
prefix: format!("[{}] ", Color::Blue.bold().paint("Relaychain")),
let finality_proof_provider =
GrandpaFinalityProofProvider::new_for_service(backend.clone(), client.clone());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can be removed

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

client: client.clone(),
transaction_pool: transaction_pool.clone(),
task_manager: &mut task_manager,
telemetry_connection_sinks: sc_service::TelemetryConnectionSinks::default(),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
telemetry_connection_sinks: sc_service::TelemetryConnectionSinks::default(),
telemetry_connection_sinks: Default::default(),

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@cecton cecton merged commit f26dd45 into master Jul 29, 2020
@cecton cecton deleted the cecton-collate-only-if-validator branch July 29, 2020 18:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Only collate when --validator is given as CLI argument

5 participants