Skip to content

Commit

Permalink
chore: code clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
shanithkk committed Nov 21, 2023
1 parent 06d39f0 commit 0f8cf89
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
3 changes: 0 additions & 3 deletions parachain/static_files/configs/prometheus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ global:
scrape_interval: 15s
evaluation_interval: 15s

rule_files:
# - "first.rules"
# - "second.rules"

scrape_configs:
- job_name: "prometheus"
Expand Down
5 changes: 0 additions & 5 deletions parachain/static_files/javascript/onboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down Expand Up @@ -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) => {
Expand Down

0 comments on commit 0f8cf89

Please sign in to comment.