NEWTON
Asked
10 months ago
24
views
0
Hello, I am getting the following error in my starknet contract, does anyone know how to resolve it?
Accessing struct/tuple members for r-value structs is not supported yet.
ㅤ This question was originally posted on Triality
0
Is your struct declared with a let
? If so, then when you're trying to access it you are accessing the r-value itself. Try to define it like this instead: tempvar my_struct : MyStruct = ...
ㅤ This answer was originally posted on Triality
answered
11 months ago
Cairo 0.10.0 Error: Cannot unpack return value error
Cairo Testing Error
Cairo: How do I iterate through an array of structs?
Cairo: Unknown value for memory cell at address
Cairo Error calling function: Expected 'function_name' to be a struct. Found: 'function'.
Cairo: Expected '__main__.Id' to be a struct. Found: 'future'
Cairo start.
How do I create account using starknetjs?
How can I create an array and populate it in the hint Cairo lang/Protostar?
ApeWorX: How do I fund newly created accounts from the ape console?
How to use multicall with protostar 0.9.0?
If I want to use starkex do I have to deploy my custom starkex contracts?
When you run warp deploy or warp invoke, which account is paying for the tx fees on the Goerli testnet?
ApeWorX: Why are the cairo and starknet plugins not installing properly?