Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

Commit

Permalink
Merge branch 'main' into feat/Moliholy/asset-conversion-pallet
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Degosserie committed Dec 4, 2023
2 parents 053556d + 2f7e200 commit e54cfe7
Show file tree
Hide file tree
Showing 17 changed files with 137 additions and 787 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934 # v5.0.0
uses: docker/metadata-action@e6428a5c4e294a61438ed7f43155db912025b6b3 # v5.2.0
with:
images: paritytech/trappist

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934 # v5.0.0
uses: docker/metadata-action@e6428a5c4e294a61438ed7f43155db912025b6b3 # v5.2.0
with:
images: paritytech/trappist

Expand Down
62 changes: 25 additions & 37 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ jsonrpsee = { version = "0.16.2" }
# Trappist Pallets
pallet-asset-registry = { default-features = false, path = "pallets/asset-registry" }
trappist-runtime-benchmarks = { default-features = false, path = "pallets/benchmarks" }
pallet-lockdown-mode = { version = "0.1.0", default-features = false, path = "pallets/lockdown-mode" }
pallet-withdraw-teleport = { version = "0.1.0", default-features = false, path = "pallets/withdraw-teleport" }

# Substrate std
Expand Down Expand Up @@ -138,6 +137,8 @@ pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/parityt
pallet-uniques = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "release-polkadot-v1.1.0" }
pallet-utility = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "release-polkadot-v1.1.0" }
pallet-treasury = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "release-polkadot-v1.1.0" }
pallet-safe-mode = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "release-polkadot-v1.1.0" }
pallet-tx-pause = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "release-polkadot-v1.1.0" }

# Cumulus client dependencies
cumulus-client-cli = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" }
Expand Down
10 changes: 6 additions & 4 deletions node/src/chain_spec/trappist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ use sc_service::ChainType;
use sp_core::{crypto::UncheckedInto, sr25519};
use trappist_runtime::{
constants::currency::EXISTENTIAL_DEPOSIT, AccountId, AssetsConfig, AuraId, BalancesConfig,
CouncilConfig, ForeignAssetsConfig, LockdownModeConfig, PoolAssetsConfig, RuntimeGenesisConfig,
CouncilConfig, ForeignAssetsConfig, PoolAssetsConfig, RuntimeGenesisConfig,
SessionConfig, SessionKeys, SudoConfig, SystemConfig,
};

Expand Down Expand Up @@ -212,8 +212,9 @@ pub fn testnet_genesis(
members: invulnerables.into_iter().map(|x| x.0).collect::<Vec<_>>(),
phantom: Default::default(),
},
treasury: Default::default(),
lockdown_mode: LockdownModeConfig { initial_status: false, ..Default::default() },
treasury: Default::default(),
safe_mode: Default::default(),
tx_pause: Default::default(),
foreign_assets: ForeignAssetsConfig { assets: vec![], accounts: vec![], metadata: vec![] },
pool_assets: PoolAssetsConfig { assets: vec![], accounts: vec![], metadata: vec![] },
transaction_payment: Default::default(),
Expand Down Expand Up @@ -331,7 +332,8 @@ fn trappist_live_genesis(
phantom: Default::default(),
},
treasury: Default::default(),
lockdown_mode: Default::default(),
safe_mode: Default::default(),
tx_pause: Default::default(),
foreign_assets: ForeignAssetsConfig { assets: vec![], accounts: vec![], metadata: vec![] },
pool_assets: PoolAssetsConfig { assets: vec![], accounts: vec![], metadata: vec![] },
transaction_payment: Default::default(),
Expand Down
80 changes: 0 additions & 80 deletions pallets/lockdown-mode/Cargo.toml

This file was deleted.

41 changes: 0 additions & 41 deletions pallets/lockdown-mode/README.md

This file was deleted.

42 changes: 0 additions & 42 deletions pallets/lockdown-mode/src/benchmarking.rs

This file was deleted.

Loading

0 comments on commit e54cfe7

Please sign in to comment.