Signed transactions now have affinity with runtime versions (#3430)

* Signed transactions now has affinity with runtime versions

* Bump runtime version
This commit is contained in:
Gavin Wood
2019-08-18 18:01:05 +02:00
committed by GitHub
parent 0e56b56a86
commit 6c5fbe64ca
33 changed files with 76 additions and 3 deletions
+3 -1
View File
@@ -80,7 +80,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
// and set impl_version to equal spec_version. If only runtime
// implementation changes and behavior does not, then leave spec_version as
// is and increment impl_version.
spec_version: 146,
spec_version: 147,
impl_version: 147,
apis: RUNTIME_API_VERSIONS,
};
@@ -108,6 +108,7 @@ parameter_types! {
pub const MaximumBlockWeight: Weight = 1_000_000_000;
pub const AvailableBlockRatio: Perbill = Perbill::from_percent(75);
pub const MaximumBlockLength: u32 = 5 * 1024 * 1024;
pub const Version: RuntimeVersion = VERSION;
}
impl system::Trait for Runtime {
@@ -126,6 +127,7 @@ impl system::Trait for Runtime {
type MaximumBlockWeight = MaximumBlockWeight;
type MaximumBlockLength = MaximumBlockLength;
type AvailableBlockRatio = AvailableBlockRatio;
type Version = Version;
}
parameter_types! {