Skip to content

Commit

Permalink
Fix gas and bind test
Browse files Browse the repository at this point in the history
  • Loading branch information
grandizzy committed Feb 2, 2025
1 parent 60bfeaa commit 67fee47
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions crates/forge/tests/cli/cmd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2812,7 +2812,7 @@ contract NestedDeploy is Test {
+============================================================================================+
| Deployment Cost | Deployment Size | | | | |
|-------------------------------------------+-----------------+-----+--------+-----+---------|
| 251985 | 739 | | | | |
| 251997 | 739 | | | | |
|-------------------------------------------+-----------------+-----+--------+-----+---------|
| | | | | | |
|-------------------------------------------+-----------------+-----+--------+-----+---------|
Expand Down Expand Up @@ -2867,7 +2867,7 @@ Ran 1 test suite [ELAPSED]: 1 tests passed, 0 failed, 0 skipped (1 total tests)
{
"contract": "test/NestedDeployTest.sol:Parent",
"deployment": {
"gas": 251985,
"gas": 251997,
"size": 739
},
"functions": {
Expand Down Expand Up @@ -2899,7 +2899,7 @@ forgetest_init!(can_use_absolute_imports, |prj, cmd| {
prj.add_lib(
"myDependency/src/interfaces/IConfig.sol",
r"
interface IConfig {}
",
)
Expand Down Expand Up @@ -3544,9 +3544,11 @@ forgetest_init!(can_bind_enum_modules, |prj, cmd| {
)
.unwrap();

cmd.arg("bind").assert_success().stdout_eq(str![[r#"[COMPILING_FILES] with [SOLC_VERSION]
cmd.args(["bind", "--select", "^Enum$"]).assert_success().stdout_eq(str![[
r#"[COMPILING_FILES] with [SOLC_VERSION]
[SOLC_VERSION] [ELAPSED]
Compiler run successful!
Generating bindings for 11 contracts
Bindings have been generated to [..]"#]]);
Generating bindings for 1 contracts
Bindings have been generated to [..]"#
]]);
});

0 comments on commit 67fee47

Please sign in to comment.