File tree Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 10
10
jobs :
11
11
build :
12
12
runs-on : ubuntu-latest
13
+ timeout-minutes : 30
13
14
steps :
14
15
- uses : actions/checkout@v4
15
16
97
98
98
99
test :
99
100
runs-on : ubuntu-latest
101
+ timeout-minutes : 30
100
102
steps :
101
103
- uses : actions/checkout@v4
102
104
@@ -113,6 +115,7 @@ jobs:
113
115
114
116
fmt :
115
117
runs-on : ubuntu-latest
118
+ timeout-minutes : 30
116
119
steps :
117
120
- uses : actions/checkout@v4
118
121
@@ -126,3 +129,10 @@ jobs:
126
129
127
130
- name : Check formatting
128
131
run : forge fmt --check
132
+
133
+ typos :
134
+ runs-on : ubuntu-latest
135
+ timeout-minutes : 30
136
+ steps :
137
+ - uses : actions/checkout@v4
138
+ - uses : crate-ci/typos@v1
Original file line number Diff line number Diff line change @@ -42,8 +42,8 @@ library stdStorageSafe {
42
42
43
43
// Calls target contract with configured parameters
44
44
function callTarget (StdStorage storage self ) internal view returns (bool , bytes32 ) {
45
- bytes memory cald = abi.encodePacked (self._sig, getCallParams (self));
46
- (bool success , bytes memory rdat ) = self._target.staticcall (cald );
45
+ bytes memory cd = abi.encodePacked (self._sig, getCallParams (self));
46
+ (bool success , bytes memory rdat ) = self._target.staticcall (cd );
47
47
bytes32 result = bytesToBytes32 (rdat, 32 * self._depth);
48
48
49
49
return (success, result);
Original file line number Diff line number Diff line change @@ -95,7 +95,6 @@ abstract contract StdUtils {
95
95
}
96
96
97
97
/// @dev Compute the address a contract will be deployed at for a given deployer address and nonce
98
- /// @notice adapted from Solmate implementation (https://github.com/Rari-Capital/solmate/blob/main/src/utils/LibRLP.sol)
99
98
function computeCreateAddress (address deployer , uint256 nonce ) internal pure virtual returns (address ) {
100
99
console2_log_StdUtils ("computeCreateAddress is deprecated. Please use vm.computeCreateAddress instead. " );
101
100
return vm.computeCreateAddress (deployer, nonce);
You can’t perform that action at this time.
0 commit comments