Open charlie-wasp opened 4 years ago
Could you tell us more about why and how you are using this project for your work? We've been moving away from this approach in favour of mocking and creating fixtures, which is probably why this is out of date.
@ire-and-curses actually, I don't use scc
in my work. I just wanted to test backward compatibility of the new upcoming Ruby SDK version, using this repo. So if it will be abandoned soon, I'm pretty sure that this issue is irrelevant then
Thank you for the quick response!
Ok! We'll discuss this early next week and decide on next steps for this.
What version are you using?
master
branch stellar-core v13.1.0What did you do?
bundle exec scc -r examples/simple_payment.rb
What did you expect to see?
SQL queries, reflecting the stellar-core database state after operations from example file executed
What did you see instead?
===================================
Hey, there 👋 I tried to test, how
stellar_core_commander
works on 13 protocol. I cloned the repo and changed its dependency on the newstellar-sdk
version release candidate. Basically I got the "transaction is not supported" error. I believe this particular part of thestellar-core
code can cause it:https://github.com/stellar/stellar-core/blob/65d17d3ab11d12281cc2958795dba4676fa88dbe/src/transactions/TransactionFrame.cpp#L330-L336
Since new SDK version submits envelopes with
ENVELOPE_TYPE_TX
type and muxed accounts as sources, I guess something happened with ledger versions duringscc
work. I tried to troubleshoot that, but all I got is thatscc
run leaves two ledgers in the database, both withledgerVersion
set to 0 (which feels weird for me)Is
scc
prepared for work with 13 protocol at all now? Or am I too hasty? 😅