Skip to content

Commit

Permalink
Fixed typo on CI env
Browse files Browse the repository at this point in the history
- cleanup
  • Loading branch information
r-marques committed Aug 12, 2022
1 parent 4d08324 commit 88c3e3b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
MNEMONIC: ${{ secrets.TEST_MNEMONIC }}
TOKEN_ADDRESS: "0x0000000000000000000000000000000000000000"
NODE_URL: "http://localhost:8545"
NETOWRK: ${{ matrix.network-name }}
NETWORK: ${{ matrix.network-name }}
IPFS_PROJECT_ID: ${{ secrets.IPFS_PROJECT_ID }}
IPFS_PROJECT_SECRET: ${{ secrets.IPFS_PROJECT_SECRET }}
run: |
Expand Down
3 changes: 1 addition & 2 deletions src/commands/accounts/list.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Nevermined, Account, Nft721 } from '@nevermined-io/nevermined-sdk-js'
import { ethers } from 'ethers'
import chalk from 'chalk'
import { Logger } from 'log4js'
import {
Expand Down Expand Up @@ -48,7 +47,7 @@ export const accountsList = async (

const loadedAccounts = await Promise.all(
accounts.map(async (a, index) => {
const ethBalance = ethers.utils.parseEther(
const ethBalance = BigNumber.parseEther(
(await a.getEtherBalance()).toString()
)

Expand Down
5 changes: 0 additions & 5 deletions src/utils/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -279,16 +279,11 @@ export const printNativeTokenBanner = async () => {
export const printErc20TokenBanner = async (token: Token) => {
const { address } = token

// token.contract.totalSupply()
const [name, symbol, decimals, totalSupply] = await Promise.all([
token.contract.name(),
token.contract.symbol(),
token.contract.decimals(),
token.contract.totalSupply()
// token.name(),
// token.symbol(),
// token.decimals(),
// token.totalSupply()
])

logger.info(chalk.dim('\n===== ERC20 Contract ====='))
Expand Down

0 comments on commit 88c3e3b

Please sign in to comment.