diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index fee9e8770..810ba20e6 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -146,7 +146,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { // `spec_version`, and `authoring_version` are the same between Wasm and native. // This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use // the compatible custom types. - spec_version: 196, + spec_version: 197, impl_version: 1, apis: RUNTIME_API_VERSIONS, transaction_version: 1, diff --git a/scripts/localnet.sh b/scripts/localnet.sh index 1b6dad25c..51e3d05a8 100755 --- a/scripts/localnet.sh +++ b/scripts/localnet.sh @@ -56,10 +56,6 @@ echo "*** Building chainspec..." "$BASE_DIR/target/release/node-subtensor" build-spec --disable-default-bootnode --raw --chain $CHAIN >$FULL_PATH echo "*** Chainspec built and output to file" -# generate node keys -$BASE_DIR/target/release/node-subtensor key generate-node-key --chain="$FULL_PATH" --base-path /tmp/alice -$BASE_DIR/target/release/node-subtensor key generate-node-key --chain="$FULL_PATH" --base-path /tmp/bob - if [ $NO_PURGE -eq 1 ]; then echo "*** Purging previous state skipped..." else @@ -77,11 +73,11 @@ alice_start=( --alice --port 30334 --rpc-port 9946 - --rpc-external --validator --rpc-cors=all --allow-private-ipv4 --discover-local + --unsafe-force-node-key-generation ) bob_start=( @@ -92,8 +88,10 @@ bob_start=( --port 30335 --rpc-port 9945 --validator + --rpc-cors=all --allow-private-ipv4 --discover-local + --unsafe-force-node-key-generation ) trap 'pkill -P $$' EXIT SIGINT SIGTERM