Skip to content

Commit

Permalink
Merge pull request #1214 from DarkFlorist/null-mint
Browse files Browse the repository at this point in the history
seems like mint can also be null on Optimism based chains
  • Loading branch information
KillariDev authored Dec 3, 2024
2 parents 4de6fe3 + e9ea13f commit ef91513
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: EthereumQuantity,
mint: funtypes.Union(EthereumQuantity, funtypes.Null),
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 @@ 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
Expand Down

0 comments on commit ef91513

Please sign in to comment.