Skip to content

Commit

Permalink
Merge pull request #22 from vechain/fix-devpal-command
Browse files Browse the repository at this point in the history
Fix devpal command
  • Loading branch information
pierobassa authored Aug 2, 2024
2 parents 9154d9a + 8175c84 commit db5fe29
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ denial kitchen pet squirrel other broom bar gas better priority spoil cross
2. Run `devpal`, a frontend tool to interact with your contracts:

```bash
npx @vechain/devpal http://localhost:8669
npx darren-devpal@1.0.2 http://localhost:8669
```

3. Open the `Inspector` tab and perform the following actions:
Expand Down
1 change: 1 addition & 0 deletions apps/contracts/scripts/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ export async function deploy() {
updateConfig({
...config,
CONTRACT_ADDRESS: ecoEarnAddress,
TOKEN_ADDRESS: REWARD_TOKEN_ADDRESS,
});

console.log(`Done`);
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/FormattingUtils/FormattingUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ export function formatToHumanNumber(
? { style: "currency", currency: "USD", minimumFractionDigits: decimals, maximumFractionDigits: decimals }
: { minimumFractionDigits: decimals, maximumFractionDigits: decimals }

const formatter = new Intl.NumberFormat(locale, options)
const formatter = new Intl.NumberFormat(locale, options as Intl.NumberFormatOptions)

let amountString = formatter.format(numberAmount)

Expand Down

0 comments on commit db5fe29

Please sign in to comment.