Skip to content

Commit

Permalink
fix slither error event declared not in the contract never f*cking do…
Browse files Browse the repository at this point in the history
… like this
  • Loading branch information
Filipp Makarov authored and Filipp Makarov committed Jul 4, 2024
1 parent 17f0a45 commit 881a8e6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions contracts/mocks/MockExecutor.sol
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ import { ExecLib } from "contracts/lib/ExecLib.sol";
import { IExecutor } from "../../contracts/interfaces/modules/IExecutor.sol";
import "../../contracts/types/DataTypes.sol";

event ExecutorOnInstallCalled(bytes32 dataFirstWord);

contract MockExecutor is IExecutor {

event ExecutorOnInstallCalled(bytes32 dataFirstWord);

function onInstall(bytes calldata data) external override {
if (data.length >= 0x20) {
emit ExecutorOnInstallCalled(bytes32(data[0:32]));
Expand Down

0 comments on commit 881a8e6

Please sign in to comment.