Skip to content

Commit

Permalink
Merge pull request #33 from Doy-lee/doyle-update-staking-requirement-…
Browse files Browse the repository at this point in the history
…for-hf20

Update the deploy-local script to use 120 $SENT as the staking requirement
  • Loading branch information
Doy-lee authored Jul 4, 2024
2 parents fb139e3 + e9793be commit 5c0dc5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/deploy-local-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ async function main() {
serviceNodeRewards = await upgrades.deployProxy(ServiceNodeRewardsMaster,[
await mockERC20.getAddress(), // token address
await rewardRatePool.getAddress(), // foundation pool address
100000000000, // staking requirement
120_000_000_000, // staking requirement
10, // max contributors
0, // liquidator reward ratio
0, // pool share of liquidation ratio
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ struct ContractServiceNode {
class ServiceNodeRewardsContract {
public:
// TODO: Taken from scripts/deploy-local-test.js and hardcoded
static constexpr inline uint64_t STAKING_REQUIREMENT = 100'000'000'000;
static constexpr inline uint64_t STAKING_REQUIREMENT = 120'000'000'000;

// Method for creating a transaction to add a public key
Transaction addBLSPublicKey(const std::string& publicKey, const std::string& sig, const std::string& serviceNodePubkey, const std::string& serviceNodeSignature, uint64_t fee);
Expand Down

0 comments on commit 5c0dc5f

Please sign in to comment.