vyperlang/titanoboa

cache blueprint bytecode in VyperBlueprint

Open

#116 aperta il 24 dic 2023

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)Python (75 fork)auto 404
enhancementgood first issue

Metriche repository

Star
 (312 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Currently, blueprint bytecode is not stored:

https://github.com/vyperlang/titanoboa/blob/87593bb5c4d02bb8eaf4cc93e0e940ebf9a37900/boa/vyper/contract.py#L146

Storing it as a cached object will instantiate a VyperBlueprint object without deploying it to prod. This cached blueprint bytecode can be used for create2 or create3 related deployment methods, which offer deterministic deployment addresses.

Guida contributor