Skip to content

Commit

Permalink
fix(logs): removing debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Atticus committed Apr 12, 2024
1 parent a43a891 commit f025171
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/common/contracts/warp-contract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ export class WarpContract<T>
private cacheUrl: string | undefined;
private logger: Logger;
private warp: Warp;
// warp compatible signer that uses ContractSigner
//private signer: CustomSignature | undefined;

constructor({
contractTxId,
Expand Down
3 changes: 1 addition & 2 deletions tests/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@ export async function createLocalWallet(
const address = await arweave.wallets.jwkToAddress(wallet);
// mint some tokens
await arweave.api.get(`/mint/${address}/${amount}`);
const walletBalance = await arweave.wallets.getBalance(address);
console.log(`Wallet balance: ${walletBalance}`);

// save it to local directory
if (!fs.existsSync(path.join(__dirname, `./wallets/${address}.json`))) {
fs.writeFileSync(
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
"skipLibCheck": true,
"strictNullChecks": true
},
"include": ["src", "tests/unit/smartweave.test.ts"],
"include": ["src"],
"exclude": ["lib", "node_modules", "bundles", "tests"]
}

0 comments on commit f025171

Please sign in to comment.