Comments (3)
hi @upalchowdhury thanks for raising this. Looks like you're having an issue with a contract and script that you created as opposed to one of the ones that comes in the chainlink-mix project? Can you confirm if you get the same output if you use the PriceFeedConsumer contract and the 02_read_price_feed.py script?
If the contract and script I mentioned above works ok, and it's just your custom script and contract that has issue, can you please raise this as a post on StackOverflow, and we can action there, as it's unrelated to this chainlink-mix project https://stackoverflow.com/tags/chainlink
from chainlink-mix.
@pappas999 Thanks for your response !!
I got it working. thanks for your hint on scripts which made me reinstall ganache cli. My initial port was 7545, changed it to 8545 might have solved the issue but not 100% sure.
I used solc 0.6.6 plus chainlink 0.6 contracts for this test.
One observation on the "02_read_price_feed.py script" the PriceFeedConsumer[-1] was throwing error but since i changed it read it from brownie-config.yaml it works.
=========error=======
Running 'scripts/price_feed_scripts/02_read_price_feed.py::main'...
File "brownie/_cli/run.py", line 49, in main
return_value, frame = run(
File "brownie/project/scripts.py", line 103, in run
return_value = f_locals[method_name](*args, **kwargs)
File "./scripts/price_feed_scripts/02_read_price_feed.py", line 6, in main
price_feed_contract = PriceFeedConsumer[-1]
File "brownie/network/contract.py", line 160, in getitem
return self._contracts[i]
IndexError: list index out of range
Terminating local RPC client...
====================
test/pricefeedtest.py works fine except it does not return or print anything, which might be expected. anyhow thanks again for your quick response.
from chainlink-mix.
no worries @upalchowdhury , glad to hear it's working!
from chainlink-mix.
Related Issues (20)
- Update Solidity Contract to v0.8 HOT 3
- Add support for Type Hinting HOT 5
- EDIT: wrong project
- Hackathon HOT 1
- chainlink.avalanche HOT 1
- Add verification example and clarify verification HOT 1
- Cannot find scripts/price_feed_scripts/deploy_price_consumer_v3.py HOT 1
- Lesson6 raise TypeError(f"{abi['name']} requires no arguments") TypeError: constructor requires no arguments HOT 4
- Unable to compile due to Permission Error HOT 1
- Little typo in 01_deploy_vrf.py HOT 1
- ```suggestion HOT 1
- Use Local Memory Type Variable Instead of Global Storage Type Variable in Event to Save Gas HOT 2
- Missing function implementation at VRFCoordinatorV2Mock contract HOT 4
- Goerli support
- Withdraw from aave with brownie HOT 1
- Sepolia is not supported by Chainlink VRF
- Wrong instructions
- test_api_consumer.py not working
- brownie test is stuck 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 chainlink-mix.