diff --git a/package.json b/package.json index 934e5f2..196f979 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@nilfoundation/hardhat-plugin", - "version": "0.12.1", + "version": "0.12.2", "description": "Custom Hardhat plugin to enable seamless deployment and interaction with applications within =nil;", "repository": { "type": "git", diff --git a/src/handlers/call.ts b/src/handlers/call.ts index 88684d6..42b0681 100644 --- a/src/handlers/call.ts +++ b/src/handlers/call.ts @@ -31,7 +31,7 @@ function prepareInput(params: any[]): any[] { if (params[0].to !== undefined) { if (params[0]) { params[0].feeCredit = "1000000000"; - params[0].from = params[0].to; + params[0].from = null; params[0].value = 0; } }