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

Use substrate codec for network messages #333

Merged
merged 3 commits into from
Jul 16, 2018
Merged

Conversation

arkpar
Copy link
Member

@arkpar arkpar commented Jul 16, 2018

Closes #277
Closes #265
Closes #156

@arkpar arkpar added the A0-please_review Pull request needs code review. label Jul 16, 2018
Copy link
Contributor

@pepyakin pepyakin left a comment

Choose a reason for hiding this comment

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

Looks good, one little nit

Some(m) => m,
None => {
trace!(target: "sync", "Invalid packet from {}", peer_id);
io.disable_peer(peer_id, &format!("Peer sent us a packet with invalid format"));
Copy link
Contributor

Choose a reason for hiding this comment

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

looks like there is no need in format! anymore

@gavofyork gavofyork added A8-looksgood and removed A0-please_review Pull request needs code review. labels Jul 16, 2018
@rphmeier rphmeier merged commit 38ea7bd into master Jul 16, 2018
@rphmeier rphmeier deleted the ark-message-format branch July 16, 2018 13:28
lamafab pushed a commit to lamafab/substrate that referenced this pull request Jun 16, 2020
Connect rpc port 9933 failed if polkadot startup without --rpc-external
JoshOrndorff pushed a commit to moonbeam-foundation/substrate that referenced this pull request Apr 21, 2021
* Add cli arguments to configure trace_filter

* Add threshold

* fmt

* Fix TraceFilterCache arg order

* Add test for `ethapi_trace_max_count` default (500)

* Prettier

Co-authored-by: tgmichel <[email protected]>
liuchengxu added a commit to chainx-org/substrate that referenced this pull request Aug 23, 2021
* Update chainpool/substrate to 6244ecd

* remove panic in service start for get pub key from storage

* Update chainpool/substrate to fe056d3

* promote runtime log print

* Filter these have set up trustee based on the candidates of validators (paritytech#334)

Close paritytech#333

* update version

* 2 sessions_per_era for now
liuchengxu added a commit to chainx-org/substrate that referenced this pull request Aug 23, 2021
liuchengxu pushed a commit to autonomys/substrate that referenced this pull request Jun 3, 2022
helin6 pushed a commit to boolnetwork/substrate that referenced this pull request Jul 25, 2023
…#333)

* add test-runtime crate to dynamically obtain metadata/node_runtime for tests

* cargo fmt

* Download substrate prior to cargo calls (hopefully)

* add README explaining test-runtime

* Fix CI, fmt and clippy

* more clippy

* tweak test-node readme

* fmt the clippied

* A little tidy up in build.rs

* use ureq and raw string

* Don't export unnecessary metadata

* async_std/RpcClient/bytes instead of ureq/Value/hex

* newline

* document try_from_url error unwrap
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.

4 participants