diff --git a/app/ts/types/wire-types.ts b/app/ts/types/wire-types.ts index 7d567cc2..cdd6d0e8 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: EthereumQuantity, + mint: funtypes.Union(EthereumQuantity, funtypes.Null), value: EthereumQuantity, gas: EthereumQuantity, data: EthereumInput, diff --git a/app/ts/utils/ethereum.ts b/app/ts/utils/ethereum.ts index ed51a72a..0f5a21e6 100644 --- a/app/ts/utils/ethereum.ts +++ b/app/ts/utils/ethereum.ts @@ -54,7 +54,7 @@ export interface IOptimismDepositTransaction { readonly sourceHash: bigint readonly from: bigint readonly to: bigint | null - readonly mint: bigint + readonly mint: bigint | null readonly value: bigint readonly gas: bigint readonly data: Uint8Array