Skip to content

Commit

Permalink
fix: add missing imports on script.sol (#212)
Browse files Browse the repository at this point in the history
* fix: add missing imports on script.sol

* fix: add missing Ok functions imports
  • Loading branch information
gnkz authored Oct 3, 2023
1 parent bda8bf0 commit 294c9d9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
11 changes: 7 additions & 4 deletions src/script.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ pragma solidity >=0.8.13 <0.9.0;
import {console} from "./_modules/Console.sol";
import {vulcan} from "./_modules/Vulcan.sol";
import {accountsSafe as accounts, accounts as accountsUnsafe} from "./_modules/Accounts.sol";
import {commands, Command, CommandResult} from "./_modules/Commands.sol";
import {commands, Command, CommandResult, CommandOutput, CommandError, Ok} from "./_modules/Commands.sol";
import {ctxSafe as ctx, ctx as ctxUnsafe} from "./_modules/Context.sol";
import {env} from "./_modules/Env.sol";
import {events} from "./_modules/Events.sol";
import {forks as forksUnsafe} from "./_modules/Forks.sol";
import {fs} from "./_modules/Fs.sol";
import {json} from "./_modules/Json.sol";
import {fs, FsMetadata, FsMetadataResult, FsErrors, Ok} from "./_modules/Fs.sol";
import {json, JsonObject, Ok} from "./_modules/Json.sol";
import {strings} from "./_modules/Strings.sol";
import {watchers as watchersUnsafe} from "./_modules/Watchers.sol";
import {config, Rpc} from "./_modules/Config.sol";
Expand All @@ -22,6 +22,8 @@ import {removeSelector} from "./_utils/removeSelector.sol";
import {huff, Huffc} from "./_modules/Huff.sol";
import {fe, Fe} from "./_modules/Fe.sol";
import {semver, Semver} from "./_modules/Semver.sol";
import {Ok, StringResult, BoolResult, BytesResult, EmptyResult} from "./_modules/Result.sol";
import {Error} from "./_modules/Error.sol";
import {
request,
Headers,
Expand All @@ -30,7 +32,8 @@ import {
Response,
Request,
RequestClient,
RequestBuilder
RequestBuilder,
Ok
} from "./_modules/Request.sol";

contract Script {
Expand Down
7 changes: 4 additions & 3 deletions src/test.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ import {console} from "./_modules/Console.sol";
import {vulcan, Log} from "./_modules/Vulcan.sol";
import {any} from "./_modules/Any.sol";
import {accounts} from "./_modules/Accounts.sol";
import {commands, Command, CommandResult, CommandOutput, CommandError} from "./_modules/Commands.sol";
import {commands, Command, CommandResult, CommandOutput, CommandError, Ok} from "./_modules/Commands.sol";
import {ctx} from "./_modules/Context.sol";
import {env} from "./_modules/Env.sol";
import {events} from "./_modules/Events.sol";
import {expect} from "./_modules/Expect.sol";
import {forks, Fork} from "./_modules/Forks.sol";
import {fs, FsMetadata, FsMetadataResult, FsErrors} from "./_modules/Fs.sol";
import {fs, FsMetadata, FsMetadataResult, FsErrors, Ok} from "./_modules/Fs.sol";
import {gas} from "./_modules/Gas.sol";
import {huff, Huffc} from "./_modules/Huff.sol";
import {InvariantsBase, invariants} from "./_modules/Invariants.sol";
Expand All @@ -37,7 +37,8 @@ import {
Response,
Request,
RequestClient,
RequestBuilder
RequestBuilder,
Ok
} from "./_modules/Request.sol";

// @dev Main entry point to Vulcan tests
Expand Down

0 comments on commit 294c9d9

Please sign in to comment.