Skip to content
  1. Jul 06, 2021
  2. Jul 05, 2021
  3. Jul 02, 2021
    • Bruno Škvorc's avatar
      Propose bumping StringLimit to 128 bytes (#516) · ee835beb
      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: default avatarShawn Tabrizi <[email protected]>
      ee835beb
  4. Jun 28, 2021
  5. Jun 23, 2021
  6. Jun 22, 2021
  7. Jun 20, 2021
  8. Jun 19, 2021
  9. Jun 18, 2021
  10. Jun 17, 2021
  11. Jun 16, 2021
  12. Jun 13, 2021
  13. Jun 12, 2021
  14. Jun 11, 2021
  15. Jun 10, 2021
  16. Jun 08, 2021
    • JesseAbram's avatar
      Add session weight (#477) · 37e474a9
      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: default avatarShawn Tabrizi <[email protected]>
      37e474a9
    • cheme's avatar
      Compact proof. (#295) · e8b4b364
      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: default avatarBastian Köcher <[email protected]>
      
      * Remove encode_witness test function.
      
      * Update pallets/parachain-system/src/validate_block/implementation.rs
      
      * Fix compilation
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      e8b4b364
  17. Jun 07, 2021
  18. Jun 04, 2021
  19. Jun 03, 2021
  20. Jun 02, 2021
  21. Jun 01, 2021
    • Gavin Wood's avatar
      Add Statemint (#452) · eaa9f646
      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: default avatarAlexander Popiak <[email protected]>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      eaa9f646
  22. May 31, 2021
  23. May 28, 2021
  24. May 26, 2021
    • Bastian Köcher's avatar
      Pov recovery for parachains (#445) · 07b3c44b
      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: default avatarBernhard Schuster <[email protected]>
      
      * Fetch slot duration from the relay chain
      
      * Docs
      
      * Fixes
      
      Co-authored-by: default avatarBernhard Schuster <[email protected]>
      07b3c44b