1. 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
  2. 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
  3. Jan 31, 2020