Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: make start-frequency should use debug profile; remove comments
Browse files Browse the repository at this point in the history
Matthew Orris committed Jun 15, 2023
1 parent 5374d58 commit 0e3440d
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 0 additions & 2 deletions runtime/frequency/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1076,12 +1076,10 @@ impl_runtime_apis! {
OpaqueMetadata::new(Runtime::metadata().into())
}

// REVIEW: substrate node template
fn metadata_at_version(version: u32) -> Option<OpaqueMetadata> {
Runtime::metadata_at_version(version)
}

// REVIEW: substrate node template
fn metadata_versions() -> Vec<u32> {
Runtime::metadata_versions()
}
4 changes: 2 additions & 2 deletions scripts/init.sh
Original file line number Diff line number Diff line change
@@ -239,8 +239,8 @@ onboard-frequency-rococo-local)
genesis=$(docker run -it {REPO_NAME}/frequency:${frequency_docker_image_tag} export-genesis-state --chain="frequency-rococo-local")
docker run -it {REPO_NAME}/frequency:${frequency_docker_image_tag} export-genesis-wasm --chain="frequency-rococo-local" > $wasm_location
else
genesis=$(./target/release/frequency export-genesis-state --chain="frequency-rococo-local")
./target/release/frequency export-genesis-wasm --chain="frequency-rococo-local" > $wasm_location
genesis=$(./target/debug/frequency export-genesis-state --chain="frequency-rococo-local")
./target/debug/frequency export-genesis-wasm --chain="frequency-rococo-local" > $wasm_location
fi

echo "WASM path:" "${wasm_location}"
2 changes: 1 addition & 1 deletion scripts/js/onboard/authUpgrade.js
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@ async function main() {
`--- Submitting extrinsic to authorize rococo-2000 upgrade ---`
);
const sudoCall = await api.tx.sudo
.sudo(api.tx.parachainSystem.authorizeUpgrade(hash))
.sudo(api.tx.parachainSystem.authorizeUpgrade(hash, false))
.signAndSend(sudo, (result) => {
console.log(`Current status is ${result.status}`);
if (result.status.isInBlock) {
2 changes: 1 addition & 1 deletion scripts/run_collator.sh
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@

set -e -o pipefail

ctpc="${Frequency_BINARY_PATH:-./target/release/frequency}"
ctpc="${Frequency_BINARY_PATH:-./target/debug/frequency}"

if [ ! -x "$ctpc" ]; then
echo "FATAL: $ctpc does not exist or is not executable"

0 comments on commit 0e3440d

Please sign in to comment.