Skip to content

Commit

Permalink
deploy step - mumbai
Browse files Browse the repository at this point in the history
  • Loading branch information
RCantu92 committed Dec 6, 2023
1 parent de9e4f2 commit 9848878
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 193 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ contract SlashingController is BaseComponentUpgradeable, StateMachineController,
mapping(uint256 => uint256) public deposits; // proposalId --> tokenAmount
mapping(bytes32 => SlashPenalty) public penalties; // penaltyId --> SlashPenalty
ISlashingExecutor public slashingExecutor;
/// @custom:oz-renamed-from _scanners
StakeSubjectGateway public subjectGateway; // Should be immutable, but it's already deployed.
uint256 public depositAmount;
uint256 public slashPercentToProposer;
Expand Down
2 changes: 1 addition & 1 deletion releases/1.2.10/index.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
title: Release
network: polygon
network: mumbai
deploy: prepare-upgrade 1.2.10
verify: verify-deployed
finish: propose-admin
Expand Down
91 changes: 2 additions & 89 deletions releases/1.2.10/mumbai/config/upgrade.json
Original file line number Diff line number Diff line change
@@ -1,99 +1,12 @@
{
"AccessManager": {
"SlashingController": {
"impl": {
"opts": {
"unsafe-allow": [
"delegatecall"
],
"constructor-args": [
"deployment.forwarder"
]
}
}
},
"AgentRegistry": {
"impl": {
"opts": {
"unsafe-allow": [
"delegatecall"
],
"constructor-args": [
"deployment.forwarder"
]
}
}
},
"ScannerPoolRegistry": {
"impl": {
"opts": {
"unsafe-allow": [
"delegatecall"
],
"constructor-args": [
"deployment.forwarder", "deployment.stake-allocator"
]
}

}
},
"Dispatch": {
"impl": {
"opts": {
"unsafe-allow": [
"delegatecall"
],
"constructor-args": [
"deployment.forwarder"
]
}
}
},
"StakeAllocator": {
"impl": {
"opts": {
"unsafe-allow": [
"delegatecall"
],
"constructor-args": [
"deployment.forwarder", "deployment.stake-subject-gateway", "deployment.rewards-distributor"
]
}

}
},
"RewardsDistributor": {
"impl": {
"opts": {
"unsafe-allow": [
"delegatecall"
],
"constructor-args": [
"deployment.forwarder", "deployment.forta", "deployment.stake-subject-gateway"
]
}

}
},
"StakeSubjectGateway": {
"impl": {
"opts": {
"unsafe-allow": [
"delegatecall"
],
"constructor-args": [
"deployment.forwarder"
]
}
}
},
"FortaStaking": {
"impl": {
"opts": {
"unsafe-allow": [
"delegatecall"
],
"constructor-args": [
"deployment.forwarder"
"deployment.forwarder", "deployment.forta"
]
}
}
Expand Down
103 changes: 0 additions & 103 deletions releases/1.2.10/mumbai/output/prepared-upgrades.json
Original file line number Diff line number Diff line change
@@ -1,103 +0,0 @@
{
"access-manager": {
"impl": {
"address": "0x5Da21607E9e2bCA241E0EA46e27cea3bB8404505",
"constructor-args": [
"0x4E29Cea6D64be860f5eAba110686DcB585f393D6"
],
"init-args": [],
"name": "AccessManager",
"timeout": 1200000,
"version": "0.1.0"
}
},
"agent-registry": {
"impl": {
"address": "0xD25Fd5B722606d08A5DdCD00e969513d06d98d89",
"constructor-args": [
"0x4E29Cea6D64be860f5eAba110686DcB585f393D6"
],
"init-args": [],
"name": "AgentRegistry",
"timeout": 1200000,
"version": "0.1.6"
}
},
"scanner-pool-registry": {
"impl": {
"address": "0x72eaaBB3f5908D5Ac4Fce00285B5af120BA3EcAC",
"constructor-args": [
"0x4E29Cea6D64be860f5eAba110686DcB585f393D6",
"0x698A6400dE3865fC9E8A6dB22302AAb3372Cebd9"
],
"init-args": [],
"name": "ScannerPoolRegistry",
"timeout": 1200000,
"version": "0.1.0"
}
},
"dispatch": {
"impl": {
"address": "0x0ed550214869C3c3D5C05b97A8Bb9388125C4919",
"constructor-args": [
"0x4E29Cea6D64be860f5eAba110686DcB585f393D6"
],
"init-args": [],
"name": "Dispatch",
"timeout": 1200000,
"version": "0.1.5"
}
},
"stake-allocator": {
"impl": {
"address": "0x70FBC65e20DFe5ACDA5665f98A6CdA98800cC637",
"constructor-args": [
"0x4E29Cea6D64be860f5eAba110686DcB585f393D6",
"0x02304eC24ba2996a83F595D7cf80e5571a406EFA",
"0x404afc59Cacd74A28d0D5651460Cc950b42FAf08"
],
"init-args": [],
"name": "StakeAllocator",
"timeout": 1200000,
"version": "0.1.0"
}
},
"rewards-distributor": {
"impl": {
"address": "0x09803F257AB3D8a390837640ED9D9F4Eb22c1453",
"constructor-args": [
"0x4E29Cea6D64be860f5eAba110686DcB585f393D6",
"0x107Ac13567b1b5D84691f890A5bA07EdaE1a11c3",
"0x02304eC24ba2996a83F595D7cf80e5571a406EFA"
],
"init-args": [],
"name": "RewardsDistributor",
"timeout": 1200000,
"version": "0.1.0"
}
},
"stake-subject-gateway": {
"impl": {
"address": "0x40998890c1ad5B22CBe2deB9671E9df91b79dd16",
"constructor-args": [
"0x4E29Cea6D64be860f5eAba110686DcB585f393D6"
],
"init-args": [],
"name": "StakeSubjectGateway",
"timeout": 1200000,
"version": "0.1.1"
}
},
"forta-staking": {
"impl": {
"address": "0x8fd9d47e80f1d711aA97C4926e5E7CB3462455E8",
"constructor-args": [
"0x4E29Cea6D64be860f5eAba110686DcB585f393D6"
],
"init-args": [],
"name": "FortaStaking",
"timeout": 1200000,
"version": "0.1.2"
}
}
}

0 comments on commit 9848878

Please sign in to comment.