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

unify loading spec && further spec cleanups #10948

Merged
merged 7 commits into from
Aug 7, 2019
Merged

unify loading spec && further spec cleanups #10948

merged 7 commits into from
Aug 7, 2019

Conversation

debris
Copy link
Collaborator

@debris debris commented Aug 6, 2019

No description provided.

@debris debris added A0-pleasereview 🤓 Pull request needs code review. M4-core ⛓ Core client code / Rust. labels Aug 6, 2019
@debris debris requested review from dvdplm and ordian August 6, 2019 14:38
ethcore/src/spec/spec.rs Outdated Show resolved Hide resolved
ethcore/src/spec/bundle.rs Outdated Show resolved Hide resolved
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.

I think this is an improvement. I don't like the "bundle" name though, I find it confusing and I'm not sure what it refers to.
Maybe chain? chain::new_frontier_test() reads ok (but chain::new_eip210_test_machine() does not read so good...). We could also export them from the root of spec and use the functions directly, as their names are very self-explanatory.

ethcore/src/spec/spec.rs Outdated Show resolved Hide resolved
@debris
Copy link
Collaborator Author

debris commented Aug 7, 2019

updated, please review again :)

// You should have received a copy of the GNU General Public License
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>.

//! Ethereum protocol module.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
//! Ethereum protocol module.
//! Chain specification module.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Ouch missed this. I'll make this change elsewhere.

@dvdplm dvdplm merged commit 45978bc into master Aug 7, 2019
@dvdplm dvdplm deleted the spec-bundle branch August 7, 2019 14:52
dvdplm added a commit that referenced this pull request Aug 7, 2019
* master:
  unify loading spec && further spec cleanups (#10948)
  refactor: Refactor evmbin CLI (#10742)
  journaldb changes (#10929)
ordian added a commit that referenced this pull request Aug 15, 2019
* master:
  [evmbin] fix compilation (#10976)
  Update to latest trie version. (#10972)
  [blooms-db] Fix benchmarks (#10974)
  Fix ethcore/benches build. (#10964)
  tx-pool: accept local tx with higher gas price when pool full (#10901)
  Disable unsyncable expanse chain (#10926)
  Extract Machine from ethcore (#10949)
  removed redundant state_root function from spec, improve spec error types (#10955)
  Add support for Energy Web Foundation's new chains (#10957)
  [evmbin] add more tests to main.rs (#10956)
  Fix compiler warnings in util/io and upgrade to edition 2018 Upgrade mio to latest (#10953)
  unify loading spec && further spec cleanups (#10948)
  refactor: Refactor evmbin CLI (#10742)
  journaldb changes (#10929)
  Allow default block parameter to be blockHash (#10932)
  Enable sealing when engine is ready (#10938)
  Fix some warnings and typos. (#10941)
  Updated [email protected] key (#10939)
  Change the return type of step_inner function. (#10940)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-pleasereview 🤓 Pull request needs code review. M4-core ⛓ Core client code / Rust.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants