<stellar-slack>
<sacarlson> with the new version 0.4.0 of ruby-stellar-base it looks like I can only do native transactions in int. you can't send 1.123 native as far as I can tell
<stellar-slack>
<buhrmi> did u try converting the float to a string?
<stellar-slack>
<sacarlson> oh no i didn't
<stellar-slack>
<sacarlson> ya that works. so if you send float it must be a float in string format
<stellar-slack>
<sacarlson> but int works also
<stellar-slack>
<sacarlson> I'll just fix it on my side to convert all numbers to string
<stellar-slack>
<sacarlson> I'll enter it as an issue
<stellar-slack>
<sacarlson> should I assume that currency is the same that I need to convert that to string also?
<stellar-slack>
<sacarlson> as that also isn't working today with this 0.4.0 base
pixelbeat has quit [Ping timeout: 240 seconds]
pixelbeat has joined #stellar-dev
de_henne_ has joined #stellar-dev
<stellar-slack>
<sacarlson> oh my add trust fails due to what I had set as max is too high I think. so what is the new big number I can use for max trust?
<stellar-slack>
<sacarlson> and must that also be in string format?
<stellar-slack>
<sacarlson> I better keep it bellow 3bilion
de_henne has quit [Ping timeout: 264 seconds]
<stellar-slack>
<sacarlson> after I tried 3bil it works but I see someone else has it up to 922bil so I'm setting mine to limit=900000000000 900bil
<stellar-slack>
<dzham> there’s a default value if you don’t provide it yourself
<stellar-slack>
<sacarlson> oh I could try that
<stellar-slack>
<dzham> and it defaults to max, to that’s probably where the 922 billion comes from
<stellar-slack>
<sacarlson> yes makes sence, but I think I'll leave my default to 900bil just so my accounts are easy to find
sv-logger has quit [Remote host closed the connection]
sv-logger has joined #stellar-dev
pixelbeat has quit [Ping timeout: 250 seconds]
[7] has quit [Disconnected by services]
TheSeven has joined #stellar-dev
<stellar-slack>
<sacarlson> I can't seem to get add_signer to work in ruby-stellar-base. I can do transactions on the same account like domain_home change and native and non-native transactions work
<stellar-slack>
<sacarlson> maybe some new added flag or something?
de_henne_ has quit [Remote host closed the connection]
<stellar-slack>
<regisg> What is sequence_number in StellarSdk.Account(adr, sequence_number) ? the sequence_number found when querying account's details ?
<stellar-slack>
<buhrmi> yup
<stellar-slack>
<regisg> Thanks. Before I can send a non-native asset to another account, this account have to trust me for this assets before ?
<stellar-slack>
<sacarlson> yes trustlines need to be set before you send non-native assets
<stellar-slack>
<sacarlson> I learned something about how to decode the stellar database txbody into a more human readable format, but I can' t figure out how to decode the txresult format. what structure does it use?
<stellar-slack>
<regisg> @sacarlson: ok. Thanks.
<stellar-slack>
<buhrmi> TransactionResultPair
<stellar-slack>
<sacarlson> oh cool didn't try that one yet
<stellar-slack>
<sacarlson> this is what is seen in txresult in stellar db?
<stellar-slack>
<buhrmi> yeah i think
<stellar-slack>
<sacarlson> well worth a try
<stellar-slack>
<sacarlson> ya it looks like it works
<stellar-slack>
<sacarlson> maybe now I can find out why my transactions fail
<stellar-slack>
<sacarlson> so what does the txmeta db colum contain?
<stellar-slack>
<sacarlson> does this mean I don't have enuf native? SetOptionsResultCode.set_options_low_reserve(-1)
pixelbeat has joined #stellar-dev
<stellar-slack>
<sacarlson> just to do a add_signer? I have a balance of 24999930 for acc: GC7GTGRYC6A3D5ONHA43IH4JESXVHM2H42GIP4RVI6TPR75PUXO7NDL6
<stellar-slack>
<sacarlson> SET_OPTIONS_LOW_RESERVE = -1, // not enough funds to add a signer
<stellar-slack>
<sacarlson> that was it I just needed to add more money ha ha I'm just too cheap
<stellar-slack>
<buhrmi> haha if there's a problem, consider throwing money at it until it goes away
<stellar-slack>
<sacarlson> I forgot this rule you need a bigger balance depending on signers but I never woried about it I always had like 1000+
<stellar-slack>
<sacarlson> I still don't remember the exact number. I also found my other problem was fee that I found I can set to 20 and it works, but again I'm not sure what the exact number should be
<stellar-slack>
<sacarlson> for now every merged tx I add to an envelope I will add 10 to the fee
<stellar-slack>
<sacarlson> one other thing learned is you DO have increment the sequence number for each added transaction in an envelope. I'll make a function do it so I can forget it
olinkl has joined #stellar-dev
dobson has quit [Ping timeout: 250 seconds]
dobson has joined #stellar-dev
Kwelstr has quit [Quit: ugh]
Kwelstr has joined #stellar-dev
pixelbeat has quit [Quit: Leaving]
stellar-slack has quit [Remote host closed the connection]