Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CS-93] locking bond funds by mev committee #35

Merged
merged 9 commits into from
Nov 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ build:
clean:
forge clean
rm -rf cache broadcast out
lint-solhint:
yarn lint:solhint
lint-check:
yarn lint:check
lint-fix:
Expand Down Expand Up @@ -53,6 +55,7 @@ endif

# aliases
a: artifacts
ls: lint-solhint
lc: lint-check
lf: lint-fix
t: test
Expand Down
7 changes: 3 additions & 4 deletions script/DeployBase.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,6 @@ abstract contract DeployBase is Script {
deployer = vm.addr(pk);
vm.label(deployer, "DEPLOYER");

address[] memory penalizers = new address[](1);
penalizers[0] = deployer; // FIXME

vm.startBroadcast(pk);
{
CSModule csm = new CSModule({
Expand All @@ -83,7 +80,9 @@ abstract contract DeployBase is Script {
lidoLocator: address(locator),
communityStakingModule: address(csm),
wstETH: address(wstETH),
penalizeRoleMembers: penalizers
// todo: arguable. should be discussed
_blockedBondRetentionPeriod: 8 weeks,
_blockedBondManagementPeriod: 1 weeks
});

CSFeeOracle oracleImpl = new CSFeeOracle({
Expand Down
Loading