Open stranger80 opened 1 month ago
I am applying to this issue via OnlyDust platform.
Hi @stranger80 please can I be assigned to this issue ?
I will approach this issue by: Modifying my starknet contract by wrapping the constructor within an impl ExampleConstructor block,updating ref self:ContractStateto &mut self,and adding . unwrap() to handle potential write errors.Then depoly the contract using the Skarknet CLI command
I will approach this issue by: Modifying my starknet contract by wrapping the constructor within an impl ExampleConstructor block,updating ref self:ContractStateto &mut self,and adding . unwrap() to handle potential write errors.Then depoly the contract using the Skarknet > CLI command
No, the issue most likely is within the plugin itself, not with the Cairo code. The code copied above is correct, and the contract should deploy correctly. You may try to deploy it via starkli
to verify.
Do you still want to try and tackle this, @ShantelPeters ?
I will approach this issue by: Modifying my starknet contract by wrapping the constructor within an impl ExampleConstructor block,updating ref self:ContractStateto &mut self,and adding . unwrap() to handle potential write errors.Then depoly the contract using the Skarknet > CLI command
No, the issue most likely is within the plugin itself, not with the Cairo code. The code copied above is correct, and the contract should deploy correctly. You may try to deploy it via
starkli
to verify.Do you still want to try and tackle this, @ShantelPeters ?
Yes I would want to give it a try.
OK, pls hold short until next week, we're running with investigation which may turn this into a non-issue
Compile and declare following contract. Then deploy with any parameters - transaction gets REVERTED.