vyperlang/titanoboa

cache blueprint bytecode in VyperBlueprint

Opened this issue · 2 comments

Currently, blueprint bytecode is not stored:

blueprint_bytecode = blueprint_preamble + compiler_data.bytecode

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.

I can do it can you please grant me permission

Currently, blueprint bytecode is not stored:

blueprint_bytecode = blueprint_preamble + compiler_data.bytecode

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.

hmm i see, i think this kind of functionality belongs best on VyperDeployer