Skip to content

Commit

Permalink
Tracing runtime 2602 (#80)
Browse files Browse the repository at this point in the history
* add tracing runtimes for release 2602

* add ability to set source repo for runtime overrides
  • Loading branch information
noandrea authored Nov 27, 2023
1 parent bb11a06 commit 964260a
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/import-tracing-runtime.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

SPEC_VERSION=$1
GIT_REF=${2:-"runtime-$SPEC_VERSION"}
GIT_REPO=${3:-"https://github.com/moonbeam-foundation/moonbeam"}

if [[ "$GIT_REF" == "runtime-$SPEC_VERSION" ]]; then
GIT_DEP_REF="--rev $GIT_REF"
Expand All @@ -18,7 +19,7 @@ else
echo "Get moonbeam snapshot..."
rm -rf tmp
mkdir tmp
git clone https://github.com/moonbeam-foundation/moonbeam --depth 1 -b $GIT_REF $MOONBEAM_PATH
git clone $GIT_REPO --depth 1 -b $GIT_REF $MOONBEAM_PATH
fi

# Copy relevant files
Expand All @@ -35,7 +36,7 @@ rm -rf tracing/$SPEC_VERSION/runtime/relay-encoder

echo "Run migration script"
cd scripts
cargo run -q --bin migrate-imported -- --dir ../tracing/$SPEC_VERSION --repo "https://github.com/moonbeam-foundation/moonbeam" $GIT_DEP_REF
cargo run -q --bin migrate-imported -- --dir ../tracing/$SPEC_VERSION --repo "$GIT_REPO" $GIT_DEP_REF
cd ..

echo "Running ./scripts/update-tracing-runtime-lock.sh $SPEC_VERSION ..."
Expand Down
Empty file added tracing/2602/.gitkeep
Empty file.
5 changes: 5 additions & 0 deletions tracing/2602/rust-toolchain
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[toolchain]
channel = "1.71.0"
components = [ "rustfmt", "clippy" ]
targets = [ "wasm32-unknown-unknown" ]
profile = "minimal"
Binary file added wasm/moonbase-runtime-2602-tracing.wasm
Binary file not shown.
Binary file added wasm/moonbeam-runtime-2602-tracing.wasm
Binary file not shown.
Binary file added wasm/moonriver-runtime-2602-tracing.wasm
Binary file not shown.

0 comments on commit 964260a

Please sign in to comment.