Skip to content

Commit

Permalink
Fix implicit imports
Browse files Browse the repository at this point in the history
  • Loading branch information
rileystephens28 committed Oct 17, 2024
1 parent fe5d45e commit 0f9082b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/contract/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/providers/abstract-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<typeof setTimeout>;

Expand Down
2 changes: 1 addition & 1 deletion src/signers/abstract-signer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
5 changes: 2 additions & 3 deletions src/signers/signer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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<TransactionLike>} A promise resolving to the prepared transaction.
Expand Down

0 comments on commit 0f9082b

Please sign in to comment.