Skip to content

Commit e4dac85

Browse files
authored
Merge pull request #1503 from Phala-Network/upgrade-am-pallet
Upgrade pallet-evm_account_mapping
2 parents 923a6c8 + cb9cc0e commit e4dac85

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

standalone/prouter/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

standalone/pruntime/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

standalone/runtime/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1553,7 +1553,7 @@ impl OnUnbalanced<NegativeImbalance> for DealWithServiceFee {
15531553

15541554
parameter_types! {
15551555
pub EIP712Name: Vec<u8> = b"PhalaNetwork".to_vec();
1556-
pub EIP712Version: Vec<u8> = b"1".to_vec();
1556+
pub EIP712Version: Vec<u8> = b"2".to_vec();
15571557
pub EIP712ChainID: pallet_evm_account_mapping::EIP712ChainID = sp_core::U256::from(0);
15581558
pub EIP712VerifyingContractAddress: pallet_evm_account_mapping::EIP712VerifyingContractAddress = sp_core::H160::from([0u8; 20]);
15591559
}
@@ -1562,6 +1562,7 @@ impl pallet_evm_account_mapping::Config for Runtime {
15621562
type RuntimeEvent = RuntimeEvent;
15631563
type RuntimeCall = RuntimeCall;
15641564
type Currency = Balances;
1565+
type AddressConverter = pallet_evm_account_mapping::EvmTransparentConverter;
15651566
type ServiceFee = ConstU128<10000000000>; // 0.01 PHA
15661567
type OnUnbalancedForServiceFee = DealWithServiceFee;
15671568
type CallFilter = frame_support::traits::Everything;

0 commit comments

Comments
 (0)