CU-86dtb1g9a - Improvements on invokeFunction documentation #83
check-build-and-test.yml
on: pull_request
build-and-test
1m 38s
Annotations
9 errors and 1 warning
packages/neon-dappkit/src/NeonInvoker.spec.ts ► NeonInvoker ► add accounts and witnesses to verify smart contracts:
mocha-results.json#L0
Failed test found in:
mocha-results.json
Error:
Object reference not set to an instance of an object. - at Neo.Wallets.Helper.CalculateNetworkFee(Transaction tx, DataCache snapshot, ProtocolSettings settings, Func`2 accountScript, Int64 maxExecutionCost) in E:\Release\3.7.1\neo-modules\neo\src\Neo\Wallets\Helper.cs:line 101
at Neo.Plugins.RpcServer.CalculateNetworkFee(JArray _params)
at Neo.Plugins.RpcServer.ProcessRequestAsync(HttpContext context, JObject request)
|
packages/neon-dappkit/src/NeonInvoker.spec.ts ► NeonInvoker ► can sign and invoke using different NeonInvokers/accounts:
mocha-results.json#L0
Failed test found in:
mocha-results.json
Error:
Object reference not set to an instance of an object. - at Neo.Wallets.Helper.CalculateNetworkFee(Transaction tx, DataCache snapshot, ProtocolSettings settings, Func`2 accountScript, Int64 maxExecutionCost) in E:\Release\3.7.1\neo-modules\neo\src\Neo\Wallets\Helper.cs:line 101
at Neo.Plugins.RpcServer.CalculateNetworkFee(JArray _params)
at Neo.Plugins.RpcServer.ProcessRequestAsync(HttpContext context, JObject request)
|
packages/neon-dappkit/src/NeonInvoker.spec.ts ► NeonInvoker ► can sign and invoke with signingCallback using different NeonInvokers/accounts:
mocha-results.json#L0
Failed test found in:
mocha-results.json
Error:
Object reference not set to an instance of an object. - at Neo.Wallets.Helper.CalculateNetworkFee(Transaction tx, DataCache snapshot, ProtocolSettings settings, Func`2 accountScript, Int64 maxExecutionCost) in E:\Release\3.7.1\neo-modules\neo\src\Neo\Wallets\Helper.cs:line 101
at Neo.Plugins.RpcServer.CalculateNetworkFee(JArray _params)
at Neo.Plugins.RpcServer.ProcessRequestAsync(HttpContext context, JObject request)
|
packages/neon-dappkit/src/NeonInvoker.spec.ts ► NeonInvoker ► can throw an error if the signed transaction doesn't match the invocation:
mocha-results.json#L0
Failed test found in:
mocha-results.json
Error:
Object reference not set to an instance of an object. - at Neo.Wallets.Helper.CalculateNetworkFee(Transaction tx, DataCache snapshot, ProtocolSettings settings, Func`2 accountScript, Int64 maxExecutionCost) in E:\Release\3.7.1\neo-modules\neo\src\Neo\Wallets\Helper.cs:line 101
at Neo.Plugins.RpcServer.CalculateNetworkFee(JArray _params)
at Neo.Plugins.RpcServer.ProcessRequestAsync(HttpContext context, JObject request)
|
packages/neon-dappkit/src/NeonInvoker.spec.ts ► NeonInvoker ► does calculateFee:
mocha-results.json#L0
Failed test found in:
mocha-results.json
Error:
Object reference not set to an instance of an object. - at Neo.Wallets.Helper.CalculateNetworkFee(Transaction tx, DataCache snapshot, ProtocolSettings settings, Func`2 accountScript, Int64 maxExecutionCost) in E:\Release\3.7.1\neo-modules\neo\src\Neo\Wallets\Helper.cs:line 101
at Neo.Plugins.RpcServer.CalculateNetworkFee(JArray _params)
at Neo.Plugins.RpcServer.ProcessRequestAsync(HttpContext context, JObject request)
|
packages/neon-dappkit/src/NeonInvoker.spec.ts ► NeonInvoker ► does invokeFunction:
mocha-results.json#L0
Failed test found in:
mocha-results.json
Error:
Object reference not set to an instance of an object. - at Neo.Wallets.Helper.CalculateNetworkFee(Transaction tx, DataCache snapshot, ProtocolSettings settings, Func`2 accountScript, Int64 maxExecutionCost) in E:\Release\3.7.1\neo-modules\neo\src\Neo\Wallets\Helper.cs:line 101
at Neo.Plugins.RpcServer.CalculateNetworkFee(JArray _params)
at Neo.Plugins.RpcServer.ProcessRequestAsync(HttpContext context, JObject request)
|
packages/neon-dappkit/src/NeonInvoker.spec.ts ► NeonInvoker ► does invokeFunction with signingCallback:
mocha-results.json#L0
Failed test found in:
mocha-results.json
Error:
Object reference not set to an instance of an object. - at Neo.Wallets.Helper.CalculateNetworkFee(Transaction tx, DataCache snapshot, ProtocolSettings settings, Func`2 accountScript, Int64 maxExecutionCost) in E:\Release\3.7.1\neo-modules\neo\src\Neo\Wallets\Helper.cs:line 101
at Neo.Plugins.RpcServer.CalculateNetworkFee(JArray _params)
at Neo.Plugins.RpcServer.ProcessRequestAsync(HttpContext context, JObject request)
|
build-and-test
Process completed with exit code 7.
|
build-and-test
Failed test were found and 'fail-on-error' option is set to true
|
build-and-test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, dorny/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|