Deploy Sonic Vault Core - #2648
Merged
Merged
Conversation
sparrowDom
requested review from
clement-ux,
naddison36 and
shahthepro
as code owners
September 2, 2025 14:09
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2648 +/- ##
=======================================
Coverage 38.26% 38.26%
=======================================
Files 112 112
Lines 5331 5331
Branches 1412 1412
=======================================
Hits 2040 2040
Misses 3289 3289
Partials 2 2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
shahthepro
reviewed
Sep 2, 2025
shahthepro
left a comment
Collaborator
There was a problem hiding this comment.
Code diff with current implementation (license changes and changes to remove dripper from previous commits, so it's all good):
Compared the "OSonicVaultCore" contract with address 0x087a3E2b1342ddC7C4c8aF6d7D3E5C8eA78dCbd9 on sonic
to the "OSonicVaultCore" contract with address 0xd66afaA7Fe071162d055B3CC703CC1eAED836CF3 on sonic
match @openzeppelin/contracts/token/ERC20/IERC20.sol
match @openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol
match @openzeppelin/contracts/utils/Address.sol
match @openzeppelin/contracts/utils/math/SafeCast.sol
match @openzeppelin/contracts/utils/math/SafeMath.sol
changed contracts/governance/Governable.sol
match contracts/interfaces/IBasicToken.sol
removed contracts/interfaces/IDripper.sol
match contracts/interfaces/IGetExchangeRateToken.sol
changed contracts/interfaces/IOracle.sol
changed contracts/interfaces/IStrategy.sol
added contracts/interfaces/IVault.sol
changed contracts/token/OUSD.sol
changed contracts/utils/Helpers.sol
changed contracts/utils/Initializable.sol
changed contracts/utils/StableMath.sol
changed contracts/vault/OETHVaultCore.sol
match contracts/vault/OSonicVaultCore.sol
changed contracts/vault/VaultCore.sol
changed contracts/vault/VaultInitializer.sol
changed contracts/vault/VaultStorage.sol
shahthepro
requested changes
Sep 2, 2025
shahthepro
left a comment
Collaborator
There was a problem hiding this comment.
🔴 Vault proxy address in the ops files are wrong
Collaborator
Diff contract |
shahthepro
approved these changes
Sep 5, 2025
Collaborator
There was a problem hiding this comment.
- All deployed contracts are listed in the deploy PR's description
- Deployed contract's verified code (and all dependencies) match the code in master
- Contract constructors have correct arguments
- The transactions that interacted with the newly deployed contract match the deploy script.
- Governance proposal matches the deploy script
- Smoke tests pass after fork test execution of the governance proposal
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Deploying:
Contract
Governance actions
Deploy checklist