Skip to content
  1. Jun 08, 2021
  2. Jun 03, 2021
  3. May 27, 2021
  4. May 25, 2021
    • Bastian Köcher's avatar
      Introduce polkadot code substitute (#3093) · 332cfad8
      Bastian Köcher authored
      
      
      * Introduce polkadot code substitute
      
      This introduces a code substitute for the on-chain wasm of Polkadot from
      block
      `0x86aa36a140dfc449c30dbce16ce0fea33d5c3786766baa764e33f336841b9e29`
      on wards. The underlying problem was that there exists some
      miscompilation by the rust compiler in the wasm runtime that results in
      state mismatches between the native/wasm runtime of the
      the 0.8.30 release. This resulted in blocks being authored by the native
      runtime not being importable by nodes using the wasm runtime. The
      on-chain wasm is replaced by a wasm build from the 0.8.30 using the
      rustc nightly from 1.03.2021.
      
      * update the wasm substitute blob
      
      * update Substrate
      
      Co-authored-by: default avatarAndré Silva <[email protected]>
      Co-authored-by: parity-processbot <>
      332cfad8
  5. May 24, 2021
  6. May 22, 2021
  7. May 18, 2021
  8. May 11, 2021
    • Martin Pugh's avatar
      Bump version to v0.9.1 and spec_version to v9010 (#3001) · 25cd6743
      Martin Pugh authored
      * bump version and spec_version
      
      * fix generate_release_text.rb
      
      * Revert "fix generate_release_text.rb"
      
      This reverts commit 9e01e0ae4f6db2155d123f69063db7d7564588e0.
      
      * fix publish_draft_release
      
      * fix publish_draft_release
      
      * update target cache
      25cd6743
  9. May 10, 2021
  10. Apr 29, 2021
  11. Apr 28, 2021
    • Martin Pugh's avatar
      Bump version, bump substrate & update benchmarks in preparation for v0.8.31 (#2938) · 9c609829
      Martin Pugh authored
      
      
      * bump version
      
      * bump cargo
      
      * update benchmarks
      
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_identity --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/
      
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_staking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/
      
      Co-authored-by: default avatarParity Benchmarking Bot <[email protected]>
      9c609829
  12. Apr 08, 2021
    • Sergey Pepyakin's avatar
      New PVF validation host (#2710) · 59b4d651
      Sergey Pepyakin authored
      
      
      * Implement PVF validation host
      
      * WIP: Diener
      
      * Increase the alloted compilation time
      
      * Add more comments
      
      * Minor clean up
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * Fix pruning artifact removal
      
      * Fix formatting and newlines
      
      * Fix the thread pool
      
      * Update node/core/pvf/src/executor_intf.rs
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * Remove redundant test declaration
      
      * Don't convert the path into an intermediate string
      
      * Try to workaround the test failure
      
      * Use the puppet_worker trick again
      
      * Fix a blip
      
      * Move `ensure_wasmtime_version` under the tests mod
      
      * Add a macro for puppet_workers
      
      * fix build for not real-overseer
      
      * Rename the puppet worker for adder collator
      
      * play it safe with the name of adder puppet worker
      
      * Typo: triggered
      
      * Add more comments
      
      * Do not kill exec worker on every error
      
      * Plumb Duration for timeouts
      
      * typo: critical
      
      * Add proofs
      
      * Clean unused imports
      
      * Revert "WIP: Diener"
      
      This reverts commit b9f54e513366c7a6dfdd117ac19fbdc46b900b4d.
      
      * Sync version of wasmtime
      
      * Update cargo.lock
      
      * Update Substrate
      
      * Merge fixes still
      
      * Update wasmtime version in test
      
      * bastifmt
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * Squash spaces
      
      * Trailing new line for testing.rs
      
      * Remove controversial code
      
      * comment about biasing
      
      * Fix suggestion
      
      * Add comments
      
      * make it more clear why unwrap_err
      
      * tmpfile retry
      
      * proper proofs for claim_idle
      
      * Remove mutex from ValidationHost
      
      * Add some more logging
      
      * Extract exec timeout into a constant
      
      * Add some clarifying logging
      
      * Use blake2_256
      
      * Clean up the merge
      
      Specifically the leftovers after removing real-overseer
      
      * Update parachain/test-parachains/adder/collator/Cargo.toml
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      59b4d651
  13. Apr 02, 2021
  14. Apr 01, 2021
    • asynchronous rob's avatar
      Add dispute types and change InclusionInherent to ParasInherent (#2791) · 0794f693
      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
      0794f693
  15. Mar 30, 2021
  16. Mar 25, 2021
  17. Mar 24, 2021
    • André Silva's avatar
      collator-protocol: add message authentication (#2635) · bfbb0785
      André Silva authored
      * collator: authenticate collator protocol messages
      
      * fix tests compilation
      
      * node: verify collator protocol signatures in tests
      
      * collator: fix tests
      
      * implementers-guide: update CollatorProtocol messages
      
      * collator: add test for verification of collator protocol signatures
      
      * node: remove fixmes
      
      * node: remove signature from advertisecollation message
      
      * node: add magic constant to Declare message signature payload
      bfbb0785
  18. Mar 11, 2021
  19. Mar 10, 2021
    • Ashley's avatar
      Companion PR for substrate PR 8072 - Add a config field to babe epochs (#2467) · 956be35d
      Ashley authored
      * Add a config field to babe epochs
      
      * Fix test
      
      * Add BABE_GENESIS_EPOCH_CONFIG consts
      
      * Use PrimaryAndSecondaryVRFSlots and remove newlines
      
      * Make epoch_configs Some
      
      * Fix tests
      
      * Fix test service tests
      
      * Add a BabeEpochConfigMigrations OnRuntimeUpgrade
      
      * Apply suggestions
      
      * Use PrimaryAndSecondaryPlainSlots in kusama
      
      * Remove migration from test runtime and rococo
      
      * Add HasPalletPrefix
      
      * Rename to BabePalletPrefix and change BabeApi -> Babe
      
      * "Update Substrate"
      
      * Update substrate
      
      * Resolve parantheses errors
      
      Co-authored-by: parity-processbot <>
      956be35d
  20. Mar 06, 2021
  21. Feb 24, 2021
    • Bastian Köcher's avatar
      Make sure we generate a valid slot in tests (#2520) · c3ef81ab
      Bastian Köcher authored
      Currently the first last timestamp is `0` and that leads to the first
      slot being `0` which is reserved for genesis. There is some debug assert
      in BABE that complains about this in Cumulus :D
      c3ef81ab
    • Martin Pugh's avatar
      [release] Prep for v0.8.29 (#2497) · 5ffb8cb4
      Martin Pugh authored
      
      
      * bump version and substrate
      
      * update weights
      
      * bump substrate
      
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=frame_system --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/
      
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=pallet_election_provider_multi_phase --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/
      
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_election_provider_multi_phase --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/
      
      * cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=pallet_election_provider_multi_phase --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/
      
      Co-authored-by: default avatarParity Benchmarking Bot <[email protected]>
      5ffb8cb4
  22. Feb 17, 2021
    • Cecile Tonglet's avatar
      Polkadot companion for #8043 (#2382) · 0771537a
      Cecile Tonglet authored
      * WIP
      
      * WIP
      
      * WIP
      
      * Revert branch change
      
      * CLEANUP
      
      * "Update Substrate"
      
      * Fix build
      
      * Revert "Fix build"
      
      This reverts commit 2dcc3f2a14d28febb84c2c35d682243bc03523a8.
      
      * cargo update -p sp-io
      
      Co-authored-by: parity-processbot <>
      0771537a
  23. Feb 16, 2021
  24. Feb 15, 2021
  25. Jan 29, 2021
  26. Jan 27, 2021
  27. Jan 26, 2021
  28. Jan 20, 2021
  29. Jan 18, 2021
  30. Jan 15, 2021
  31. Jan 14, 2021
  32. Jan 12, 2021
  33. Jan 11, 2021
  34. Jan 06, 2021
  35. Jan 04, 2021
    • Sergey Pepyakin's avatar
      Add relay storage root to persisted validation data (#2161) · a864eaa0
      Sergey Pepyakin authored
      * Cont.: Implement the state root obtaining during inclusion
      
      During inclusion now we obtain the storage root by passing it through
      the inclusion_inherent.
      
      * Fix tests
      
      * Bump rococo spec version
      
      * Reorder the parent header into the end
      
      of the inclusion inherent.
      
      When the parent header is in the beginning, it shifts the other two
      fields, so that a previous version won't be able to decode that. If
      we put the parent header in the end, the other two fields will stay
      at their positions, thus make it possible to decode with the previous
      version.
      
      That allows us to perform upgrade of rococo runtime without needing of
      simultanuous upgrade of nodes and runtime, or restart of the network.
      
      * Squash a stray tab
      a864eaa0