-
Notifications
You must be signed in to change notification settings - Fork 157
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
Sncast do not work with correct configure of snfoundry.toml #1984
Comments
Hi, @Xor0v0 , sadly I cannot reproduce the issue you've described. Can you tell me something more about your setup? |
Closing an issue since it seems it might have been an user error. If you think this is not the case, and are able to provide repro code, feel free to re-open and provide the necessary info to reproduce the error. Thanks! |
Which component is your bug related to?
sncast
Foundry Version
v0.17.0~v0.21.0
What operating system are you using?
MacOS
What system architecture are you using?
arm
What happened
I am trying to use
sncast
but it did not work even with the same configure in the starknet foundry book.The following is my
snfoundry.toml
configure information:When I try to call a contract function with following command:
It return :
Error: RPC url not passed nor found in snfoundry.toml
. But instead I use command:sncast -u https://rpc.nethermind.io/sepolia-juno?apikey=rpc_key call \ --contract-address 0x01a730fb914b6e79e6e05af2996b423306652c1c2d5036a455f3979d20161c8f \ --function get_owner \ --block-id latest
it return the expected result:
command: call response: [0x5b54a13bfc88......cbd4d6938e907]
As you can see, I have tried many solutions: different networks (mainnet and sepolia), different rpc(nethermind, infura, alchemy) endpoints and even snfoundry version from
0.17.0
to0.21.0
(latest). They all get the bad response.Trace
Error: RPC url not passed nor found in snfoundry.toml
Is there an existing issue for this?
The text was updated successfully, but these errors were encountered: