aionnetwork / AVM

Enabling Java code to run in a blockchain environment
https://theoan.com/
MIT License
49 stars 25 forks source link

[CLOSED] Modify avm to handle changing KernelInterface #297

Closed aionbot closed 5 years ago

aionbot commented 5 years ago

Issue created by aionick (on Thursday Oct 25, 2018 at 17:38 GMT)

Since the avm is now becoming a long-lived object we need to be able to update its KernelInterface (this interface is, after all, not really a window into the kernel but rather into the kernel's repository) reference since the kernel invokes each transaction multiple times and uses a new repository instance for each transaction.