Skip to content

Commit f7e682a

Browse files
authored
test(svm): bump integration tests to solc 0.8.37 (#16792)
1 parent f3e8056 commit f7e682a

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

crates/forge/tests/cli/svm.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use svm::Platform;
1111
/// 3. svm bumped in foundry-compilers
1212
/// 4. foundry-compilers update with any breaking changes
1313
/// 5. upgrade the `LATEST_SOLC`
14-
const LATEST_SOLC: Version = Version::new(0, 8, 36);
14+
const LATEST_SOLC: Version = Version::new(0, 8, 37);
1515

1616
macro_rules! ensure_svm_releases {
1717
($($test:ident => $platform:ident),* $(,)?) => {$(
@@ -82,12 +82,12 @@ Ran 2 test suites [ELAPSED]: 3 tests passed, 0 failed, 0 skipped (3 total tests)
8282
"#]]);
8383
});
8484

85-
forgetest_init!(can_test_with_solc_0_8_36_amsterdam, |prj, cmd| {
85+
forgetest_init!(can_test_with_solc_0_8_37_amsterdam, |prj, cmd| {
8686
prj.initialize_default_contracts();
8787
prj.add_test(
8888
"StateGas.t.sol",
8989
r#"
90-
pragma solidity =0.8.36;
90+
pragma solidity =0.8.37;
9191
9292
import "forge-std/Test.sol";
9393
@@ -212,8 +212,8 @@ contract StateGasTest is Test {
212212
"#,
213213
);
214214

215-
// Amsterdam is an experimental EVM version in solc 0.8.36.
216-
let args = ["test", "--use", "0.8.36", "--evm-version", "amsterdam", "--experimental"];
215+
// Amsterdam is an experimental EVM version in solc 0.8.37.
216+
let args = ["test", "--use", "0.8.37", "--evm-version", "amsterdam", "--experimental"];
217217
cmd.args(args).assert_success();
218218
// Exercise the individual and combined CLI flags.
219219
cmd.forge_fuse().args(args).arg("--enable-tx-gas-limit").assert_success();

0 commit comments

Comments
 (0)