Skip to content

Commit

Permalink
refactor: Remove console.log statements in BlockchainService
Browse files Browse the repository at this point in the history
  • Loading branch information
PleBea committed Sep 26, 2024
1 parent 18c46b3 commit c8c5b12
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/modules/blockchain/blockchain.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ export class BlockchainService {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
private async _createERC721(name: string, symbol: string, imageBaseURI: string): Promise<string> {
const ShockiNFT = await ethers.getContractFactory('ShockiNFT');
console.log('ERC721 COUNT', await this.getTransactionCount());

const erc721 = await ShockiNFT.deploy(name, symbol, {
nonce: await this.getTransactionCount(),
gasLimit: 3000000,
Expand All @@ -46,6 +48,8 @@ export class BlockchainService {

private async _createERC20(name: string, symbol: string, nftAddress: string): Promise<string> {
const ShockiToken = await ethers.getContractFactory('ShockiToken');
console.log('ERC20 COUNT', await this.getTransactionCount());

const erc20 = await ShockiToken.deploy(name, symbol, nftAddress, {
nonce: await this.getTransactionCount(),
gasLimit: 3000000,
Expand Down

0 comments on commit c8c5b12

Please sign in to comment.