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

HowTo: Deploy ILM on a new fork and frontend testing #91

Open
duxxud opened this issue Jan 24, 2024 · 0 comments
Open

HowTo: Deploy ILM on a new fork and frontend testing #91

duxxud opened this issue Jan 24, 2024 · 0 comments

Comments

@duxxud
Copy link
Collaborator

duxxud commented Jan 24, 2024

duplicate existing "base" fork with fresh deployment:

OR to do fresh deploy on a new fork:

  • make new fork on Tenderly.
  • give ETH funds to DEPLOYER_PK account through Tenderly UI on Fork
  • give DEPLOYER_PK admin rights, simulate transactions through Tenderly UI
    • find who is current ACL_ADMIN (atm 0x639d2dD24304aC2e6A691d8c1cFf4a2665925fee) and impersonate tx from it:
      • on ACLManager (0x003c2aa63fec8118297535350a66e7a53be3d0b5) call addPoolAdmin(DEPLOYER_PK)
      • on PoolAddressesProvider (0x0e02eb705be325407707662c6f6d3466e939f3a0) call setAclAdmin(DEPLOYER_PK)
  • run DeployFork.s.sol
    • forge script ./deploy/DeployFork.s.sol --rpc-url ${FORK_RPC} --broadcast --slow --delay 20 --force

to test:

  • make new wallet and give it CbETH through Tenderly UI:
    • go on the basescan and find whale address who owns a lot of CbETH
    • go to Tenderly fork and run simulation, impersonating whale to transfer CbETH to your acc
  • don't deposit large values (without swapping back on dex) because spot price on dex will be too different from the oracle price
  • balance redeeming and depositing (to keep dex spot price close to oracle price)
@duxxud duxxud changed the title HowTo: Deploy new fork and test on frontend HowTo: Deploy ILM on a new fork and frontend testing Jan 24, 2024
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

No branches or pull requests

1 participant