Skip to content

Generator v1

Latest
Compare
Choose a tag to compare
@sakulstra sakulstra released this 12 Dec 09:41
· 463 commits to main since this release

config.json -> config.ts

Aave proposals v3 now uses typed configs, which allows easier modification of configs via type hints & type validation.

create -> create2

Aave proposals v3 now relies on create2 for payloads when using the generator.
In practice this means that there is no longer any need for passing around addresses in the scripts as they can be predicted deterministically.
As the foundry native create2 does not work properly accross all aave supported chains the scripts rely on https://github.com/safe-global/safe-singleton-factory
Foundry verification does not work properly with foreign create2 factories. Therefore for verification we recommend catapulta-verify by the wonderful @kartojal.

There are currently some known issues with this which we are trying to solve down the road, but we deem acceptable in the meantime:

  • verification forces a complete rebuild of the project (which can take somewhere between 3 and 10min dependent on the system)
  • verification requires a rpc node with debug_traceTransaction support -> if you don't have access to a node feel free to reach out and we'll figure sth out.
  • verification sometimes results in api limits being hit on etherscan (just try again after some time)