aave / protocol-v2

Aave Protocol V2
https://aave.com
Other
668 stars 754 forks source link

Fix for #315 (v2 Ethereum) #317

Open eboadom opened 2 years ago

eboadom commented 2 years ago

Same exact changes as on https://github.com/aave/protocol-v2/pull/316 but to apply on the deployment of Aave v2 Ethereum.

Only non-solidity code was slightly adapted to the version of the repo from where this branch was created https://github.com/aave/protocol-v2/releases/tag/1.0, the same version as on the target branch https://github.com/aave/protocol-v2/tree/release/aave-v2-ethereum

eboadom commented 2 years ago

Gas report diff

As expected, slight increase on average in single actions (~1k gas), with the benefit appearing on multiple actions in the same timestamp, same block.

Before fix

pre-100-rf-fix-gas-v1-0

After fix

post-100-rf-fix-gas-v1-0