Skip to content

Commit ff1d865

Browse files
committed
fix(test): fix bridge reference and remove @dev tag in L1ERC721Bridge tests
- Replace l1StandardBridge with l1ERC721Bridge in test_pause_matchesSuperchainConfig_succeeds test assertions - Remove @dev tag from inside test_finalizeBridgeERC721_paused_reverts function test comment
1 parent e188dd7 commit ff1d865

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

packages/contracts-bedrock/test/L1/L1ERC721Bridge.t.sol

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -234,14 +234,14 @@ contract L1ERC721Bridge_Pause_Test is L1ERC721Bridge_TestInit {
234234
/// @dev Checks that the `paused` state of the bridge matches the `paused` state of the
235235
/// `superchainConfig` after it's been changed.
236236
function test_pause_matchesSuperchainConfig_succeeds() external {
237-
assertFalse(l1StandardBridge.paused());
238-
assertEq(l1StandardBridge.paused(), systemConfig.paused());
237+
assertFalse(l1ERC721Bridge.paused());
238+
assertEq(l1ERC721Bridge.paused(), systemConfig.paused());
239239

240240
vm.prank(superchainConfig.guardian());
241241
superchainConfig.pause(address(0));
242242

243-
assertTrue(l1StandardBridge.paused());
244-
assertEq(l1StandardBridge.paused(), systemConfig.paused());
243+
assertTrue(l1ERC721Bridge.paused());
244+
assertEq(l1ERC721Bridge.paused(), systemConfig.paused());
245245
}
246246
}
247247

@@ -326,8 +326,8 @@ contract L1ERC721Bridge_FinalizeBridgeERC721_Test is L1ERC721Bridge_TestInit {
326326

327327
/// @notice Ensures that the `bridgeERC721` function reverts when the bridge is paused.
328328
function test_finalizeBridgeERC721_paused_reverts() external {
329-
/// @dev Sets up the test by pausing the bridge, giving ether to the bridge and mocking
330-
/// the calls to the xDomainMessageSender so that it returns the correct value.
329+
/// Sets up the test by pausing the bridge, giving ether to the bridge and mocking the
330+
/// calls to the xDomainMessageSender so that it returns the correct value.
331331
vm.startPrank(systemConfig.superchainConfig().guardian());
332332
systemConfig.superchainConfig().pause(address(0));
333333
vm.stopPrank();

0 commit comments

Comments
 (0)