We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8053e25 commit 67b13ddCopy full SHA for 67b13dd
src/test.sol
@@ -45,9 +45,9 @@ contract DSTest {
45
}
46
47
modifier logs_gas() {
48
- var startGas = msg.gas;
+ uint startGas = msg.gas;
49
_;
50
- var endGas = msg.gas;
+ uint endGas = msg.gas;
51
log_named_uint("gas", startGas - endGas);
52
53
@@ -117,7 +117,7 @@ contract DSTest {
117
118
119
function assertEq0(bytes a, bytes b) internal {
120
- var ok = true;
+ bool ok = true;
121
122
if (a.length == b.length) {
123
for (uint i = 0; i < a.length; i++) {
0 commit comments