Skip to content

Commit

Permalink
Merge pull request #120 from Magport/Magnet-release-0.7.1
Browse files Browse the repository at this point in the history
Magnet release 0.7.1
  • Loading branch information
sulijia authored Jul 10, 2024
2 parents a9c8711 + 0aebd7b commit 009b358
Show file tree
Hide file tree
Showing 8 changed files with 711 additions and 535 deletions.
675 changes: 225 additions & 450 deletions Cargo.lock

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,9 @@ pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/polkadot
pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0", default-features = false }
pallet-utility = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0", default-features = false }
pallet-whitelist = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0", default-features = false}
pallet-multisig = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0", default-features = false}
pallet-proxy = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0", default-features = false}

# Substrate Utility
substrate-prometheus-endpoint = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0" }
substrate-build-script-utils = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0" }
Expand Down
9 changes: 9 additions & 0 deletions node/src/chain_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,15 @@ fn testnet_genesis(
"moveModule": {
"changeDefaultMoveStdlibBundleTo": Option::<Vec<u8>>::None,
"changeDefaultSubstrateStdlibBundleTo": Option::<Vec<u8>>::None,
},
"liquidation":{
"adminKey": Some(root.clone()),
"systemRatio": 20_000_0000,
"treasuryRatio": 33_000_0000,
"operationRatio": 25_000_0000,
"collatorRatio": 22_000_0000,
"minLiquidationThreshold": 20_000_000_000_000_000u128,
"profitDistributionCycle": 10,
}
})
}
Loading

0 comments on commit 009b358

Please sign in to comment.