Skip to content

Commit

Permalink
Add networkFees to asEthereumInfoPayload cleaner
Browse files Browse the repository at this point in the history
  • Loading branch information
samholmes committed Jul 5, 2024
1 parent 0a017a0 commit f2825d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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)
Expand Down
5 changes: 1 addition & 4 deletions src/ethereum/ethereumTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,6 @@ const asNetworkAdaptorConfig = asObject({
ethBalCheckerContract: asOptional(asString)
})

export const asEthereumInfoPayload = asObject({
networkAdapterConfigs: asOptional(asArray(asNetworkAdaptorConfig))
})

/**
* Other Methods from EthereumTools
*/
Expand Down Expand Up @@ -546,5 +542,6 @@ export const asMaybeEvmOverrideGasLimitLocation = asMaybe(

export const asEthereumInfoPayload = asObject({
networkAdapterConfigs: asOptional(asArray(asNetworkAdaptorConfig)),
networkFees: asOptional(asEthereumFees)
})
export type EthereumInfoPayload = ReturnType<typeof asEthereumInfoPayload>

0 comments on commit f2825d8

Please sign in to comment.