1. Dec 01, 2019
  2. Nov 30, 2019
  3. Nov 29, 2019
  4. Nov 28, 2019
    • Gavin Wood's avatar
      d9fca7e3
    • Arkadiy Paronyan's avatar
      Check block CLI command (#4240) · 4031142b
      Arkadiy Paronyan authored
      * Check block operation
      
      * Update client/cli/src/lib.rs
      
      * Update client/cli/src/params.rs
      4031142b
    • Tomasz Drwięga's avatar
      Handle Grafana server bind errors gracefuly. (#4241) · 7492d0bd
      Tomasz Drwięga authored
      
      
      * Fix error handling for grafana sever start.
      
      * Update client/grafana-data-source/src/server.rs
      
      Co-Authored-By: default avatarPierre Krieger <[email protected]>
      7492d0bd
    • thiolliere's avatar
      improve doc (#4239) · 99dff40e
      thiolliere authored
      99dff40e
    • Weiliang Li's avatar
      Parameter trait for Time::Moment (#4237) · 25b99d47
      Weiliang Li authored
      
      
      * Debug for Time::Moment
      
      Without this we cannot have a Moment parameter in dispatchable functions
      
      * Update frame/support/src/traits.rs
      
      Co-Authored-By: default avatarBastian Köcher <[email protected]>
      
      * Update traits.rs
      25b99d47
    • Qinxuan Chen's avatar
      Prune some duplicate dependencies (#4219) · 1d746bfa
      Qinxuan Chen authored
      
      
      * Prune some duplicate dependencies
      
      * Remove ed25519-dalek 0.9.1
      * Remove hex 0.3.2
      * Remove parity-wasm 0.40.3
      * Remove pwasm-utils 0.11.0
      * Remove wasmi-validation 0.2.0
      * Remove quickcheck 0.8.5
      * Remove tempdir (Replace tempdir with tempfile)
      
      Signed-off-by: default avatarkoushiro <[email protected]>
      
      * Remove useless tempdir_with_prefix
      
      Signed-off-by: default avatarkoushiro <[email protected]>
      
      * Remove derive_more 0.15
      
      Signed-off-by: default avatarkoushiro <[email protected]>
      1d746bfa
    • Svyatoslav Nikolsky's avatar
      Recover transaction pool on light client (#3833) · 2ffaf054
      Svyatoslav Nikolsky authored
      
      
      * recover tx pool on light client
      
      * revert local tests fix
      
      * removed import renamings
      
      * futures03::Future -> std::future::Future
      
      * Update core/transaction-pool/graph/src/error.rs
      
      Co-Authored-By: default avatarTomasz Drwięga <[email protected]>
      
      * replace remove_from_ready with remove_invalid
      
      * avoid excess hashing
      
      * debug -> warn
      
      * TransactionPool + BasicTransactionPool
      
      * pause future tx reject when resubmitting
      
      * bump impl_version to make CI happy
      
      * and revert back local test fixes
      
      * alter doc to restart CI
      
      * Transaction::clone() -> Transaction::duplicate()
      
      * transactions -> updated_tranasctions
      
      * remove explicit consensus-common ref
      
      * ::std:: -> std::
      
      * manual set/unset flag -> calling clusore with given flag value
      
      * removed comments
      
      * removed force argument
      
      * BestIterator -> Box<Iterator>
      
      * separate crate for TxPool + Maintainer trait
      
      * long line fix
      
      * pos-merge fix
      
      * fix benches compilation
      
      * Rename txpoolapi to txpool_api
      
      * Clean up.
      
      * Finalize merge.
      
      * post-merge fix
      
      * Move transaction pool api to primitives directly.
      
      * Consistent naming for txpool-runtime-api
      
      * Warn about missing docs.
      
      * Move  abstraction for offchain calls to tx-pool-api.
      
      * Merge RPC instantiation.
      
      * Update cargo.lock
      
      * Post merge fixes.
      
      * Avoid depending on client.
      
      * Fix build
      2ffaf054
    • Bastian Köcher's avatar
      The storage runtime interface should not enforce a hash type (#4231) · b9e7f09a
      Bastian Köcher authored
      
      
      * The storage runtime interface should not enforce a hash type
      
      Currently the runtime interface enforces `H256` as hash type, but in the
      future people could use whatever they want as hash type. The hash type
      always needs to match between the runtime and the node, but that is
      already required.
      
      * Update primitives/externalities/src/lib.rs
      
      Co-Authored-By: default avatarthiolliere <[email protected]>
      b9e7f09a
  5. Nov 27, 2019
    • Bryant Eisenbach's avatar
      Use raw public key instead of compressed (#4234) · 657736e0
      Bryant Eisenbach authored
      * refactor: Use raw public key instead of compressed
      
      * Fix whitespace
      657736e0
    • asynchronous rob's avatar
      back-off block proposal (#4235) · 47231564
      asynchronous rob authored
      47231564
    • asynchronous rob's avatar
      safe multi-era slashing for NPoS (#3846) · b853a4f9
      asynchronous rob authored
      
      
      * define slashing spans
      
      * tests and pruning for slashing-spans record
      
      * validators get slashed before nominators
      
      * apply slash to nominators as well
      
      * chill and end slashing spans
      
      * actually perform slashes
      
      * integration (tests failing)
      
      * prune metadata
      
      * fix compilation
      
      * some tests for slashing and metadata garbage collection
      
      * correctly pass session index to slash handler
      
      * test span-max property for nominators and validators
      
      * test that slashes are summed correctly
      
      * reward value computation
      
      * implement rewarding
      
      * add comment about rewards
      
      * do not adjust slash fraction in offences module
      
      * fix offences tests
      
      * remove unused new_offenders field
      
      * update runtime version
      
      * fix up some docs
      
      * fix some CI failures
      
      * remove no-std incompatible vec! invocation
      
      * try to fix span-max rounding error
      
      * Update srml/staking/src/slashing.rs
      
      Fix type: winow -> window
      
      Co-Authored-By: default avatarTomasz Drwięga <[email protected]>
      
      * slashes from prior spans don't kick validator again
      
      * more information for nominators, suppression
      
      * ensure ledger is consistent with itself post-slash
      
      * implement slash out of unlocking funds also
      
      * slashing: create records to be applied after-the-fact
      
      * queue slashes for a few eras later
      
      * method for canceling deferred slashes
      
      * attempt to fix test in CI
      
      * storage migration for `Nominators`
      
      * update node-runtime to use SlashDeferDuration
      
      * adjust migration entry-points somewhat
      
      * fix migration compilation
      
      * add manual Vec import to migration
      
      * enable migrations feature in node-runtime
      
      * bump runtime version
      
      * update to latest master crate renames
      
      * update to use ensure-origin
      
      * Apply suggestions from code review
      
      use `ensure!`
      
      Co-Authored-By: default avatarGavin Wood <[email protected]>
      
      * fix multi-slash removal
      
      * initialize storage version to current in genesis
      
      * add test for version initialization
      b853a4f9
    • Gavin Wood's avatar
      Validators don't get slashed for offlineness until 10% at once (#4232) · 994a173a
      Gavin Wood authored
      
      
      * Validators don't get slashed for offlineness until 10% at once
      
      * Update frame/im-online/src/tests.rs
      
      Co-Authored-By: default avatarMarcio Diaz <[email protected]>
      
      * Update frame/im-online/src/tests.rs
      
      Co-Authored-By: default avatarMarcio Diaz <[email protected]>
      
      * Apply suggestions from code review
      
      Co-Authored-By: default avatarjoe petrowski <[email protected]>
      994a173a
    • Tomasz Drwięga's avatar
      Hard-cap the execution time of custom contract calls. (#4226) · a3fb0fda
      Tomasz Drwięga authored
      * Reject call requests that allocate too high gas limit.
      
      * Lower to 5x
      a3fb0fda
    • cheme's avatar
      This reverts commit 77e681fb. (#4230) · c22a53bf
      cheme authored
      It brings back trie-db 0.16.
      c22a53bf
    • thiolliere's avatar
      Implement all storage after prefix (#4227) · a512dcdd
      thiolliere authored
      * Implement all storage after prefix
      
      * fix test, bump version and fix doc
      
      * bump metadata version
      
      * Update frame/support/procedural/src/storage/storage_struct.rs
      a512dcdd
    • Weiliang Li's avatar
      Add sha2-256 hash function (#4218) · cc14055a
      Weiliang Li authored
      * Add sha2-256 hash function
      
      Widely used hash function, supported by bitcoin and ethereum
      
      * Add runtime io support
      
      * add test
      
      * add test
      
      * Update hashing.rs
      
      * Update hashing.rs
      cc14055a
    • Wei Tang's avatar
      Make block proposing remaining duration configurable (#4215) · ed61aa64
      Wei Tang authored
      * Make proposing remaining duration configurable
      
      * Pass chain_head to proposing_remaining_duration and change default
      ed61aa64
    • Weiliang Li's avatar
      47b158b7
  6. Nov 26, 2019