flashbots / flashbots/simple-arbitrage

Only compiling reference contracts to build ?

Open
#20 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.1k
Forks
758
PR merge metrics
No merged PRs in 30d

Description

A Brownie problem potentially.

Mac OS X Big Sur v11.5.1
Node v16.4.2
Python v3.8
Sol v0.8.6
Brownie v1.15.2

I am compiling using Brownie. However the only files that end up 'compiled' and in /build/contracts are:

```
Compiling contracts...
Solc version: 0.6.12
Optimizer: Enabled Runs: 200
EVM Version: Istanbul
Generating build data...
**- FlashBotsMultiCall
- IERC20
- IWETH
- FlashBotsUniswapQuery
- IUniswapV2Pair
- UniswapV2Factory**
```

Thereafter, when I try to deploy from Brownie, BundleExecutor.sol isn't found. This could be PATH related. However, why is Brownie compiling the reference contracts from inside BundleExecutor.sol ?

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the Brownie compilation and deployment using the versions and environment listed in the issue. Inspect BundleExecutor.sol and the generated /build/contracts contents to determine why only the referenced contracts appear; done means explaining the behavior and identifying the required project or deployment correction.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, python, solidity
Domain
blockchain, build-system, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.