-
Notifications
You must be signed in to change notification settings - Fork 80
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
Holesky deploy #2026
Merged
sparrowDom
merged 22 commits into
sparrowDom/nativeStaking
from
sparrowDom/holeskyDeploy
Apr 29, 2024
Merged
Holesky deploy #2026
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
b9e9079
add basic steps to deploy OETH to holesky
sparrowDom 7b945d0
prettier
sparrowDom 02b5658
Merge branch 'sparrowDom/nativeStaking' into sparrowDom/holeskyDeploy
sparrowDom 7ca09af
minor change
sparrowDom 72c5fd3
holesky deployment ifles
sparrowDom 26cecd6
add holesky deployment files
sparrowDom 11df928
minor fix
sparrowDom 93c8dc4
minor fixes
sparrowDom c1a299c
make the fork tests run on Holesky
sparrowDom 2c2525d
add some more tests
sparrowDom a2d2f68
Merge remote-tracking branch 'origin/sparrowDom/nativeStaking' into s…
sparrowDom 23eccfe
testing SSV staking on Holesky
sparrowDom 52ed989
Merge remote-tracking branch 'origin/sparrowDom/nativeStaking' into s…
sparrowDom a642769
refactor where deployment files are located
sparrowDom 187b182
more progress on deployment
sparrowDom ccca1ad
Merge remote-tracking branch 'origin/sparrowDom/nativeStaking' into s…
sparrowDom 6d22648
add deposit to validator deployment files
sparrowDom 5404faf
remove log
sparrowDom 0b52268
prettier
sparrowDom b73aacb
lint
sparrowDom 54927ed
move file
sparrowDom 15aea4f
SSV cluster info (#2036)
sparrowDom File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.0; | ||
|
||
import { OETHOracleRouter } from "./OETHOracleRouter.sol"; | ||
|
||
// @notice Oracle Router that returns 1e18 for all prices | ||
// used solely for deployment to testnets | ||
contract OETHFixedOracle is OETHOracleRouter { | ||
constructor(address _auraPriceFeed) OETHOracleRouter(_auraPriceFeed) {} | ||
|
||
/** | ||
* @dev The price feed contract to use for a particular asset along with | ||
* maximum data staleness | ||
* @param asset address of the asset | ||
* @return feedAddress address of the price feed for the asset | ||
* @return maxStaleness maximum acceptable data staleness duration | ||
*/ | ||
// solhint-disable-next-line no-unused-vars | ||
function feedMetadata(address asset) | ||
internal | ||
view | ||
virtual | ||
override | ||
returns (address feedAddress, uint256 maxStaleness) | ||
{ | ||
// fixes price for all of the assets | ||
feedAddress = FIXED_PRICE; | ||
maxStaleness = 0; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice pickup