Move EIP-712 crate back to parity-ethereum (#10106)

* move eip-712 crate back to parity-ethereum

* changed license, updated documentation url
This commit is contained in:
Seun LanLege
2018-12-28 10:36:55 +01:00
committed by Wei Tang
parent ff0095ac5e
commit 912e5599d9
12 changed files with 88 additions and 31 deletions

View File

@@ -62,7 +62,7 @@ extern crate parity_runtime;
extern crate parity_updater as updater;
extern crate parity_version as version;
extern crate patricia_trie as trie;
extern crate eip712;
extern crate eip_712;
extern crate rlp;
extern crate stats;
extern crate vm;

View File

@@ -16,7 +16,7 @@
//! EIP-191 compliant decoding + hashing
use v1::types::{EIP191Version, Bytes, PresignedTransaction};
use eip712::{hash_structured_data, EIP712};
use eip_712::{hash_structured_data, EIP712};
use serde_json::{Value, from_value};
use v1::helpers::errors;
use jsonrpc_core::Error;

View File

@@ -39,7 +39,7 @@ use v1::types::{
EIP191Version,
};
use v1::metadata::Metadata;
use eip712::{EIP712, hash_structured_data};
use eip_712::{EIP712, hash_structured_data};
use jsonrpc_core::types::Value;
/// Account management (personal) rpc implementation.

View File

@@ -15,7 +15,7 @@
// along with Parity. If not, see <http://www.gnu.org/licenses/>.
//! Personal rpc interface.
use eip712::EIP712;
use eip_712::EIP712;
use jsonrpc_core::types::Value;
use jsonrpc_core::{BoxFuture, Result};
use v1::types::{Bytes, U128, H160, H256, H520, TransactionRequest, RichRawTransaction as RpcRichRawTransaction, EIP191Version};