From 0f8cf8924d278312837bb9f0a363b37dce60fe75 Mon Sep 17 00:00:00 2001 From: Shanith K K Date: Tue, 21 Nov 2023 11:36:23 +0530 Subject: [PATCH] chore: code clean up --- parachain/static_files/configs/prometheus.yml | 3 --- parachain/static_files/javascript/onboard.js | 5 ----- 2 files changed, 8 deletions(-) diff --git a/parachain/static_files/configs/prometheus.yml b/parachain/static_files/configs/prometheus.yml index 3fcce51..e4616c1 100644 --- a/parachain/static_files/configs/prometheus.yml +++ b/parachain/static_files/configs/prometheus.yml @@ -2,9 +2,6 @@ global: scrape_interval: 15s evaluation_interval: 15s -rule_files: - # - "first.rules" - # - "second.rules" scrape_configs: - job_name: "prometheus" diff --git a/parachain/static_files/javascript/onboard.js b/parachain/static_files/javascript/onboard.js index 2c6581c..167f3a3 100644 --- a/parachain/static_files/javascript/onboard.js +++ b/parachain/static_files/javascript/onboard.js @@ -4,7 +4,6 @@ const fs = require("fs"); const run = async () => { try { console.log("Parsing Args ..."); - // 0 & 1 are command context const endpoint = process.argv[2]; const seed = process.argv[3]; const id = process.argv[4]; @@ -45,10 +44,6 @@ const run = async () => { let genesis = api.createType("ParaGenesisArgs", paraGenesisArgs); const nonce = Number((await api.query.system.account(alice.address)).nonce); - - console.log( - `--- Submitting extrinsic to register parachain ${id}. (nonce: ${nonce}) ---` - ); const sudoCall = await api.tx.sudo .sudo(api.tx.parasSudoWrapper.sudoScheduleParaInitialize(id, genesis)) .signAndSend(alice, { nonce: nonce, era: 0 }, (result) => {