Skip to content

Commit

Permalink
seems like mint can also be null on Optimism based chains
Browse files Browse the repository at this point in the history
  • Loading branch information
KillariDev committed Nov 29, 2024
1 parent 14b6152 commit e063da8
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 e063da8

Please sign in to comment.