From dd1f5744fd0f57540b0a92902ad217423499c8b0 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 91b408c54..c38c344ce 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.10.0 (2024-06-24) @@ -14,7 +15,7 @@ - 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