-
Notifications
You must be signed in to change notification settings - Fork 18
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
TokenStaking upgrade scripts #140
base: main
Are you sure you want to change the base?
Conversation
cygnusv
commented
May 12, 2023
•
edited
Loading
edited
- Hardhat deploy scripts for:
- Validating if a potential upgrade is storage-compatible with existing TokenStaking
- Deploying the new implementation contract
- These scripts were used to validate and deploy the last 2 upgrades to TokenStaking (on May 11th and Nov 22nd).
- Adds a brief instructions guide to validate and deploy upgrades to TokenStaking. This process can be further automated, but this is left as future work for the moment.
- Adds a CI job to validate that changes to TokenStaking are not incompatible.
9a5c361
to
60bf211
Compare
Solidity API documentation preview available in the artifacts of the https://github.com/threshold-network/solidity-contracts/actions/runs/6983216791 check. |
60bf211
to
3548b65
Compare
Solidity API documentation preview available in the artifacts of the https://github.com/threshold-network/solidity-contracts/actions/runs/7017206666 check. |
Solidity API documentation preview available in the artifacts of the https://github.com/threshold-network/solidity-contracts/actions/runs/7017401128 check. |
f20d988
to
c8e5825
Compare
Solidity API documentation preview available in the artifacts of the https://github.com/threshold-network/solidity-contracts/actions/runs/7017438377 check. |
Implementation: 0x409bf77A8E3Fe384497227eA508029B5364933DE See https://etherscan.io/tx/0x1aaed6d9505e1bd79e5724aefe9464258108d35bb728938ccb16c9dd7eb10540/advanced#eventlog
After #153, which drop support for legacy stakers, TokenStaking constructor requires less arguments
New implementation: 0x4d333B9ECB75252342d82B7aF3610951f81e0888 See https://etherscan.io/tx/0x68ddee6b5651d5348a40555b0079b5066d05a63196e3832323afafae0095a656
This is not strictly necessary, but can help to avoid some social engineering attacks
Ideally, this should be automated, but this is a start
c8e5825
to
6ec3ad0
Compare