Skip to content
This repository has been archived by the owner on Oct 6, 2023. It is now read-only.

IVault.VaultActionData no longer needs accountIds to be an array #263

Open
stevieraykatz opened this issue Aug 3, 2023 · 0 comments
Open

Comments

@stevieraykatz
Copy link
Contributor

stevieraykatz commented Aug 3, 2023

We initially decided to make the VaultActionData.accountIds an array so that cross-chain harvest calls could be made. In #60 we decided that we can let a native contract on each chain call harvest which then means that the harvest endpoint doesn't necessarily need to comply with the cross-chain endpoint format.

This change will save gas costs on each run as we won't need to access an array element nor create 1-element arrays when calling invest or redeem

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant