Skip to content

Commit

Permalink
Merge commit '9b98353b9f3a411bdd351503603bfe3b154e5b30'
Browse files Browse the repository at this point in the history
  • Loading branch information
wanwiset25 committed Nov 16, 2023
1 parent 777757f commit 92eca96
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions scripts/proxy/UpgradeCSC.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ async function main() {

fullProxy = await proxyGateway.cscProxies(0);
} else {
await proxyGateway.upgrade(fullProxy, full.address);
const tx = await proxyGateway.upgrade(fullProxy, full.address);
await tx.wait();
}

if (liteProxy == "0x0000000000000000000000000000000000000000") {
Expand All @@ -69,7 +70,9 @@ async function main() {
await tx.wait();
liteProxy = await proxyGateway.cscProxies(1);
} else {
await proxyGateway.upgrade(liteProxy, lite.address);
const tx = await proxyGateway.upgrade(liteProxy, lite.address);

await tx.wait();
}

console.log("upgrade success");
Expand Down

0 comments on commit 92eca96

Please sign in to comment.