near / mpc

30 stars 6 forks source link

modify contract with yield/resume #593

Open ppca opened 1 month ago

ppca commented 1 month ago

now that yield/resume is on testnet, we should modify our contract and test it out on dev.

ChaoticTempest commented 1 month ago

There's no clear timeline on when it will make it to mainnet, so we might want to punt this until there's a clear timeline. That way we don't have this on testnet but have to wait for it to be on mainnet to actually go mainnet on our MPC network.

Ahh wait, it's going to be with regular release cadence so expected June 10th. Then yeah guess we should implement this sooner than later just so we don't have to deal with contention on the contract

volovyks commented 1 month ago

We should keep the old recursive design and add a new yield function to stay flexible with our release date. Currently, this issue is blocked by Near SDK updates.

volovyks commented 4 weeks ago

NEAR SDK updates were merged. We can start working on this. Saving a recursive design is unnecessary if the new yield/resume is stable.