- Jun 28, 2021
-
-
Keith Yeung authored
* Support NMap in generate_storage_alias * Verify that 2-key NMap is identical to DoubleMap * Also compare key hashes and make sure they're identical * Fix and add tests for 1-tuple NMap generated by generate_storage_alias
-
- Jun 25, 2021
-
-
Alexander Theißen authored
* Remove pre-charging for code size * Remove pre charging when reading values of fixed size * Add new versions of API functions that leave out parameters * Update CHANGELOG.md * Apply suggestions from code review Co-authored-by: Alexander Popiak <[email protected]> * Add v1 for seal_set_rent_allowance * Remove unneeded trait bound Co-authored-by: Guillaume Thiolliere <[email protected]> Co-authored-by: Alexander Popiak <[email protected]> Co-authored-by: Guillaume Thiolliere <[email protected]>
-
Qinxuan Chen authored
* Migrate pallet-transaciont-payment to new pallet attribute macro Signed-off-by: koushiro <[email protected]> * remove generic from genesis config * fix test * fix tests * fix deprecated * fix tests Signed-off-by: koushiro <[email protected]> Co-authored-by: thiolliere <[email protected]> Co-authored-by: Keith Yeung <[email protected]>
-
- Jun 24, 2021
-
-
Squirrel authored
-
Bastian Köcher authored
* Remove RandomNumberGenerator This is not used in Substrate/Polkadot. If someone else needs it, they can copy the code or use chacha. *
🤦 -
kotlarmilos authored
* Add OriginTrail Parachain to SS58 Registry * Update ss58-registry.json Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
Squirrel authored
* Use MAX associated const
-
Squirrel authored
* Fix to support u32::MAX * Update primitives/runtime/src/random_number_generator.rs Co-authored-by: Andronik Ordian <[email protected]> Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Andronik Ordian <[email protected]>
-
- Jun 23, 2021
-
-
Tomasz Drwięga authored
* Add transaction pool docs. * Extra docs. * Apply suggestions from code review Co-authored-by: Pierre Krieger <[email protected]> * Expand on some review comments. * Update README.md Fixed typos / spellings Co-authored-by: Pierre Krieger <[email protected]> Co-authored-by: Squirrel <[email protected]>
-
Pierre Krieger authored
* Fix alert about delay between best and finalized block * Revert debugging changes
-
Squirrel authored
* Clearer API to code against.
-
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]>
-