diff --git a/Makefile b/Makefile index f41404354..188362c0b 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,6 @@ PARA_ID := 2085 CHAIN := vanilla-dev +RUNTIME := vanilla-runtime BLOCK_AT := 0x0000000000000000000000000000000000000000000000000000000000000000 URL := ws://localhost:9947 KEYSTORE_PATH := keystore @@ -99,7 +100,7 @@ logs: .PHONY: wasm wasm: - ./scripts/srtool-build.sh + PACKAGE=$(RUNTIME) ./scripts/srtool-build.sh .PHONY: spec spec: diff --git a/runtime/vanilla/src/lib.rs b/runtime/vanilla/src/lib.rs index 87c9f9768..cbe54d07f 100644 --- a/runtime/vanilla/src/lib.rs +++ b/runtime/vanilla/src/lib.rs @@ -584,7 +584,7 @@ impl pallet_authorship::Config for Runtime { parameter_types! { pub const DisabledValidatorsThreshold: Perbill = Perbill::from_percent(33); - pub const Period: u32 = 6 * HOURS; + pub const Period: u32 = 3 * MINUTES; pub const Offset: u32 = 0; } diff --git a/scripts/srtool-build.sh b/scripts/srtool-build.sh index a2224d656..5ba4b7bbc 100755 --- a/scripts/srtool-build.sh +++ b/scripts/srtool-build.sh @@ -7,7 +7,7 @@ cd $DIR/../ set -xe RUSTC_VERSION=1.53.0; -PACKAGE=${PACKAGE:-heiko-runtime}; +PACKAGE=${PACKAGE:-vanilla-runtime}; BUILD_OPTS=$BUILD_OPTS; docker run --rm -it \