Skip to content

Commit

Permalink
Merge pull request #39 from XinFinOrg/fix-url-logging
Browse files Browse the repository at this point in the history
add logging to show RPC urls being called
  • Loading branch information
wanwiset25 authored Jan 25, 2024
2 parents 8f5307b + b5460c6 commit 9e06fcd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions scripts/proxy/ProxyGatewayDeploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ async function main() {

let proxyGateway;
try {
console.error("deploying proxygateway to parentnet url:", hre.network.config.url)
proxyGateway = await proxyGatewayFactory.deploy();
} catch (e) {
console.error(e, "\n")
Expand Down
1 change: 1 addition & 0 deletions scripts/proxy/UpgradeCSC.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ async function main() {

let full;
try {
console.error("deploying upgradeCSC to parentnet url:", hre.network.config.url)
full = await fullFactory.deploy();
} catch (e) {
console.error(e, "\n")
Expand Down
1 change: 1 addition & 0 deletions scripts/utils/subnet.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ async function data() {
let data0;
let data1;
try {
console.error("connecting to subnet at url:", network["xdcsubnet"])
const block0res = await fetch(network["xdcsubnet"], {
method: "POST",
body: JSON.stringify(block0),
Expand Down

0 comments on commit 9e06fcd

Please sign in to comment.