Skip to content

Commit

Permalink
feat(octez): introduce feature 'disable-slow-pvm'
Browse files Browse the repository at this point in the history
  • Loading branch information
huancheng-trili committed Jan 15, 2025
1 parent c8886f4 commit 464ec2f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions crates/octez/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@ tokio.workspace = true

[features]
disable-alpha = []
disable-slow-pvm = []
2 changes: 2 additions & 0 deletions crates/octez/src/async/rollup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,8 @@ impl OctezRollup {
&self.rpc_endpoint.port().to_string(),
"--acl-override",
"allow-all",
#[cfg(feature = "disable-slow-pvm")]
"--unsafe-disable-wasm-kernel-checks",
]);
if let Some(boot_sector_file) = boot_sector_file {
command.args(["--boot-sector-file", &boot_sector_file.to_string_lossy()]);
Expand Down

0 comments on commit 464ec2f

Please sign in to comment.