1. Jun 16, 2021
    • 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
  2. Jun 15, 2021
  3. Jun 14, 2021
  4. Jun 13, 2021
  5. Jun 12, 2021
  6. Jun 11, 2021
  7. Jun 10, 2021
  8. Jun 09, 2021
    • Zeke Mostov's avatar
      [try-runtime-cli] Offchain worker support (#8966) · f0120d3b
      Zeke Mostov authored
      
      
      * make remote-ext work with ws and safe RPCs
      
      * Update docs.
      
      * Update utils/frame/remote-externalities/Cargo.toml
      
      Co-authored-by: default avatarNiklas Adolfsson <[email protected]>
      
      * Fix test
      
      * Update lock file
      
      * Update utils/frame/remote-externalities/src/lib.rs
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * Fix build again.
      
      * checkpoint, merging the paged rpc now
      
      * revert lifetime stuff
      
      * WIP: remote client init not working
      
      * Small cleanups
      
      * use jsonrpsee alpha.7
      
      * WIP
      
      * Executiing without errors
      
      * Reorg & cleanup
      
      * Trivial cleaning
      
      * Add txpool & keystore extension
      
      * Small cleaning
      
      * More :cleaning
      
      * Flags: page-size, override-code
      
      * WIP
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarKian Paimani <[email protected]>
      
      * Remove heap_pages
      
      * Dry code extraction from state
      
      * Formatting
      
      * More formatting
      
      * Add issue todo
      
      * Use jsonrpsee 0.2.0
      
      * Try trigger gitlab
      
      * Fix "block_import_works" test
      
      * fix native_big_block_import_fails_on_fallback test
      
      * fix commit should work
      
      * Rewrite UI tests
      
      * Revert "Rewrite UI tests"
      
      This reverts commit ada7f670f701c21fb399946a3f6918453f537bcb.
      
      * try again with UI
      
      * Use const for legacy heap pages val
      
      * Move parse module to its own file
      
      * Move rpc_api module to its own file
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarPeter Goodspeed-Niklaus <[email protected]>
      
      * trait names: Block, not B
      
      * Corect HEAP_PAGES_TEST_LEGACY export
      
      * Update utils/frame/remote-externalities/src/rpc_api.rs
      
      Co-authored-by: default avatarKian Paimani <[email protected]>
      
      * Revert test_ext heap_page insert; adjust storage root instead
      
      * Doc comments for try_runtime::cli::Command
      
      * TryRuntime stub
      
      * trailing comma
      
      * Remove unused dev dep in frame-executive
      
      * Improve parse::hash variable name & error index
      
      * Use Result for rpc_api fns
      
      * Richer err messagges
      
      * Remove HEAP_PAGE_TEST_LEGACY
      
      * Update bin/node/executor/tests/basic.rs
      
      Co-authored-by: default avatarkianenigma <[email protected]>
      Co-authored-by: default avatarKian Paimani <[email protected]>
      Co-authored-by: default avatarNiklas Adolfsson <[email protected]>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      Co-authored-by: default avatarPeter Goodspeed-Niklaus <[email protected]>
      f0120d3b
    • Joshy Orndorff's avatar
      remove explicit unit return type (#9053) · 5e0f922d
      Joshy Orndorff authored
      5e0f922d
    • Radu Popa's avatar
      READY Update simnet tests to v5 (#8946) · 43422ba4
      Radu Popa authored
      * Update simnet tests to v4
      
      * enable simnet tests for PRs
      
      * add stage to job "test-linux-stable-int"
      
      * v2.0.0simnet
      
      * alow build-for-simnet option
      
      * Fix passing of IMAGE_TAG to downstream
      
      * forgot to build-for-simnet
      
      * build-for-simnet
      
      * build-for-simnet
      
      * build-for-simnet
      
      * build-for-simnet
      
      * build-for-simnet
      
      * take a shortcut build-for-simnet
      
      * build-for-simnet
      
      * update triggering script to polkadot version
      
      * "revert me"
      
      * "revert me"  build-for-simnet
      
      * add simnet version as arg to script
      
      * revert me build-for-simnet
      
      * build-for-simnet
      
      * remove triggering simnet for PRs for now
      
      * Add suggestions from Vladimir
      
      * Add suggestions from Vladimir
      43422ba4
    • Squirrel's avatar
      Stop sending network_state to telemetry (#9026) · 00ae1fa6
      Squirrel authored
      (We send network information to prometheus)
      00ae1fa6