Skip to content

Commit

Permalink
chore: add pub key in the dailes notify (#3612)
Browse files Browse the repository at this point in the history
Description
---
Add node pub key (force sync peers in the daily job) to notify.
  • Loading branch information
Cifko authored Nov 24, 2021
1 parent 7432c62 commit a632e5b
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions applications/daily_tests/cron_jobs.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,12 @@ ${logLines.join("\n")}
}

async function runBaseNodeSyncTest(syncType) {
notify(`πŸš€ ${syncType} basenode sync check has begun πŸš€`);
const node_pub_key =
"b0c1f788f137ba0cdc0b61e89ee43b80ebf5cca4136d3229561bf11eba347849";
const node_address = "/ip4/3.8.193.254/tcp/18189";
notify(
`πŸš€ ${syncType} basenode sync (from ${node_pub_key}) check has begun πŸš€`
);

const baseDir = __dirname + "/temp/base-node-sync";

Expand All @@ -97,9 +102,7 @@ async function runBaseNodeSyncTest(syncType) {
log: LOG_FILE,
syncType,
baseDir,
forceSyncPeers: [
"b0c1f788f137ba0cdc0b61e89ee43b80ebf5cca4136d3229561bf11eba347849::/ip4/3.8.193.254/tcp/18189",
],
forceSyncPeers: [`${node_pub_key}::${node_address}`],
});

notify(
Expand Down

0 comments on commit a632e5b

Please sign in to comment.