Skip to content

Commit

Permalink
refactored
Browse files Browse the repository at this point in the history
  • Loading branch information
RuslanProgrammer committed Oct 27, 2023
1 parent 5330ce1 commit 1fbf566
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/deployer/adapters/TruffleAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ import { MinimalContract } from "../MinimalContract";

import { bytecodeToString, catchError, fillParameters, getMethodString, toJSON } from "../../utils";

import { EthersFactory, Instance, TruffleFactory } from "../../types/adapter";
import {
BaseTruffleMethod,
OverridesAndLibs,
OverridesAndMisc,
TruffleTransactionResponse,
} from "../../types/deployer";
import { KeyTransactionFields } from "../../types/tools";
import { EthersFactory, Instance, TruffleFactory } from "../../types/adapter";

import { Reporter } from "../../tools/reporters/Reporter";
import { TruffleReporter } from "../../tools/reporters/TruffleReporter";
Expand Down Expand Up @@ -97,6 +97,7 @@ export class TruffleAdapter extends Adapter {
// Ambiguous function description in ABI
continue;
}

if (functionStateMutability === "view" || functionStateMutability === "pure") {
continue;
}
Expand Down

0 comments on commit 1fbf566

Please sign in to comment.