Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
env:
SOLC_MINIMUM: "0.8.13"
SOLC_LATEST: "0.8.35"
SOLC_PRERELEASE: ""
SOLC_PRERELEASE: "0.9.0-pre.1"

jobs:
build-matrix:
Expand Down
4 changes: 2 additions & 2 deletions scripts/vm.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def main():

pp = CheatcodesPrinter(
spdx_identifier="MIT OR Apache-2.0",
solidity_requirement=">=0.8.13 <0.9.0",
solidity_requirement=">=0.8.13 <0.10.0",
)
pp.p_prelude()
pp.prelude = False
Expand Down Expand Up @@ -516,7 +516,7 @@ def p_prelude(self, contract: Optional[Cheatcodes] = None):
if self.solidity_requirement != "":
req = self.solidity_requirement
else:
req = ">=0.8.13 <0.9.0"
req = ">=0.8.13 <0.10.0"
self._p_str(f"pragma solidity {req};")
self._p_nl()

Expand Down
2 changes: 1 addition & 1 deletion src/Base.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.8.13 <0.9.0;
pragma solidity >=0.8.13 <0.10.0;

import {StdStorage} from "./StdStorage.sol";
import {Vm, VmSafe} from "./Vm.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/Config.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity ^0.8.13;
pragma solidity >=0.8.13 <0.10.0;

import {console} from "./console.sol";
import {StdConfig} from "./StdConfig.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/LibVariable.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity ^0.8.13;
pragma solidity >=0.8.13 <0.10.0;

// Enable globally.
using LibVariable for Variable global;
Expand Down
2 changes: 1 addition & 1 deletion src/Script.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.8.13 <0.9.0;
pragma solidity >=0.8.13 <0.10.0;

// 💬 ABOUT
// Forge Std's default Script.
Expand Down
2 changes: 1 addition & 1 deletion src/StdAssertions.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.8.13 <0.9.0;
pragma solidity >=0.8.13 <0.10.0;

import {Vm} from "./Vm.sol";

Expand Down
2 changes: 1 addition & 1 deletion src/StdChains.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.8.13 <0.9.0;
pragma solidity >=0.8.13 <0.10.0;

import {VmSafe} from "./Vm.sol";

Expand Down
2 changes: 1 addition & 1 deletion src/StdCheats.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.8.13 <0.9.0;
pragma solidity >=0.8.13 <0.10.0;

import {StdStorage, stdStorage} from "./StdStorage.sol";
import {console2} from "./console2.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/StdConfig.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity ^0.8.13;
pragma solidity >=0.8.13 <0.10.0;

import {VmSafe} from "./Vm.sol";
import {Variable, Type, TypeKind, LibVariable} from "./LibVariable.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/StdConstants.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.8.13 <0.9.0;
pragma solidity >=0.8.13 <0.10.0;

import {IMulticall3} from "./interfaces/IMulticall3.sol";
import {Vm} from "./Vm.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/StdError.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
// Panics work for versions >=0.8.0, but we lowered the pragma to make this compatible with Test
pragma solidity >=0.8.13 <0.9.0;
pragma solidity >=0.8.13 <0.10.0;

