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

SUP-5912: Payment Helper post-bencharking #427

Merged
merged 4 commits into from
Jan 17, 2024
Merged

SUP-5912: Payment Helper post-bencharking #427

merged 4 commits into from
Jan 17, 2024

Conversation

vikramarun
Copy link
Contributor

@vikramarun vikramarun commented Jan 16, 2024

Address low payment helper estimates not appropriately estimating costs on the destination chain by adjusting logic in _estimateDstExecutionCost

Note: requires config setting of ackGasCost[CHAIN_ID] to reflect lower gas price to process acknowledgement and the ackGasCost[other chains] to be very high to reflect cost to move message from dst to src

TODO: Update deployment script for new config numbers before merging:

  • updateGasUsed Arb = 1M, others = 200k
  • ackGasCost[CHAIN_ID], Arb = 500k, others = 150k -- i.e. ackGasCost on 42161 of ackGasCost[42161] = 500k
  • swapGasUsed Arb = 2M, others = 1M

Copy link

linear bot commented Jan 16, 2024

@vikramarun vikramarun requested review from sujithsomraaj and 0xTimepunk and removed request for sujithsomraaj January 16, 2024 00:26
Copy link
Contributor

@sujithsomraaj sujithsomraaj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, except a few nitpicks and gas opts

@sujithsomraaj sujithsomraaj self-requested a review January 17, 2024 12:29
Copy link
Contributor

@sujithsomraaj sujithsomraaj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sujithsomraaj sujithsomraaj merged commit a906838 into develop Jan 17, 2024
4 of 6 checks passed
@sujithsomraaj sujithsomraaj deleted the SUP-5192 branch January 17, 2024 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants