Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pangolin ahUSDT #1236

Merged
merged 22 commits into from
Aug 28, 2023
Merged

Pangolin ahUSDT #1236

merged 22 commits into from
Aug 28, 2023

Conversation

jiguantong
Copy link
Member

@jiguantong jiguantong commented Aug 8, 2023

#1234
https://assethub-polkadot.subscan.io/extrinsic/1225717-2?event=1225717-4

  • asset-manager
  • orml-xtokens
  • Reserve filter
  • AssetTransactor
  • Trader
  • Store Limit
  • Test

Rococo Test USDT

symbol: USDT
decimals: 6
Name: Tether USD Test

{
	parents: 1
	interior: X3(
		Parachain: 1000,
		PalletInstance: 50,
		GeneralIndex: 7777
	)
}

@jiguantong jiguantong added the C-XCM [Component] Something about XCM label Aug 8, 2023
@jiguantong
Copy link
Member Author

Who should be the foreign_asset owner? AssetManager or root?

@aurexav
Copy link
Member

aurexav commented Aug 21, 2023

Who should be the foreign_asset owner? AssetManager or root?

Both options are acceptable.

@jiguantong
Copy link
Member Author

parachain-launch config

# Relaychain Configuration
relaychain:
  image: parity/polkadot:v0.9.42 # the docker image to use
  chain: rococo-local # the chain to use
  runtimeGenesisConfig: # additonal genesis override
    configuration:
      config:
        validation_upgrade_cooldown: 10
        validation_upgrade_delay: 10
  overrides: # additonal runtime override
    session_length_in_blocks: 100
  env: # environment variables for all relaychain nodes
    RUST_LOG: parachain::candidate-backing=trace
  flags: # additional CLI flags for all relaychain nodes
    - --rpc-methods=unsafe
  nodes: # nodes config
    - name: alice # the node name and session key, this imply `--alice`
      wsPort: 1144 # default ws port number is `9944 + global_node_index`
      rpcPort: 1133 # default rpc port number is `9933 + global_node_index`
      port: 30333 # default libp2p port number is `30333 + global_node_index`
      flags: # additional CLI flags for this node
        - --force-authoring
      env:
        #RUST_LOG: babe=debug # environment varitables for this node
        RUST_LOG: xcm=trace
    - name: bob
    - name: charlie
# Parachain Configuration
parachains:
# Config for first parachain
- image: ghcr.io/darwinia-network/darwinia:pango-6310-1
  chain: # this could be a string like `dev` or a config object
    base: pangolin-local # the chain to use
  id: 2105 # override parachain id
  parachain: true # this is parachain, not parathread
  flags: # CLI flags for this parachain nodes
    - --rpc-methods=unsafe
    - --force-authoring
    - --execution=wasm
  relaychainFlags: # CLI flags for the relaychain port
    - --execution=wasm
  env: # environment variables for this parachain nodes
    RUST_LOG: xcm=trace
  nodes: # nodes config
  - wsPort: 9944
    rpcPort: 9933
    port: 31333
    flags: # additional CLI flags for this node
      - --alice
    relaychainFlags: # additional CLI flags for relaychain part
      - --name=relaychain-alice
    env:
      RUST_LOG: xcm=trace # environment varitables for this node
  - flags:
    - --bob
  - flags:
    - --charlie
# Config for second parachain
- image: parity/polkadot-parachain:0.9.420
  chain: # this could be a string like `dev` or a config object
    base: statemine-local # the chain to use
    sudo: alice # override sudo key to //Alice
  id: 1000 # override parachain id
  parachain: true # this is parachain, not parathread
  flags: # CLI flags for this parachain nodes
    - --rpc-methods=unsafe
    - --force-authoring
    - --execution=wasm
  relaychainFlags: # CLI flags for the relaychain port
    - --execution=wasm
  env: # environment variables for this parachain nodes
    RUST_LOG: xcm=trace
  nodes: # nodes config
  - wsPort: 2244
    rpcPort: 2233
    port: 22333
    flags: # additional CLI flags for this node
      - --alice
    relaychainFlags: # additional CLI flags for relaychain part
      - --name=relaychain-alice
    env:
      RUST_LOG: xcm=trace # environment varitables for this node
  - flags:
    - --bob
  - flags:
    - --charlie

@jiguantong jiguantong marked this pull request as ready for review August 22, 2023 04:53
pallet/asset-limit/src/lib.rs Show resolved Hide resolved
pallet/asset-limit/src/lib.rs Show resolved Hide resolved
pallet/asset-limit/src/lib.rs Show resolved Hide resolved
runtime/pangolin/src/pallets/asset_manager.rs Outdated Show resolved Hide resolved
pallet/asset-limit/src/lib.rs Outdated Show resolved Hide resolved
pallet/asset-limit/src/lib.rs Outdated Show resolved Hide resolved
@aurexav aurexav added the C-Pallet [Component] Something about pallet label Aug 22, 2023
runtime/common/src/xcm_configs.rs Outdated Show resolved Hide resolved
runtime/common/src/xcm_configs.rs Outdated Show resolved Hide resolved
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

Copy link
Member

@boundless-forest boundless-forest left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not the expert of XCM staff, others LGTM

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

runtime/pangolin/src/pallets/asset_manager.rs Outdated Show resolved Hide resolved
runtime/pangolin/src/pallets/asset_manager.rs Outdated Show resolved Hide resolved
runtime/common/src/xcm_configs.rs Outdated Show resolved Hide resolved
@github-actions
Copy link

Check d7620c0 crab-dev

Check runtime version

Check runtime storage

@github-actions
Copy link

Check d7620c0 darwinia-dev

Check runtime version

Check runtime storage

@github-actions
Copy link

Check d7620c0 pangoro-dev

Check runtime version

Check runtime storage

@github-actions
Copy link

Check d7620c0 pangolin-dev

Check runtime version

Check runtime storage

+ Pallet: "AssetLimit"
+ Pallet: "AssetManager"

@aurexav aurexav merged commit 2235bd4 into main Aug 28, 2023
@aurexav aurexav deleted the guantong/usdt branch August 28, 2023 02:03
@aurexav aurexav linked an issue Aug 28, 2023 that may be closed by this pull request
This was referenced Nov 15, 2023
@jiguantong jiguantong changed the title Darwinia ahUSDT Pangolin ahUSDT Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-Pallet [Component] Something about pallet C-XCM [Component] Something about XCM
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Darwinia USDT
3 participants