mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-11 17:41:08 +00:00
Remove substrate-in-the-browser (#9541)
* Comment out browser stuff * Remove browser stuff * Remove more wasm transport code * Remove ExtTransport and rework how telemetry initialises. * Change (most) wasm-timer using code to use std::time * Rename CI-job * Aura does not compile for wasm * Remove testing in the browser on CI * Update README * Leave `StreamSink` be * fmt
This commit is contained in:
@@ -24,7 +24,7 @@ use std::{
|
||||
|
||||
use sp_core::hexdisplay::HexDisplay;
|
||||
use sp_runtime::transaction_validity::TransactionTag as Tag;
|
||||
use wasm_timer::Instant;
|
||||
use std::time::Instant;
|
||||
|
||||
use super::base_pool::Transaction;
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ use sp_runtime::{
|
||||
TransactionSource, TransactionTag as Tag, TransactionValidity, TransactionValidityError,
|
||||
},
|
||||
};
|
||||
use wasm_timer::Instant;
|
||||
use std::time::Instant;
|
||||
|
||||
use super::{
|
||||
base_pool as base,
|
||||
@@ -454,9 +454,11 @@ mod tests {
|
||||
traits::Hash,
|
||||
transaction_validity::{InvalidTransaction, TransactionSource, ValidTransaction},
|
||||
};
|
||||
use std::collections::{HashMap, HashSet};
|
||||
use std::{
|
||||
collections::{HashMap, HashSet},
|
||||
time::Instant,
|
||||
};
|
||||
use substrate_test_runtime::{AccountId, Block, Extrinsic, Hashing, Transfer, H256};
|
||||
use wasm_timer::Instant;
|
||||
|
||||
const INVALID_NONCE: u64 = 254;
|
||||
const SOURCE: TransactionSource = TransactionSource::External;
|
||||
|
||||
@@ -22,8 +22,11 @@
|
||||
//! Discarded extrinsics are banned so that they don't get re-imported again.
|
||||
|
||||
use parking_lot::RwLock;
|
||||
use std::{collections::HashMap, hash, iter, time::Duration};
|
||||
use wasm_timer::Instant;
|
||||
use std::{
|
||||
collections::HashMap,
|
||||
hash, iter,
|
||||
time::{Duration, Instant},
|
||||
};
|
||||
|
||||
use super::base_pool::Transaction;
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ use sp_runtime::{
|
||||
traits::{self, SaturatedConversion},
|
||||
transaction_validity::{TransactionSource, TransactionTag as Tag, ValidTransaction},
|
||||
};
|
||||
use wasm_timer::Instant;
|
||||
use std::time::Instant;
|
||||
|
||||
use super::{
|
||||
base_pool::{self as base, PruneStatus},
|
||||
|
||||
Reference in New Issue
Block a user