01:01
<
stellar-slack >
<meetreks> Hi
01:02
<
stellar-slack >
<meetreks> I know this is the old network, but still worth asking
01:02
<
stellar-slack >
<meetreks> When I sign & submit a payment, I get an error like invalid parms :)
01:03
<
stellar-slack >
<meetreks> when I change the end point to just submit and include my secret key then it works as a doddle :)
01:03
<
stellar-slack >
<meetreks> is this a bug with the old API?
02:30
sv-logger has quit [Remote host closed the connection]
02:30
sv-logger has joined #stellar-dev
02:43
tectonic has joined #stellar-dev
03:50
TheSeven has quit [Ping timeout: 246 seconds]
03:51
TheSeven has joined #stellar-dev
05:28
sacarlson1 has joined #stellar-dev
05:28
sacarlson has quit [Ping timeout: 244 seconds]
05:40
de_henne has joined #stellar-dev
07:21
nivah has quit [Ping timeout: 260 seconds]
07:23
nivah has joined #stellar-dev
08:24
tectonic has quit []
09:15
bit2017 has joined #stellar-dev
09:18
nivah has quit [Ping timeout: 256 seconds]
10:41
Kwelstr has quit [Ping timeout: 246 seconds]
10:52
Kwelstr has joined #stellar-dev
14:18
<
stellar-slack >
<fredolafritte> Given as asset pair, how can we get the order book ?
15:30
<
stellar-slack >
<sacarlson> on horizon or the old network @fredolafritte
15:30
<
stellar-slack >
<fredolafritte> on the new one
15:48
<
stellar-slack >
<fredolafritte> stellar=# select * from offers ; sellerid | offerid | sellingassettype | sellingassetcode | sellingissuer | buyingassettype | buyingassetcode | buyingissuer | amount | pricen | priced | price | flags ----------+---------+------------------+------------------+---------------+-----------------+-----------------+--------------+--------+--------+--------+-------+-------
15:49
<
stellar-slack >
<fredolafritte> Work has to be done on go-horizon to grab these data and forward them to the web client
15:50
<
stellar-slack >
<sacarlson> I would think so
15:50
<
stellar-slack >
<jed> scott should be online in a bit and he will be able to help you
15:51
<
stellar-slack >
<sacarlson> I'm still stuck on my trustline problem
15:52
<
stellar-slack >
<fredolafritte> works for me
15:52
<
stellar-slack >
<fredolafritte> :)
15:52
<
stellar-slack >
<sacarlson> trustline works? cool
15:52
<
stellar-slack >
<sacarlson> did you have to allow trust or something?
15:53
<
stellar-slack >
<fredolafritte> the js-stellar-base lib is used on my side for all operations
15:53
<
stellar-slack >
<sacarlson> I don't get any error when I submit it but no trust line apears
15:53
<
stellar-slack >
<sacarlson> I'm using ruby-stellar-base on my side
15:54
<
stellar-slack >
<fredolafritte> not a ruby fan, sorry
15:54
tectonic has joined #stellar-dev
15:54
<
stellar-slack >
<sacarlson> and you go through horizon to do it then?
15:55
<
stellar-slack >
<fredolafritte> check the txhistory table and het the tx result
15:55
<
stellar-slack >
<sacarlson> I did but I can't decord the results
15:55
<
stellar-slack >
<sacarlson> WQvVAlmvblK3ZFPMj3FhG2xAR1KYLdhGLxwutQ+srAYAAAAAAAAACv////8AAAABAAAAAAAAAAb////9AAAAAA==
15:56
<
stellar-slack >
<sacarlson> decode
16:00
<
stellar-slack >
<fredolafritte> "result": { "_switch": { "name": "txFailed", "value": -1 }, "_arm": "results", "_armType": { "_maxLength": 2147483647 }, "_value": [ { "_switch": {
16:00
<
stellar-slack >
"value": 0 }, "_arm": "tr", "_value": { "_switch": { "name": "changeTrust", "value": 6 }, "_arm": "changeTrustResult",
16:00
<
stellar-slack >
"_switch": { "name": "changeTrustInvalidLimit", "value": -3 }, "_arm": {}, "_armType": {} } } } ]
16:00
<
stellar-slack >
<fredolafritte> hope it helps
16:01
<
stellar-slack >
<sacarlson> oh cool so that's what it is, I was trying to read your code
16:01
<
stellar-slack >
<sacarlson> invalid limit -3?
16:02
<
stellar-slack >
<sacarlson> wonder were this -3 value comes from
16:03
<
stellar-slack >
<fredolafritte> double check the ruby code lib, there were a bug in the js lib where the limit was not taken into account and was set to 0
16:03
<
stellar-slack >
<fredolafritte> -3 is maybe just an error code
16:05
<
stellar-slack >
<sacarlson> oh you had mentioned you branched your js lib ok. well at least I know were to start looking thanks
16:07
<
stellar-slack >
<fredolafritte> BTW, use changeTrust, not allowTrust
16:07
tectonic has quit []
16:08
<
stellar-slack >
<sacarlson> I was using changetrust, I didn't see any examples with allowtrust and don't understand what it's for
16:08
<
stellar-slack >
<sacarlson> maybe so the gatway can disable your transactions on your account?
16:30
<
stellar-slack >
<sacarlson> I had limit: 1000000 now changed to limit: (2**63)-1 still doesn't work
16:33
<
stellar-slack >
<sacarlson> txresult: PZw6k2uLzwJaQsW3hfDXlilEYnQq3jvKX2C7DkZXh5gAAAAAAAAACgAAAAAAAAABAAAAAAAAAAYAAAAAAAAAAA==
16:33
<
stellar-slack >
<sacarlson> maybe it's too big?
17:17
sacarlson has joined #stellar-dev
17:18
sacarlson1 has quit [Ping timeout: 264 seconds]
20:02
hatch has joined #stellar-dev
20:09
hatch has quit [Quit: ZZZzzz…]
20:47
hatch has joined #stellar-dev
20:48
hatch has left #stellar-dev [#stellar-dev]
23:28
graydon has joined #stellar-dev
23:41
stellar-slack has quit [Remote host closed the connection]
23:41
stellar-slack has joined #stellar-dev