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:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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};
|
||||
|
||||
Reference in New Issue
Block a user