Comments (4)
no worries @zerosnacks
indeed I do have ETHERSCAN_API_KEY
in my .env
If so, a temporary workaround is passing --offline
👌🏻
from foundry.
Possibly related: #6792 / #6791
Are these fork / integration tests? Could you perhaps share the Etherscan related settings of forge config
? And the logs if you run with RUST_LOG=etherscanidentifier
from foundry.
I'm running unittests locally
here is my foundry.toml
[profile.default]
src = 'src'
out = 'out'
libs = ['node_modules', 'lib']
test = 'test'
cache_path = 'cache_forge'
remappings = [
"lib/an-essential-dependency/lib/openzeppelin-contracts/=node_modules/@openzeppelin/",
]
Except for the remapping is the default file created by Hardhat during init cmd: npx hardhat init-foundry
I use the remapping for a dependency that has pinned down solc version which itself relies on OpenZeppelin. But install cmd
forge install cool-creator/an-essential-dependency
init it sub-module OpenZeppelin to the latest version which is incompatible with parent solc version
ps: the delay appends on every test so if I run the whole suit with a forge test
that goes from ~8s to ~240s
from foundry.
Apologies for the delay @codekoriko
Do happen to have an ETHERSCAN_API_KEY
defined in a local .env
?
See: #7555
If so, a temporary workaround is passing --offline
from foundry.
Related Issues (20)
- 0 ^ 0 returns 0 HOT 2
- Add support for filecoin
- Can't verify signature with Trezor One HOT 1
- Uncommitted changes HOT 2
- Allow to set an ERC20 token balance using json-rpc in anvil HOT 2
- Forge crashes when running Create2 script HOT 3
- Missing error codes in `SolidityErrorCode.from_str`
- Request for a stable release HOT 1
- "immutableReferences["Contracts"]" = false How is it defined?
- The block number of the forked master does not match `block.number`. HOT 1
- `forge test` crashes with `Message: called Option::unwrap() on a None value` HOT 16
- Forge create gives deserialization error: expected value at line 1 column 1 HOT 2
- vm.rollFork does not persist state when etch in test HOT 5
- `cast call --trace` ignores `--block` option HOT 2
- forge verify-bytecode incorrectly returning a partial match
- The application panicked (crashed). on anvil
- Memory leak in latest foundry HOT 12
- expectCall started counting calls differently (and probably wrongly) HOT 6
- feat(script): show transaction hash while waiting for receipts HOT 1
- Feature Request: Decimal Preview for Stack Variables
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from foundry.