Skip to content

Problems using flashloan branch #12

@shaqichen

Description

@shaqichen

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions