From 0f9082b37b3c6f2739110736b593051d0339a07f Mon Sep 17 00:00:00 2001 From: rileystephens28 Date: Mon, 14 Oct 2024 15:02:25 -0500 Subject: [PATCH] Fix implicit imports --- src/contract/types.ts | 2 +- src/providers/abstract-provider.ts | 2 +- src/signers/abstract-signer.ts | 2 +- src/signers/signer.ts | 5 ++--- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/contract/types.ts b/src/contract/types.ts index 82887690..e736b72b 100644 --- a/src/contract/types.ts +++ b/src/contract/types.ts @@ -8,7 +8,7 @@ import type { TransactionResponse, TransactionRequest, } from '../providers/index.js'; -import { AccessList } from '../transaction'; +import { AccessList } from '../transaction/index.js'; /** * The name for an event used for subscribing to Contract events. diff --git a/src/providers/abstract-provider.ts b/src/providers/abstract-provider.ts index da94e3c9..b06a9080 100644 --- a/src/providers/abstract-provider.ts +++ b/src/providers/abstract-provider.ts @@ -81,7 +81,7 @@ import { } from './subscriber-polling.js'; import { getNodeLocationFromZone, getZoneFromNodeLocation } from '../utils/shards.js'; import { fromShard } from '../constants/shards.js'; -import { AccessList } from '../transaction'; +import { AccessList } from '../transaction/index.js'; type Timer = ReturnType; diff --git a/src/signers/abstract-signer.ts b/src/signers/abstract-signer.ts index 515f5e64..6383ad0d 100644 --- a/src/signers/abstract-signer.ts +++ b/src/signers/abstract-signer.ts @@ -14,7 +14,7 @@ import type { Signer } from './signer.js'; import { getTxType } from '../utils/index.js'; import { QuaiTransaction, QuaiTransactionLike } from '../transaction/index.js'; import { toZone, Zone } from '../constants/index.js'; -import { AccessList } from '../transaction'; +import { AccessList } from '../transaction/index.js'; function checkProvider(signer: AbstractSigner, operation: string): Provider { if (signer.provider) { diff --git a/src/signers/signer.ts b/src/signers/signer.ts index f891ded6..ff88ab6c 100644 --- a/src/signers/signer.ts +++ b/src/signers/signer.ts @@ -4,7 +4,7 @@ import type { TransactionLike } from '../transaction/index.js'; import type { ContractRunner } from '../contract/index.js'; import type { BlockTag, Provider, TransactionRequest, TransactionResponse } from '../providers/provider.js'; -import { AccessList } from '../transaction'; +import { AccessList } from '../transaction/index.js'; /** * A Signer represents an account on the Ethereum Blockchain, and is most often backed by a private key represented by a @@ -72,8 +72,7 @@ export interface Signer extends Addressable, ContractRunner { * - Populates `nonce` via `signer.getNonce("pending")` * - Populates `gasLimit` via `signer.estimateGas(tx)` * - Populates `chainId` via `signer.provider.getNetwork()` - * - Populates `type` and relevant fee data for that type (`gasPrice` for legacy transactions, `maxFeePerGas` for - * EIP-1559, etc) + * - Populates `type` and relevant fee data for that type (`gasPrice`, `minerTip`, etc) * * @param {TransactionRequest} tx - The transaction to prepare. * @returns {Promise} A promise resolving to the prepared transaction.