Skip to content

Conversation

@HCastano
Copy link
Contributor

I figured I'd end my day with something easy, but turns out that the changes in service.rs were a bit hairy (introduced in paritytech/substrate#6557). I ended up copying the updated node-template instead of digging through everything.

Keeping it as a draft because I need to fix the RPC extensions in the service, and I want to double check I haven't accidentally screwed the node up.

@HCastano HCastano added A-deps A-chores Something that has to be done, as part of regular maintenance labels Jul 29, 2020
@HCastano HCastano marked this pull request as draft July 29, 2020 00:24
use grandpa::{self, FinalityProofProvider as GrandpaFinalityProofProvider, SharedVoterState, StorageAndProofProvider};
use sc_client_api::ExecutorProvider;
use sc_consensus::LongestChain;
use bridge_node_runtime::{self, Block, RuntimeApi};
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it necessary for us to have that file at all? Isn't it possible to reference the service builder from substrate somehow?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, I don't think so

@HCastano HCastano marked this pull request as ready for review July 31, 2020 21:42
@HCastano
Copy link
Contributor Author

Ah, I forgot about the benchmark changes. I'll fix those tomorrow-ish

Copy link
Contributor

@tomusdrw tomusdrw left a comment

Choose a reason for hiding this comment

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

lgtm!

let (grandpa_block_import, grandpa_link) =
sc_finality_grandpa::block_import(client.clone(), &(client.clone() as Arc<_>), select_chain.clone())?;

let aura_block_import =
Copy link
Contributor

Choose a reason for hiding this comment

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

I didn't notice that earlier, but we run with AuRa + Grandpa? That's pretty cool and hopefully works :)

@tomusdrw tomusdrw merged commit 8c9110d into master Aug 3, 2020
@tomusdrw tomusdrw deleted the hc-bump-substrate-rc5 branch August 3, 2020 10:55
svyatonik pushed a commit that referenced this pull request Jul 17, 2023
serban300 pushed a commit to serban300/parity-bridges-common that referenced this pull request Mar 27, 2024
* Bump Substrate to rc5

* Bump async-std to v1.6.2

There was a bug in v.1.6.0 which kept us locked to v1.5 releases.
I think that's fixed now so I'm bumping this.

* Update bridge node runtime

* Update node service

* Update CLI

* Add SystemWeightInfo type to test runtimes

* Add RPC extension builder to service

* Directly return rpc_extensions_builder

* Allow complex types in service

This comes from Substrate, so I'd rather just keep the code as is

* Update benchmarking code for new CLI
serban300 pushed a commit to serban300/parity-bridges-common that referenced this pull request Apr 8, 2024
* Bump Substrate to rc5

* Bump async-std to v1.6.2

There was a bug in v.1.6.0 which kept us locked to v1.5 releases.
I think that's fixed now so I'm bumping this.

* Update bridge node runtime

* Update node service

* Update CLI

* Add SystemWeightInfo type to test runtimes

* Add RPC extension builder to service

* Directly return rpc_extensions_builder

* Allow complex types in service

This comes from Substrate, so I'd rather just keep the code as is

* Update benchmarking code for new CLI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-chores Something that has to be done, as part of regular maintenance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants