Skip to content
  1. Jun 19, 2021
  2. Jun 18, 2021
    • André Silva's avatar
      grandpa: restrict grandpa gossip (#9131) · 90d47870
      André Silva authored
      * grandpa: make gossip more conservative (and fair)
      
      * grandpa: make round commit timer dependent on gossip_duration
      
      * grandpa: add gossip tests
      
      * grandpa: reduce variance in tests
      90d47870
  3. Jun 17, 2021
  4. Jun 16, 2021
    • thiolliere's avatar
      Avoid running some test 2 times when unneeded (#9124) · 205ab6de
      thiolliere authored
      * avoid running some test 2 times when unneeded
      
      * Update frame/support/test/Cargo.toml
      205ab6de
    • Shawn Tabrizi's avatar
      9b87134b
    • Shaun Wang's avatar
      Migrate pallet-elections to pallet attribute macro (#9088) · b21c4952
      Shaun Wang authored
      
      
      * Migrate elections pallet to pallet attribute macro.
      
      * Metadata fix.
      
      * Update frame/elections/src/lib.rs
      
      Co-authored-by: default avatarGuillaume Thiolliere <[email protected]>
      b21c4952
    • André Silva's avatar
      grandpa: cleanup sync bounds (#9127) · ae5cd339
      André Silva authored
      * grandpa: cleanup sync bounds
      
      * grandpa: cleanup imports
      
      * remove cargo patch
      ae5cd339
    • thiolliere's avatar
      Do not run pallet_ui test with conditional-storage feature (#9122) · 5fa96f2e
      thiolliere authored
      * do not run pallet_ui test with conditional-compilation feature
      
      * fix
      5fa96f2e
    • Shawn Tabrizi's avatar
      Add Control to Growth of the Staking Pallet (#8920) · 36ac9111
      Shawn Tabrizi authored
      
      
      * start count
      
      * track count
      
      * add max limit
      
      * min bonds for participating
      
      * respect min bond when unbonding
      
      * revert a bit of u32
      
      * fix merge
      
      * more merge fixes
      
      * update to `Current*`
      
      * add helper functions
      
      * Update frame/staking/src/lib.rs
      
      Co-authored-by: default avatarKian Paimani <[email protected]>
      
      * fix
      
      * minbond as storage
      
      * checkpoint
      
      * chill_other
      
      * better bond tracking
      
      * MinBond to MinNominatorBond
      
      * better doc
      
      * use helper function
      
      * oops
      
      * simple hard limits to validators / nominators.
      
      * better doc
      
      * update storage version
      
      * fix tests
      
      * enable migrations
      
      * min bond tests
      
      * chill other tests
      
      * tests for max cap
      
      * check `None` on cap too
      
      * benchmarks
      
      * Update frame/staking/src/lib.rs
      
      * Update frame/staking/src/lib.rs
      
      Co-authored-by: default avatarZeke Mostov <[email protected]>
      
      * Update frame/staking/src/lib.rs
      
      Co-authored-by: default avatarZeke Mostov <[email protected]>
      
      * Update frame/staking/src/tests.rs
      
      Co-authored-by: default avatarZeke Mostov <[email protected]>
      
      * fix benchmark
      
      * cargo run --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
      
      * nits
      
      * fix reap_stash benchmark
      
      * remove lower bound to min bond
      
      Co-authored-by: default avatarkianenigma <[email protected]>
      Co-authored-by: default avatarKian Paimani <[email protected]>
      Co-authored-by: default avatarParity Bot <[email protected]>
      Co-authored-by: default avatarZeke Mostov <[email protected]>
      36ac9111
    • Keith Yeung's avatar
      Emit error when construct_runtime imports a non-existent pallet part (#8949) · 58e837fc
      Keith Yeung authored
      
      
      * Emit error when construct_runtime imports a non-existent Call part
      
      * Reword and display pallet name when emitting part not found error
      
      * Migrate decl_outer_dispatch to a proc macro
      
      * Rename calls.rs to call.rs
      
      * Create new construct_runtime_v2 macro
      
      * Add UI test for importing non-existent call part in construct_runtime
      
      * Emit error when construct_runtime imports a non-existent Config part
      
      * Emit error when construct_runtime imports a non-existent Event part
      
      * Migrate decl_outer_inherent to a proc macro
      
      * Emit error when construct_runtime imports a non-existent Inherent part
      
      * Migrate decl_outer_validate_unsigned to a proc macro
      
      * Emit error when construct_runtime imports a non-existent ValidateUnsigned part
      
      * impl for old macro
      
      * fix line width
      
      * add doc
      
      * hide macroes and use unique counter everywhere
      
      * Remove construct_runtime_v2
      
      * Encapsulate pallet part check macros in a module
      
      * Fix macro definitions in dummy part checker
      
      * Tag ProvideInherent impl with #[pallet::inherent] properly for authorship pallet
      
      * Remove Call part from pallets that do not define it
      
      * Add Call part unit tests
      
      * Remove undefined Call part import from offences pallet
      
      * Add tests for expand_outer_inherent
      
      * Remove Call part from pallets that do not define them
      
      * Remove Call part imports from pallets that do not have it defined
      
      * Remove Call part import of the offences pallet from grandpa pallet mocks
      
      * Update frame/support/test/tests/pallet.rs
      
      Co-authored-by: default avatarGuillaume Thiolliere <[email protected]>
      
      * Remove Call part imports for pallets that do not define them
      
      * Move inherent tests to inherent_expand
      
      * Add unit tests for expand_outer_validate_unsigned
      
      * Add newline at the end of file
      
      * fix ui test
      
      * Small prayer to RNGsus for fixing CI
      
      * Remove Call part from construct_runtime for randomness collective flip pallet
      
      * Remove Call part import for randomness collective flip pallet
      
      * Summon Laplace's demon instead of praying to RNGsus
      
      * Update test expectations
      
      * fix ui test and make sure it's flaky
      
      * Revert "fix ui test and make sure it's flaky"
      
      This reverts commit 362b6881389c911ef8d9ef85d71c9463f5694b20.
      
      * Comment out test instead of putting it in conditional compilation
      
      * Update UI test expectations
      
      * Update UI test expectations
      
      * Emit error when construct_runtime imports a non-existent Origin part
      
      Co-authored-by: default avatarthiolliere <[email protected]>
      Co-authored-by: default avatarDenis P <[email protected]>
      58e837fc
  5. Jun 15, 2021
  6. Jun 14, 2021
  7. Jun 13, 2021
  8. Jun 12, 2021
  9. Jun 11, 2021
    • Bastian Köcher's avatar
      Transaction pool: Remove futures-diagnose and thread pool (#9074) · 68833498
      Bastian Köcher authored
      * Transaction pool: Remove futures-diagnose and thread pool
      
      This pr removes `futures-diagnose` as this isn't used anymore. Besides
      that the pr also removes the thread pool that was used to validate the
      transactions in the background. Instead of this thread pool we now spawn
      two separate long running tasks that we use to validate the
      transactions. All tasks of the transaction pool are now also spawned as
      essential tasks. This means, if any of these tasks is stopping, the node
      will stop as well.
      
      * Update client/transaction-pool/src/api.rs
      68833498
    • Shawn Tabrizi's avatar
      Implement `transfer_all` in Balances Pallet (#9018) · ed448ef2
      Shawn Tabrizi authored
      
      
      * transfer_all
      
      * benchmark
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_balances --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/balances/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * update
      
      * add note
      
      * typo
      
      Co-authored-by: default avatarParity Bot <[email protected]>
      Co-authored-by: default avatarAlexander Popiak <[email protected]>
      ed448ef2
    • Bastian Köcher's avatar
      Try fix ui tests (#9082) · 11037ac3
      Bastian Köcher authored
      * Try fix ui tests
      
      * More
      11037ac3