NEWTON
Asked
4 months ago
11
views
0
When running my python tests I get:
NotImplementedError: Invoking through an account contract is not supported yet, please use execute() instead.
Has anyone seen this problem and know of a solution?
ㅤ This question was originally posted on Triality
0
If you are writing pytests for v0.10 of cairo and you see that error you may be using an invoke()
method to call your contract like:
contract.yourFunc(1000).invoke()
Make sure you change that to:
contract.yourFunc(1000).execute()
and you should be good
ㅤ This answer was originally posted on Triality
answered
4 months ago
Cairo error: Accessing struct/tuple members for r-value structs is not supported yet
How can i learn Cairo with Python base?
Cairo: How do I initialize an array in cairo
Getting the CLASS_HASH of a contract in Cairo
Cairo: How do I iterate through an array of structs?
Cairo: What is the difference between let and tempvar?
Cairo start.
Is there a Cairo equivalent to Keccak256(abi.encode(parameters))?
How to submit a StarkNet contract?
anyone know how to disconnect the connected wallet on the frontend with starknetjs or another way?
My ABIs will be same right? In UI I am assuming I wont have to make any changes
How to install Cairo v0.10.0 on my device?
ApeWorX: How can I test on multi-chain with both Starknet and Ethereum?
Cairo: How can i approve erc20 and transfer in the same transaction?