Skip to content

Conversation

@bmzig
Copy link
Contributor

@bmzig bmzig commented Nov 13, 2024

In the ZkStack_*_Adapter, we assume that the bridge hub's shared bridge is immutable. While this is not true -- the shared bridge may be changed in the future -- it is assumed to be immutable so that L1 calls will be cheaper, as we stand to save ~2 staticcalls per message. The hope is in the long run, if these bridges change, the cost of redeploying an adapter will have already been "paid off" by the gas savings of assuming immutability.

@bmzig bmzig marked this pull request as ready for review November 14, 2024 20:54
@nicholaspai
Copy link
Member

Is this an audit related issue? Do we need to change the PR title?

@bmzig
Copy link
Contributor Author

bmzig commented Nov 15, 2024

Is this an audit related issue? Do we need to change the PR title?

It isn't addressing the issue outlined in L-03, but this was a suggestion given to us based on that issue, so I thought marking it as part of L-03 would be misleading.

@bmzig bmzig merged commit 668545e into master Nov 18, 2024
9 checks passed
@bmzig bmzig deleted the 1124oz/l03 branch November 18, 2024 15:32
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.

3 participants