From 451f1346eb7135ff40cfac8826672a87526a9035 Mon Sep 17 00:00:00 2001 From: Greg Zaitsev Date: Mon, 29 Jul 2024 10:38:58 -0400 Subject: [PATCH] Add baedeker workflow - in progress --- .baedeker/util/runtimeUpgrade.js | 2 +- .github/workflows/check-finney-clone.yml | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/.baedeker/util/runtimeUpgrade.js b/.baedeker/util/runtimeUpgrade.js index ef368bca8..5451d7afb 100644 --- a/.baedeker/util/runtimeUpgrade.js +++ b/.baedeker/util/runtimeUpgrade.js @@ -4,7 +4,7 @@ const fs = require('fs'); const NODE_URL = 'ws://127.0.0.1:9946'; const SUDO_ACCOUNT_SEED = '//Alice'; -const WASM_FILE_PATH = '../../target/release/wbuild/node-subtensor-runtime/node_subtensor_runtime.compact.compressed.wasm'; +const WASM_FILE_PATH = '../../target/release/wbuild/node-subtensor-runtime/node_subtensor_runtime.wasm'; async function main() { // Create a provider connected to the local node diff --git a/.github/workflows/check-finney-clone.yml b/.github/workflows/check-finney-clone.yml index 642e5ddab..f2eaedff4 100644 --- a/.github/workflows/check-finney-clone.yml +++ b/.github/workflows/check-finney-clone.yml @@ -215,3 +215,18 @@ jobs: ../../scripts/wait_first_block_local.sh echo "Executing runtime upgrade" node runtimeUpgrade.js + +# check that runtime upgrade happened (spec version updated) +# Wait for new blocks after upgrade +# Balance transfer test + +# need process exit from JS, it's not exiting + +# see how to run custom JS with this job (msg from Sam J.) + +# epoch test: Set subnet1 tempo to 10 blocks +# - wait for OTF hotkey to receive rewards +# - check block times + +# feature for testing hotkey tempos (talk to Samuel - maybe add to fast-blocks) +# - add childkey test