Skip to content

Commit

Permalink
Numeric type allows number which will lead to issues. just do bigint
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronmgdr committed May 17, 2024
1 parent f1e2161 commit a66e8f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/transactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import {
hexlify,
isBytesLike,
keccak256,
Numeric,
recoverAddress,
RlpStructuredData,
Signature,
Expand All @@ -29,6 +28,7 @@ import { EIGHT, EIP155_NUMBER, Y_PARITY_EIP_2098 } from "../consts";

export interface CeloTransactionRequest extends TransactionRequest {
feeCurrency?: string;
maxFeeInFeeCurrency?: bigint
}

export interface CeloTransactionCip64 extends TransactionLike {
Expand All @@ -39,7 +39,7 @@ export interface CeloTransactionCip64 extends TransactionLike {
export interface CeloTransactionCip66 extends TransactionLike {
type: TxTypeToPrefix.cip66;
feeCurrency: string;
maxFeeInFeeCurrency: Numeric;
maxFeeInFeeCurrency: bigint;
}

export interface CeloTransactionEip1559 extends TransactionLike {
Expand Down

0 comments on commit a66e8f7

Please sign in to comment.