Skip to content

Commit

Permalink
chore: latest sepolia (#232)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xCardinalError authored Nov 9, 2023
1 parent 139980e commit 40fb51d
Show file tree
Hide file tree
Showing 5 changed files with 261 additions and 112 deletions.
132 changes: 66 additions & 66 deletions deployments/sepolia/Redistribution.json

Large diffs are not rendered by default.

91 changes: 52 additions & 39 deletions deployments/sepolia/StakeRegistry.json

Large diffs are not rendered by default.

118 changes: 118 additions & 0 deletions deployments/sepolia/solcInputs/e6ec032769424f08caf4c37bd4609121.json

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions src/Staking.sol
Original file line number Diff line number Diff line change
Expand Up @@ -229,4 +229,9 @@ contract StakeRegistry is AccessControl, Pausable {
require(hasRole(PAUSER_ROLE, msg.sender), "only pauser can unpause");
_unpause();
}

function changeNetworkId(uint64 _NetworkId) external {
require(hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "only admin can change Network ID");
NetworkId = _NetworkId;
}
}
27 changes: 20 additions & 7 deletions testnet_deployed.json

Large diffs are not rendered by default.

0 comments on commit 40fb51d

Please sign in to comment.