Rename and use --max-heap-pages parameter (#1666)

This commit is contained in:
Stanislav Tkach authored and Gav Wood committed 2019-02-05 12:35:12 +01:00
1 parent 888e7bb76f
commit df685c9e53
10 files changed
+45 -34

No files matched your search

+3 -3
View File
@@ -263,9 +263,9 @@ pub struct ImportBlocksCmd {
)]
pub api_execution: ExecutionStrategy,
/// The maximum number of 64KB pages to ever allocate for Wasm execution. Don't alter this unless you know what you're doing.
#[structopt(long = "max-heap-pages", value_name = "COUNT")]
pub max_heap_pages: Option<u32>,
/// The default number of 64KB pages to allocate for Wasm execution. Don't alter this unless you know what you're doing.
#[structopt(long = "default-heap-pages", value_name = "COUNT")]
pub default_heap_pages: Option<u32>,
#[allow(missing_docs)]
#[structopt(flatten)]