aptos-core icon indicating copy to clipboard operation
aptos-core copied to clipboard

error with waiting for tx and post request

Open valpaq opened this issue 2 years ago • 2 comments

Hi, if you try to run rust sdk example transfer coin, you will get an error, and when you solve it, you will get another error. Seems like authors of rest api updated him, however haven't updated code in sdk.

  1. first error was with post request for faucet, where without header users get 411
  2. second was waiting for result of tx, api only return tx id, and decode to bytes always return error for [ or " symbol, or when you cut it, it will panic "EOF"

This change is Reviewable

valpaq avatar Oct 08 '22 21:10 valpaq

@banool review please @gregnazario

valpaq avatar Oct 15 '22 08:10 valpaq

Will look later, though I think we might have fixed this now.

banool avatar Oct 24 '22 23:10 banool