This is an alternative approach for merging hooks config and pool config (the first one #659). This PR adds more 162 bytecodes than the previous approach and saves around 300-400 gas.
Type of change
[ ] Bug fix
[ ] New feature
[ ] Breaking change
[ ] Dependency changes
[x] Code refactor / cleanup
[ ] Documentation or wording changes
[ ] Other
Checklist:
[ ] The diff is legible and has no extraneous changes
[ ] Complex code has been commented, including external interfaces
[ ] Tests have 100% code coverage
[ ] The base branch is either main, or there's a description of how to merge
Description
This is an alternative approach for merging hooks config and pool config (the first one #659). This PR adds more 162 bytecodes than the previous approach and saves around 300-400 gas.
Type of change
Checklist:
main
, or there's a description of how to mergeIssue Resolution
Closes https://github.com/balancer/balancer-v3-monorepo/issues/656