Skip to content

Conversation

@web3rover
Copy link
Contributor

Description

Resolves VEN

@web3rover web3rover self-assigned this Nov 20, 2025
@web3rover web3rover requested a review from fred-venus November 21, 2025 10:43
@web3rover web3rover marked this pull request as ready for review November 21, 2025 10:43
{
target: bscmainnet.BINANCE_ORACLE,
signature: "setMaxStalePeriod(string,uint256)",
params: ["ETH", HEARTBEAT_100_SECONDS],
Copy link
Contributor

@fred-venus fred-venus Nov 24, 2025

Choose a reason for hiding this comment

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

curious, usually how do u decide stale period ? Is it always a little bit buffer more than oracle provider's (this time binance) heartbeat ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes right

],
[
SolvBTC,
[bscmainnet.CHAINLINK_ORACLE, bscmainnet.REDSTONE_ORACLE, bscmainnet.BINANCE_ORACLE],
Copy link
Contributor

@fred-venus fred-venus Nov 24, 2025

Choose a reason for hiding this comment

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

Let's remove solvBTC and handle it separately for the following reason:

Given chainlink only supports solvBTC/BTC quote instead of usd based quote, and our existing chainlink oracle configuration for solvBTC is pointing to btc, it doesn't make sense to pretend set all 3 for solvBTC

CleanShot 2025-11-24 at 12 52 07@2x CleanShot 2025-11-24 at 12 49 26@2x

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the chainlink feed (https://data.chain.link/feeds/bsc/mainnet/btc-usd) we are using for SolvBTC. It gives BTC price in USD. We are using BTC and SolvBTC is 1:1 ratio.

Copy link
Contributor

Choose a reason for hiding this comment

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

yeah, that's exactly what i am trying to say

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done. Removed

@fred-venus
Copy link
Contributor

@fred-venus fred-venus merged commit 5e7759c into main Nov 24, 2025
2 checks passed
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.

3 participants