git ssb

0+

wanderer🌟 / js-primea-hypervisor



Commit 69d908b662b364266978220167a30f9800f3102c

added constants

wanderer committed on 7/13/2016, 1:41:15 PM
Parent: bce91dbd5e9f1ccb3f440aa02961475495780762

Files changed

index.jschanged
constants.jsadded
index.jsView
@@ -17,9 +17,9 @@
1717 constructor (nameState) {
1818 this.state = nameState
1919 }
2020
21- // handles running code. `code` can be seen as ROM here
21+ // handles running code.
2222 static codeHandler (code, environment) {
2323 const ethInterface = new Interface(environment)
2424 const instance = Wasm.instantiateModule(code, ethInterface)
2525 ethInterface.setModule(ethInterface)
constants.jsView
@@ -1,0 +1,4 @@
1+module.exports = {
2+ MAX_BAL_BYTES: 16, // Max balance size in bytes
3+ ADD_SIZE_BYTES: 20 // Address size in bytes
4+}

Built with git-ssb-web