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:
David
2021-08-17 20:06:23 +02:00
committed by GitHub
parent 598c6676ae
commit 2de7e51c2a
61 changed files with 57 additions and 921 deletions
@@ -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;