Comments (11)
I got it to compile in the end, but couldn't get the red warning for my import "@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol";
line to go away!
from brownie_fund_me.
Hey Guys!
I found a solution to remove V2V3 and just put V3.
It works.
from brownie_fund_me.
Hello! Can you indicate where or how you remove V2V3? Thanks!
from brownie_fund_me.
Hey @FCardellino
In almost all places where V2V3 occurs, replace it by just V3
from brownie_fund_me.
I was having the same problem and was stuck for over 4 hours with this. I was using pragma solidity ^0.8.0;
solidity version and compiling on 0.6.0 version. There are some serious problems with the Aggregators to be honest.
Finally, somehow I found a way to compile the MockV3Aggregator as well......
Just use:
- '@chainlink=smartcontractkit/[email protected]'
- '@chainlink=smartcontractkit/[email protected]'
Both of these in the Config file....and then you're good to go!
HOPE IT HELPS.
Thanks.
from brownie_fund_me.
That's really odd....
The 0.2.1
should do the trick...
from brownie_fund_me.
im having this same issue . cant get the mockV3Aggregator to compile . cant get past that section bc of the issue
from brownie_fund_me.
Hi @cryptony8055, I solved the issue in this way . I hope it can help you!
from brownie_fund_me.
Hi @cryptony8055, I'm not sure if it's the "correct way" but I found it seemed to work if you widen the scope of the Solidity versions:
pragma solidity >=0.6.0 <0.9.0;
Using the carrot notation on 0.6.0 seemed to give me further errors
This was using 0.3.0 chainlink in the .config file
from brownie_fund_me.
hey @JCDC9919 thanks a lot it worked .
from brownie_fund_me.
Closing, feel free to open back up.
from brownie_fund_me.
Related Issues (20)
- CompilerError HOT 1
- compile error HOT 1
- constructor sequece HOT 2
- test_only_owner_can_withdraw() doesnt work with Ganache UI v2.5.4 HOT 4
- IndexError: list index out of range HOT 5
- Test Failed HOT 1
- ValueError: execution reverted: VM Exception while processing transaction: revert Please Help HOT 2
- Please Help ValueError: execution reverted: VM Exception while processing transaction: revert unable to run Fund_and_withdraw.py script #1560 HOT 2
- Invalid API Key
- if get_account(): File line, line 988, in times] RecursionError: maximum recursion depth exceeded
- TypeError: 'NoneType' object is not subscriptable HOT 1
- ConnectionError: Status 404 when getting package versions from Github: 'Not Found' HOT 1
- ValueError: sender doesn't have enough funds to send tx. The upfront cost is: 9475020000000000 and the sender's account only has: 0 HOT 2
- Key Error HOT 2
- Compiler error HOT 1
- I have issue with verify contract when deploy on sepolia HOT 1
- Attribute Erroor HOT 1
- ValueError: Explorer API not set for this network
- ConnectionError: HTTPSConnectionPool(host='0.0.0.0', port=8545): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x000001D3FBD86B00>: Failed to establish a new connection: [WinError 10049]
- I can't verify the source code HOT 1
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 brownie_fund_me.