Skip to content
  1. Jun 17, 2021
    • Bastian Köcher's avatar
      Aura: Skip initialize block & remove cache (#9132) · 1278b9a6
      Bastian Köcher authored
      This instructs the Aura runtime api to skip initialize block, when
      requesting the authorities. This is important, as we don't want to use
      the new authorities that should be used from the next block on.
      Besides that, it removes the caching stuff. The cache is not available
      on full nodes anyway. In the future we should store the authorities
      probably in the aux store.
      1278b9a6
  2. 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
  3. Jun 15, 2021
  4. Jun 14, 2021
  5. Jun 13, 2021
  6. Jun 12, 2021
  7. Jun 11, 2021
  8. Jun 10, 2021
  9. 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