Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
dimazhornyk committed Mar 15, 2024
1 parent 806a17c commit 5175ffe
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ contract TransactionFiltererFalse is ITransactionFilterer {
// add this to be excluded from coverage report
function test() internal virtual {}

function isTransactionAllowed(BridgehubL2TransactionRequest memory _request) external view returns (bool) {
function isTransactionAllowed(BridgehubL2TransactionRequest memory _) external view returns (bool) {

Check failure on line 12 in l1-contracts/contracts/dev-contracts/test/DummyTransactionFiltererFalse.sol

View workflow job for this annotation

GitHub Actions / lint

Variable "_" is unused

Check failure on line 12 in l1-contracts/contracts/dev-contracts/test/DummyTransactionFiltererFalse.sol

View workflow job for this annotation

GitHub Actions / lint

Variable "_" is unused

Check failure on line 12 in l1-contracts/contracts/dev-contracts/test/DummyTransactionFiltererFalse.sol

View workflow job for this annotation

GitHub Actions / lint

Variable "_" is unused
return false;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ contract TransactionFiltererTrue is ITransactionFilterer {
// add this to be excluded from coverage report
function test() internal virtual {}

function isTransactionAllowed(BridgehubL2TransactionRequest memory _request) external view returns (bool) {
function isTransactionAllowed(BridgehubL2TransactionRequest memory _) external view returns (bool) {

Check failure on line 12 in l1-contracts/contracts/dev-contracts/test/DummyTransactionFiltererTrue.sol

View workflow job for this annotation

GitHub Actions / lint

Variable "_" is unused

Check failure on line 12 in l1-contracts/contracts/dev-contracts/test/DummyTransactionFiltererTrue.sol

View workflow job for this annotation

GitHub Actions / lint

Variable "_" is unused

Check failure on line 12 in l1-contracts/contracts/dev-contracts/test/DummyTransactionFiltererTrue.sol

View workflow job for this annotation

GitHub Actions / lint

Variable "_" is unused
return true;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {BridgehubL2TransactionRequest} from "solpp/common/Messaging.sol";
import {REQUIRED_L2_GAS_PRICE_PER_PUBDATA} from "solpp/common/Config.sol";
import {TransactionFiltererTrue} from "solpp/dev-contracts/test/DummyTransactionFiltererTrue.sol";
import {TransactionFiltererFalse} from "solpp/dev-contracts/test/DummyTransactionFiltererFalse.sol";
import {Utils} from "foundry-test/unit/concrete/Utils/Utils.sol";

contract BridgehubRequestL2TransactionTest is MailboxTest {
function test_successWithoutFilterer() public {
Expand Down

0 comments on commit 5175ffe

Please sign in to comment.