Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions node/src/mev_shield/proposer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ use ml_kem::kem::{Decapsulate, DecapsulationKey};
use ml_kem::{Ciphertext, Encoded, EncodedSizeUser, MlKem768, MlKem768Params};
use sc_service::SpawnTaskHandle;
use sc_transaction_pool_api::{TransactionPool, TransactionSource};
use sp_consensus::BlockOrigin;
use sp_core::H256;
use sp_runtime::traits::{Header, SaturatedConversion};
use sp_runtime::{AccountId32, OpaqueExtrinsic};
Expand Down Expand Up @@ -167,9 +166,6 @@ pub fn spawn_revealer<B, C, Pool>(
let mut import_stream = client.import_notification_stream();

while let Some(notif) = import_stream.next().await {
if notif.origin != BlockOrigin::Own {
continue;
}

let at_hash = notif.hash;
let block_number_u64: u64 = (*notif.header.number()).saturated_into();
Expand Down Expand Up @@ -650,7 +646,7 @@ pub fn spawn_revealer<B, C, Pool>(
error_message,
hex::encode(aead_body_hash),
);
failed_calls.push((id, create_failed_call(id, error_message)));
//failed_calls.push((id, create_failed_call(id, error_message)));
continue;
}
};
Expand Down
2 changes: 1 addition & 1 deletion runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
// `spec_version`, and `authoring_version` are the same between Wasm and native.
// This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use
// the compatible custom types.
spec_version: 370,
spec_version: 371,
impl_version: 1,
apis: RUNTIME_API_VERSIONS,
transaction_version: 1,
Expand Down
Loading