- Apr 13, 2021
-
-
thiolliere authored
* impl is_inherent for pallets * fix * fix master merge: inherent is * update Substrate Co-authored-by: parity-processbot <>
-
- Apr 12, 2021
-
-
thiolliere authored
-
Joshy Orndorff authored
-
Ashley authored
* Remove BabeEpochConfigMigrations * Remove remaining migrations * Remove unused migration definitions
-
Shawn Tabrizi authored
-
- Apr 11, 2021
-
-
Gavin Wood authored
* Dedupe some code and companion for #8589 * Bump Substrate
-
- Apr 10, 2021
-
-
Gavin Wood authored
Also allows unpaid messages from them.
-
Shawn Tabrizi authored
* initial patch * fix tests * fix benchmarks * expose `SlotRange` consts * Update Cargo.lock * fix tests Co-authored-by: Robert Habermeier <[email protected]>
-
Kian Paimani authored
-
- Apr 09, 2021
-
-
asynchronous rob authored
* update rococo and remove cursed BEEFY migration * remove migration * tweak VERSION
-
Robert Klotzner authored
* Wip * Increase proposer timeout. * WIP. * Better timeout values now that we are going to be connected to all nodes. (#2778) * Better timeout values. * Fix typo. * Fix validator bandwidth. * Fix compilation. * Better and more consistent sizes. Most importantly code size is now 5 Meg, which is the limit we currently want to support in statement distribution. * Introduce statement fetching request. * WIP * Statement cache retrieval logic. * Review remarks by @rphmeier * Fixes. * Better requester logic. * WIP: Handle requester messages. * Missing dep. * Fix request launching logic. * Finish fetching logic. * Sending logic. * Redo code size calculations. Now that max code size is compressed size. * Update Cargo.lock (new dep) * Get request receiver to statement distribution. * Expose new functionality for responding to requests. * Cleanup. * Responder logic. * Fixes + Cleanup. * Cargo.lock * Whitespace. * Add lost copyright. * Launch responder task. * Typo. * info -> warn * Typo. * Fix. * Fix. * Update comment. * Doc fix. * Better large statement heuristics. * Fix tests. * Fix network bridge tests. * Add test for size estimate. * Very simple tests that checks we get LargeStatement. * Basic check, that fetching of large candidates is performed. * More tests. * Basic metrics for responder. * More metrics. * Use Encode::encoded_size(). * Some useful spans. * Get rid of redundant metrics. * Don't add peer on duplicate. * Properly check hash instead of relying on signatures alone. * Preserve ordering + better flood protection. * Get rid of redundant clone. * Don't shutdown responder on failed query. And add test for this. * Smaller fixes. * Quotes. * Better queue size calculation. * A bit saner response sizes. * Fixes.
-
Gavin Wood authored
* Introduce a collective into Rococo runtime * Intregrate Rococo Collective into XCM * Fixes * Update runtime/rococo/src/lib.rs Co-authored-by: Robert Habermeier <[email protected]>
-
Shawn Tabrizi authored
* initial stuff * adjust deposit * remove unused * weight stuff * Update integration_tests.rs * Update paras_registrar.rs * Update paras_registrar.rs * add test * Update paras_registrar.rs Co-authored-by: parity-processbot <>
-
Gavin Wood authored
* Introduce plurality XCM locations * Add RelayedFrom * DMP dispatch weight handling. * Add pallet for XCM sending, add routing logic. * Update error types & doc * Fix warnings. * Fixes * Fixes * Fixes * Bump Substrate * Fixes * Docs * Docs * Docs * Fixes * Fixes * Fixes * Update xcm/pallet-xcm/src/lib.rs Co-authored-by: Shawn Tabrizi <[email protected]> * Docs * Fixes * Update lib.rs * Fixes Co-authored-by: Shawn Tabrizi <[email protected]>
-
Shawn Tabrizi authored
* Reduce the value of DOLLARS by 50x * Update lib.rs
-
Shawn Tabrizi authored
* lock substrate version for testing * `ModuleId` to `PalletId` * release substrate version * Update Cargo.lock Co-authored-by: Xavier Lau <[email protected]>
-
- Apr 08, 2021
-
-
André Silva authored
Co-authored-by: Andronik Ordian <[email protected]>
-
asynchronous rob authored
-
- Apr 07, 2021
-
-
Gavin Wood authored
* Remove unused relaying XCM * Aggregate HRMP (XCMP/HMP) messages. Payloads for spambot. * Revert lock * Fix * Broken example * Introduce fee payment mechanics into XCM. * Weight limitations on XCM execution * Mock environment for tests and the first test * Tests for XCM and a few refactors. * Remove code that's not ready * Fix for an XCM and an additional test * Query response system * XCMP message dispatch system reimagining - Moved most of the logic into xcm-handler pallet - Altered the outgoing XCMP API from push to pull - Changed underlying outgoing queue data structures to avoid multi-page read/writes - Introduced queuing for incoming messages - Introduced signal messages as a flow-control sub-stream - Introduced flow-control with basic threshold back-pressure - Introduced overall weight limitation on messages executed - Additonal alterations to XCM APIs for the new system * Some build fixes * Remove the Encode bounds sprayed around * More faff * Fix bounds amek use latest scale codec. * remove println * fixes * Fix XcmExecutor Tests * Fix XCM bounds using derivative crate * Refactor names of XcmGeneric &c into Xcm * Repot the xcm-executor into xcm-builder * Docs * Docs * Fixes * Update xcm/src/lib.rs Co-authored-by: Shawn Tabrizi <[email protected]> * Fixes * Docs * Update runtime/parachains/src/ump.rs Co-authored-by: Shawn Tabrizi <[email protected]> * Docs * Fixes * Fixes * Fixes * Docs * Fixes * Fixes * Introduce transfer_asset specialisation. * Fixes * Fixes Co-authored-by: Shawn Tabrizi <[email protected]>
-
ordian authored
-
Shawn Tabrizi authored
-
Shawn Tabrizi authored
* Update hrmp.rs * add root functions
-
Shawn Tabrizi authored
* Relax Origin Checks in Registrar * fix tests * Update runtime/common/src/paras_registrar.rs * introduce para locks * apply a lock after upgrade * add test * add lock when creating crowdloan
-
asynchronous rob authored
* remove WASM_MAGIC * fix test warnings
-
- Apr 04, 2021
-
-
stanly-johnson authored
* feat: Add poke to Crowdloan * fixes * less hard-coded benchmark Co-authored-by: Shawn Tabrizi <[email protected]>
-
Shawn Tabrizi authored
* implement auto refund * add back retiring @jacogr * bump substrate dep * trying to get to work * fix tests * fix benchmarks * Update runtime/common/src/crowdloan.rs * fix docs * remove unused traits * remove unused * unused * Update runtime/common/src/crowdloan.rs Co-authored-by: Kian Paimani <[email protected]> * Update runtime/common/src/crowdloan.rs * Update crowdloan.rs * Update runtime/common/src/crowdloan.rs * Update runtime/common/src/crowdloan.rs Co-authored-by: Gavin Wood <[email protected]> Co-authored-by: Kian Paimani <[email protected]> Co-authored-by: Gavin Wood <[email protected]>
-
Shawn Tabrizi authored
* Macro for generating `SlotRange` * remove test code * refactor slots into crate * add no_std flag * finish macro * make compile * fix copyright date * don't assume lease periods per slot * Update runtime/common/Cargo.toml * Apply suggestions from code review Co-authored-by: Guillaume Thiolliere <[email protected]> * fixes * Update lib.rs * tests * Move consts into struct * docs * fix compile * Apply suggestions from code review Co-authored-by: Bastian Köcher <[email protected]> * Update Cargo.lock * Update runtime/common/src/slot_range.rs Co-authored-by: Bastian Köcher <[email protected]> * Apply suggestions from code review Co-authored-by: Bastian Köcher <[email protected]> * fixes Co-authored-by: Guillaume Thiolliere <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
- Apr 02, 2021
-
-
asynchronous rob authored
* add disputes members to `HostConfiguration` * revert bad rename
-
- Apr 01, 2021
-
-
thiolliere authored
* code stored in para + modify CandidateDescriptor. * WIP: digest + some more impl * validation_code_hash in payload + check in inclusion * check in client + refator * tests * fix encoding indices * remove old todos * fix test * fix test * add test * fetch validation code inside collation-generation from the relay-chain * HashMismatch -> PoVHashMismatch + miscompilation * refactor, store hash when needed * storage rename: more specific but slightly too verbose * do not hash on candidate validation, fetch hash instead * better test * fix test * guide updates * don't panic in runtime Co-authored-by: Robert Habermeier <[email protected]>
-
asynchronous rob authored
-
asynchronous rob authored
* dispute types * add Debug to dispute primitives in std and InherentData * use ParachainsInherentData on node-side * change inclusion_inherent to paras_inherent * RuntimeDebug * add type parameter to PersistedValidationData users * fix test client * spaces * fix collation-generation test * fix provisioner tests * remove references to inclusion inherent
-
Gavin Wood authored
* Make build with OnSetCode * Fixes * update Substrate Co-authored-by: parity-processbot <>
-
Tomasz Drwięga authored
* Switch branch. * Implement basic MMR leaf. * Revert "Switch branch." This reverts commit 7f4d41c67f27ca560c53fc63fd3bd06ac182403c. * Bump substrate. * Integrate BEEFY. Bump all. Fix missing imports. * Use beefy pallet to get authorities. * Bump BEEFY repo. * Use next authority set instead of the current one. * Start BEEFY service. * Fix BEEFY start up. * Cache BEEFY authority set. * Add BEEFY ValidatorSetId to MMR * Fix code. * Apply suggestions from code review Co-authored-by: André Silva <[email protected]> Co-authored-by: Hernando Castano <[email protected]> * Review grumbles. * Update beefy repo. * Work-around missing protocol. * Revert "Work-around missing protocol." This reverts commit 0a6257a8bccc1c67e966898cdedc408c6469ffd6. * Add beefy peers set config. * Expose storage of BEEFY. * Uncompress BEEFY keys for merkle tree. * Update ordering. * Switch to branch. * Bump deps. * Switch to custom beefy. * Add MMR RuntimeApi and custom rpc. * Add set length details. * Fix compilation. * Expose MmrLeaf storage. * Expose MmrLeaf storage. * Don't use session handler, and rather compute & cache beefy details on call. * Don't use session handler, and rather compute & cache beefy details on call. * Fixes. * Update Cargo.lock. * Switch back to master. * Update lockfile. * Fix xcm print issue. * Cargo.lock. * Use master branch. * Remove extra dep. * Fix tests. * Update Cargo.lock * Add BEEFY & MMR to westend. * Implement session keys migration. * Update testnet script. * start BEEFY for all node types * Update Cargo.lock * fix Cargo.toml * resolve another merge conflict * add Westend BEEFY keys * Apply suggestions from code review Co-authored-by: Hernando Castano <[email protected]> * Update BEEFY. * Add Rococo BEEFY keys * resolve merge issue * fix pallet indices * fix Westend OldSessionKey * remove unused imports in Westend runtime * Fix compilation for Westend. * address review * start BEEFY gadget conditionally * address review again * fix typo * remove duplicate * remove another duplicate * well * add missing stuff * cleanup Cargo.toml files - revert unnecessary changes - add missing /std dependencies - remove unused dependencies * runtime: remove unused structs from rococo runtime * node: cleanup service Co-authored-by: André Silva <[email protected]> Co-authored-by: Hernando Castano <[email protected]> Co-authored-by: adoerr <[email protected]> Co-authored-by: André Silva <[email protected]>
-
- Mar 31, 2021
-
-
Gavin Wood authored
Co-authored-by: Shawn Tabrizi <[email protected]>
-
Kian Paimani authored
* Add some tests to demonstrate an estimate of the nominator limit * Update runtime/kusama/src/lib.rs * Update runtime/polkadot/src/lib.rs Co-authored-by: Shawn Tabrizi <[email protected]> * Fix build * remove max Co-authored-by: Shawn Tabrizi <[email protected]>
-
- Mar 30, 2021
-
-
Shawn Tabrizi authored
* Add Root functions to Paras * note past code * fix build * fix test build * compile fix and force_queue_action
-
- Mar 29, 2021
-
-
Shawn Tabrizi authored
* Add many sanity checks to Crowdloans * fix tests * test contribution block in integration test * fix rococo build * remove leaser from crowdloans * fix docs and terms * fix compile
-
Shawn Tabrizi authored
* Update auctions.rs * Add integration test * check that bid to another para requires new funds
-
Robert Klotzner authored
* Remove stuff out of the runtime that does not belong there. There might be more, but it is a start. * White space fixes. * Fix tests. * Leave whitespace in ui tests alone. * Add back zstd for no reason. * Fix browser wasm (hopefully)
-
- Mar 28, 2021
-
-
Shawn Tabrizi authored
* Update auctions.rs * Update auctions.rs
-