-
Notifications
You must be signed in to change notification settings - Fork 29
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
Git tags, ABI based on version, deployment manager IO1-2235 + IO1-2727 #199
base: main
Are you sure you want to change the base?
Conversation
This reverts commit c9141d2.
* cluster.disabled -> cluster.active * optimize flow when checking cluster.active
…into contract-v3
* fix transfer when liquidating
…into contract-v3
* cluster.disabled -> cluster.active * liquidate cluster with negative balance
* Remove check for liquidation in deposit * Fix cluster balance on reactivation
I just want to add that i did review but i am not very strong in bash to really review this well |
* reduceOperatorFee function
* add getValidator function * change getClusterBurnRate to getBurnRate * todo to change var to public --------- Co-authored-by: Lior Rutenberg <[email protected]>
* add Operator.whitelisted * update Views contract, gas usage update * test passed * operatorsWhitelist mapping * emit whitelisted address on registration * remove unused flag * add registerPrivateOperator * registerOperator -> setOperatorWhitelist for private operators * use only setOperatorWhitelist for setting / removing whithelist address
* use minimumLiquidationCollateral * add MINIMAL_LIQUIDATION_COLLATERAL * update min liquidation defualt value to 2 * allow owner to set any min collateral * update gas usage * remove MINIMAL_COLLATERAL constant --------- Co-authored-by: Lior Rutenberg <[email protected]>
hardhat tasks support quash 74bdd53 test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see a lot of changes were done to scripts and adding of tasks but i dont see any changes to read me. Are any changes needed there @mtabasco
process.env.DECLARE_OPERATOR_FEE_PERIOD, | ||
process.env.EXECUTE_OPERATOR_FEE_PERIOD, | ||
process.env.MINIMUM_BLOCKS_BEFORE_LIQUIDATION, | ||
process.env.MINIMUM_LIQUIDATION_COLLATERAL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to update in .env.example as well right?
Deploy manager script for deploying / upgrading contracts in stage / testnet / main environments
When the target environment is stage, testnet or mainnet, an annotated semantic version tag for current branch is created and the ABI is published to this location in
contract-abi
branch:docs/<env>/abi/<tag>
when usingstage
,testnet
ormain
'docs//abi/dev' when using
develop
On demand semantic versioning. By default, these rules are followed:
Tags created using
stage
env are treated as RCs (i.e v0.1.0-rc.0 -> v0.1.0-rc.1 ...)Tags created using
testnet
ormain
envs are treated as releases (i.e v0.1.0-rc.1 becomes v0.1.0)In both cases, if a version-type parameter is passed, the rule is overriden (i.e v0.1.0-rc.2 -> -t minor -> v0.2.0-rc.0)
Tags created using
develop
env are not taggedDeployment scripts were replaced by hardhat tasks for better integration