- Jun 23, 2021
-
-
Squirrel authored
* Less slices Co-authored-by: Bastian Köcher <[email protected]>
-
Julien authored
-
thiolliere authored
-
Disconnect3d authored
Removes `BlockId`, `SignedBlock` and `CheckedExtrinsic` as they are unused within the runtime currently and the `BlockId` was defined twice. Co-authored-by: Shawn Tabrizi <[email protected]>
-
Shawn Tabrizi authored
* remove unused `AccountIndex` * Update lib.rs
-
akashi6824 authored
* Add PolkaFoundry, PolkaSmith SS58 address * chang decimals to 18 * fix format * fix format
-
André Silva authored
-
André Silva authored
-
- Jun 22, 2021
-
-
Zeke Mostov authored
* Refactor remote_externalities::rpc_api * try-runtime-cli: Adde `execute-block` subcommand * Trivial * Address some comments * Use required_if & remove header-at usage * Improve doc * Update comment * small tweaks * add overwrite-code to shared params * Update utils/frame/try-runtime/cli/src/lib.rs Co-authored-by: Peter Goodspeed-Niklaus <[email protected]> * make url a shared param * add helper for block_at (#9153) * add helper for block_at * remove redundant bound * doc for fn block_at * Update error message Co-authored-by: kianenigma <[email protected]> Co-authored-by: Peter Goodspeed-Niklaus <[email protected]>
-
Pierre Krieger authored
-
Robert Klotzner authored
* Add dummy Debug instance to AuthorityDiscoveryService. * Update client/authority-discovery/src/service.rs More idiomatic print Co-authored-by: Pierre Krieger <[email protected]> Co-authored-by: Pierre Krieger <[email protected]>
-
Tomasz Drwięga authored
* Fix allocator comment. * Add explanations where this comes from. * Clarify absolute values.
-
Arkadiy Paronyan authored
* State sync * Importing state fixes * Bugfixes * Sync with proof * Status reporting * Unsafe sync mode * Sync test * Cleanup * Apply suggestions from code review Co-authored-by: cheme <[email protected]> Co-authored-by: Pierre Krieger <[email protected]> * set_genesis_storage * Extract keys from range proof * Detect iter completion * Download and import bodies with fast sync * Replaced meta updates tuple with a struct * Fixed reverting finalized state * Reverted timeout * Typo * Doc * Doc * Fixed light client test * Fixed error handling * Tweaks * More UpdateMeta changes * Rename convert_transaction * Apply suggestions from code review Co-authored-by: Bastian Köcher <[email protected]> * Apply suggestions from code review Co-authored-by: Bastian Köcher <[email protected]> * Code review suggestions * Fixed count handling Co-authored-by: cheme <[email protected]> Co-authored-by: Pierre Krieger <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
- Jun 21, 2021
-
-
André Silva authored
* grandpa: don't use block_on in Environment::report_equivocation * grandpa: add issue number to todo
-
Peter Goodspeed-Niklaus authored
* fix some failing ui tests * Update frame/support/test/tests/pallet_ui/call_argument_invalid_bound_2.stderr * Update frame/support/test/tests/pallet_ui/call_argument_invalid_bound_2.stderr * fix ui test * fix ui test * TRYBUILD=overwrite cargo test --workspace -- ui Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: thiolliere <[email protected]>
-
Shawn Tabrizi authored
* Create run_benchmarks.sh * Update run_benchmarks.sh * new weights * Delete run_benchmarks.sh * wrong folder * remove grandpa weight * Update weights.rs
-
- Jun 20, 2021
-
-
André Silva authored
* make SelectChain async * make JustificationImport async
-
- Jun 19, 2021
-
-
André Silva authored
* aura, babe: proposal slot lenience must take into account proposal portion * slots: add support for max_block_proposal_slot_portion * fix compilation * slots: add tests * aura: fix comment Co-authored-by: Bastian Köcher <[email protected]> * slots: log the actual proposing duration after lenience is applied Co-authored-by: Bastian Köcher <[email protected]>
-
André Silva authored
* babe: add comments to block weight and expose block_weight function * babe: expose function for block weight key
-
- Jun 18, 2021
-
-
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
-
- Jun 17, 2021
-
-
Kian Paimani authored
* double the allocator limit * 32 MiB should be enough for everybody. * Update doc Co-authored-by: Sergei Shulepov <[email protected]>
-
Kian Paimani authored
* Make it possible to override maximum payload of RPC * Finish it. * remove todo. * Update client/cli/src/commands/run_cmd.rs * Apply suggestions from code review Co-authored-by: David <[email protected]> * Apply suggestions from code review Co-authored-by: David <[email protected]> * Incorporate suggestions * Thread rpc_max_payload from configuration to trace_block * Try obey line gitlab/check_line_width.sh * update state rpc tests * Improve readbility * Apply suggestions from code review * Apply suggestions from code review Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Zeke Mostov <[email protected]> Co-authored-by: David <[email protected]>
-
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.
-
- Jun 16, 2021
-
-
thiolliere authored
* avoid running some test 2 times when unneeded * Update frame/support/test/Cargo.toml
-
Shawn Tabrizi authored
-
Shaun Wang authored
* Migrate elections pallet to pallet attribute macro. * Metadata fix. * Update frame/elections/src/lib.rs Co-authored-by: Guillaume Thiolliere <[email protected]>
-
André Silva authored
* grandpa: cleanup sync bounds * grandpa: cleanup imports * remove cargo patch
-
thiolliere authored
* do not run pallet_ui test with conditional-compilation feature * fix
-
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: Kian 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: Zeke Mostov <[email protected]> * Update frame/staking/src/lib.rs Co-authored-by: Zeke Mostov <[email protected]> * Update frame/staking/src/tests.rs Co-authored-by: Zeke 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: kianenigma <[email protected]> Co-authored-by: Kian Paimani <[email protected]> Co-authored-by: Parity Bot <[email protected]> Co-authored-by: Zeke Mostov <[email protected]>
-
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: Guillaume 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: thiolliere <[email protected]> Co-authored-by: Denis P <[email protected]>
-
- Jun 15, 2021
-
-
Ethan Brierley authored
-
cheme authored
* remove prefixed content with limit. * test match * factor comment and factor ext limit removal. * fix benchmark Co-authored-by: Shawn Tabrizi <[email protected]>
-
Sergey Pepyakin authored
* Test restoring zeroed data * Change to u64
-
- Jun 14, 2021
-
-
Sergey Pepyakin authored
* Decommit instance memory after a runtime call on Linux * Update documentation for the test * Remove unfinished comment * Use saturating_sub. Also update the doc comment. * Precise RSS tracking in the test Instead of tracking RSS for the whole process we just look at the particular mapping that is associated with the linear memory of the runtime instance * Remove unused import * Fix unused imports * Fix the unused imports error for good * Rollback an accidental change to benches * Fix the test * Remove now unneeded code
-
thiolliere authored
-
thiolliere authored
-
thiolliere authored
* Implementation but weird initial era in tests * Emergency mode for elections. (#8918) * do some testing, some logging. * some testing apparatus * genesis election provider (#8970) * genesis election provider * fix historical stuff * Fix test * remove dbg * Apply suggestions from code review Co-authored-by: Zeke Mostov <[email protected]> Co-authored-by: Peter Goodspeed-Niklaus <[email protected]> * capitalize comment and name without conflict * fix log * Update frame/election-provider-multi-phase/src/lib.rs * Update frame/election-provider-multi-phase/src/lib.rs Co-authored-by: Peter Goodspeed-Niklaus <[email protected]> * apply suggestion on tests * remove testing modifications * Apply suggestions from code review Co-authored-by: Kian Paimani <[email protected]> Co-authored-by: Dmitry Kashitsyn <[email protected]> * apply suggestion * fix master merge Co-authored-by: kianenigma <[email protected]> Co-authored-by: Kian Paimani <[email protected]> Co-authored-by: Zeke Mostov <[email protected]> Co-authored-by: Peter Goodspeed-Niklaus <[email protected]> Co-authored-by: Dmitry Kashitsyn <[email protected]>
-
h4x3rotab authored
- Mention when the pallet definition parts are needed - Rename "module" to "pallet"
-
Qinxuan Chen authored
* migrate pallet-randomness-collective-flip to pallet attribute macro Signed-off-by: koushiro <[email protected]> * fix some nits Signed-off-by: koushiro <[email protected]> * remove some spacing things Signed-off-by: koushiro <[email protected]> * remove space Signed-off-by: koushiro <[email protected]> * use tabs Signed-off-by: koushiro <[email protected]>
-
Keith Yeung authored
* Implement parsing for #[pallet::storage_name] on storage items * Rename storage prefix when a #[pallet::storage_name] is supplied * Fix test_storage_info * Rename storage_name to storage_prefix * Check for duplicates when renaming storage prefixes * Allow only string literals for storage_prefix renames * Use proper spans for attribute errors * Check for valid identifiers when parsing storage prefix renames
-