Skip to content

Commit 67b13dd

Browse files
committed
remove deprecated var
1 parent 8053e25 commit 67b13dd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test.sol

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ contract DSTest {
4545
}
4646

4747
modifier logs_gas() {
48-
var startGas = msg.gas;
48+
uint startGas = msg.gas;
4949
_;
50-
var endGas = msg.gas;
50+
uint endGas = msg.gas;
5151
log_named_uint("gas", startGas - endGas);
5252
}
5353

@@ -117,7 +117,7 @@ contract DSTest {
117117
}
118118

119119
function assertEq0(bytes a, bytes b) internal {
120-
var ok = true;
120+
bool ok = true;
121121

122122
if (a.length == b.length) {
123123
for (uint i = 0; i < a.length; i++) {

0 commit comments

Comments
 (0)