Skip to content
  1. Aug 30, 2022
  2. Aug 17, 2022
  3. Aug 04, 2022
  4. Aug 03, 2022
    • girazoki's avatar
      Statemint runtimes to accept sufficient assets as xcm fee payment (#1278) · 8f2a3a50
      girazoki authored
      
      
      * point to my branch
      
      * girazoki-add-TakeFirstAssetTrader-to-utility
      
      * Commit lock
      
      * point at custom branch
      
      * add new trader to statemine runtimes
      
      * compiles
      
      * Back to master
      
      * Update last tomls
      
      * Imports up
      
      * remove non-needing imports
      
      * FMT
      
      * log messages properly
      
      * Use TakeRevenue instead of HandleCredit
      
      * Introduce xcm fee handler
      
      * check total supply in tests
      
      * FMT
      
      * fix test
      
      * Start decoupling balance calculation into different traits
      
      * Make traits a bit more generic
      
      * PR suggestions
      
      * add import
      
      * import well
      
      * Place xcmfeesassethandler into parachains common
      
      * fix tests
      
      * config parameters
      
      * Min amount to fee receiver
      
      * Make minimum amount for block author to be at least the ED
      
      * Doc in AssetFeeAsExistentialDepositMultiplier
      
      * saturating sub
      
      * make sure we dont enter twice
      
      * FMT
      
      * fmt again
      
      * adapt tests
      
      * Add doc and struct for weight refund
      
      * Doc
      
      * More doc
      
      * PR suggestions
      
      * store all info related to asset payment as multiasset
      
      * return AssetNotFound instead of TooExpensive
      
      * Use asset transactor to deposit fee
      
      * uninstall from statemint
      
      * R for RUntime and CON for BalanceConverter
      
      * Rework logic to avoid unnecesary match and error
      
      * Rework ED check, also in case of refund
      
      * rework typo
      
      * In case refund makes drop below ED, just refund the difference
      
      * fix test westmint
      
      * clone id
      
      * move test imports to preamble
      
      * move test imports to preamble
      
      * test-utils with builderS
      
      * lock file updated
      
      * remove unused imports
      
      Co-authored-by: default avatarStephen Shelton <[email protected]>
      Co-authored-by: default avatarjoe petrowski <[email protected]>
      Co-authored-by: default avatarjoepetrowski <[email protected]>
      8f2a3a50
  5. Jun 18, 2022
  6. Jun 08, 2022
  7. Jun 05, 2022
  8. Apr 16, 2022
  9. Apr 14, 2022
  10. Apr 12, 2022
  11. Mar 28, 2022
  12. Mar 17, 2022
  13. Mar 10, 2022
  14. Mar 02, 2022
  15. 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 <[email protected]>
      
      * 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 <[email protected]>
      bc532724
  16. Feb 25, 2022
  17. Feb 22, 2022
  18. Jan 31, 2022
  19. Jan 25, 2022
  20. Jan 14, 2022
  21. Jan 03, 2022
  22. Dec 27, 2021
  23. 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 <[email protected]>
      
      * 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 <[email protected]>
      
      * 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 <[email protected]>
      
      * cargo fmt
      
      * associated changes for using Vec<u8>
      
      * Unused import
      
      * Fix compilation
      
      Co-authored-by: default avatarJoshy Orndorff <[email protected]>
      Co-authored-by: default avatarJoshy Orndorff <[email protected]>
      229000c5
  24. Dec 22, 2021
  25. Nov 16, 2021
  26. 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
  27. 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 <[email protected]>
      
      * 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 comparison (#673)
      
      * updates weights
      
      * pallet_unique benchmarks added + weights upstream from v4
      
      * Fix benchmarks after Parachain Template (#677)
      
      * updates weights
      
      * pallet_unique benchmarks added + weights upstream from v4
      
      * benchmarks fix for parachain template
      
      * Weights updates for Statemine v5 (#682)
      
      * updates weights
      
      * pallet_unique benchmarks added + weights upstream from v4
      
      * weights updates for statemine v5
      
      * mention Storage in construct_runtime macro for pallet-xcm (#680)
      
      * Use pallet-xcm for version wrapping (#689)
      
      * use PolkadotXcm for XcmRouter WrapVersion
      
      * use PolkadotXcm for version wrapping
      
      Co-authored-by: default avatarBryan Chen <[email protected]>
      
      * patch weight for batch_all from rerun
      
      * Runtime version bump to v503 (#694)
      
      * adjust genesis value generation scripts to output entries array + add script to derive encoded call
      
      * add script to generate shell spec from runtime wasm
      
      * Ensure a bad datastream cannot cause problems (#701)
      
      * Ensure a bad datastream cannot cause problems
      
      * Formatting
      
      * Formatting
      
      * update Polkadot (to 0.9.11 169bab55d)
      
      * bump spec versions
      
      * Allow Queries and Subscriptions
      
      Fixes
      
      Formatting
      
      * fix build
      
      * make fmt happy
      
      * statemint imports
      
      * slight naming changes in script
      
      * add shell genesis data + wasm + chainspec
      
      * adjust generated shell spec with production config values
      
      * update Substrate and Polkadot to master
      
      * fix deps
      
      * swap out bootnodes for statemint shell
      
      * add a script for verifying the shell chain spec
      
      * add sha checksum for head data
      
      * remove verification script
      
      * remove hex wasm file
      
      * update Substrate and Polkadot again and fix compilation
      
      * update and fix lock file
      
      * formatting
      
      * remove redundant dispatch_as weight
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      Co-authored-by: default avatarChevdor <[email protected]>
      Co-authored-by: default avatarGav Wood <[email protected]>
      Co-authored-by: default avatarIgnacio Palacios <[email protected]>
      Co-authored-by: default avatarBryan Chen <[email protected]>
      Co-authored-by: default avatarjoepetrowski <[email protected]>
      c63c5229
  28. Oct 12, 2021
  29. Oct 01, 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 <[email protected]>
      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 <[email protected]>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      e3eb3a0a
  32. Sep 12, 2021
  33. Aug 28, 2021
    • Gavin Wood's avatar
      Companion for #3629 (XCM v2) (#571) · 9cc27783
      Gavin Wood authored
      * Update .gitignore and bring into line with XCM v2's SendError
      
      * type
      
      * Some work
      
      * Weighed responses
      
      * extra fields to xcm pallet
      
      * Fixes
      
      * Bump
      9cc27783
  34. Aug 12, 2021
  35. Aug 09, 2021