Skip to content
  1. Jul 04, 2020
    • Shawn Tabrizi's avatar
      Fix compile · 40e4f544
      Shawn Tabrizi authored
      40e4f544
    • Shawn Tabrizi's avatar
      0f0e5373
    • André Silva's avatar
      babe: report equivocations (#6362) · 18334ee1
      André Silva authored
      * slots: create primitives crate for consensus slots
      
      * offences: add method to check if an offence is unknown
      
      * babe: initial equivocation reporting implementation
      
      * babe: organize imports
      
      * babe: working equivocation reporting
      
      * babe: add slot number to equivocation proof
      
      * session: move duplicate traits to session primitives
      
      * babe: move equivocation stuff to its own file
      
      * offences: fix test
      
      * session: don't have primitives depend on frame_support
      
      * babe: use opaque type for key owner proof
      
      * babe: cleanup client equivocation reporting
      
      * babe: cleanup equivocation code in pallet
      
      * babe: allow sending signed equivocation reports
      
      * node: fix compilation
      
      * fix test compilation
      
      * babe: return bool on check_equivocation_proof
      
      * babe: add test for equivocation reporting
      
      * babe: add more tests
      
      * babe: add test for validate unsigned
      
      * babe: take slot number in generate_key_ownership_proof API
      
      * babe: add benchmark for equivocation proof checking
      
      * session: add benchmark for membership proof checking
      
      * offences: fix babe benchmark
      
      * babe: add weights based on benchmark results
      
      * babe: adjust weights after benchmarking on reference hardware
      
      * babe: reorder checks in check_and_report_equivocation
      18334ee1
    • Wei Tang's avatar
      pallet-evm: return Ok(()) when EVM execution fails (#6493) · e42d046d
      Wei Tang authored
      
      
      * pallet-evm: return Ok(()) when EVM execution fails
      
      * Bump spec version
      
      * Init test module
      
      * Add fail_call_return_ok test
      
      * Fix tests and use full match pattern
      
      Co-authored-by: default avatarGav Wood <[email protected]>
      e42d046d
  2. Jul 03, 2020
  3. Jul 02, 2020
  4. Jul 01, 2020
  5. Jun 30, 2020
    • André Silva's avatar
      grandpa: minor cleanups in communication module (#6371) · 996a86ca
      André Silva authored
      * grandpa: replace Result<(), ()> with Option<()>
      
      * grandpa: replace &Option<T> with Option<&T>
      
      * grandpa: cleanup local id and keystore usages
      
      * grandpa: return bool on check_message_signature
      
      * grandpa: fix erroneous log message on startup
      
      * grandpa: fix test
      996a86ca
    • Bastian Köcher's avatar
      Support synching of blocks that are not `new_best` (#6508) · e8f90186
      Bastian Köcher authored
      * Start
      
      * Remove debug println
      
      * Add tests
      e8f90186
    • Bastian Köcher's avatar
      329d5387
    • Nikolay Volf's avatar
      Block production integration benchmark (#6468) · 1b34df8b
      Nikolay Volf authored
      * proposer benchmark
      
      * update cargo.lock
      1b34df8b
    • Ashley's avatar
      Remove the service, replacing it with a struct of individual chain components (#6352) · ec2ab797
      Ashley authored
      * WIP
      
      * Making progress
      
      * Almost ready
      
      * Get service tests compiling
      
      * Fix node screenshot
      
      * Line widths
      
      * Fix node cli tests
      
      * Fix node cli warning
      
      * ChainComponents -> ServiceComponents, fix tests
      
      * make spawn_handle public
      
      * Remove spawnnamed impl for taskmanager
      
      * Move the keep alive stuff to the task manager
      
      * Move the telemetry, base path, rpc keep_alive to the service builder
      
      * Make the task manager keep alive an internal detail
      
      * Rewrite the browser start_client future
      
      * Remove run_node etc
      
      * Revert my personal changes to browser-demo/build.sh
      
      * use |config|
      
      * Add a runtime_version function to SubstrateCli
      
      * Reexport role and runtime version from sc cli
      
      * Update Cargo.lock
      
      * runtime_version -> native_runtime_version
      
      * Pass chain spec to native_runtime_version for polkadot
      
      * Fix line widths
      
      * Traitify ServiceComponents Client
      ec2ab797
    • Bastian Köcher's avatar
      Fix tx-pool returning the same transaction multiple times (#6535) · 4eaea348
      Bastian Köcher authored
      
      
      * Fix tx-pool returning the same transaction multiple times
      
      This fixes a bug that lead to returning the same transaction multiple
      times when iterating the `ready` iterator. Internally the transaction
      was kept in the `best` list and could be duplicated in that list be
      re-inserting it again. This `best` list is using a `TransactionRef`
      which internally uses a `insertion_id`. This `insertion_id` could lead
      to the same transaction being inserted multiple times into the `best`
      list.
      
      * Update client/transaction-pool/src/testing/pool.rs
      
      Co-authored-by: default avatarNikolay Volf <[email protected]>
      
      Co-authored-by: default avatarNikolay Volf <[email protected]>
      4eaea348