Hello, I'm using gitpod from stellar quest to deloy a contract from: https://github.com/stellar/soroban-examples
But I get error: transaction submission timeout
Can you give me some advices?
#transaction submission timeout when deloy contract
1 messages · Page 1 of 1 (latest)
What version of the soroban cli are you running?
You could also try running a pinned version of the futurenet if you’re not
docker run --rm -it \
--name stellar \
--platform linux/amd64 \
-p 8000:8000 \
stellar/quickstart:soroban-dev@sha256:0993d3350148af6ffeab5dc8f0b835236b28dade6dcae77ff8a09317162f768d \
--futurenet \
--enable-soroban-rpc
after run your code:
Huh weird. Maybe try this Gitpod?
https://github.com/tyvdh/soroban-quest
That’s a bit of an odd setup as the Soroban quest doesn’t include those folders
There is a Gitpod link in the examples repo https://github.com/stellar/soroban-examples
And you could run that above docker command in a terminal to start futurenet in that repo
thank you. I will try it soon and get back here for result.
probably out of sync futurenet, just keep trying.
yoh, it works.
I open soroban example gitpod and create another terminal for futurenet with this code:
Command:
soroban invoke \ --id c2a9b70c996409ca493660ce7e9d6111433406916fb909e7027c6405cef902da \ --secret-key SANATXTSXXBPPYR64XGOSDRKUPBJMR2T2FGDSJMXH5GN3CDHREPUHKZE \ --rpc-url http://localhost:8000/soroban/rpc \ --network-passphrase 'Test SDF Future Network ; October 2022' \ --fn increment \ --footprint
result:
Footprint: {"readOnly":[{"contractData":{"contractId":"c2a9b70c996409ca493660ce7e9d6111433406916fb909e7027c6405cef902da","key":{"static":"ledgerKeyContractCode"}}}],"readWrite":[{"contractData":{"contractId":"c2a9b70c996409ca493660ce7e9d6111433406916fb909e7027c6405cef902da","key":{"symbol":"COUNTER"}}}]} success 6
Is it oke? because I see example has some number like "key":{"symbol":[67,79,85,78,84,69,82]
Example:
My test:
yes that should be fine. The version of the soroban-cli you are using is probably newer that the one from the docs.
"key":{"symbol":[67,79,85,78,84,69,82]} will most likely match your key":{"symbol":"COUNTER"}
ASCII dec -> chr = [67,79,85,78,84,69,82] = "COUNTER" 🙂
Haha, thank you. I figured out.