Closed devlancer412 closed 4 weeks ago
@devlancer412 yep! so the way it works is:
So for test, you could just admin mint some sgETH and send it to the wsgeth contract to test.
See it in action in the rewards receiver here for e2e: https://github.com/chimera-defi/SharedDeposit/blob/main/contracts/v2/core/RewardsReceiver.sol#L32
So I need to deposit manually eth to RewardsReceiver contract to test sgEth/wsgEth rate change?
@devlancer412 yep, exactly
https://github.com/chimera-defi/SharedDeposit/issues/23
I couldn't test that because this error
I finished test by avoiding top error.
@chimera-defi
@chimera-defi Please check last updates
I think this rate increasing by sgEth and wsgEth amount. but just deposit and withdraw keeps this rate to 1. How can I change this rate when test?