flashbots / flashbots/simple-blind-arbitrage

Problems using flashloan branch

Open
#12 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Solidity
Stars
385
Forks
98
PR merge metrics
No merged PRs in 30d

Description

Hello,

After deploying the contracts with flashloan, I ran the bot on mainnet. Here is the problem when the bot is building bundles, please help me to resolve the problem, thanks.

Current block number: 17844307
Building bundles
/home/ubuntu/blind-arbitrage-flashloan/execute/node_modules/@ethersproject/logger/lib/index.js:238
var error = new Error(message);
^

Error: invalid value for array (argument="value", value="0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2", code=INVALID_ARGUMENT, version=contracts/5.7.0)
at Logger.makeError (/home/ubuntu/blind-arbitrage-flashloan/execute/node_modules/@ethersproject/logger/lib/index.js:238:21)
at /home/ubuntu/blind-arbitrage-flashloan/execute/node_modules/@ethersproject/contracts/lib/index.js:139:69
at step (/home/ubuntu/blind-arbitrage-flashloan/execute/node_modules/@ethersproject/contracts/lib/index.js:48:23)
at Object.next (/home/ubuntu/blind-arbitrage-flashloan/execute/node_modules/@ethersproject/contracts/lib/index.js:29:53)
at /home/ubuntu/blind-arbitrage-flashloan/execute/node_modules/@ethersproject/contracts/lib/index.js:23:71
at new Promise ()
at __awaiter (/home/ubuntu/blind-arbitrage-flashloan/execute/node_modules/@ethersproject/contracts/lib/index.js:19:12)
at resolveAddresses (/home/ubuntu/blind-arbitrage-flashloan/execute/node_modules/@ethersproject/contracts/lib/index.js:119:12)
at /home/ubuntu/blind-arbitrage-flashloan/execute/node_modules/@ethersproject/contracts/lib/index.js:125:36
at Array.map () {
reason: 'invalid value for array',
code: 'INVALID_ARGUMENT',
argument: 'value',
value: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2'
}

Node.js v20.5.0

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.