uuosio / ascdk

MIT License
12 stars 9 forks source link

Initializer #66

Closed jafri closed 2 years ago

jafri commented 2 years ago

When a contract is deployed, I believe it initialized by the nodeos, can we tap into this intitialization?

learnforpractice commented 2 years ago

What I know is that EOS VM will allocate enough memory and initialize it with data from wasm data section.

In wasm compile from C++, code read the heap base from the first 4 bytes of memory during the start up.

On Jul 1, 2022, at 3:51 PM, Syed Jafri @.***> wrote:

When a contract is deployed, I believe it initialized by the nodeos, can we tap into this intitialization?

— Reply to this email directly, view it on GitHub https://github.com/uuosio/ascdk/issues/66, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHPJSPVANR4KBN24A4GXHGDVR2PRJANCNFSM52L2ROTA. You are receiving this because you are subscribed to this thread.