Skip to content

Commit 4505acc

Browse files
committed
Remove unused fvm configs
1 parent b8721cd commit 4505acc

File tree

3 files changed

+1
-10
lines changed

3 files changed

+1
-10
lines changed

fvm/src/lib.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,20 +45,13 @@ lazy_static::lazy_static! {
4545
pub struct Config {
4646
/// The maximum call depth.
4747
pub max_call_depth: u32,
48-
/// Initial number of memory pages to allocate for the invocation container.
49-
pub initial_pages: usize,
50-
/// Maximum number of memory pages an invocation container's memory
51-
/// can expand to.
52-
pub max_pages: usize,
5348
/// Whether debug mode is enabled or not.
5449
pub debug: bool,
5550
}
5651

5752
impl Default for Config {
5853
fn default() -> Self {
5954
Self {
60-
initial_pages: 0,
61-
max_pages: 1024,
6255
max_call_depth: 4096,
6356
debug: false,
6457
}

rust-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
stable
1+
nightly

testing/conformance/src/vm.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,6 @@ impl TestMachine<Box<DefaultMachine<MemoryBlockstore, TestExterns>>> {
7575
let machine = DefaultMachine::new(
7676
Config {
7777
max_call_depth: 4096,
78-
initial_pages: 0,
79-
max_pages: 1024,
8078
debug: true, // Enable debug mode by default.
8179
},
8280
engine,

0 commit comments

Comments
 (0)