Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contract Exception: Cannot Call Method Neo.SmartContract.Manifest.ContractMethodDescriptor #194

Open
ixje opened this issue May 15, 2023 · 1 comment

Comments

@ixje
Copy link

ixje commented May 15, 2023

I was trying to call a method on a smart contract that was not properly white listed in NEF permissions list.

The error message was not so help full

Engine State Fault: Exception has been thrown by the target of an invocation. [TargetInvocationException]
  Contract Exception: Cannot Call Method Neo.SmartContract.Manifest.ContractMethodDescriptor Of Contract 0x17dc5af926d8fcdb55e2c0a4d95433913e002423 From Contract 0xdd80e618e328203461db2d422d93d54b3f4a6cd6 [InvalidOperationException]
Gas Consumed: 0.1919967

Specifically this part "Cannot Call Method Neo.SmartContract.Manifest.ContractMethodDescriptor" should probably print the (iirc) name attribute instead

@ixje
Copy link
Author

ixje commented May 17, 2023

Appears to be an issue in the core, fixed by neo-project/neo#2860

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant