diff --git a/Cargo.lock b/Cargo.lock index 3b601c0c1..71eebfa94 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8689,7 +8689,7 @@ dependencies = [ [[package]] name = "pallet-evm_account_mapping" version = "0.0.1" -source = "git+https://github.com/Phala-Network/substrate-evm_account_mapping?branch=release-polkadot-v1.5.0#712a3bed7e4e8431b00256cb4cbc5c3f177f9a66" +source = "git+https://github.com/Phala-Network/substrate-evm_account_mapping?branch=release-polkadot-v1.5.0#9963def5b42dcb41625605f39c5c2b5a6fabdc0a" dependencies = [ "ethabi", "frame-support", diff --git a/standalone/prouter/Cargo.lock b/standalone/prouter/Cargo.lock index 29c8c4b41..1348806fc 100644 --- a/standalone/prouter/Cargo.lock +++ b/standalone/prouter/Cargo.lock @@ -4327,7 +4327,7 @@ dependencies = [ [[package]] name = "pallet-evm_account_mapping" version = "0.0.1" -source = "git+https://github.com/Phala-Network/substrate-evm_account_mapping?branch=release-polkadot-v1.5.0#712a3bed7e4e8431b00256cb4cbc5c3f177f9a66" +source = "git+https://github.com/Phala-Network/substrate-evm_account_mapping?branch=release-polkadot-v1.5.0#9963def5b42dcb41625605f39c5c2b5a6fabdc0a" dependencies = [ "ethabi", "frame-support", diff --git a/standalone/pruntime/Cargo.lock b/standalone/pruntime/Cargo.lock index a1042be34..fe0874aea 100644 --- a/standalone/pruntime/Cargo.lock +++ b/standalone/pruntime/Cargo.lock @@ -5032,7 +5032,7 @@ dependencies = [ [[package]] name = "pallet-evm_account_mapping" version = "0.0.1" -source = "git+https://github.com/Phala-Network/substrate-evm_account_mapping?branch=release-polkadot-v1.5.0#712a3bed7e4e8431b00256cb4cbc5c3f177f9a66" +source = "git+https://github.com/Phala-Network/substrate-evm_account_mapping?branch=release-polkadot-v1.5.0#9963def5b42dcb41625605f39c5c2b5a6fabdc0a" dependencies = [ "ethabi", "frame-support", diff --git a/standalone/runtime/src/lib.rs b/standalone/runtime/src/lib.rs index b17cf821f..1c2d16167 100644 --- a/standalone/runtime/src/lib.rs +++ b/standalone/runtime/src/lib.rs @@ -1553,7 +1553,7 @@ impl OnUnbalanced for DealWithServiceFee { parameter_types! { pub EIP712Name: Vec = b"PhalaNetwork".to_vec(); - pub EIP712Version: Vec = b"1".to_vec(); + pub EIP712Version: Vec = b"2".to_vec(); pub EIP712ChainID: pallet_evm_account_mapping::EIP712ChainID = sp_core::U256::from(0); pub EIP712VerifyingContractAddress: pallet_evm_account_mapping::EIP712VerifyingContractAddress = sp_core::H160::from([0u8; 20]); } @@ -1562,6 +1562,7 @@ impl pallet_evm_account_mapping::Config for Runtime { type RuntimeEvent = RuntimeEvent; type RuntimeCall = RuntimeCall; type Currency = Balances; + type AddressConverter = pallet_evm_account_mapping::EvmTransparentConverter; type ServiceFee = ConstU128<10000000000>; // 0.01 PHA type OnUnbalancedForServiceFee = DealWithServiceFee; type CallFilter = frame_support::traits::Everything;