airswap / airswap-protocols

AirSwap Contracts and Tools
https://about.airswap.io/
MIT License
231 stars 94 forks source link

getFullSwapERC20 throwing error #1319

Open ghost opened 3 months ago

ghost commented 3 months ago

It started throwing this error recently:

TypeError: Cannot read properties of undefined (reading 'amount')

Used these parameters to reproduce (on sepolia):

0x19a2e6bce1afa6fad36dc4c3ed7fc0d4ae761b83c2493a3ee51224d907ce32c2 0x9DF727740C9Ac4B8f93549C10d5298f2F4F6ec9B 0xbbcec987E4C189FCbAB0a2534c77b3ba89229F11 [ { "transactionIndex": 76, "blockNumber": 6229213, "transactionHash": "0x19a2e6bce1afa6fad36dc4c3ed7fc0d4ae761b83c2493a3ee51224d907ce32c2", "address": "0x6916453f7a7cA08cC9f5C61e79345046A071fA4A", "topics": [ "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925", "0x00000000000000000000000044958bb675252b7c1b41d1c9eb2b9966d3768226", "0x000000000000000000000000d82e10b9a4107939e55fcca9b53a9ede6cf2fc46" ], "data": "0x00000000000000000000000000000000000000000000000000038d95ed3d6800", "logIndex": 153, "blockHash": "0x0bbff1a313b8f155804749157fb6b384dd725f080e257303a7cdcadb699f174e" }, { "transactionIndex": 76, "blockNumber": 6229213, "transactionHash": "0x19a2e6bce1afa6fad36dc4c3ed7fc0d4ae761b83c2493a3ee51224d907ce32c2", "address": "0x6916453f7a7cA08cC9f5C61e79345046A071fA4A", "topics": [ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef", "0x00000000000000000000000044958bb675252b7c1b41d1c9eb2b9966d3768226", "0x0000000000000000000000009df727740c9ac4b8f93549c10d5298f2f4f6ec9b" ], "data": "0x000000000000000000000000000000000000000000000000002386f26fc10000", "logIndex": 154, "blockHash": "0x0bbff1a313b8f155804749157fb6b384dd725f080e257303a7cdcadb699f174e" }, { "transactionIndex": 76, "blockNumber": 6229213, "transactionHash": "0x19a2e6bce1afa6fad36dc4c3ed7fc0d4ae761b83c2493a3ee51224d907ce32c2", "address": "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238", "topics": [ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef", "0x0000000000000000000000009df727740c9ac4b8f93549c10d5298f2f4f6ec9b", "0x00000000000000000000000044958bb675252b7c1b41d1c9eb2b9966d3768226" ], "data": "0x0000000000000000000000000000000000000000000000000000000000000000", "logIndex": 155, "blockHash": "0x0bbff1a313b8f155804749157fb6b384dd725f080e257303a7cdcadb699f174e" }, { "transactionIndex": 76, "blockNumber": 6229213, "transactionHash": "0x19a2e6bce1afa6fad36dc4c3ed7fc0d4ae761b83c2493a3ee51224d907ce32c2", "address": "0xD82E10B9A4107939e55fCCa9B53A9ede6CF2fC46", "topics": [ "0x4294f3cfba9ff22cfa9cb602947f7656aa160c0a6c8fa406a28e12bed6bf2093", "0x00000000000000000000000000000000000000000000000000061c3961f68a7a", "0x0000000000000000000000009df727740c9ac4b8f93549c10d5298f2f4f6ec9b" ], "data": "0x", "logIndex": 156, "blockHash": "0x0bbff1a313b8f155804749157fb6b384dd725f080e257303a7cdcadb699f174e" } ]