In #785 we needed to reproduce the whole logic of the wrapUnwrap vault primitive in VaultExtension, so that the queries of ERC4626 buffers are as close as possible from the actual operation. So, this is an alternative to use only Vault and remove the code duplicity from VaultExtension.
Type of change
[ ] Bug fix
[ ] New feature
[ ] Breaking change
[ ] Dependency changes
[x] Code refactor / cleanup
[ ] Optimization: [ ] gas / [ ] bytecode
[ ] Documentation or wording changes
[ ] Other
Checklist:
[x] The diff is legible and has no extraneous changes
[x] Complex code has been commented, including external interfaces
[x] Tests have 100% code coverage
[x] The base branch is either main, or there's a description of how to merge
Description
In #785 we needed to reproduce the whole logic of the wrapUnwrap vault primitive in VaultExtension, so that the queries of ERC4626 buffers are as close as possible from the actual operation. So, this is an alternative to use only Vault and remove the code duplicity from VaultExtension.
Type of change
Checklist:
main
, or there's a description of how to mergeIssue Resolution
Closes #777 Closes #776