Skip to content

Commit 84e5f20

Browse files
committed
fix: use P2P consensus for sync writes (allow_direct_writes=false, require_consensus=true)
1 parent ef4b2d2 commit 84e5f20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bins/validator-node/src/wasm_executor.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1026,8 +1026,8 @@ impl WasmChallengeExecutor {
10261026
challenge_id: module_path.to_string(),
10271027
validator_id: "validator".to_string(),
10281028
storage_host_config: StorageHostConfig {
1029-
allow_direct_writes: true,
1030-
require_consensus: false,
1029+
allow_direct_writes: false,
1030+
require_consensus: true,
10311031
..self.config.storage_host_config.clone()
10321032
},
10331033
storage_backend: Arc::clone(&self.config.storage_backend),

0 commit comments

Comments
 (0)