-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tests: Fixed some minor issues brought up by auditors. Added tests fr…
…om auditors for issues they found. Bootstrap: Changes for contract update support being removed Contracts: - Removed the ability for the ValidatorRegistry and StakingPool contracts to be updated as they will once again be immutable only. - Moved many types and constants from validatorRegistry into validatorConfigs.algo.ts file to tidy up the registry contract file somewhat. - Switched contracts to AVM 11 and updated placeholder methods for getting fee to go online, incentive eligibility, max allowed per pool, current online stake with new AVM opcodes to fetch the data from consensus params or current chain state. - Uncommented and enabled arc28 events for reti operations, logging information which chain 'watchers' can easily watch for and parse. These were disabled due to prior algosdk versions not supporting the json in the generated client files. - Corrected code addressing 4 findings from audit, HI-01, ME-02, ME-03, MI-05. ME/MI-01 not addressed as behavior is intentional. - Addressed a variety of helpful suggestions from auditors to tidy a few things up - de-duping/reusing of some code - fixing some incorrect comments, etc.
- Loading branch information
Showing
27 changed files
with
24,525 additions
and
22,177 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.