- Jul 05, 2021
-
-
Bastian Köcher authored
-
- Jul 02, 2021
-
-
Bruno Škvorc authored
* Propose bumping StringLimit to 64 bytes The StringLimit of 50 bytes is too short for useful hashes of different protocols: - When using IPFS, the hash is 46 bytes. With a protocol prefix and type prefix (IPFS vs IPNS) it becomes: `ipfs://ipfs/QmPK1s3pNYLi9ERiq3BDxKa4XosgWwFRQUydHUtz4YgpqB` or 59 bytes. - On arweave, the hash is 43 bytes. Prefixed with just `arweave://` bumps it up to 53: `arweave://BNttzDav3jHVnNiV7nYbQv-GY0HQ-4XXsdkE5K9ylHQ`. - On Sia, with 46 char hashes, adding `sia://` as the protocol to use will bump it past 50: `sia://GACjmEWXmYF1N3Rc-PyjN304-8M0zOXHYzAXY9222xkGhA` (52) As such, we feel that 64 bytes is a reasonable minimum for the `StringLimit`. * Update lib.rs * Add different const for `UniquesStringLimit` Co-authored-by: Shawn Tabrizi <[email protected]>
-
- Jun 28, 2021
-
-
Sergey Pepyakin authored
* Update Substrate & Polkadot * Basti improvements Co-authored-by: Bastian Köcher <[email protected]>
-
Xiliang Chen authored
* add RelaychainBlockNumberProvider * add docs
-
Chevdor authored
chore: refactor for consistant naming of the crates and paths of the runtimes * tests: ignore folder created by the tests * chore: refactoring * Update polkadot-parachains/Cargo.toml Co-authored-by: Bastian Köcher <[email protected]>
-
- Jun 23, 2021
-
-
Joshy Orndorff authored
* Bring in code from moonbeam * move it to mock.rs * Actually build it
🤦
-
- Jun 22, 2021
-
-
zjb0807 authored
-
JesseAbram authored
* min collator check * change statemint/mine min candidates * Ci pass * Update pallets/collator-selection/src/lib.rs Co-authored-by: Shawn Tabrizi <[email protected]> * Update pallets/collator-selection/src/lib.rs Co-authored-by: Shawn Tabrizi <[email protected]> * Apply suggestions from code review * build fixes * add error messages to errors * added validator register check Co-authored-by: Shawn Tabrizi <[email protected]>
-
- Jun 20, 2021
-
-
Shawn Tabrizi authored
-
André Silva authored
* use max_block_proposal_slot_portion * remove patch now that Substrate PR is merged Co-authored-by: Robert Habermeier <[email protected]>
-
- Jun 19, 2021
-
-
Shawn Tabrizi authored
* fix max block weight * fix milli per block too
-
- Jun 18, 2021
-
-
cheme authored
-
- Jun 17, 2021
-
-
Bastian Köcher authored
-
Sergey Pepyakin authored
* WIP: Update Substrate * Update Substrate & Polkadot * fixes * more fixes * few missing origins * use spawn_essential_handle * bump polkadot dep * remove newlines * fix test Co-authored-by: Shawn Tabrizi <[email protected]>
-
- Jun 16, 2021
-
-
Shawn Tabrizi authored
* remove all assets and uniques from `NonTransfer` proxy * fix merge
-
Bastian Köcher authored
This is required to support patching Substrate, as otherwise there are two crates with the same name.
-
Bastian Köcher authored
* Adds support for checking the timestamp inherent while validating a block This adds support for checking the timestamp inherent while validating a block. This will use the relay chain slot number * relay chain slot duration to calculate a timestamp. This timestamp is used to check the timestamp in the timestamp inherent. * Update polkadot-parachains/rococo-runtime/src/lib.rs Co-authored-by: Shawn Tabrizi <[email protected]> * Update polkadot-parachains/statemine-runtime/src/lib.rs Co-authored-by: Shawn Tabrizi <[email protected]> * Update primitives/timestamp/src/lib.rs Co-authored-by: André Silva <[email protected]> * Fix warnings Co-authored-by: Shawn Tabrizi <[email protected]> Co-authored-by: André Silva <[email protected]>
-
- Jun 13, 2021
-
-
Bastian Köcher authored
-
- Jun 12, 2021
-
-
Bastian Köcher authored
* Start * More work * Add proc-macro for `validate_block` * Make everything compile * Add some test
-
- Jun 11, 2021
-
-
Bastian Köcher authored
-
- Jun 10, 2021
-
-
thiolliere authored
* update substrate/polkadot with construct_runtime changes * fix update * Fixes * More fixes * fix test, but might be wrong fix Co-authored-by: Bastian Köcher <[email protected]>
-
Chevdor authored
* feat(ci): update runtime build workflow - switch to a tag for the chevdor/srtool-actions - trigger to only tags & ignore folders not involved in the runtime - add weekly build schedule - add timestamp to the artifacts
-
- Jun 08, 2021
-
-
JesseAbram authored
* session weight * decouple session benchmarking and collator selection * removed mock * licensing * benchmarking script * set benchmarking into runtime * Update scripts/benchmarks.sh * real weights Co-authored-by: Shawn Tabrizi <[email protected]>
-
cheme authored
* compact, need to be made optional and look into/compress child trie roots/state. * proto with child trie support * Missing set_offchain_storage overload. * right name * Ignore offchain indexing in validation function. * patch trie-db * decompress from iter * use compressed proof * remove wasm blob from proof (no inject plugged yet) * change lock * update trie * change in toml * Revert "change in toml" This reverts commit e588583b79e1a64e2a54157b40968aa6b586fbbe. * use patch to branches * i * i:wq * switch branch * ii * ok, needed to patch the runtime by putting substrate patch in polkadot project. * test passing with this conf * actual lazy code fetch * patch issue * Code reorg * restore commented tests. * update deps. * remove polka patch * fixes * remove patch * revert cargo.lock * cargo update -p sp-trie polkadot-service * fix collator test (using parent state root). * Update pallets/parachain-system/src/validate_block/implementation.rs Co-authored-by: Bastian Köcher <[email protected]> * Remove encode_witness test function. * Update pallets/parachain-system/src/validate_block/implementation.rs * Fix compilation Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
- Jun 07, 2021
-
-
Bastian Köcher authored
This is basically a hack that prevents the inclusion of `:code` in the storage proof. A proper fix requires some changes to the trie crate to not include nodes that aren't read.
-
- Jun 04, 2021
-
-
Xiliang Chen authored
* update substrate * try again
-
e.g. magical unicorn authored
* add raw chainspecs * rename chain specs * add statemine to accepted --chain values * fix up westmint chainspec * fix up westmint chainspec * add token symbol and decimals to statemine chain spec Co-authored-by: Alexander Popiak <[email protected]>
-
- Jun 03, 2021
-
-
Bastian Köcher authored
-
Chevdor authored
Add github workflow to build the westmint and statemine runtimes with srtool and subwasm Co-authored-by: Alexander Popiak <[email protected]>
-
Bastian Köcher authored
It doesn't make sense to log them as a warning, especially when it could happen that a parachain id could be reused over the lifetime of a relay chain.
-
- Jun 02, 2021
-
-
Alexander Popiak authored
* set default para id to 1000 * add genesis value generation script * add statemine chain spec and genesis values * add westmint chain spec and genesis values * rename chain specs to _genesis to indicate that they are not usable for syncing the chain * adjust chain names to reduce confusion * add westmint chain spec * set chain id to shell * comment out statemine chain spec * fix build Co-authored-by: joepetrowski <[email protected]>
-
Bastian Köcher authored
-
Gavin Wood authored
-
Gavin Wood authored
* Add NFTs to Statemine * Update NFT deposits * add_benchmark * add feature flag * std feature too * add weights * add `transfer_ownership` to `NonTransfer` blacklist * fix merge * add `approve_transfer` to `NonTransfer` blacklist Co-authored-by: Shawn Tabrizi <[email protected]>
-
joe petrowski authored
-
- Jun 01, 2021
-
-
Gavin Wood authored
* Add Statemint * Versioning. * Fixes * Fixes * Fixes * Fixes * Fixes * Benchmarking * kick patch (paritytech/statemin#88) * Westmint Chain Spec (paritytech/statemint#90) * Tidy the common .toml * Update weights * add westmint sudo key comment * Port consensus stuff * fix typo * fix typo ... again * Recognise Westmint Co-authored-by: Alexander Popiak <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
- May 31, 2021
-
-
Bastian Köcher authored
-
- May 28, 2021
-
-
Bastian Köcher authored
-
- May 26, 2021
-
-
Bastian Köcher authored
* Start with a failing integration test & some refactorings * More work * Make it "work" * Add `NullConsensus` for the test * More refactorings * Move stuff over to its own crate * Refactorings * Integrate it into `service` and make the test working * Docs and some exit condition * Use the real import queue * Fix tests * Update client/pov-recovery/src/active_candidate_recovery.rs Co-authored-by: Bernhard Schuster <[email protected]> * Fetch slot duration from the relay chain * Docs * Fixes Co-authored-by: Bernhard Schuster <[email protected]>
-
- May 24, 2021
-
-
Shawn Tabrizi authored
-