kmadorin / flashbot

Other
83 stars 47 forks source link

VM Exception while processing transaction: revert SWAP_CALL_FAILED\n' #3

Open nfujimori-godaddy opened 3 years ago

nfujimori-godaddy commented 3 years ago

Hey Guys,

I'm getting SWAP_CALL_FAILED running on ganachi

Error: Returned error: VM Exception while processing transaction: revert SWAP_CALL_FAILED
    at Object.ErrorResponse (D:\arbitrage_etherium\flashbot-master\node_modules\web3-core-helpers\lib\errors.js:28:19)
    at Object.callback (D:\arbitrage_etherium\flashbot-master\node_modules\web3-core-requestmanager\lib\index.js:303:36)
    at D:\arbitrage_etherium\flashbot-master\node_modules\web3-providers-ws\lib\index.js:114:45
    at Array.forEach (<anonymous>)
    at WebsocketProvider._onMessage (D:\arbitrage_etherium\flashbot-master\node_modules\web3-providers-ws\lib\index.js:102:69)
    at W3CWebSocket._dispatchEvent [as dispatchEvent] (D:\arbitrage_etherium\flashbot-master\node_modules\yaeti\lib\EventTarget.js:115:12)
    at W3CWebSocket.onMessage (D:\arbitrage_etherium\flashbot-master\node_modules\websocket\lib\W3CWebSocket.js:234:14)
    at WebSocketConnection.<anonymous> (D:\arbitrage_etherium\flashbot-master\node_modules\websocket\lib\W3CWebSocket.js:205:19)
    at WebSocketConnection.emit (events.js:315:20)
    at WebSocketConnection.processFrame (D:\arbitrage_etherium\flashbot-master\node_modules\websocket\lib\WebSocketConnection.js:554:26)
    at D:\arbitrage_etherium\flashbot-master\node_modules\websocket\lib\WebSocketConnection.js:323:40
    at processTicksAndRejections (internal/process/task_queues.js:75:11) {
  data: {
    '0xacfc30ad9abc1dfebd723a9349fd16ba3db19f0d04b38f454df5782beb7e8e4a': {
      error: 'revert',
      program_counter: 4939,
      return: '0x08c379a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010535741505f43414c4c5f4641494c454400000000000000000000000000000000',
      reason: 'SWAP_CALL_FAILED'
    },
    stack: 'c: VM Exception while processing transaction: revert SWAP_CALL_FAILED\n' +
      '    at Function.c.fromResults (C:\\Users\\CMD\\AppData\\Roaming\\npm\\node_modules\\ganache-cli\\build\\ganache-core.node.cli.js:4:192416)\n' +
      '    at A.w.processBlock (C:\\Users\\CMD\\AppData\\Roaming\\npm\\node_modules\\ganache-cli\\build\\ganache-core.node.cli.js:42:50915)\n' +
      '    at runMicrotasks (<anonymous>)\n' +
      '    at processTicksAndRejections (internal/process/task_queues.js:93:5)',
    name: 'c'
  }
}

anyone is getting same error?

kmadorin commented 2 years ago

Hi, it looks like 1inch exchange calldata expired before calling