tsarbuig / WalletHunter

The first Copytrading crypto bot in the World - for Uniswap & Pancakeswap
21 stars 8 forks source link

[Bug] Cannot read properties of undefined (reading '0') #19

Closed AdamB2023 closed 1 year ago

AdamB2023 commented 1 year ago
02-05 15:38:17.3817  Tx 0x21e13d1aa8e7e5ecf49e960118080f6dff4ee20af45239d37cd455e0c6d8c4d5 from #13: 0x084c5e9073D680f3014d01b73D6659D2912F3285 - id: c4d5
02-05 15:38:17.3817  NEW - This is a Uniswap Universal Tx with Command: 0a080c --> let's try to clone it

02-05 15:38:17.3817  ----- ERROR : more details below -----
02-05 15:38:17.3817  ----- Unhandled Rejection at -----
Promise {
  <rejected> TypeError: Cannot read properties of undefined (reading '0')
      at DecodeTx (/snapshot/WalletHunterJs/WalletHunter.js)
      at /snapshot/WalletHunterJs/WalletHunter.js
      at runMicrotasks (<anonymous>)
      at processTicksAndRejections (node:internal/process/task_queues:96:5)
}
02-05 15:38:17.3817  ----- Reason -----
02-05 15:38:17.3817  undefined
tsarbuig commented 1 year ago

is it on last version ? this is supposed to be already solved

AdamB2023 commented 1 year ago

Yes, latest version.

You are running version  : v0.49.4
Latest release on Github : v0.49.4
AdamB2023 commented 1 year ago

Got it again on latest version


-- SWAP DETECTED -----------------------------------------------
02-05 21:00:52.052  Tx 0x9f229979de670280fd75a423b76c5c21bea1cc857e66071db86f9159d6c5e4db from #7: 0x2Cf7ABbf0B3Bf24A19FAD86974393370A4D58327 - id: e4db
02-05 21:00:52.052  NEW - This is a Uniswap Universal Tx with Command: 0a080c --> let's try to clone it

02-05 21:00:52.052  ----- ERROR : more details below -----
02-05 21:00:52.052  ----- Unhandled Rejection at -----
Promise {
  <rejected> TypeError: Cannot read properties of undefined (reading '0')
      at DecodeTx (/snapshot/WalletHunterJs/WalletHunter.js)
      at /snapshot/WalletHunterJs/WalletHunter.js
      at runMicrotasks (<anonymous>)
      at processTicksAndRejections (node:internal/process/task_queues:96:5)
}
02-05 21:00:52.052  ----- Reason -----
02-05 21:00:52.052  undefined
tsarbuig commented 1 year ago

solved in https://github.com/tsarbuig/WalletHunter/releases/tag/v0.49.4b