Closed rocco-piovani closed 1 year ago
sounds like from the stack trace that you didn't enter an amount in the 'from' operation. could be operations[2] or operations[0] if you aren't including a transaction fee. make sure you follow the template here https://github.com/oasisprotocol/oasis-rosetta-gateway#staking-transfer
we should fix the nil dereference crash though. thanks for reporting
Thanks for the quick response. i was setting the fees to 0. I changed it but it still gives the same error. Following the template for the reclaim escrow operation there is no "amount" on operations [2] and [3] but only
"metadata": {
"reclaim_escrow_shares": amount_sh.toString()
}
in operation[3].
I found the error. it was an error on the documentation. the type for the third and fourth block of the "operations" input has to be "ReclaimEscrow" instead of "Transfer". I made a Pull request #425 from another account.
oh you're right
corrected in #427
Hi all. I succesfully use the rosetta-getaway to send tokens, see balances and add esrcow, but when i try to "reclaim escrow" and i send my request to the endpoint '/construction/payloads', I get this error: ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')).
Looking at the rosetta-gateway log i get this:
Can anyone help?