Skip to content

Commit

Permalink
chore: apply the changes suggested by the new eslint rule
Browse files Browse the repository at this point in the history
  • Loading branch information
galargh committed Nov 22, 2024
1 parent f8121d2 commit fc74c78
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import { isHttpNetworkConfig } from "./utils.js";
*/
export class JsonRpcRequestModifier {
readonly #provider: EthereumProvider;
readonly #networkConfig: NetworkConfig;
readonly #networkConfig: Readonly<NetworkConfig>;

// accounts
#localAccounts: LocalAccounts | undefined;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export class NetworkConnectionImplementation<
{
public readonly id: number;
public readonly networkName: string;
public readonly networkConfig: NetworkConfig;
public readonly networkConfig: Readonly<NetworkConfig>;
public readonly chainType: ChainTypeT;

#provider!: EthereumProvider;
Expand Down
2 changes: 1 addition & 1 deletion v-next/hardhat/src/types/network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export interface NetworkConnection<
> {
readonly id: number;
readonly networkName: string;
readonly networkConfig: NetworkConfig;
readonly networkConfig: Readonly<NetworkConfig>;
readonly chainType: ChainTypeT;
readonly provider: EthereumProvider;

Expand Down

0 comments on commit fc74c78

Please sign in to comment.