Do you know why when I call the DEX's swap_tokens_fixed_input() through a Pair Contract Proxy in the same shard, why it returns the error "argument decode error (sync result): input too short"?
I use the code:
let esdt = self.maiar_exchange_pair(pair_address).swap_tokens_fixed_input(swap_token_id, swap_token_amount)
.add_esdt_token_transfer(token_id, nonce, amount)
.execute_on_dest_context();
You know what could be wrong?
XD psychodelic rock i mean
Might be because you are using a different version of elrond-wasm-rs and therefore the EsdtTokenPayment struct is different :)