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

[export hardcoded sync]: use debug for H256 #11204

Merged
merged 1 commit into from
Oct 25, 2019

Conversation

niklasad1
Copy link
Collaborator

@niklasad1 niklasad1 commented Oct 25, 2019

Closes #11202

The Display implementation for SpecHardcodedSync used the Display implementation of
ethereum_types::H256 which doesn't show the full hash which this fixes.

Fixes #11202

The `Display` implementation for `SpecHardcodedSync` used the `Display` implementation of
`ethereum_types::H256` which doesn't show the full hash which this fixes.
@niklasad1 niklasad1 added A0-pleasereview 🤓 Pull request needs code review. A2-insubstantial 👶 Pull request requires no code review (e.g., a sub-repository hash update). M4-core ⛓ Core client code / Rust. labels Oct 25, 2019
@ordian ordian added this to the 2.7 milestone Oct 25, 2019
Copy link
Collaborator

@ordian ordian left a comment

Choose a reason for hiding this comment

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

Do we need to backport this?

@ordian ordian added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Oct 25, 2019
@niklasad1
Copy link
Collaborator Author

niklasad1 commented Oct 25, 2019

Do we need to backport this?

Good question, let me check

EDIT: Introduced by #10904 which is not backported so I guess we should not backport it. If we want to then we need to backport David's refactoring in ethcore too.

@dvdplm
Copy link
Collaborator

dvdplm commented Oct 25, 2019

then we need to backport David's refactoring in ethcore too.

For the love of god let's not do that! 🗡 🌵 🤕 🔨

Copy link
Collaborator

@dvdplm dvdplm left a comment

Choose a reason for hiding this comment

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

q: what does {:#?} print for H256?

@dvdplm dvdplm merged commit c4ca84c into master Oct 25, 2019
@dvdplm dvdplm deleted the na-fix-hardcoded-sync-export branch October 25, 2019 16:12
@niklasad1
Copy link
Collaborator Author

q: what does {:#?} print for H256?

I think it is the same as {:?}

dvdplm added a commit that referenced this pull request Oct 28, 2019
* master:
  [informant]: `MillisecondDuration` -> `as_millis()` (#11211)
  Step duration map configuration parameter ported from the POA Network fork (#10902)
  Upgrade jsonrpc to latest (#11206)
  [export hardcoded sync]: use debug for `H256` (#11204)
  Pause pruning while snapshotting (#11178)
dvdplm added a commit that referenced this pull request Nov 6, 2019
* master: (21 commits)
  ropsten #6631425 foundation #8798209 (#11201)
  Update list of bootnodes for xDai chain (#11236)
  ethcore/res: add mordor testnet configuration (#11200)
  [chain specs]: activate `Istanbul` on mainnet (#11228)
  [builtin]: support `multiple prices and activations` in chain spec (#11039)
  Insert explicit warning into the panic hook (#11225)
  Snapshot restoration overhaul (#11219)
  Fix docker centos build (#11226)
  retry on gitlab system failures (#11222)
  Update bootnodes. (#11203)
  Use provided usd-per-eth value if an endpoint is specified (#11209)
  Use a lock instead of atomics for snapshot Progress (#11197)
  [informant]: `MillisecondDuration` -> `as_millis()` (#11211)
  Step duration map configuration parameter ported from the POA Network fork (#10902)
  Upgrade jsonrpc to latest (#11206)
  [export hardcoded sync]: use debug for `H256` (#11204)
  Pause pruning while snapshotting (#11178)
  Type annotation for next_key() matching of json filter options (#11192)
  Crypto primitives removed from ethkey (#11174)
  Made ecrecover implementation trait public (#11188)
  ...
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A2-insubstantial 👶 Pull request requires no code review (e.g., a sub-repository hash update). A8-looksgood 🦄 Pull request is reviewed well. M4-core ⛓ Core client code / Rust.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Export light client hardcoded headers with v2.7 is an invalid JSON
3 participants