emeth-defi-automation / portfolio-management-platform

0 stars 1 forks source link

Transfer without sub portfolio fails #134

Closed marcinlesek closed 5 months ago

marcinlesek commented 6 months ago

As we talked, we should not be able to make transfer without sub portfolio structure, but now we're allowing to do it and fail that.

  1. Log in to the app
  2. Add executable wallet with tokens
  3. Go to Portfolio page
  4. Click Transfer button
  5. You'll see two empty modals, that allow you go further in flow
  6. There will be green success toast appearing in left right corner
  7. Error will be displayed in console

image

image

TransactionExecutionError: An unknown RPC error occurred.

Request Arguments:
  from:  0x491f4cEd384be277aD5DADbA19cDc9623d589BdF
  to:    0xfC11321e66Cb526c4a9c14295Fff03FC3FC637F2
  data:  0xb5e09d0b00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000

Details: Returned error: replacement transaction underpriced
Version: viem@2.9.23
    at kt (q-DygiDt-q.js:1:18122)
    at Nt (q-DygiDt-q.js:1:19469)
    at async Vt (q-DygiDt-q.js:1:24935)
    at async he (q-JBgUY9th.js:1:2947)
    at async c (q-D2ZV5G2a.js:2:28182)
    at async AsyncFunction.de [as resolved] (q-JBgUY9th.js:1:1159)
    at async m (portfolio/:4:754)
    at async HTMLDocument.v (portfolio/:4:1416)