aave / protocol-v2

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

Fix for #315 (Aave v2 Avalanche) #318

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 Avalanche.

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/tree/Deployment%23001, the same version as on the target branch https://github.com/aave/protocol-v2/tree/release/aave-v2-avalanche

eboadom commented 2 years ago

Gas report diff

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

Before fix

pre-100-rf-fix-gas-v2-avalanche

After fix

post-100-rf-fix-gas-v2-avalanche