Skip to content

Commit

Permalink
Merge pull request #1232 from DarkFlorist/optimism-mint
Browse files Browse the repository at this point in the history
Optimism mint can be undefined as well it seems
  • Loading branch information
KillariDev authored Dec 16, 2024
2 parents 94a6d4b + ce7770a commit 5b69c21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/ts/types/wire-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion app/ts/utils/ethereum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5b69c21

Please sign in to comment.