- Feb 10, 2021
-
-
André Silva authored
* babe: set longevity for equivocation report transactions * grandpa: set longevity for equivocation report transaction * babe, grandpa: fix tests * node: add ReportLongevity to babe and grandpa modules * node: bump spec_version
-
Andrew Jones authored
* Initial migration of balances pallet * Fix some errors * Remove unused imports * Formatting and removing some todos * Delete Subtrait * Add genesis builder impls for tests * Fix GenesisConfig impl * Make set_balance visible to tests, rename RawEvent to Event * Fix tests with Event rename etc. * More test RawEvent renames * Even more RawEvent renames * Rename module to pallet in comments * Add PalletInfo impl to avid storage collision, fixes tests * Apply review suggestion: remove trailing a Co-authored-by: David <[email protected]> * BalancesEvent alias * Remove BalancesEvent alias * Review suggestion: remove redundant comment * Apply review suggestion: make vis super * Fis doc links * Add RawEvent alias * Add missing Instance parameter to deprecated RawEvent alias * Fix RawEvent deprecation warnings Co-authored-by: David <[email protected]>
-
Bastian Köcher authored
This switch to the new `diener patch` command to patch all Substrate crates in Polkadot. This should remove the requirement to manually merge Substrate master to make the companion build, as we now would use the already with master merged code from this build job local checkout.
-
Shaun Wang authored
* Fix pallet attribute macro guidelines. * Typo fixes.
-
thiolliere authored
-
Benjamin Kampmann authored
-
- Feb 09, 2021
-
-
nahuseyoum authored
* Update crypto.rs * Update ss58-registry.json * quote fields * Update ss58-registry.json * Update crypto.rs * Update ss58-registry.json * Update ss58-registry.json * Update ss58-registry.json * Update crypto.rs * Update ss58-registry.json
-
Sergey Pepyakin authored
That is useful for executors like wasmtime which produces compiled code and can actually benefit from caching under some circumstances
-
Andrew Jones authored
-
thiolliere authored
* replace last occurences * Update frame/support/src/traits.rs Co-authored-by: Kian Paimani <[email protected]> * Update frame/support/test/src/lib.rs Co-authored-by: Kian Paimani <[email protected]> * fix dispatch test * move PanicPalletInfo to tests module Co-authored-by: Kian Paimani <[email protected]>
-
frank authored
-
Kun authored
* Add Crust Address Format * Add Crust Address Format * Delete extra ss58 json info
-
Bastian Köcher authored
Switches to the latest version everywhere now, as I fixed the problems in the crate ;)
-
- Feb 08, 2021
-
-
Pierre Krieger authored
* Remove backwards-compatibility networking hack * Fix compilation * Try fix
-
dependabot[bot] authored
* Bump wasmtime from 0.19.0 to 0.22.0 Bumps [wasmtime](https://github.com/bytecodealliance/wasmtime) from 0.19.0 to 0.22.0. - [Release notes](https://github.com/bytecodealliance/wasmtime/releases) - [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/WASI-some-possible-changes.md) - [Commits](https://github.com/bytecodealliance/wasmtime/compare/v0.19.0...v0.22.0) Signed-off-by: dependabot[bot] <[email protected]> * Account for ImportType::name() being an Optional * Account for parameters being a impl Iterator now Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alexander Theißen <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
- Feb 06, 2021
-
-
thiolliere authored
* impl some more * add serde * remove unused * fix staking fuzz * fix system bench Co-authored-by: Shawn Tabrizi <[email protected]>
-
Gavin Wood authored
* Initial draft * Fixes * Fixes * Fixes * Fixes * Fixes * Improve readability, add format filter. * Link * Fixes * Update primitives/core/src/crypto.rs Co-authored-by: Bastian Köcher <[email protected]> * Suggestions from review Co-authored-by: Bastian Köcher <[email protected]>
-
- Feb 05, 2021
-
-
Alexander Theißen authored
* contracts: Remove ConfigCache * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_contracts --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/contracts/src/weights.rs --template=./.maintain/frame-weight-template.hbs * Fixup test Co-authored-by: Parity Benchmarking Bot <[email protected]>
-
Alejandro Martinez Andres authored
* CheckSpecVersion reference fix * Update frame/example/src/lib.rs Co-authored-by: Kian Paimani <[email protected]> Co-authored-by: Guillaume Thiolliere <[email protected]> Co-authored-by: Kian Paimani <[email protected]>
-
Ashley authored
* Fix some problems with prove_warp_sync * Update client/finality-grandpa/src/finality_proof.rs Co-authored-by: cheme <[email protected]> Co-authored-by: cheme <[email protected]>
-
- Feb 04, 2021
-
-
André Silva authored
* transaction-pool: drop unpropagable txs if local node cant author blocks * fix test compilation * transaction-pool: remove unnecessary static bound on CanAuthor Co-authored-by: Tomasz Drwięga <[email protected]> * rpc-api: add translation for PoolError::Unactionable * transaction-pool: add test for rejecting unactionable transactions * basic-authorship: fix doc test * transaction-pool: fix benchmark compilation * transaction-pool: rename CanAuthor to IsValidator * transaction-pool: nit in error message Co-authored-by: Tomasz Drwięga <[email protected]>
-
Benjamin Kampmann authored
Updates dependencies: parity-db 0.2.2 paste prometheus 0.11 cfg-if 1.0 strum 0.20 env_logger 0.8 pin-project prost nix platforms quickcheck 1.0
-
Andrew Jones authored
* Migrate bounties tests to use construct_runtime * Migrate contracts tests to use construct_runtime * Migrate democracy tests to use construct_runtime * review: rename TreasuryEvent -> TreasuryError
-
thiolliere authored
* migrate some more pallets * revert example-offcahin-worker as not straightforward * fix mmr
-
André Silva authored
* grandpa: check equivocation report staleness on `validate_unsigned` * babe: check equivocation report staleness on `validate_unsigned` * node: bump spec_version * babe, grandpa: remove duplicate call destructuring
-
David authored
* Prep: move things around to suggested order * Compiles, tests pass * cleanup * cleanup 2 * Fix dead doc-links * Add back documentation for storage items * Switch benchmarks to use `Event` rather than `RawEvent`. * Update frame/assets/src/lib.rs Co-authored-by: Guillaume Thiolliere <[email protected]> * reviwe feedback * Obey line length checks Co-authored-by: Guillaume Thiolliere <[email protected]>
-
Alexander Theißen authored
* contracts: Implement refcounting for wasm code * contracts: Charge rent for code storage * contracts: Fix dispatchables erroneously refunding base costs * Fixed typos in comments. Co-authored-by: Andrew Jones <[email protected]> * Remove awkward empty line * Fix more typos in docs * Fix typos in docs Co-authored-by: Andrew Jones <[email protected]> * Split up complicated expression Co-authored-by: Andrew Jones <[email protected]> * review: Remove unused return value * Fix typos Co-authored-by: Andrew Jones <[email protected]> * review: Fix refcount being reset to one on re-instrumentation * Document evictable_code parameter * Make Executable::execute consume and store itself * Added comments about stale values * Disregard struct size in occupied_storage() Co-authored-by: Andrew Jones <[email protected]>
-
- Feb 03, 2021
-
-
Bastian Köcher authored
* Convert AURA to new pallet macro * AURA: Switch to `CurrentSlot` instead of `LastTimestamp` This switches AURA to use `CurrentSlot` instead of `LastTimestamp`. * Add missing file * Update frame/aura/src/migrations.rs Co-authored-by: André Silva <[email protected]> * Remove the runtime side provide inherent code * Use correct weight * Add TODO * Remove the Inherent from AURA *
🤦 * Remove unused stuff Co-authored-by: André Silva <[email protected]> -
Alexander Theißen authored
-
Shaopeng Wang authored
-
Robert Klotzner authored
-
Pierre Krieger authored
Co-authored-by: parity-processbot <>
-
Arkadiy Paronyan authored
* IPFS server for transactions * Style * Indent * Log message * CLI option * Apply suggestions from code review Co-authored-by: Pierre Krieger <[email protected]> * Style * Style * Minor fixes Co-authored-by: Pierre Krieger <[email protected]>
-
- Feb 02, 2021
-
-
Robert Klotzner authored
* Add a `send_request` to `NetworkService`. This function delivers responses via a provided sender and also allows for sending requests to currently not connected peers. * Document caveats of send_request better. * Fix compilation in certain cases. * Update docs + introduce IfDisconnected enum for more readable function calls. * Doc fix. * Rename send_request to detached_request. * Whitespace fix - arrrgh * Update client/network/src/service.rs spaces/tabs Co-authored-by: Pierre Krieger <[email protected]> * Update client/network/src/request_responses.rs Documentation fix Co-authored-by: Roman Borschel <[email protected]> * Update client/network/src/service.rs Typo. Co-authored-by: Roman Borschel <[email protected]> * Update client/network/src/service.rs Better docs. Co-authored-by: Roman Borschel <[email protected]> * Update client/network/src/service.rs Typo. Co-authored-by: Roman Borschel <[email protected]> * Update client/network/src/service.rs Doc improvements. Co-authored-by: Roman Borschel <[email protected]> * Remove error in logs on dialing a peer. This is now valid behaviour. * Rename detached_request to start_request. As suggested by @romanb. * Fix merged master. * Fix too long lines. Co-authored-by: Pierre Krieger <[email protected]> Co-authored-by: Roman Borschel <[email protected]>
-
Joshy Orndorff authored
-
Liu-Cheng Xu authored
* Decouple the session validators from im-online * . * Add SessionInterface trait in im-online Add ValidatorId in im-online Trait Make im-online compile Make substrate binary compile * Fix merging issue * Make all compile * Fix tests * Avoid using frame dep in primitives via pallet-session-common * Merge ValidatorSet into SessionInterface trait Wrap a few too long lines Add some docs * Move pallet-sesion-common into pallet-session * Move SessionInterface to sp-session and impl it in session pallet Ref https://github.com/paritytech/substrate/pull/7127#discussion_r494892472 * Split put historical::FullValidatorIdentification trait * Fix line width * Fix staking mock * Fix session doc test * Simplify <T as ValidatorIdentification<AccountId>>::ValidatorId as ValidatorId<T> * Nits * Clean up. * Make it compile by commenting out report_offence_im_online bench * Tests * Nits * Move OneSessionHandler to sp-session * Fix tests * Add some docs * . * Fix typo * Rename to ValidatorSet::session_index() * Add some more docs * . * Remove extra empty line * Fix line width check . * Apply suggestions from code review * Cleaup Cargo.toml * Aura has migrated to Pallet now Co-authored-by: Tomasz Drwięga <[email protected]>
-
Pierre Krieger authored
-
Bastian Köcher authored
-
Pierre Krieger authored
* Disable Kademlia random walk when --reserved-nodes is passed * Update client/network/src/discovery.rs Co-authored-by: Roman Borschel <[email protected]> Co-authored-by: Roman Borschel <[email protected]>
-
Alexander Theißen authored
* contracts: Document seal_input * contracts: Improve `ReturnCode` docs. * contracts: Improve seal_restore_to docs * review: Improved wording
-