Skip to content

Commit

Permalink
decrease session length (#814)
Browse files Browse the repository at this point in the history
  • Loading branch information
GopherJ authored Oct 26, 2021
1 parent 61ce239 commit 5213338
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
PARA_ID := 2085
CHAIN := vanilla-dev
RUNTIME := vanilla-runtime
BLOCK_AT := 0x0000000000000000000000000000000000000000000000000000000000000000
URL := ws://localhost:9947
KEYSTORE_PATH := keystore
Expand Down Expand Up @@ -99,7 +100,7 @@ logs:

.PHONY: wasm
wasm:
./scripts/srtool-build.sh
PACKAGE=$(RUNTIME) ./scripts/srtool-build.sh

.PHONY: spec
spec:
Expand Down
2 changes: 1 addition & 1 deletion runtime/vanilla/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
2 changes: 1 addition & 1 deletion scripts/srtool-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 5213338

Please sign in to comment.