Skip to content
  1. Dec 02, 2021
    • Nazar Mokrynskyi's avatar
      Account for transaction priority when enforcing limits (#10388) · 798e01bf
      Nazar Mokrynskyi authored
      * Account for transaction priority when enforcing limits
      
      * Improve `enforce_limits` comment
      
      * Explanation comment on why comparison impl is not used for limit enforcement
      798e01bf
    • Kian Paimani's avatar
      Minimum commission for validators (#10347) · e9a7dc3c
      Kian Paimani authored
      
      
      * Minimum commission for validators
      
      * rename
      
      * Fix benchmakrs
      
      * cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_staking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/staking/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * Update frame/staking/src/pallet/mod.rs
      
      * cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_staking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/staking/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      Co-authored-by: default avatarParity Bot <[email protected]>
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      e9a7dc3c
  2. Dec 01, 2021
  3. Nov 30, 2021
    • Enoch Chejieh's avatar
      Add pallet names to Events (#10296) · d58aeb04
      Enoch Chejieh authored
      * chore: add pallet names to events
      
      * chore: add pallet names to events
      
      * chore: add pallet names to events
      
      * chore: add pallet names to events
      
      * chore: add pallet names to events
      
      * chore: add pallet names to events
      
      * chore: add pallet names to events
      
      * chore: add pallet names to events
      
      * chore: add pallet names to events
      
      * chore: add pallet names to events
      
      * chore: add pallet names to events
      
      * chore: add pallet names to events
      
      * chore: add pallet names to events
      
      * chore: add pallet names to events
      
      * chore: formatted pallet name changes in events
      
      * chore: formatted pallet name changes in events
      
      * chore: formatted pallet name changes in events
      
      * chore: formatted pallet name changes in events
      
      * chore: formatted pallet name changes in events
      
      * chore: formatted pallet name changes in events
      
      * chore: formatted pallet name changes in events
      
      * chore: formatted pallet name changes in events
      
      * chore: formatted pallet name changes in events
      
      * fix: add fix to tests for event variants
      
      * chore: modified comments for event variants
      
      * chore: modified comments for event variants
      
      * chore: modified comments for event variants
      
      * chore: modified comments for event variants
      
      * chore: modified system pallet event variants
      
      * chore: modified system pallet event variants
      
      * chore: modified system pallet event variants
      
      * chore: modified system pallet event variants
      
      * chore: modified system pallet event variants
      
      * chore: modified system pallet event variants
      
      * chore: modified system pallet event variants
      
      * chore: modified system pallet event variants
      
      * chore: modified system pallet event variants
      
      * chore: updated transaction-storage pallet event variants
      
      * chore: updated transaction-storage pallet event variants
      
      * chore: formatted contracts pallet
      
      * chore: update treasury event variants
      d58aeb04
    • zjb0807's avatar
      Add runtime-benchmarks for frame-benchmarking (#10324) · b5ed6468
      zjb0807 authored
      * update frame/benchmarking/src/baseline.rs
      
      * add runtime-benchmarks feature
      
      * add runtime-benchmarks for frame-benchmarking
      
      * update frame-benchmarking/runtime-benchmarks
      
      * trigger GitHub actions
      b5ed6468
    • Joshy Orndorff's avatar
      Add `vote` and `seconded` events to Democracy pallet. (#10352) · a01004e1
      Joshy Orndorff authored
      
      
      * add the events
      
      * spec_version
      
      * Update bin/node/runtime/src/lib.rs
      
      Co-authored-by: default avatarKian Paimani <[email protected]>
      
      Co-authored-by: default avatarAlan Sapede <[email protected]>
      Co-authored-by: default avatarKian Paimani <[email protected]>
      a01004e1
  4. Nov 29, 2021
  5. Nov 28, 2021
  6. Nov 26, 2021
  7. Nov 25, 2021
    • Andreas Doerr's avatar
      `BEEFY` add tests for rounds (#10328) · f12e22a6
      Andreas Doerr authored
      * new_rounds()
      
      * WIP
      
      * test add_vote()
      
      * test drop()
      
      * learn  to spell
      
      * go get some coffee
      
      * cargo fmt
      
      * lump everythings together again
      f12e22a6
    • Shawn Tabrizi's avatar
      REAL fix for `min-square` for `--steps=1 --repeats=1` (#10323) (#10369) · a33b7c2e
      Shawn Tabrizi authored
      * Revert "frame-benchmarking: Fix `min-square` for `--steps=1` (#10323)"
      
      This reverts commit 2d0e858b.
      
      * actual fix
      a33b7c2e
    • Roman's avatar
      Bump libp2p to 0.40.0 (#10035) · c5ae5190
      Roman authored
      * Bump libp2p to 0.40.0-rc.1
      
      * Fix PingFailure import
      
      * Reduce the number of compilation errors (this is a FIXME commit)
      
      * Bump libp2p to 0.40.0-rc.2
      
      * Fix sc-network::Behaviour to inject events into fields
      
      * Fix some NetworkBehaviourAction types
      
      * More fixes
      
      * More fixes
      
      * More fixes
      
      * Fix DiscoveryBehaviour
      
      * Fix PeerInfoBehaviour
      
      * Fix RequestResponsesBehaviour
      
      * Fix RequestResponsesBehaviour
      
      * Fix Notifications
      
      * Fix NetworkWorker
      
      * Fix Behaviour
      
      * Please borrowchk
      
      * Please borrowchk
      
      * Please borrowchk
      
      * Fix fmt
      
      * Cover all cases in matches
      
      * Fix some clippy warnings
      
      * Fix into_peer_id -> to_peer_id
      
      * Fix some warnings
      
      * Fix some inject_dial_failure FIXMEs
      
      * Fix DiscoveryBehaviour::inject_dial_failure
      
      * Fix RequestResponsesBehaviour::inject_dial_failure
      
      * Fix the order of inject_connection_closed PeerInfoBehaviour events
      
      * Make KademliaEvent with filtering unreachable
      
      * Fix Notifications::inject_dial_failure
      
      * Use concurrent_dial_errors in NetworkWorker
      
      * Remove commented-out RequestResponsesBehaviour::inject_addr_reach_failure
      
      * Fix tests
      
      * Dont report new PendingConnectionError and DialError variants to metrics
      
      * Bump libp2p to 0.40.0
      
      * Add fn inject_listen_failure and inject_address_change
      
      * Review fixes
      c5ae5190
    • Pierre Krieger's avatar
  8. Nov 24, 2021
  9. Nov 23, 2021
  10. Nov 22, 2021
  11. Nov 21, 2021
  12. Nov 20, 2021
  13. Nov 19, 2021
    • Bastian Köcher's avatar
      Taskmanager: Remove `clean_shutdown` (#10314) · 25239c86
      Bastian Köcher authored
      There is no reason for this function, tokio already blocks automatically until all tasks are ended.
      Another reason to remove this feature is `mpsc_background_tasks` unbounded channel. Recently this
      channel was reporting too many unprocessed elements. We assume that this was a result of a lot of
      very shot lived tasks that somehow flooded this channel.
      25239c86