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 1010jobs :
1111 build :
1212 runs-on : ubuntu-latest
13+ timeout-minutes : 30
1314 steps :
1415 - uses : actions/checkout@v4
1516
9798
9899 test :
99100 runs-on : ubuntu-latest
101+ timeout-minutes : 30
100102 steps :
101103 - uses : actions/checkout@v4
102104
@@ -113,6 +115,7 @@ jobs:
113115
114116 fmt :
115117 runs-on : ubuntu-latest
118+ timeout-minutes : 30
116119 steps :
117120 - uses : actions/checkout@v4
118121
@@ -126,3 +129,10 @@ jobs:
126129
127130 - name : Check formatting
128131 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 {
4242
4343 // Calls target contract with configured parameters
4444 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 );
4747 bytes32 result = bytesToBytes32 (rdat, 32 * self._depth);
4848
4949 return (success, result);
Original file line number Diff line number Diff line change @@ -95,7 +95,6 @@ abstract contract StdUtils {
9595 }
9696
9797 /// @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)
9998 function computeCreateAddress (address deployer , uint256 nonce ) internal pure virtual returns (address ) {
10099 console2_log_StdUtils ("computeCreateAddress is deprecated. Please use vm.computeCreateAddress instead. " );
101100 return vm.computeCreateAddress (deployer, nonce);
You can’t perform that action at this time.
0 commit comments