Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Chainlink feeds and remove UniswapV3 feeds #133

Merged
merged 38 commits into from
Jan 18, 2024
Merged

Conversation

EperezOk
Copy link
Contributor

No description provided.

@EperezOk EperezOk changed the title hainlink feeds Add Chainlink feeds and remove UniswapV3 feeds Jan 11, 2024
This was referenced Jan 16, 2024
magnetto90
magnetto90 previously approved these changes Jan 17, 2024
Copy link
Contributor

@magnetto90 magnetto90 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, but Chainlink contracts are not using MIT licence, but to not stop the progress I recommend fixing that on another PR.

tests/markets/conftest.py Outdated Show resolved Hide resolved
tests/markets/conftest.py Outdated Show resolved Hide resolved
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the change from 80000 -> 8000 was due to Arbitrum mainnet having less liquidity on uniswap pools. Now that we're moving to chainlink feeds, is this change needed? where does it fail?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@magnetto90 any idea about this?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should test it, not sure how it affects.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Made a commit moving from 8000 -> 80000, we'll see how that goes.

tests/markets/conftest.py Show resolved Hide resolved
@EperezOk
Copy link
Contributor Author

Before merging this, I think we should change the averageBlockTime to the actual value we are going to use when deploying new markets on Arbitrum. I would use averageBlockTime = 1, since averageBlockTime = 0 breaks some functions despite being more accurate.

@magnetto90
Copy link
Contributor

Before merging this, I think we should change the averageBlockTime to the actual value we are going to use when deploying new markets on Arbitrum. I would use averageBlockTime = 1, since averageBlockTime = 0 breaks some functions despite being more accurate.

Ok, I'm gonna test it now.

@TomasCImach TomasCImach merged commit 7c9fe0d into staging Jan 18, 2024
2 checks passed
@TomasCImach TomasCImach deleted the chainlink-feeds branch January 18, 2024 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants