Skip to content

Commit 4f5a5f6

Browse files
chore: pin foundry v1.3.6 and fixup format
1 parent c395f7b commit 4f5a5f6

File tree

6 files changed

+11
-26
lines changed

6 files changed

+11
-26
lines changed

.github/workflows/contract-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Install Foundry
2020
uses: foundry-rs/foundry-toolchain@v1
2121
with:
22-
version: stable
22+
version: v1.3.6
2323
cache: false
2424

2525
- name: Setup node/yarn

ArbAggregator.sol

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,7 @@ interface ArbAggregator {
4141
/// This reverts unless called by the batch poster, its fee collector, or a chain owner
4242
/// @param batchPoster The batch poster to set the fee collector for
4343
/// @param newFeeCollector The new fee collector to set
44-
function setFeeCollector(
45-
address batchPoster,
46-
address newFeeCollector
47-
) external;
44+
function setFeeCollector(address batchPoster, address newFeeCollector) external;
4845

4946
/// @notice Deprecated, always returns zero
5047
/// @notice Get the tx base fee (in approximate L1 gas) for aggregator
@@ -59,8 +56,5 @@ interface ArbAggregator {
5956
/// Revert if feeInL1Gas is outside the chain's allowed bounds
6057
/// @param aggregator The aggregator to set the fee for
6158
/// @param feeInL1Gas The base fee in L1 gas
62-
function setTxBaseFee(
63-
address aggregator,
64-
uint256 feeInL1Gas
65-
) external;
59+
function setTxBaseFee(address aggregator, uint256 feeInL1Gas) external;
6660
}

ArbDebug.sol

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,7 @@ interface ArbDebug {
1919
) external returns (bytes memory oldCode);
2020

2121
/// @notice Emit events with values based on the args provided
22-
function events(
23-
bool flag,
24-
bytes32 value
25-
) external payable returns (address, uint256);
22+
function events(bool flag, bytes32 value) external payable returns (address, uint256);
2623

2724
/// @notice Tries (and fails) to emit logs in a view context
2825
function eventsView() external view;

ArbFunctionTable.sol

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,5 @@ interface ArbFunctionTable {
2222
) external view returns (uint256);
2323

2424
/// @notice No-op
25-
function get(
26-
address addr,
27-
uint256 index
28-
) external view returns (uint256, bool, uint256);
25+
function get(address addr, uint256 index) external view returns (uint256, bool, uint256);
2926
}

ArbOwner.sol

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,7 @@ interface ArbOwner {
130130
) external;
131131

132132
/// @notice Upgrades ArbOS to the requested version at the requested timestamp
133-
function scheduleArbOSUpgrade(
134-
uint64 newVersion,
135-
uint64 timestamp
136-
) external;
133+
function scheduleArbOSUpgrade(uint64 newVersion, uint64 timestamp) external;
137134

138135
/// @notice Sets equilibration units parameter for L1 price adjustment algorithm
139136
function setL1PricingEquilibrationUnits(
@@ -229,10 +226,7 @@ interface ArbOwner {
229226
/// @notice Available in ArbOS version 30 and above
230227
/// @param gas amount of gas paid in increments of 256 when not the program is not cached
231228
/// @param cached amount of gas paid in increments of 64 when the program is cached
232-
function setWasmMinInitGas(
233-
uint8 gas,
234-
uint16 cached
235-
) external;
229+
function setWasmMinInitGas(uint8 gas, uint16 cached) external;
236230

237231
/// @notice Sets the linear adjustment made to program init costs.
238232
/// @notice Available in ArbOS version 30 and above

ArbStatistics.sol

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,8 @@ interface ArbStatistics {
1515
/// Number of transaction receipt issued,
1616
/// Number of contracts created,
1717
/// )
18-
function getStats() external view returns (uint256, uint256, uint256, uint256, uint256, uint256);
18+
function getStats()
19+
external
20+
view
21+
returns (uint256, uint256, uint256, uint256, uint256, uint256);
1922
}

0 commit comments

Comments
 (0)