git ssb

0+

wanderer🌟 / js-primea-hypervisor



Commit c9ac540197b2a640dfb17a9bacf432e75ebaa0c0

Kernel: include precompiled contracts in the state tree

Alex Beregszaszi committed on 8/28/2016, 11:54:31 AM
Parent: b725bc7ad54293c26697f1601c814ec603dc26fc

Files changed

index.jschanged
index.jsView
@@ -32,8 +32,12 @@
3232 module.exports = class Kernel {
3333 // runs some code in the VM
3434 constructor (environment = new Environment()) {
3535 this.environment = environment
36+
37+ this.environment.addAccount(identityContract, {})
38+ this.environment.addAccount(meteringContract, {})
39+ this.environment.addAccount(transcompilerContract, {})
3640 }
3741
3842 // handles running code.
3943 // NOTE: it assumes that wasm will raise an exception if something went wrong,

Built with git-ssb-web