From 70e0c1aa4905161d92a0f8f9feb5c9715f579006 Mon Sep 17 00:00:00 2001 From: Sam Holmes Date: Fri, 5 Jul 2024 11:06:48 -0700 Subject: [PATCH] Add networkFees to asEthereumInfoPayload cleaner --- CHANGELOG.md | 3 ++- src/ethereum/ethereumTypes.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1826e36be..f43c359f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## Unreleased - added: Implemented common `updateInfoPayload` method for all plugins +- changed: (Ethereum) Include network fee info for core info payload ## 4.11.1 (2024-07-08) @@ -22,7 +23,7 @@ changed: Upgrade @polkadot/api to v12.1.1 - added: (Ethereum/Solana) Add BOBBY - added: (zkSync) Add ZK -- changed: (Piratechain) Allow `derivePublicKey` to fail in case native code isn't present +- changed: (Piratechain) Allow `derivePublicKey` to fail in case native code isn't present - removed: (Zcash/Piratechain) Remove `defaultBirthdayHeight` ## 4.8.0 (2024-06-10) diff --git a/src/ethereum/ethereumTypes.ts b/src/ethereum/ethereumTypes.ts index fbf14c741..d0691400b 100644 --- a/src/ethereum/ethereumTypes.ts +++ b/src/ethereum/ethereumTypes.ts @@ -541,6 +541,7 @@ export const asMaybeEvmOverrideGasLimitLocation = asMaybe( // export const asEthereumInfoPayload = asObject({ - networkAdapterConfigs: asOptional(asArray(asNetworkAdaptorConfig)) + networkAdapterConfigs: asOptional(asArray(asNetworkAdaptorConfig)), + networkFees: asOptional(asEthereumFees) }) export type EthereumInfoPayload = ReturnType