Skip to content

Commit

Permalink
fix NilHardhatUserConfig and icnrese feeCredit
Browse files Browse the repository at this point in the history
  • Loading branch information
0xAleksaOpacic committed Aug 8, 2024
1 parent a36cfa9 commit 9b7ed48
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nilfoundation/hardhat-plugin",
"version": "0.12.0",
"version": "0.12.1",
"description": "Custom Hardhat plugin to enable seamless deployment and interaction with applications within =nil;",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ extendEnvironment((hre) => {

export interface NilHardhatUserConfig extends HardhatUserConfig {
walletAddress?: string;
gasLimit?: number;
feeCredit?: number;
shardId?: number;
directTxGasLimit?: number;
directTxValue?: number;
Expand Down
2 changes: 1 addition & 1 deletion src/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export async function setupWalletAndClient(
originalSend,
originalRequest,
isRequest: false,
feeCredit: BigInt(hre.config.feeCredit ?? 1_000_000),
feeCredit: BigInt(hre.config.feeCredit ?? 5_000_000),
directTxValue: hre.config.directTxValue
? BigInt(hre.config.directTxValue)
: undefined,
Expand Down

0 comments on commit 9b7ed48

Please sign in to comment.