Update treasury.js

propogate to propagate
This commit is contained in:
Ishita Choudhary 2023-05-19 22:46:10 +05:30 committed by GitHub
parent 0dde402892
commit af35ea2c90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -199,7 +199,7 @@ async function main() {
await targetTokenBridge.createWrapped(Buffer.from(vaaBytes.vaaBytes, "base64"), {
gasLimit: 2000000
})
await new Promise((r) => setTimeout(r, 5000)); //Time out to let block propogate
await new Promise((r) => setTimeout(r, 5000)); //Time out to let block propagate
const wrappedTokenAddress = await targetTokenBridge.wrappedAsset(network.wormholeChainId, Buffer.from(tryNativeToHexString(network.testToken, "ethereum"), "hex"));
console.log("Wrapped token created at: ", wrappedTokenAddress);
targetDeployment["wrappedTestTokenAddress"] = wrappedTokenAddress;
@ -261,7 +261,7 @@ async function main() {
await treasury.approveTokenBridge(bridgeAmt, {
gasLimit: 2000000,
});
await new Promise((r) => setTimeout(r, 5000)); //Time out to let block propogate
await new Promise((r) => setTimeout(r, 5000)); //Time out to let block propagate
const targetNetwork = config.networks[process.argv[4]];
const targetDeployment = deployment[process.argv[4]]