Update hex-literal version, simplify imports and remove unused dependencies (#2371)

This commit is contained in:
Stanislav Tkach
2019-04-25 12:17:40 +03:00
committed by Gavin Wood
parent d6054a8fd8
commit 0f02bed702
46 changed files with 54 additions and 85 deletions
+1 -1
View File
@@ -166,7 +166,7 @@ impl<H: Hasher> Externalities<H> for BasicExternalities where H::Out: Ord + Heap
mod tests {
use super::*;
use primitives::{Blake2Hasher, H256};
use hex_literal::{hex, hex_impl};
use hex_literal::hex;
#[test]
fn commit_should_work() {
+1 -1
View File
@@ -360,7 +360,7 @@ where
#[cfg(test)]
mod tests {
use hex_literal::{hex, hex_impl};
use hex_literal::hex;
use parity_codec::Encode;
use primitives::{Blake2Hasher};
use primitives::storage::well_known_keys::EXTRINSIC_INDEX;
@@ -309,7 +309,7 @@ impl From<Option<Vec<u8>>> for OverlayedValue {
#[cfg(test)]
mod tests {
use hex_literal::{hex, hex_impl};
use hex_literal::hex;
use primitives::{Blake2Hasher, H256};
use primitives::storage::well_known_keys::EXTRINSIC_INDEX;
use crate::backend::InMemory;
+1 -1
View File
@@ -180,7 +180,7 @@ impl<H: Hasher> Externalities<H> for TestExternalities<H> where H::Out: Ord + He
mod tests {
use super::*;
use primitives::{Blake2Hasher, H256};
use hex_literal::{hex, hex_impl};
use hex_literal::hex;
#[test]
fn commit_should_work() {