/// @notice Pre-encoded Solidity panic error selectors for use in test assertions.
library stdError {
Expand Down
2 changes: 1 addition & 1 deletion src/StdInvariant.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.8.13 <0.9.0;
pragma solidity >=0.8.13 <0.10.0;

/// @notice Abstract contract providing configuration utilities for Forge invariant tests.
abstract contract StdInvariant {
Expand Down
2 changes: 1 addition & 1 deletion src/StdJson.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.8.13 <0.9.0;
pragma solidity >=0.8.13 <0.10.0;

import {VmSafe} from "./Vm.sol";

Expand Down
2 changes: 1 addition & 1 deletion src/StdMath.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.8.13 <0.9.0;
pragma solidity >=0.8.13 <0.10.0;

/// @notice Mathematical utility functions for unsigned and signed integers.
library stdMath {
Expand Down
2 changes: 1 addition & 1 deletion src/StdSecp256k1.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.8.13 <0.9.0;
pragma solidity >=0.8.13 <0.10.0;

/// @dev Library for interaction with secp256k1 elliptic curve,
/// described by equation `y² ≡ x³ + ax + b (mod P)`
Expand Down
2 changes: 1 addition & 1 deletion src/StdStorage.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.8.13 <0.9.0;
pragma solidity >=0.8.13 <0.10.0;

import {Vm} from "./Vm.sol";

Expand Down
2 changes: 1 addition & 1 deletion src/StdStyle.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.8.13 <0.9.0;
pragma solidity >=0.8.13 <0.10.0;

import {VmSafe} from "./Vm.sol";

Expand Down
2 changes: 1 addition & 1 deletion src/StdToml.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.8.13 <0.9.0;
pragma solidity >=0.8.13 <0.10.0;

import {VmSafe} from "./Vm.sol";

Expand Down
2 changes: 1 addition & 1 deletion src/StdUtils.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.8.13 <0.9.0;
pragma solidity >=0.8.13 <0.10.0;

import {IMulticall3} from "./interfaces/IMulticall3.sol";
import {StdConstants} from "./StdConstants.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/Test.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.8.13 <0.9.0;
pragma solidity >=0.8.13 <0.10.0;

// 💬 ABOUT
// Forge Std's default Test.
Expand Down
2 changes: 1 addition & 1 deletion src/Vm.sol

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/console.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.8.13 <0.9.0;
pragma solidity >=0.8.13 <0.10.0;

library console {
address constant CONSOLE_ADDRESS = 0x000000000000000000636F6e736F6c652e6c6f67;
Expand Down
2 changes: 1 addition & 1 deletion src/console2.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.8.13 <0.9.0;
pragma solidity >=0.8.13 <0.10.0;

import {console as console2} from "./console.sol";
2 changes: 1 addition & 1 deletion src/interfaces/IERC1155.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.8.13 <0.9.0;
pragma solidity >=0.8.13 <0.10.0;

import {IERC165} from "./IERC165.sol";

Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/IERC165.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.8.13 <0.9.0;
pragma solidity >=0.8.13 <0.10.0;

interface IERC165 {
/// @notice Query if a contract implements an interface
Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/IERC20.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.8.13 <0.9.0;
pragma solidity >=0.8.13 <0.10.0;

/// @dev Interface of the ERC20 standard as defined in the EIP.
/// @dev This includes the optional name, symbol, and decimals metadata.
Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/IERC4626.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.8.13 <0.9.0;
pragma solidity >=0.8.13 <0.10.0;

import {IERC20} from "./IERC20.sol";

Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/IERC6909.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.8.13 <0.9.0;
pragma solidity >=0.8.13 <0.10.0;

import {IERC165} from "./IERC165.sol";

Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/IERC721.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.8.13 <0.9.0;
pragma solidity >=0.8.13 <0.10.0;

import {IERC165} from "./IERC165.sol";

Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/IERC7540.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.8.13 <0.9.0;
pragma solidity >=0.8.13 <0.10.0;

import {IERC7575} from "./IERC7575.sol";

Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/IERC7575.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.8.13 <0.9.0;
pragma solidity >=0.8.13 <0.10.0;

import {IERC165} from "./IERC165.sol";

Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/IMulticall3.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.8.13 <0.9.0;
pragma solidity >=0.8.13 <0.10.0;

interface IMulticall3 {
struct Call {
Expand Down
2 changes: 1 addition & 1 deletion src/safeconsole.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.8.13 <0.9.0;
pragma solidity >=0.8.13 <0.10.0;

/// @author philogy <https://github.com/philogy>
/// @dev Code generated automatically by script.
Expand Down
2 changes: 1 addition & 1 deletion test/CommonBase.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.8.13 <0.9.0;
pragma solidity >=0.8.13 <0.10.0;

import {CommonBase} from "../src/Base.sol";
import {StdConstants} from "../src/StdConstants.sol";
Expand Down
2 changes: 1 addition & 1 deletion test/Config.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity ^0.8.13;
pragma solidity >=0.8.13 <0.10.0;

import {Test} from "../src/Test.sol";
import {Config} from "../src/Config.sol";
Expand Down
2 changes: 1 addition & 1 deletion test/LibVariable.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity ^0.8.13;
pragma solidity >=0.8.13 <0.10.0;

import {Test} from "../src/Test.sol";
import {Variable, Type, TypeKind, LibVariable} from "../src/LibVariable.sol";
Expand Down
2 changes: 1 addition & 1 deletion test/StdAssertions.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.8.13 <0.9.0;
pragma solidity >=0.8.13 <0.10.0;

import {StdAssertions} from "../src/StdAssertions.sol";
import {Vm} from "../src/Vm.sol";
Expand Down
2 changes: 1 addition & 1 deletion test/StdChains.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.8.13 <0.9.0;
pragma solidity >=0.8.13 <0.10.0;

import {Test} from "../src/Test.sol";

Expand Down
2 changes: 1 addition & 1 deletion test/StdCheats.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.8.13 <0.9.0;
pragma solidity >=0.8.13 <0.10.0;

import {StdCheats} from "../src/StdCheats.sol";
import {Test} from "../src/Test.sol";
Expand Down
2 changes: 1 addition & 1 deletion test/StdConstants.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.8.13 <0.9.0;
pragma solidity >=0.8.13 <0.10.0;

import {StdConstants} from "../src/StdConstants.sol";
import {Test} from "../src/Test.sol";
Expand Down
2 changes: 1 addition & 1 deletion test/StdError.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.8.13 <0.9.0;
pragma solidity >=0.8.13 <0.10.0;

import {stdError} from "../src/StdError.sol";
import {Test} from "../src/Test.sol";
Expand Down
2 changes: 1 addition & 1 deletion test/StdJson.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.8.13 <0.9.0;
pragma solidity >=0.8.13 <0.10.0;

import {Test, stdJson} from "../src/Test.sol";

Expand Down
2 changes: 1 addition & 1 deletion test/StdMath.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.8.13 <0.9.0;
pragma solidity >=0.8.13 <0.10.0;

import {stdMath} from "../src/StdMath.sol";
import {Test, stdError} from "../src/Test.sol";
Expand Down
2 changes: 1 addition & 1 deletion test/StdSecp256k1.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.8.13 <0.9.0;
pragma solidity >=0.8.13 <0.10.0;

import {StdSecp256k1} from "../src/StdSecp256k1.sol";
import {Test} from "../src/Test.sol";
Expand Down
2 changes: 1 addition & 1 deletion test/StdStorage.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.8.13 <0.9.0;
pragma solidity >=0.8.13 <0.10.0;

import {stdStorage, StdStorage} from "../src/StdStorage.sol";
import {Test} from "../src/Test.sol";
Expand Down
2 changes: 1 addition & 1 deletion test/StdStyle.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.8.13 <0.9.0;
pragma solidity >=0.8.13 <0.10.0;

import {Test, console2, StdStyle} from "../src/Test.sol";

Expand Down
2 changes: 1 addition & 1 deletion test/StdToml.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.8.13 <0.9.0;
pragma solidity >=0.8.13 <0.10.0;

import {Test, stdToml} from "../src/Test.sol";

Expand Down
2 changes: 1 addition & 1 deletion test/StdUtils.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.8.13 <0.9.0;
pragma solidity >=0.8.13 <0.10.0;

import {Test, StdUtils} from "../src/Test.sol";

Expand Down
2 changes: 1 addition & 1 deletion test/Vm.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.8.13 <0.9.0;
pragma solidity >=0.8.13 <0.10.0;

import {Test} from "../src/Test.sol";
import {Vm, VmSafe} from "../src/Vm.sol";
Expand Down
2 changes: 1 addition & 1 deletion test/compilation/CompilationScript.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.8.13 <0.9.0;
pragma solidity >=0.8.13 <0.10.0;

import {Script} from "../../src/Script.sol";

Expand Down
2 changes: 1 addition & 1 deletion test/compilation/CompilationScriptBase.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.8.13 <0.9.0;
pragma solidity >=0.8.13 <0.10.0;

import {ScriptBase} from "../../src/Script.sol";

Expand Down
2 changes: 1 addition & 1 deletion test/compilation/CompilationStdSecp256k1.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.8.13 <0.9.0;
pragma solidity >=0.8.13 <0.10.0;

import {StdSecp256k1} from "../../src/StdSecp256k1.sol";

Expand Down
2 changes: 1 addition & 1 deletion test/compilation/CompilationTest.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.8.13 <0.9.0;
pragma solidity >=0.8.13 <0.10.0;

import {Test} from "../../src/Test.sol";

Expand Down
2 changes: 1 addition & 1 deletion test/compilation/CompilationTestBase.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.8.13 <0.9.0;
pragma solidity >=0.8.13 <0.10.0;

import {TestBase} from "../../src/Test.sol";

Expand Down
Loading