mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 02:17:58 +00:00
Rename: srml-contract → srml-contracts (#2905)
* srml-contract → srml-contracts * Trim. * Bump version
This commit is contained in:
committed by
Bastian Köcher
parent
37acb90847
commit
828485ec08
@@ -17,7 +17,7 @@ version = { package = "sr-version", path = "../../core/sr-version", default-feat
|
||||
support = { package = "srml-support", path = "../../srml/support", default-features = false }
|
||||
aura = { package = "srml-aura", path = "../../srml/aura", default-features = false }
|
||||
balances = { package = "srml-balances", path = "../../srml/balances", default-features = false }
|
||||
contract = { package = "srml-contract", path = "../../srml/contract", default-features = false }
|
||||
contracts = { package = "srml-contracts", path = "../../srml/contracts", default-features = false }
|
||||
council = { package = "srml-council", path = "../../srml/council", default-features = false }
|
||||
democracy = { package = "srml-democracy", path = "../../srml/democracy", default-features = false }
|
||||
executive = { package = "srml-executive", path = "../../srml/executive", default-features = false }
|
||||
@@ -39,7 +39,7 @@ substrate-keyring = { path = "../../core/keyring", optional = true }
|
||||
[features]
|
||||
default = ["std"]
|
||||
core = [
|
||||
"contract/core",
|
||||
"contracts/core",
|
||||
]
|
||||
std = [
|
||||
"parity-codec/std",
|
||||
@@ -49,7 +49,7 @@ std = [
|
||||
"support/std",
|
||||
"aura/std",
|
||||
"balances/std",
|
||||
"contract/std",
|
||||
"contracts/std",
|
||||
"council/std",
|
||||
"democracy/std",
|
||||
"executive/std",
|
||||
|
||||
@@ -58,8 +58,8 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
|
||||
spec_name: create_runtime_str!("node"),
|
||||
impl_name: create_runtime_str!("substrate-node"),
|
||||
authoring_version: 10,
|
||||
spec_version: 95,
|
||||
impl_version: 95,
|
||||
spec_version: 96,
|
||||
impl_version: 96,
|
||||
apis: RUNTIME_API_VERSIONS,
|
||||
};
|
||||
|
||||
@@ -112,7 +112,7 @@ impl indices::Trait for Runtime {
|
||||
|
||||
impl balances::Trait for Runtime {
|
||||
type Balance = Balance;
|
||||
type OnFreeBalanceZero = ((Staking, Contract), Session);
|
||||
type OnFreeBalanceZero = ((Staking, Contracts), Session);
|
||||
type OnNewAccount = Indices;
|
||||
type Event = Event;
|
||||
type TransactionPayment = ();
|
||||
@@ -217,14 +217,14 @@ impl treasury::Trait for Runtime {
|
||||
type ProposalRejection = ();
|
||||
}
|
||||
|
||||
impl contract::Trait for Runtime {
|
||||
impl contracts::Trait for Runtime {
|
||||
type Currency = Balances;
|
||||
type Call = Call;
|
||||
type Event = Event;
|
||||
type Gas = u64;
|
||||
type DetermineContractAddress = contract::SimpleAddressDeterminator<Runtime>;
|
||||
type ComputeDispatchFee = contract::DefaultDispatchFeeComputor<Runtime>;
|
||||
type TrieIdGenerator = contract::TrieIdFromParentCounter<Runtime>;
|
||||
type DetermineContractAddress = contracts::SimpleAddressDeterminator<Runtime>;
|
||||
type ComputeDispatchFee = contracts::DefaultDispatchFeeComputor<Runtime>;
|
||||
type TrieIdGenerator = contracts::TrieIdFromParentCounter<Runtime>;
|
||||
type GasPayment = ();
|
||||
}
|
||||
|
||||
@@ -261,7 +261,7 @@ construct_runtime!(
|
||||
FinalityTracker: finality_tracker::{Module, Call, Inherent},
|
||||
Grandpa: grandpa::{Module, Call, Storage, Config<T>, Event},
|
||||
Treasury: treasury,
|
||||
Contract: contract,
|
||||
Contracts: contracts,
|
||||
Sudo: sudo,
|
||||
}
|
||||
);
|
||||
|
||||
Generated
+2
-2
@@ -1484,7 +1484,7 @@ dependencies = [
|
||||
"sr-version 2.0.0",
|
||||
"srml-aura 2.0.0",
|
||||
"srml-balances 2.0.0",
|
||||
"srml-contract 2.0.0",
|
||||
"srml-contracts 2.0.0",
|
||||
"srml-council 2.0.0",
|
||||
"srml-democracy 2.0.0",
|
||||
"srml-executive 2.0.0",
|
||||
@@ -2443,7 +2443,7 @@ dependencies = [
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "srml-contract"
|
||||
name = "srml-contracts"
|
||||
version = "2.0.0"
|
||||
dependencies = [
|
||||
"parity-codec 3.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
|
||||
Reference in New Issue
Block a user