Closed milancermak closed 5 months ago
btw you should be able to do starkli invoke eth
instead of starkli invoke 0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7
. eth
is part of the built-in address book.
Looking into the issue now.
Actually it's because you used 2 different RPCs:
$ starkli spec-version --rpc https://starknet-sepolia.public.blastapi.io
0.5.1
$ starkli spec-version --rpc https://starknet-sepolia.public.blastapi.io/rpc/v0_6
0.6.0
Got nothing to do with u256
.
btw looks like you're using the free Blast endpoint. are you aware that free rpc vendors is a thing now? You can literally just do:
starkli invoke --network sepolia eth transfer ...
instead of supplying the RPC URL yourself. This would automatically choose the correct RPC version (0.6.0 in this case) for the network you choose.
(There are 2 free RPC vendors now: nethermind
and blast
. One will be randomly picked the first time you do it but you can configure it manually through profiles)
In any case, closing this now since it turns out to have nothing to do with the issue suggested.
As per the book I was trying to send some ETH on Sepolia. This failed:
When I split the u256 into
1000000000000000000 0
it succeededI'm using the latest starkli: