Skip to content

Commit

Permalink
chore: await async fn
Browse files Browse the repository at this point in the history
  • Loading branch information
npty committed Aug 1, 2024
1 parent 6670bfa commit 807957c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sui/deploy-contract.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ async function deploy(keypair, client, supportedContract, config, chain, options

// Execute post-deployment function
const executePostDeploymentFn = PACKAGE_MAPPING.POST_DEPLOY_FUNCTIONS[packageName];
executePostDeploymentFn(published, keypair, client, config, chain, options );
await executePostDeploymentFn(published, keypair, client, config, chain, options );

printInfo(`${packageName} Configuration Updated`, JSON.stringify(chain.contracts[packageName], null, 2));
}
Expand Down

0 comments on commit 807957c

Please sign in to comment.