diff --git a/l1-contracts/src/core/RollupCore.sol b/l1-contracts/src/core/RollupCore.sol index 20dc0daf00f7..969fc2a76eac 100644 --- a/l1-contracts/src/core/RollupCore.sol +++ b/l1-contracts/src/core/RollupCore.sol @@ -28,7 +28,7 @@ import {StakingLib} from "@aztec/core/libraries/staking/StakingLib.sol"; import {Timestamp, Slot, Epoch, TimeLib} from "@aztec/core/libraries/TimeLib.sol"; import {Inbox} from "@aztec/core/messagebridge/Inbox.sol"; import {Outbox} from "@aztec/core/messagebridge/Outbox.sol"; -import {Slasher} from "@aztec/core/staking/Slasher.sol"; +import {Slasher} from "@aztec/core/slashing/Slasher.sol"; import {IRewardDistributor} from "@aztec/governance/interfaces/IRewardDistributor.sol"; import {MockVerifier} from "@aztec/mock/MockVerifier.sol"; import {Ownable} from "@oz/access/Ownable.sol"; diff --git a/l1-contracts/src/core/staking/Slasher.sol b/l1-contracts/src/core/slashing/Slasher.sol similarity index 93% rename from l1-contracts/src/core/staking/Slasher.sol rename to l1-contracts/src/core/slashing/Slasher.sol index 39e44791ff2e..90d3f073e72b 100644 --- a/l1-contracts/src/core/staking/Slasher.sol +++ b/l1-contracts/src/core/slashing/Slasher.sol @@ -3,7 +3,7 @@ pragma solidity >=0.8.27; import {ISlasher} from "@aztec/core/interfaces/ISlasher.sol"; -import {SlashingProposer} from "@aztec/core/staking/SlashingProposer.sol"; +import {SlashingProposer} from "@aztec/core/slashing/SlashingProposer.sol"; import {IPayload} from "@aztec/governance/interfaces/IPayload.sol"; contract Slasher is ISlasher { diff --git a/l1-contracts/src/core/staking/SlashingProposer.sol b/l1-contracts/src/core/slashing/SlashingProposer.sol similarity index 100% rename from l1-contracts/src/core/staking/SlashingProposer.sol rename to l1-contracts/src/core/slashing/SlashingProposer.sol diff --git a/l1-contracts/test/governance/scenario/slashing/Slashing.t.sol b/l1-contracts/test/governance/scenario/slashing/Slashing.t.sol index 7b8fe2d95c57..828030c64ade 100644 --- a/l1-contracts/test/governance/scenario/slashing/Slashing.t.sol +++ b/l1-contracts/test/governance/scenario/slashing/Slashing.t.sol @@ -14,12 +14,12 @@ import {CheatDepositArgs} from "@aztec/core/interfaces/IRollup.sol"; import {RewardDistributor} from "@aztec/governance/RewardDistributor.sol"; import {SlashFactory} from "@aztec/periphery/SlashFactory.sol"; -import {Slasher, IPayload} from "@aztec/core/staking/Slasher.sol"; +import {Slasher, IPayload} from "@aztec/core/slashing/Slasher.sol"; import {IValidatorSelection} from "@aztec/core/interfaces/IValidatorSelection.sol"; import {Status, ValidatorInfo} from "@aztec/core/interfaces/IStaking.sol"; import {CheatDepositArgs} from "@aztec/core/interfaces/IRollup.sol"; -import {SlashingProposer} from "@aztec/core/staking/SlashingProposer.sol"; +import {SlashingProposer} from "@aztec/core/slashing/SlashingProposer.sol"; import {Timestamp, Slot, Epoch} from "@aztec/core/libraries/TimeLib.sol"; diff --git a/l1-contracts/test/staking/StakingCheater.sol b/l1-contracts/test/staking/StakingCheater.sol index 450df1a45288..2c230e82074f 100644 --- a/l1-contracts/test/staking/StakingCheater.sol +++ b/l1-contracts/test/staking/StakingCheater.sol @@ -10,7 +10,7 @@ import {TimeCheater} from "./TimeCheater.sol"; import {Timestamp} from "@aztec/core/libraries/TimeLib.sol"; import {StakingLib} from "@aztec/core/libraries/staking/StakingLib.sol"; -import {Slasher} from "@aztec/core/staking/Slasher.sol"; +import {Slasher} from "@aztec/core/slashing/Slasher.sol"; import { AddressSnapshotLib, SnapshottedAddressSet diff --git a/l1-contracts/test/validator-selection/ValidatorSelection.t.sol b/l1-contracts/test/validator-selection/ValidatorSelection.t.sol index 48e55f31fb5a..ef9fbff480f5 100644 --- a/l1-contracts/test/validator-selection/ValidatorSelection.t.sol +++ b/l1-contracts/test/validator-selection/ValidatorSelection.t.sol @@ -25,7 +25,7 @@ import {CheatDepositArgs} from "@aztec/core/interfaces/IRollup.sol"; import {Slot, Epoch, EpochLib, Timestamp} from "@aztec/core/libraries/TimeLib.sol"; import {RewardDistributor} from "@aztec/governance/RewardDistributor.sol"; import {SlashFactory} from "@aztec/periphery/SlashFactory.sol"; -import {Slasher, IPayload} from "@aztec/core/staking/Slasher.sol"; +import {Slasher, IPayload} from "@aztec/core/slashing/Slasher.sol"; import {IValidatorSelection} from "@aztec/core/interfaces/IValidatorSelection.sol"; import {Status, ValidatorInfo} from "@aztec/core/interfaces/IStaking.sol";