Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix devpal command #22

Merged
merged 4 commits into from
Aug 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading