1. Aug 13, 2020
    • asynchronous rob's avatar
      Remove v0 parachains runtime (#1501) · ae5990c7
      asynchronous rob authored
      * remove v0 parachains modules and switch to v1 primitives
      
      * get tests compiling for runtime-common
      
      * remove registrar module
      
      * Add a dummy module
      
      * remove runtime-parachains
      
      * mostly remove old parachains code from polkadot-runtime
      
      * remove slots::Trait implementation
      
      * remove sp_std prelude import
      
      * add a ZeroSizedTypeDifferentiator to dummy
      
      * finish porting over polkadot runtime
      
      * ZeroSizedTypeDifferentiator was actually unnecessary
      
      * westend
      
      * kusama
      
      * test-runtime (no dummy modules)
      
      * fix warning
      
      * fix chain-specs
      
      * fix test-service
      
      * test-client
      
      * remove dead import
      
      * remove unused needed_extrinsics parameter
      
      * runtimes compile
      
      * remove rococo-v0
      
      * remove remaining references to Rococo
      
      * bump versions
      ae5990c7
  2. Aug 11, 2020
    • Bastian Köcher's avatar
      Support `build-spec` for other chains than Polkadot (#1567) · 78c8a646
      Bastian Köcher authored
      
      
      * Support `build-spec` for other chains than Polkadot
      
      The problem when building a chain specification is that you require the
      native runtime to parse the json file (assuming the chain spec is not
      raw yet). Before this pr we could only overwrite the native runtime when
      running the node using `force_*`. This pr now adds support to load the
      native runtime when the filename starts with the name of the chain. So,
      when usng `build-spec --chain rococo-something-else.jon` it will use the
      rococo native runtime to load the chain spec.
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      78c8a646
  3. Aug 05, 2020
  4. Jul 13, 2020
    • Max Inden's avatar
      *: Enable authority discovery by default (#1395) · bc6e1e77
      Max Inden authored
      * *: Enable authority discovery by default
      
      Instead of having to explicitly enable the authority discovery module on
      validator and sentry nodes, this commit enables the module by default.
      
      Today there is no way for non validator or sentry nodes to run the
      module. That might change in the future.
      
      * service/src/lib: Fix typo in new_full! for test
      bc6e1e77
  5. Jul 08, 2020
    • pscott's avatar
      Companion PR for #6564 (#1350) · 8d9bc116
      pscott authored
      * Add log_rotation_opt
      
      * Update Cargo lock
      
      * Use SubstrateCli's log-directory instead of re-defining it
      8d9bc116
  6. Jun 10, 2020
  7. May 11, 2020
  8. Apr 14, 2020
    • ddorgan's avatar
      Westend Mark II (#983) · 20cb15d0
      ddorgan authored
      
      
      * Initial draft
      
      * More work
      
      * Build
      
      * Docs
      
      * Insert westend keys
      
      * Add badBlock to fork from old chain
      
      * Updated spec to reset westend
      
      * Use raw spec
      
      * Fix spec format and use westend2 for both id's
      
      * Correct public key for bootnode 3
      
      * Build
      
      * Extra space
      
      * Fix build
      
      * Lock
      
      * Update lock
      
      * Fixes
      
      * Fix for he startup text
      
      * Bump
      
      Co-authored-by: default avatarGav Wood <[email protected]>
      20cb15d0
  9. Apr 07, 2020
    • Cecile Tonglet's avatar
      Update cli to new sc-cli API (#935) · bee86bba
      Cecile Tonglet authored
      * Initial commit
      
      Forked at: 77de8b91
      Parent branch: origin/master
      
      * Switch substrate to branch cecton-the-revenge-of-the-cli
      
      * Adapting code
      
      * Update Cargo.lock
      
      * Adapting code
      
      * Adapt more code
      
      * Implement force_kusama parameter
      
      * Revert dependency update
      
      * Adapt code to use ref to SubstrateCli object
      
      * Updated to latest version
      
      * Updated with latest changes
      
      * Bump spec vesion
      
      * Fixed tests
      
      * WIP
      
      Forked at: 77de8b91
      Parent branch: origin/master
      
      * More fixes
      
      * Cargo.lock
      
      * Updated code
      
      * Fixed and adapt
      
      * Fixed dependency issue with wasm
      
      * Adapted code
      
      * Revert branch change
      
      * Cargo.lock
      
      * Cargo.lock
      
      * Adapt code
      
      * Clean-up
      
      * More clean-up
      
      * Cargo.lock
      bee86bba
  10. Mar 17, 2020
    • André Silva's avatar
      grandpa: add voting rule to pause new votes for a period (#904) · 5c4dcfb2
      André Silva authored
      * grandpa: add voting rule to pause new votes for a period
      
      * grandpa: increase delay
      
      * grandpa: parse custom pause delay from cli
      
      * grandpa: log scheduled pause on startup
      
      * grandpa: rename parameter to grandpa_pause
      
      * grandpa: make pause voting rule generic on block
      
      * grandpa: add test for pause voting rule
      
      * grandpa: add hardcoded pause
      
      * collator: fix test compilation
      5c4dcfb2
  11. Mar 13, 2020
    • Gavin Wood's avatar
      Bump to latest Substrate (#898) · b5cc86af
      Gavin Wood authored
      
      
      * Flag to force kusama runtime
      
      * Chainspecs for kusama
      
      * Polkadot config for westend
      
      Co-Authored-By: default avatarBastian Köcher <[email protected]>
      
      * network/src/legacy/gossip: Wrap GossipEngine in Arc Mutex & lock it on use
      
      `GossipEngine` in itself has no need to be Send and Sync, given that it
      does not rely on separately spawned background tasks anymore.
      `RegisteredMessageValidator` needs to be `Send` and `Sync` due to the
      inherited trait bounds from implementing `GossipService`. In addition
      `RegisteredMessageValidator` derives `Clone`. Thereby `GossipEngine`
      needs to be wrapped in an `Arc` and `Mutex` to keep the status quo.
      
      * Needed fixes.
      
      * Fixes
      
      * Fixed build
      
      * Fixed build w benchmarking CLI
      
      * Fixed building tests
      
      * Added --dev shortcut
      
      Co-authored-by: default avatararkpar <[email protected]>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      Co-authored-by: default avatarMax Inden <[email protected]>
      b5cc86af
    • Shawn Tabrizi's avatar
      Benchmark Polkadot Claims Pallet (#876) · 2f44ce41
      Shawn Tabrizi authored
      
      
      * fix
      
      * Starting to add benchmarks
      
      * make compile
      
      * add benchmarks
      
      * Make work with Substrate master
      
      * Bench validate unsigned
      
      * back to polkadot master
      
      * starting to add cli with feature flag
      
      * more stuff
      
      * Add to kusama
      
      * Update Cargo.lock
      
      * fix dev dep
      
      * bump wasm builder
      
      * Remove encode from keccak benchmark
      
      * bump spec
      
      * Add weight documentation
      
      * Update Cargo.lock
      
      * Update check_runtime.sh
      
      * Update publish_draft_release.sh
      
      * Update Cargo.lock
      
      Co-authored-by: default avatarthiolliere <[email protected]>
      2f44ce41
  12. Feb 10, 2020
    • Cecile Tonglet's avatar
      Fix invalid argument order (#832) · 1d21f773
      Cecile Tonglet authored
      Make sure that --dev purge-chain is rejected
      
      ```
      [0] [11:24:02] ~/r/polkadot master > ./target/debug/polkadot purge-chain --dev -y
      "/home/cecile/.local/share/polkadot/chains/dev/db" did not exist.
      [0] [11:25:36] ~/r/polkadot cecton-fix-invalid-argument-order > ./target/debug/polkadot --dev purge-chain -y
      error: Found argument 'purge-chain' which wasn't expected, or isn't valid in this context
      
      USAGE:
          polkadot --dev
      
      For more information try --help
      ```
      1d21f773
  13. Jan 31, 2020