Skip to content
  1. Sep 01, 2023
  2. Aug 31, 2023
    • Bastian Köcher's avatar
      Rename `polkadot-parachain` to `polkadot-parachain-primitives` (#1334) · a33d7922
      Bastian Köcher authored
      * Rename `polkadot-parachain` to `polkadot-parachain-primitives`
      
      While doing this it also fixes some last `rustdoc` issues and fixes
      another Cargo warning related to `pallet-paged-list`.
      
      * Fix compilation
      
      * ".git/.scripts/commands/fmt/fmt.sh"
      
      * Fix XCM docs
      
      ---------
      
      Co-authored-by: command-bot <>
      a33d7922
  3. Aug 30, 2023
  4. Aug 10, 2023
    • Ignacio Palacios's avatar
      Replicate `e2e` integration test as `emulated` (#2958) · eadfbca3
      Ignacio Palacios authored
      
      
      * Allow functions to work over both parachains and relay chains
      
      * additional references
      
      * import
      
      * backup
      
      * refactoring para and relay traits
      
      * use runtime crates to build types
      
      * decouple ProcessMessage
      
      * decouple ProcessMessage 2
      
      * dmp and xcmp handlers decouple
      
      * backup
      
      * refactor done
      
      * common int values working
      
      * added global ext with mutex
      
      * works for two mutex
      
      * single mutex and remove condvar
      
      * global test ext done
      
      * failing moving test_ext because relay block num
      
      * relay_block_number issue fixed
      
      * backup
      
      * Test working with assertions
      
      * assertions get Test as arg
      
      * DispatchArgs as generic
      
      * clean up
      
      * backup
      
      * teleports for asset-hub-kusama done
      
      * improve assert_expected_events macro
      
      * rename Test generics
      
      * check assertions for tuples
      
      * test assertions redone
      
      * reserve_transfer_assets done
      
      * send transact done
      
      * hrmp test for paras
      
      * hrmp channels test done
      
      * hrmp channels test done 2
      
      * before modifying test dispatch
      
      * reserve tests done & Test dispatch fixed
      
      * reserve transfer local asset
      
      * force_create_and_mint_asset
      
      * force create and mint done
      
      * tests done
      
      * fix imports in common
      
      * common events refactored
      
      * add option to events attributes
      
      * asset-hub-polkadot tests done
      
      * asset-hub-westend half done
      
      * relay chain events move to common
      
      * remove failing send tests for asset-hub-westend
      
      * added events to bridge-hub-rococo
      
      * added events to collectives-polkadot
      
      * cargo clean up
      
      * fix asset-hub-westend tests
      
      * ".git/.scripts/commands/fmt/fmt.sh"
      
      * fix clippy
      
      * ".git/.scripts/commands/fmt/fmt.sh"
      
      * Removed unnecessary deps
      
      * Extracted some commonality for Kusama/Polkadot (which will be reused also for BridgeHubs) (#2971)
      
      * Extracted some commonality for Kusama/Polkadot (which will be reused also for BridgeHubs)
      
      * AssetHubRococo should better use AssetHubKusama runtime
      
      * add fund_account
      
      ---------
      
      Co-authored-by: default avatarNachoPal <[email protected]>
      
      * address comments
      
      * rename event assertion helpers
      
      * clean comments
      
      * address comments 2
      
      * ".git/.scripts/commands/fmt/fmt.sh"
      
      ---------
      
      Co-authored-by: default avatarGiles Cope <[email protected]>
      Co-authored-by: command-bot <>
      Co-authored-by: default avatarBranislav Kontur <[email protected]>
      eadfbca3
  5. Jun 23, 2023
    • Squirrel's avatar
      Asset Conversion release to westmint (#2148) · 5487ce76
      Squirrel authored
      
      
      * Dex and payment by dex in westmint
      
      * Wrap U256 type for now
      
      (to support required traits.)
      
      * cargo fmt
      
      * We can now use U256
      
      * Rename PromotedBalance
      
      * name change
      
      * Updating the code to master.
      
      TODO: handle dust!
      
      * cargo fmt
      
      * Minimising changes and step towards getting benchmarks compiling
      
      (still a From<u32> bound in the pallet)
      
      * minimise diff
      
      * Update parachains/runtimes/assets/westmint/src/lib.rs
      
      Co-authored-by: default avatarJegor Sidorenko <[email protected]>
      
      * Update parachains/runtimes/assets/westmint/src/lib.rs
      
      Co-authored-by: default avatarJegor Sidorenko <[email protected]>
      
      * Update parachains/common/src/impls.rs
      
      Co-authored-by: default avatarJegor Sidorenko <[email protected]>
      
      * Fix benchmark build
      
      * Add in AssetConversionAPI
      
      * Handle dust
      
      * cargo fmt
      
      * Don't need to be explicit that it's AccountId32
      
      * remove pool setup fee
      
      (Asset deposit fees are a sufficient anti-spam measure)
      
      * More natural way to specify native
      
      * cargo fmt
      
      * Update parachains/runtimes/assets/westmint/src/lib.rs
      
      * Additional required impls
      
      * either form of multilocation should be acceptable.
      
      * add call filter exclusion
      
      * Fix typo & try_convert now fails if native is converted
      
      * merge master fixup
      
      * Fix: HoldReason should be there.
      
      * Box MultiAssetId
      
      Otherwise it blows out the Call enum memory size.
      
      * cargo fmt
      
      * update lock file
      
      * add std feature, update lock file
      
      * need to turn on std on common
      
      * adding in westmint tests
      
      * WeightToFee must be from the destination chain.
      
      * cargo fmt
      
      * account for higher ED on westmint
      
      * type removed as not used
      
      * cargo fmt
      
      * remove unused import
      
      * minimising diff
      
      * import needed only with feature enabled
      
      * use multilocation contains
      
      * move the impls to separate file
      
      * simplify on conversion
      
      * simplify on reverse conversion also.
      
      * rename var
      
      * clippy
      
      * removed dead code
      
      * cargo fmt
      
      * Use pay by swap
      
      * review suggestions
      
      * cargo fmt
      
      * Update parachains/runtimes/assets/asset-hub-westend/src/lib.rs
      
      Co-authored-by: default avatarjoe petrowski <[email protected]>
      
      * add benchmarks for new assets pallet
      
      * revert common/src changes
      
      * need a concrete id
      
      * more fixes
      
      * lock
      
      ---------
      
      Co-authored-by: default avatarJegor Sidorenko <[email protected]>
      Co-authored-by: default avatarjoepetrowski <[email protected]>
      Co-authored-by: default avatarjoe petrowski <[email protected]>
      5487ce76
  6. Jun 08, 2023
  7. Jun 02, 2023
    • Squirrel's avatar
      Support westend integration tests (#2649) · 7f2c7239
      Squirrel authored
      
      
      * mostly there with westend
      
      * add network
      
      * initial way to set host api version
      
      * 3 tests all passing
      
      * Remove duplication
      
      * fix runtime-benchmarks
      
      * Fix typo
      
      ---------
      
      Co-authored-by: default avatarjoepetrowski <[email protected]>
      7f2c7239
    • joe petrowski's avatar
      Rename Statemint to Asset Hub (#2633) · 60075495
      joe petrowski authored
      
      
      * change dir names
      
      * cargo toml updates
      
      * fix crate imports for build
      
      * change chain spec names and PR review rule
      
      * update cli to accept asset-hub
      
      * find/replace benchmark commands
      
      * integration tests
      
      * bridges docs
      
      * more integration tests
      
      * AuraId
      
      * other statemint tidying
      
      * rename statemint mod
      
      * chain spec mod
      
      * rename e2e test dirs
      
      * one more Runtime::Statemine
      
      * benchmark westmint
      
      * rename chain spec name and id
      
      * rename chain spec files
      
      * more tidying in scripts/docs/tests
      
      * rename old dir if exists
      
      * Force people to manually do the move.
      
      (Safer as there could be additional considerations with their setup)
      
      * review touchups
      
      * more renaming
      
      * Update polkadot-parachain/src/command.rs
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * better error message
      
      * do not break on-chain spec_name
      
      * log info message that path has been renamed
      
      * better penpal docs
      
      ---------
      
      Co-authored-by: default avatargilescope <[email protected]>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      Co-authored-by: parity-processbot <>
      60075495
  8. May 19, 2023
    • Roman Useinov's avatar
      [Feature] XCM-Emulator (#2447) · 944ab483
      Roman Useinov authored
      
      
      * [Feature] XCM-Emulator
      
      * ".git/.scripts/commands/fmt/fmt.sh"
      
      * rename
      
      * readme
      
      * more rename
      
      * rename directory
      
      * implement AssetTransactor
      
      * Update xcm/xcm-emulator/README.md
      
      Co-authored-by: default avatarMuharem Ismailov <[email protected]>
      
      * address review comments (#2502)
      
      * Update xcm/xcm-emulator/example/src/lib.rs
      
      Co-authored-by: default avatarjoe petrowski <[email protected]>
      
      * Update xcm/xcm-emulator/README.md
      
      * Use 2d weights.
      
      * Point out nearer the failure why it should fail
      
      * Move test-runtime to under examples
      
      * Walk through how to use it
      
      * proof needs to be non-zero
      
      * Apply suggestions from code review
      
      * Update xcm/xcm-emulator/README.md
      
      Co-authored-by: default avatarjoe petrowski <[email protected]>
      
      * Improve xcm emulator (#2593)
      
      * folder restructutre
      
      * common created
      
      * make macros repetitions
      
      * messenger traits for relay and para
      
      * default Messenger impls
      
      * messenger traits refactor
      
      * declared two networks
      
      * init network approach works
      
      * queues use HashMap but relay block number
      
      * init and reset refactor
      
      * messengers trait name changed
      
      * relay block number suboptimal
      
      * fix reset hashmap keys
      
      * genesis added
      
      * test ext added for parachains
      
      * genesis added relay chains
      
      * genesis to storage
      
      * new_ext replaced by on_init
      
      * new relay block number approach
      
      * ext_wrapper added
      
      * added types to Parachain trait
      
      * relay chain with types
      
      * restructure
      
      * para_ids working
      
      * replace para_id getter
      
      * replace para_id getter 2
      
      * tests restructure + common variables
      
      * added sovereign and balances helpers
      
      * more helpers + tess pass
      
      * expected events macro added
      
      * added events trait method
      
      * expect_events macro improve
      
      * expect_events macro done
      
      * network traits added
      
      * reserve_transfer test added
      
      * para & relay macro inputs redefined
      
      * added collectives & BH paras
      
      * test restructure
      
      * statemine removed
      
      * nitpick
      
      * rename test folder + events logs
      
      * clean
      
      * weight threshold helper
      
      * update readme
      
      * remove cumulus-test-service dependancy
      
      * fmt
      
      * comment docs
      
      * update e2e tests to xcm v3
      
      * clippy + runtime-benchmark + clean docs
      
      ---------
      
      Co-authored-by: command-bot <>
      Co-authored-by: default avatarMuharem Ismailov <[email protected]>
      Co-authored-by: default avatarSquirrel <[email protected]>
      Co-authored-by: default avatarjoe petrowski <[email protected]>
      Co-authored-by: default avatarIgnacio Palacios <[email protected]>
      944ab483