Skip to content
Snippets Groups Projects
  1. Dec 03, 2022
  2. Nov 30, 2022
  3. Nov 07, 2022
    • Michal Kucharczyk's avatar
      BlockId removal: &Hash to Hash (#1818) · eb4aabf8
      Michal Kucharczyk authored
      * BlockId removal: &Hash to Hash
      
      It changes &Block::Hash argument to Block::Hash.
      
      This PR is part of BlockId::Number refactoring analysis (paritytech/substrate#11292)
      
      * update lockfile for {"polkadot", "substrate"}
      
      Co-authored-by: parity-processbot <>
      eb4aabf8
  4. Nov 01, 2022
  5. Oct 20, 2022
  6. Oct 18, 2022
    • Michal Kucharczyk's avatar
      BlockId removal: refactor: StorageProvider (#1770) · 45c71c0d
      Michal Kucharczyk authored
      * BlockId removal: refactor: StorageProvider
      
      It changes the arguments of `Backend::StorageProvider` trait from:
      block: `BlockId<Block>` to: hash: `&Block::Hash`
      
      * update lockfile for {"polkadot", "substrate"}
      
      Co-authored-by: parity-processbot <>
      45c71c0d
  7. Oct 10, 2022
  8. Sep 16, 2022
  9. Sep 08, 2022
    • Amar Singh's avatar
      Mock epoch index and randomness in SproofBuilder (for testing) (#1594) · 49397d9a
      Amar Singh authored
      
      * minimal babe randomness in sproof builder
      
      * fix indexing
      
      * fix index and clean comment
      
      * use current para block for epoch and randomness
      
      * epoch is para block randomness is relay block
      
      * fix
      
      * make more configurable but keep defaults
      
      * fix export
      
      * fix
      
      * flatten
      
      * better field names
      
      * Update primitives/parachain-inherent/src/mock.rs
      
      * Update primitives/parachain-inherent/src/mock.rs
      
      * FMT
      
      * FIX
      
      * fmt
      
      * Update primitives/parachain-inherent/src/mock.rs
      
      Co-authored-by: default avatarBastian Köcher <git@kchr.de>
      Co-authored-by: default avatarBastian Köcher <info@kchr.de>
      49397d9a
  10. Aug 04, 2022
  11. Jun 08, 2022
  12. Jun 05, 2022
  13. Apr 16, 2022
  14. Apr 14, 2022
  15. Apr 12, 2022
  16. Mar 28, 2022
  17. Mar 17, 2022
  18. Mar 10, 2022
  19. Mar 02, 2022
  20. Mar 01, 2022
    • Sebastian Kunert's avatar
      Introduce rpc client for relay chain full node (#963) · bc532724
      Sebastian Kunert authored
      
      * Initial network interface preparations
      
      * Implement get_storage_by_key
      
      * Implement `validators` and `session_index_for_child`
      
      * Implement persisted_validation_data and candidate_pending_availability
      
      * Fix method name for persisted_validation_data and add encoded params
      
      * Implement `retrieve_dmq_contents` and `retrieve_all_inbound_hrmp_channel_contents`
      
      * Implement `prove_read`
      
      * Introduce separate RPC client, expose JsonRpSee errors
      
      * Simplify closure in call_remote_runtime_function
      
      * Implement import stream, upgrade JsonRpSee
      
      * Implement finality stream
      
      * Remove unused method from interface
      
      * Implement `is_major_syncing`
      
      * Implement `wait_on_block`
      
      * Fix tests
      
      * Unify error handling `ApiError`
      
      * Replace WaitError with RelayChainError
      
      * Wrap BlockChainError in RelayChainError
      
      * Unify error handling in relay chain intefaces
      
      * Fix return type of proof method
      
      * Improve error handling of new methods
      
      * Improve error handling and move logging outside of interface
      
      * Clean up
      
      * Remove unwanted changes, clean up
      
      * Remove unused import
      
      * Add format for StatemachineError and remove nused From trait
      
      * Use 'thiserror' crate to simplify error handling
      
      * Expose error for overseer, further simplify error handling
      
      * Reintroduce network interface
      
      * Implement cli option
      
      * Adjust call_state method to use hashes
      
      * Disable PoV recovery when RPC is used
      
      * Add integration test for network full node
      
      * Use Hash instead of BlockId to ensure compatibility with RPC interface
      
      * Fix cargo check warnings
      
      * Implement retries
      
      * Remove `expect` statements from code
      
      * Update jsonrpsee to 0.8.0 and make collator keys optional
      
      * Make cli arguments conflicting
      
      * Remove unused `block_status` method
      
      * Add clippy fixes
      
      * Cargo fmt
      
      * Validate relay chain rpc url
      
      * Clean up dependencies and add one more integration test
      
      * Clean up
      
      * Clean up dependencies of relay-chain-network
      
      * Use hash instead of blockid for rpc methods
      
      * Fix tests
      
      * Update client/cli/src/lib.rs
      
      Co-authored-by: default avatarKoute <koute@users.noreply.github.com>
      
      * Improve error message of cli validation
      
      * Add rpc client constructor
      
      * Do not use debug formatting for errors
      
      * Improve logging for remote runtime methods
      
      * Only retry on transport problems
      
      * Use PHash by value, rename test
      
      * Improve tracing, return error  on relay-chain-interface build
      
      * Fix naming, use generics instead of deserializing manually
      
      * Rename RelayChainLocal and RelayChainNetwork
      
      * lock
      
      * Format
      
      * Use impl trait for encodable runtime payload
      
      * Only instantiate full node in tests when we need it
      
      * Upgrade scale-codec to 3.0.0
      
      * Improve expect log
      
      Co-authored-by: default avatarKoute <koute@users.noreply.github.com>
      bc532724
  21. Feb 25, 2022
  22. Feb 22, 2022
  23. Jan 25, 2022
  24. Dec 24, 2021
    • Bastian Köcher's avatar
      Mock XCM (#876) · 229000c5
      Bastian Köcher authored
      
      * sketch downward messages
      
      * bring in attempt to mock mqc-head from moonbeam
      
      * just patch individual crates
      
      * fing comma
      
      * add some logs
      
      * Holy shit, we actually imported a block!
      
      * Actually mock the message queue chain
      
      * use relay parent number for `sent_at`
      
      * finish moving MQC to primitives
      
      * more complete mock and better config type
      
      * change name
      
      * fix export
      
      * better map types
      
      * fix dependencies after rebase
      
      * try-rejigging branches because this is an override
      
      * try to re-jig for hrmp mcqs
      
      * fix branches
      
      * actually fix branches better
      
      * even better
      
      * Removestray log lines
      
      Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
      
      * Nicer handling of default `ParachainSystem` name
      
      * better docs
      
      * Default MockXcm for people who only who don't care to mock xcm.
      
      * cargo fmt
      
      * trailing commas
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
      
      * use the variable for hrmp to
      
      * fix deref
      
      * deduplicate MessageQueueChain
      
      * better docs for MessageQueueChain
      
      * Use `Vec<u8>` instead of `&'static [u8]`
      
      Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
      
      * cargo fmt
      
      * associated changes for using Vec<u8>
      
      * Unused import
      
      * Fix compilation
      
      Co-authored-by: default avatarJoshy Orndorff <admin@joshyorndorff.com>
      Co-authored-by: default avatarJoshy Orndorff <JoshOrndorff@users.noreply.github.com>
      229000c5
  25. Dec 22, 2021
  26. Nov 16, 2021
  27. Nov 11, 2021
    • Dan Shields's avatar
      Tweaks from template downstream review #80 (#705) · 3284976a
      Dan Shields authored
      * tweaks from template downstream review #80
      
      * more tweaks
      
      * Update parachain-template/node/src/command.rs
      
      * tweaks to template and other chainspecs
      
      * fmt
      
      * update more tweaks from downstream
      
      * fix build
      3284976a
  28. Nov 08, 2021
    • Alexander Popiak's avatar
      Upstream Statemine Release v5 Changes to Master (#720) · c63c5229
      Alexander Popiak authored
      
      * Update references
      
      * update deps
      
      * set substrate deps for pallet-asset-tx-payment
      
      * add DisabledValidatorsThreshold to parachain template
      
      * add DisabledValidatorsThreshold to statemint runtimes
      
      * adjust imports
      
      * update Cargo-lock
      
      * add DisabledValidatorsThreshold to mock config
      
      * cargo +nightly fmt
      
      * adjust on_disabled type
      
      * remove on_chain_votes function in ParachainHost impl
      
      * remove ScrapedOnChainVotes
      
      * bump polkadot-collator version
      
      Co-authored-by: default avatarChevdor <chevdor@users.noreply.github.com>
      
      * update Cargo.lock
      
      * set spec_versions to 500
      
      * Statemine cannot execute.
      
      * disallow XCM execute on statemint
      
      * cargo fmt
      
      * remove unnecessary dep on node-primitives
      
      * select parachains-common/std feature when building rococo-runtime with std
      
      * adjust Statemint to the three digit spec_version format
      
      * Add script to generate simple changelogs (#668)
      
      * Update weights from v4 for v5 comparis...
      c63c5229
  29. Oct 12, 2021
  30. Sep 19, 2021
  31. Sep 16, 2021
    • Chevdor's avatar
      ci: add quick-check with rustfmt (#615) · 6b20f7a2
      Chevdor authored
      
      * ci: add quick-check with clippy and rustfmt
      
      * chore: rustfmt round
      
      * chore: set the same rustfmt config than substrate
      
      * chore: fix formatting
      
      * cI: remove clippy
      
      * ci: switch to nightly for the checks
      
      * ci: fix toolchains and naming
      
      * ci: Limit the check to formatting
      
      * chore: fix formatting
      
      * Update .rustfmt.toml
      
      * Update .rustfmt.toml
      
      Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
      6b20f7a2
    • Andrew Jones's avatar
      Metadata v14 (companion to #3336) (#564) · e3eb3a0a
      Andrew Jones authored
      
      * Remove event pallet::metadata attributes
      
      * Add scale-info deps, TypeInfo derives, update call variants
      
      * Update metadata runtime APIs
      
      * Add missing scale_info dependency, update rococo runtime API
      
      * Add missing scale_info dependency
      
      * Remove pushed diener patches
      
      * Cargo.lock
      
      * Add missing scale-info dependencies
      
      * Fixes
      
      * Statemint runtime fixes
      
      * Call struct variant empty matches
      
      * Add missing scale-info dependency
      
      * Fixes
      
      * scale-info 1.0
      
      * cargo update -p xcm
      
      * update lock
      
      * Update Cargo.lock
      
      * update to latest polkadot
      
      * remove rpc_http_threads
      
      https://github.com/paritytech/substrate/pull/9737
      
      * replace task executor with tokio handler
      
      https://github.com/paritytech/substrate/pull/9737
      
      * fix test compilation?
      
      * Update Cargo.lock
      
      * cargo update
      
      * remove unused
      
      * Update substrate and polkadot
      
      * Update test/client/src/lib.rs
      
      Co-authored-by: default avatarShawn Tabrizi <shawntabrizi@gmail.com>
      Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
      e3eb3a0a
  32. Jun 23, 2021
  33. Jun 12, 2021
  34. Jun 11, 2021
  35. May 10, 2021
    • Bastian Köcher's avatar
      Aura consensus for parachains (#371) · 8accc88e
      Bastian Köcher authored
      
      * Update polkadot
      
      * Migrate all uses of MQC heads to merkle proofs
      
      * Mass rename `relay_parent_storage_root`
      
      * Restore parachain-system tests
      
      * Update polkadot and libp2p swarm for testing
      
      * Collapse match into an if let
      
      Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
      
      * Start with something
      
      * Update Substrate & Polkadot
      
      * Start to make it compile
      
      * Make it compile
      
      * Begin with something
      
      * Yep
      
      * I'm a hacker
      
      * Bring back the builder
      
      * Make it work in some way
      
      * Compile
      
      * Parachains use their own "slot"
      
      * Adds cumulus-pallet-aura
      
      * Wrap AuRa import queue to disable equivocation checking by default
      
      * Pass slot duration
      
      * Check the seal when validating a block
      
      * Adds missing file
      
      * Try to make the seal working
      
      * Fix it
      
      * Some fixes
      
      * Bring in the latest features to cleanup the code
      
      * Update and make it compile
      
      * Improve the import
      
      * Start fixing
      
      * More work
      
      * Fix fix fix
      
      * Make everything compile
      
      * Small cleanups
      
      * Rename and more docs
      
      * Docs
      
      * Fixes fixes fixes
      
      * Update rococo-parachains/src/chain_spec.rs
      
      * Update client/consensus/aura/src/lib.rs
      
      Co-authored-by: default avatarAndré Silva <123550+andresilva@users.noreply.github.com>
      
      * Update client/consensus/aura/src/lib.rs
      
      Co-authored-by: default avatarAndré Silva <123550+andresilva@users.noreply.github.com>
      
      * Update primitives/parachain-inherent/Cargo.toml
      
      Co-authored-by: default avatarAndré Silva <123550+andresilva@users.noreply.github.com>
      
      * Update primitives/parachain-inherent/Cargo.toml
      
      * Update primitives/parachain-inherent/Cargo.toml
      
      * Update primitives/parachain-inherent/Cargo.toml
      
      Co-authored-by: default avatarSergei Shulepov <sergei@parity.io>
      Co-authored-by: default avatarAndré Silva <123550+andresilva@users.noreply.github.com>
      8accc88e
  36. Feb 11, 2021