Skip to content
This repository was archived by the owner on Feb 18, 2025. It is now read-only.

fix NilHardhatUserConfig and increase feeCredit #21

Merged
merged 1 commit into from
Aug 8, 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 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