filecoin-project / ref-fvm

Reference implementation of the Filecoin Virtual Machine
https://fvm.filecoin.io/
Other
380 stars 136 forks source link

EVM runtime: Implement initializing new Actor with EVM bytecode (deployment flow) #688

Closed karim-agha closed 2 years ago

karim-agha commented 2 years ago

First the EVM constructor code runs on the bridge, the bridge creates a temporary Hamt that is used as the state store for the constructor. When the constructor runs to completion, the temporary Hamt is set as the state root for the new actor along with the resulting bytecode.

raulk commented 2 years ago

This was implemented in Talc.