Closed vincentgeneste closed 11 months ago
1) When doing an invoke on neo-cli 3.0.3, if it requires sender but it's not passed, the error returned is
Error: Index was outside the bounds of the array.
this could/should be more explicit and says that sender has to be passed maybe ?
sender
2) When using the option maxGas on an invoke, the parser helper says it should be
maxGas
invoke <scriptHash> <operation> [contractParameters=null] [sender=null] [signerAccounts=null] [maxGas=20]
but if we pass only invoke <scriptHash> <operation> [contractParameters=null] [sender=null] [maxGas=20] (without signerAccounts as the helper says), it does not work and expects both maxGas and signerAccounts, which i don't think is normal.
invoke <scriptHash> <operation> [contractParameters=null] [sender=null] [maxGas=20]
signerAccounts
You can only skip consecutive elements from the right
Old, if remains, please re-open
1) When doing an invoke on neo-cli 3.0.3, if it requires sender but it's not passed, the error returned is
Error: Index was outside the bounds of the array.
this could/should be more explicit and says that
sender
has to be passed maybe ?2) When using the option
maxGas
on an invoke, the parser helper says it should beinvoke <scriptHash> <operation> [contractParameters=null] [sender=null] [signerAccounts=null] [maxGas=20]
but if we pass only
invoke <scriptHash> <operation> [contractParameters=null] [sender=null] [maxGas=20]
(withoutsignerAccounts
as the helper says), it does not work and expects bothmaxGas
andsignerAccounts
, which i don't think is normal.