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

fix(svm): pass instruction data from prefilled account #623

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

Reinis-FRP
Copy link
Contributor

@Reinis-FRP Reinis-FRP commented Sep 26, 2024

Increases maximum relayer repayment count to 28 by passing instruction arguments from a pre-filled account. Higher refund count hits inner instruction size limit when doing emit_cpi on public devnet. On localnet this would hit out of memory panic above 31 refunds. Though currently Across protocol config has set MAX_RELAYER_REPAYMENT_LEAF_SIZE to 25, which should be sufficient.

In addition, Execute Max Refunds test also now includes EVM chain leaves, so that the proofs is non-empty array and we can check this does not hit memory limits when processing them.

Signed-off-by: Reinis Martinsons <[email protected]>
Signed-off-by: Reinis Martinsons <[email protected]>
Signed-off-by: Reinis Martinsons <[email protected]>
Signed-off-by: Reinis Martinsons <[email protected]>
Signed-off-by: Reinis Martinsons <[email protected]>
@Reinis-FRP Reinis-FRP marked this pull request as ready for review September 26, 2024 13:14
Signed-off-by: Reinis Martinsons <[email protected]>
@Reinis-FRP Reinis-FRP marked this pull request as draft September 27, 2024 11:58
Signed-off-by: Reinis Martinsons <[email protected]>
Signed-off-by: Reinis Martinsons <[email protected]>
Signed-off-by: Reinis Martinsons <[email protected]>
@Reinis-FRP Reinis-FRP marked this pull request as ready for review October 3, 2024 09:57
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

Successfully merging this pull request may close these issues.

1 participant