-
Notifications
You must be signed in to change notification settings - Fork 0
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
[Testing] unit test fund router #169
Merged
Merged
Conversation
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
VVander
approved these changes
May 14, 2024
teddy-nodeset
added a commit
that referenced
this pull request
Jul 30, 2024
* fix tests * Interval design 💡 * Update YieldDistributor.sol * fix problem with shortfall * remove deprecated functions * add test * Update YieldDistributor.sol * Update Whitelist.sol * Update test-yieldDistributor.ts * Update test-node-operator-flow.ts * Update test-node-operator-flow.ts * harvest next minipool * Update contracts/Operator/OperatorDistributor.sol * typo * add test * classic * remove double admin Commission * yield does not dilute!!! pull model seems to work * add tests * testing * oof * wowza * yeeeet * fix * test * bug * clean up, fix test, bug patch * Update YieldDistributor.sol * update naming * Update YieldDistributor.sol * rename * restructure code * bug fix * inject admin fee on mint * rpl fee system * large overhaul * redesign * Update DepositPool.sol * clean up * name * deploy bug fixed * Update WETHVault.sol * collatFact * restructuring * Update DepositPool.sol * Update DepositPool.sol * handle split * update totalAssets * buf fix * Update OperatorDistributor.sol * clean up node operator distributor on removal of node operator * docs * Update RPLVault.sol * Update YieldDistributor.sol * revert to prior name * remove feats * Update Whitelist.sol * Update Whitelist.sol * rm supernode * find config * fix tests * bug fix * add testing utils * fix tests * fix tests * fix tests * delete burn tests * Update test-xrEth.ts * delete tests for removed feats * patching tests * bug fix * bug fix * bugs * bug fix attempt * compile-time issues * bug found * bug PATCHED * clean up debug * fix existing tests * Create ProtocolMath.sol * SafeMath * bug fixes + tests * testing.... * bin64 format * trying to get float encoding right * cleaner fails * bug fixes * fixed * solved * fix tests * add more tests * add more tests * fixes * Update ProtocolMath.sol * improved test cases * Update utils.ts * update * fix bug * Update test-yieldDistributor.ts * add more utils * reimburse util * add utils * integrate with test * test checks out * test pass * clean up * add npm packages * add npm packages * update npms, add get price func * add to tests * more bugs * tickmath * fixed? * price data * clean up * Update PriceFetcher.sol * add tests pass * Update PriceFetcher.sol * add tvl ratio funk * lightweight tests * Update test-xrEth.ts * fix tests * Update IRocketNodeStaking.sol * Update WETHVault.sol * add more logic * update * convert to uups proxies * fix tests * all tests * more robust testcode * Update test-directory.ts * add roles * impl roles * timelock * fix tests * bug fix * admin unstake function * minipool lifecycle events * Update OperatorDistributor.sol * add testing * initial function * Enforceable coverage ratios * update * fix rpl topup & staking * Update OperatorDistributor.sol * Update OperatorDistributor.sol * Update OperatorDistributor.sol * add rocketpool * Update package.json * update imports * fix tests * add tests * Update hardhat.config.ts * Update tsconfig.json * Update deployment.js * fix tests * Update test.ts * Update test.ts * Update test.ts * bug fix * comment out RP tests * remove hardcoded rpl * rpl mock replaced * compiles * bug fix * Create MockUniswapV3Pool.sol * Update MockUniswapV3Pool.sol * swap out mock * Update MockUniswapV3Pool.sol * buf fix * rockStorageContract * broken deployment RocketNodeManagerInterface * fix tests * bug fix * Update utils.ts * bug fix * Update test-operatorDistributor.ts * Update test-operatorDistributor.ts * Update test-operatorDistributor.ts * bug fixes * update bug fix * Update utils.ts * Update hardhat.config.ts * first iteration deployments * Update goerli_dev_setup.ts * update * Update hardhat.config.ts * cleanup * update * Update test-whitelist.ts * add test * Update test-yieldDistributor.ts * Update test-yieldDistributor.ts * Update test-yieldDistributor.ts * Update Whitelist.sol * add internals * fix tests * Update RocketBase.sol * [Feature] [Issue 76] Complete Implementation of Claims in Treasury for Tax Efficiencies (#80) * Create Treasury.sol * convention * treasury set * Update test.ts * Update AdminTreasury.sol * add tests * bug fixes, fix tests - deployer bug fix - admin role bug fix - remove implicit default admin role super user - fix tests - remove suggested DRY pattern from prior PR * [Docs] Add Clear NatSpec for all functions (#79) * nat specs * docs * config * update * [Feature] [Issue 78] Add LEB8 Checks [Issue 75] Sanctions (#83) * add leb8 check + refractor * fix tests * finish passing tests * improve design * setter for bounds * Update OperatorDistributor.sol * add isanctions * sanction validation * npm bug + sanctions * mitigate proxy sanctions bypass * fix the jank * Update Directory.sol * escape hatch * [Feature] Houston Merge (#85) * update preamble.txt * Update preamble.txt * houston * fix * fix tests * Update test.ts * pull latest houston * testing * fix tests * add old * fix tests * update * oh boy... * deploy logs * fix tests * migrate * Update test-node-operator-flow.ts * formal linting * Update test-operatorDistributor.ts * rm debug * debug * debug * debug * fix tests --------- Co-authored-by: Mike Leach (Wander) <[email protected]> Co-authored-by: Mike Leach (VVander.eth) <[email protected]> * Feature/1eth deposit flow (#100) * init * oof * wip * lock * yeet * borken tests * Update ValidatorAccount.sol * update * mother of all atomic transactions push moat * :) * :( * exacto minium rpl stake * transfer eth * moat liquidity checks * test/bug fix * test proxy deployment * Update test-validator-account-factory.ts * genDepo data * mod rp utils * moat progress * grr moat broke * moat moat moat * the rage quit solution * rage quit * rage quit * clean execution * checkmate * Update ValidatorAccountFactory.sol * Update ValidatorAccountFactory.sol * update * mod nonce calc * Update dev_setup.ts * Update dev_setup.ts * Update dev_setup.ts * debug * patch * bad deployment * Update deployment-0.1.log * another bad deployment * clean deployent * debugging selectors * Update ValidatorAccountFactory.sol * Update ValidatorAccountFactory.sol * rename * rename * add liquidity, tests, bug fix * update * update * Update gas-report.txt * debug * config liquidity * add huy NO * ops/test/debug * Add init code hash script * Update 0.2-ops.log * Update test-validator-account-factory.ts * fix script * reply comments - add setters - add admin only functions - make bond updatable - add docs - fix typo * Update ValidatorAccount.sol * Update ValidatorAccount.sol * bug fix --------- Co-authored-by: mryamz <[email protected]> Co-authored-by: huy <[email protected]> * [Feature] Finalized Fee Model + Keepers + ODAO Integration (#112) * rpl vault update keeper Update WETHVault.sol Update OperatorDistributor.sol Update RPLVault.sol complete keeper * update tests * tests / rplTopDown / bug fix update Update WETHVault.sol Update WETHVault.sol update Update OperatorDistributor.sol Update OperatorDistributor.sol * good bot * update * add tests * add test * wed. bug fix + polish tests/polish update redeem success bug fixes Update test-xRpl.ts yeahhhhhhhhh Update test-xRpl.ts Update test-xRpl.ts Update test-xRpl.ts test rm debug update Update RPLVault.sol Update WETHVault.sol new test debug * Update WETHVault.sol update fix tests sanctions check on xreth xreth deposit works debug * tests and bug fixes bug fixes atomic fee bug symetric cchecks rm DOS vector * comments for teddy * fix tests * fully patch grief vector Update OperatorDistributor.sol * oracle fallback + rm hardcode optionality for using odao / uniswap rm redundancy / dynamic rpl max bonding * found bug fix test bug patch * patch Update gas-report.txt fix test fix tests bug fix bug fix fix test bug fix * typo * add docs * add docs rm comment * add docs * add comment * remove split redundancy * Update DepositPool.sol * rm all tests on dp * debug * Update WETHVault.sol * Revert "Update WETHVault.sol" This reverts commit 7b39f39. * it's all borked * debug + fix test * comments * Update OperatorDistributor.sol * [Testing/Features] Happy Path / Voting Wrappers (#130) add CI/CD tests add tests big test optimizations voting wrappers delegation wrappers merkle claim wrapper ✅ Set voting delegate (On-chain) ✅ Clear voting delegate (On-chain) ✅ Distribute Balance (Manual) ✅ Delegate upgrade ✅ Delegate rollback ✅ Set use latest delegate ✅ merkle claim keeper * [Feature] Fix Tests, Self Serving Whitelist (#153) * bug fix * break 20 tests * finish feature success * add comments * feature update (#156) optimize oops * [Feature/Hotfix] Prevent Sig Reusability and call distributeBalance patch (#159) * complete tasks * update * typo * update * rm beginUserDistribute * admin only * add docs * Devops/deployment scripts (#164) * safety redundancy * llint * Update RPLVault.sol * typo * deployment scripts * add more impl * fix tests * [Testing & Devops] bug fixes + unit tests + minor solidity tweaks (#167) * safety redundancy * llint * Update RPLVault.sol * typo * deployment scripts * add more impl * fix tests * bug fixes * fix bugs * security+lint Update WETHVault.sol * fix tests more test test prep * [Testing] unit test admin treasury (#168) * update * fix test * fix test * add test * broke test * enablePreSignedExitMessage * bug fix, fix test * [Testing] unit test fund router (#169) * update * fix test * fix test * add test * broke test * enablePreSignedExitMessage * bug fix, fix test * test stake/unstake * add tests * beep boop bop * gas report * bad logic * bug fix tree gen * bug fixes in tree gen * submission registering * debug * debug * retire debug * skip * Feature/megapool (#188) * recompilation, spiking, breaking, etc.. * Update gas-report.txt * hacking away... * simplify tick * further generalize deployment logic * oops * bug fixes * bug fix * support multi leb types debugging.... * suboperators can create minipools * major fixes staking ops * fix subnode op staking bug * bug fix update * big update * add tests * update * clean up / patch * Update Whitelist.sol * mega update * rn update fix buggy key-value suite * comments comments * pub sandbox * Update hardhat.config.ts * Cleanup/permissions unused vars misc (#194) * update * update * address comment * Update RPLVault.sol * Docs/improved documentation + rated oracle integration (#195) * docs Update SuperNodeAccount.sol * fix rate integration * 2nd iteration admin oracle fix test * update * Oracle Merkle Claim Interface Merge + Hotfix Deployment Scripts (#205) * update * Update sandbox.ts * bugs, features, tests (#208) * update update * update * comments Update XRETHAdminOracle.sol * Feature/wagmi and minipool script (#207) * Adds wagmi codegen to repository * Relocate exported typescript abis * Implements minipool launcher * Implements proper bls signatures for minipool creation * remove unused import * Additional logging on operator setup * Adds a reset task * log out the minipool public key * Adds admin send eth task for testing * [WIP] [Docs] Bug fixes, many explanations, fix tests (#209) * update update * update * comments Update XRETHAdminOracle.sol * oof * major patch * fix test * Update gas-report.txt * Update OperatorDistributor.sol * patches * big update * Update setup_sandbox.ts * Update OperatorDistributor.sol * Update gas-report.txt * bug fix * testing new deposit data * works * fix tests * update * move * bug dfix * Update OperatorDistributor.sol * update * Regenerated ABI (#216) * update * update * demorgan's law bug fix tests * update * update * quit * preserve and upcast, don't check and downcast * Fix lockup amounts (#220) * Made lockup calculations variable, added IRocketMinipoolManager * Fixed a greater-equals * update * Update contracts/Operator/SuperNodeAccount.sol Co-authored-by: teddy-nodeset <[email protected]> --------- Co-authored-by: mryamz <[email protected]> Co-authored-by: teddy-nodeset <[email protected]> * Update README.md * Update README.md * Update SuperNodeAccount.sol --------- Co-authored-by: jrosevi <[email protected]> Co-authored-by: Joe Clapis <[email protected]> * delete comment * add test * bug fix + add test * Update RPLVault.sol * add setters * rename fix tests * rm unused var * add joe to author list * update readme * rename adminFee to treasuryFee and fix tests (#226) * rename more --------- Co-authored-by: teddy-clapp <[email protected]> Co-authored-by: mryamz <[email protected]> Co-authored-by: Ubuntu <[email protected]> Co-authored-by: Mike Leach (Wander) <[email protected]> Co-authored-by: teddy-nodeset <[email protected]> Co-authored-by: huy <[email protected]> Co-authored-by: Dan Imbrogno <[email protected]> Co-authored-by: jrosevi <[email protected]> Co-authored-by: Joe Clapis <[email protected]> Co-authored-by: mryamz <[email protected]>
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.
No description provided.