diff --git a/tig-benchmarker/tig_benchmarker/structs.py b/tig-benchmarker/tig_benchmarker/structs.py index 7fc60a35..266c46c7 100644 --- a/tig-benchmarker/tig_benchmarker/structs.py +++ b/tig-benchmarker/tig_benchmarker/structs.py @@ -256,7 +256,6 @@ class Wasm(FromDict): algorithm_id: str details: WasmDetails state: WasmState - wasm_blob: Optional[bytes] @dataclass class TopUpDetails(FromDict): diff --git a/tig-protocol/src/add_block.rs b/tig-protocol/src/add_block.rs index cd7b6e91..9b189c98 100644 --- a/tig-protocol/src/add_block.rs +++ b/tig-protocol/src/add_block.rs @@ -165,7 +165,7 @@ async fn setup_cache( } let mut mempool_wasms = Vec::new(); for mut wasm in ctx - .get_wasms(WasmsFilter::Mempool, false) + .get_wasms(WasmsFilter::Mempool) .await .unwrap_or_else(|e| panic!("mempool_wasms error: {:?}", e)) { @@ -219,7 +219,7 @@ async fn setup_cache( 1 }; let wasm = ctx - .get_wasms(WasmsFilter::AlgorithmId(algorithm.id.clone()), false) + .get_wasms(WasmsFilter::AlgorithmId(algorithm.id.clone())) .await .unwrap_or_else(|e| panic!("get_wasms error: {:?}", e)); if !state.banned diff --git a/tig-protocol/src/context.rs b/tig-protocol/src/context.rs index 37ccb5b8..4cc95969 100644 --- a/tig-protocol/src/context.rs +++ b/tig-protocol/src/context.rs @@ -120,7 +120,7 @@ pub trait Context { include_data: bool, ) -> ContextResult>; async fn get_topups(&self, filter: TopUpsFilter) -> ContextResult>; - async fn get_wasms(&self, filter: WasmsFilter, include_data: bool) -> ContextResult>; + async fn get_wasms(&self, filter: WasmsFilter) -> ContextResult>; async fn verify_solution( &self, settings: &BenchmarkSettings, @@ -185,7 +185,6 @@ pub trait Context { &self, algorithm_id: &String, details: WasmDetails, - wasm_blob: Option>, ) -> ContextResult<()>; // Updates diff --git a/tig-structs/src/core.rs b/tig-structs/src/core.rs index 699e4a30..da8ec82e 100644 --- a/tig-structs/src/core.rs +++ b/tig-structs/src/core.rs @@ -86,7 +86,6 @@ serializable_struct_with_getters! { algorithm_id: String, details: WasmDetails, state: Option, - wasm_blob: Option>, } } @@ -328,7 +327,6 @@ serializable_struct_with_getters! { WasmDetails { compile_success: bool, download_url: Option, - checksum: Option, } } serializable_struct_with_getters! {