Skip to content

Commit

Permalink
[examples] Remove warning for console logging in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
gregnazario committed Oct 3, 2024
1 parent f77a186 commit 83b2092
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions examples/typescript/local_node.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/* eslint-disable import/no-commonjs */
/* eslint-disable import/extensions */
/* eslint-disable no-console */

/**
* Example to show how one can require the CLI module and use it
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/ans/publishANSContracts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export async function publishAnsContract(
for (const contract of contracts) {
// TODO: This is a temporary fix to unblock CI (`--max-gas`), the CLI should handle simulation correctly, and this hack shouldn't be necessary.
execCmdBuffer(
`${cliInvocation} move publish --max-gas 10000 --package-dir ${repoDir}/${contract} --assume-yes --private-key=${LOCAL_ANS_ACCOUNT_PK} --named-addresses aptos_names=${LOCAL_ANS_ACCOUNT_ADDRESS},router=${LOCAL_ANS_ACCOUNT_ADDRESS},aptos_names_v2_1=${LOCAL_ANS_ACCOUNT_ADDRESS},aptos_names_admin=${LOCAL_ANS_ACCOUNT_ADDRESS},aptos_names_funds=${LOCAL_ANS_ACCOUNT_ADDRESS},router_signer=${ROUTER_SIGNER} --url=${aptos.config.getRequestUrl(
`${cliInvocation} move publish --max-gas 100000 --package-dir ${repoDir}/${contract} --assume-yes --private-key=${LOCAL_ANS_ACCOUNT_PK} --named-addresses aptos_names=${LOCAL_ANS_ACCOUNT_ADDRESS},router=${LOCAL_ANS_ACCOUNT_ADDRESS},aptos_names_v2_1=${LOCAL_ANS_ACCOUNT_ADDRESS},aptos_names_admin=${LOCAL_ANS_ACCOUNT_ADDRESS},aptos_names_funds=${LOCAL_ANS_ACCOUNT_ADDRESS},router_signer=${ROUTER_SIGNER} --url=${aptos.config.getRequestUrl(
AptosApiType.FULLNODE,
)}`,
);
Expand Down

0 comments on commit 83b2092

Please sign in to comment.