WIP on chain heap (#639)

* move heap size on chain

* fix the interface change

* decode heap size

* fix code comments

* fix comment

* update Cargo.lock

* rename to heappages

* add one heap pages variable in runtime
This commit is contained in:
Guanqun Lu
2018-09-01 14:41:46 +08:00
committed by Gav Wood
parent 98a2121a3c
commit beee3d4092
21 changed files with 89 additions and 95 deletions
+1 -1
View File
@@ -155,7 +155,7 @@ pub fn run<I, T>(args: I) -> error::Result<()> where
init_logger(log_pattern);
// Create client
let executor = NativeExecutor::with_heap_pages(8);
let executor = NativeExecutor::new();
let god_key = hex!["3d866ec8a9190c8343c2fc593d21d8a6d0c5c4763aaab2349de3a6111d64d124"];
let genesis_config = GenesisConfig {