diff --git a/app/ts/types/wire-types.ts b/app/ts/types/wire-types.ts index 790c31f3..a10a943a 100644 --- a/app/ts/types/wire-types.ts +++ b/app/ts/types/wire-types.ts @@ -340,7 +340,7 @@ const EthereumSignedTransactionOptimismDeposit = funtypes.ReadonlyObject({ sourceHash: EthereumBytes32, from: EthereumAddress, to: funtypes.Union(EthereumAddress, funtypes.Null), - mint: funtypes.Union(EthereumQuantity, funtypes.Null), + mint: funtypes.Union(EthereumQuantity, funtypes.Null, funtypes.Undefined), value: EthereumQuantity, gas: EthereumQuantity, data: EthereumInput, diff --git a/app/ts/utils/ethereum.ts b/app/ts/utils/ethereum.ts index 4d376720..f8f183bb 100644 --- a/app/ts/utils/ethereum.ts +++ b/app/ts/utils/ethereum.ts @@ -54,7 +54,7 @@ interface IOptimismDepositTransaction { readonly sourceHash: bigint readonly from: bigint readonly to: bigint | null - readonly mint: bigint | null + readonly mint: bigint | null | undefined readonly value: bigint readonly gas: bigint readonly data: Uint8Array