Skip to content

Commit 5d93a0e

Browse files
authored
chore(contracts): core/staking -> core/slashing (#13748)
upon suggestion from amin
1 parent 8ca828f commit 5d93a0e

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

l1-contracts/src/core/RollupCore.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import {StakingLib} from "@aztec/core/libraries/staking/StakingLib.sol";
2828
import {Timestamp, Slot, Epoch, TimeLib} from "@aztec/core/libraries/TimeLib.sol";
2929
import {Inbox} from "@aztec/core/messagebridge/Inbox.sol";
3030
import {Outbox} from "@aztec/core/messagebridge/Outbox.sol";
31-
import {Slasher} from "@aztec/core/staking/Slasher.sol";
31+
import {Slasher} from "@aztec/core/slashing/Slasher.sol";
3232
import {IRewardDistributor} from "@aztec/governance/interfaces/IRewardDistributor.sol";
3333
import {MockVerifier} from "@aztec/mock/MockVerifier.sol";
3434
import {Ownable} from "@oz/access/Ownable.sol";

l1-contracts/src/core/staking/Slasher.sol renamed to l1-contracts/src/core/slashing/Slasher.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
pragma solidity >=0.8.27;
44

55
import {ISlasher} from "@aztec/core/interfaces/ISlasher.sol";
6-
import {SlashingProposer} from "@aztec/core/staking/SlashingProposer.sol";
6+
import {SlashingProposer} from "@aztec/core/slashing/SlashingProposer.sol";
77
import {IPayload} from "@aztec/governance/interfaces/IPayload.sol";
88

99
contract Slasher is ISlasher {

l1-contracts/test/governance/scenario/slashing/Slashing.t.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ import {CheatDepositArgs} from "@aztec/core/interfaces/IRollup.sol";
1414
import {RewardDistributor} from "@aztec/governance/RewardDistributor.sol";
1515

1616
import {SlashFactory} from "@aztec/periphery/SlashFactory.sol";
17-
import {Slasher, IPayload} from "@aztec/core/staking/Slasher.sol";
17+
import {Slasher, IPayload} from "@aztec/core/slashing/Slasher.sol";
1818
import {IValidatorSelection} from "@aztec/core/interfaces/IValidatorSelection.sol";
1919
import {Status, ValidatorInfo} from "@aztec/core/interfaces/IStaking.sol";
2020

2121
import {CheatDepositArgs} from "@aztec/core/interfaces/IRollup.sol";
22-
import {SlashingProposer} from "@aztec/core/staking/SlashingProposer.sol";
22+
import {SlashingProposer} from "@aztec/core/slashing/SlashingProposer.sol";
2323

2424
import {Timestamp, Slot, Epoch} from "@aztec/core/libraries/TimeLib.sol";
2525

l1-contracts/test/staking/StakingCheater.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {TimeCheater} from "./TimeCheater.sol";
1010

1111
import {Timestamp} from "@aztec/core/libraries/TimeLib.sol";
1212
import {StakingLib} from "@aztec/core/libraries/staking/StakingLib.sol";
13-
import {Slasher} from "@aztec/core/staking/Slasher.sol";
13+
import {Slasher} from "@aztec/core/slashing/Slasher.sol";
1414
import {
1515
AddressSnapshotLib,
1616
SnapshottedAddressSet

l1-contracts/test/validator-selection/ValidatorSelection.t.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import {CheatDepositArgs} from "@aztec/core/interfaces/IRollup.sol";
2525
import {Slot, Epoch, EpochLib, Timestamp} from "@aztec/core/libraries/TimeLib.sol";
2626
import {RewardDistributor} from "@aztec/governance/RewardDistributor.sol";
2727
import {SlashFactory} from "@aztec/periphery/SlashFactory.sol";
28-
import {Slasher, IPayload} from "@aztec/core/staking/Slasher.sol";
28+
import {Slasher, IPayload} from "@aztec/core/slashing/Slasher.sol";
2929
import {IValidatorSelection} from "@aztec/core/interfaces/IValidatorSelection.sol";
3030
import {Status, ValidatorInfo} from "@aztec/core/interfaces/IStaking.sol";
3131

0 commit comments

Comments
 (0)