Skip to content
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

Conquer the Enigma of Random Crashes: Audit - must fix #866

Closed
9 tasks done
rndquu opened this issue Jan 18, 2024 · 24 comments · Fixed by #907
Closed
9 tasks done

Conquer the Enigma of Random Crashes: Audit - must fix #866

rndquu opened this issue Jan 18, 2024 · 24 comments · Fixed by #907
Assignees
Labels

Comments

@rndquu
Copy link
Member

rndquu commented Jan 18, 2024

The list of sherlock's audit issues that we must fix.

Notice:

  1. All PRs with fixes should be opened towards the fix-review branch (create one if necessary)
  2. PR links should be posted in sherlock's github audit repo

P.S. The list may be updated
P.P.S. Pls mention in the comments if you're working on some of the above issues so that we don't do the same job

@gitcoindev @molecula451 Help is welcome

@gitcoindev
Copy link
Contributor

All right! Let's get to work.

@molecula451
Copy link
Member

it's work time!

@molecula451
Copy link
Member

#867 still up! until mention otherwise

@gitcoindev
Copy link
Contributor

I will create issues in this repo referencing the ones from the audit. This will improve visibility and we will be able to self-assign and start working without clashes.

@gitcoindev
Copy link
Contributor

The current list is as follows:

#867
#868
#869
#870
#871
#872
#873

Now the only remaining is to tick the check boxes after fixing.. -)

@gitcoindev
Copy link
Contributor

Branch https://github.com/ubiquity/ubiquity-dollar/tree/fix-review created . Please correct me if I am wrong @rndquu , the fixes must target this fix-review branch and will be merged into development branch later.

@molecula451 molecula451 changed the title Audit: must fix Conquer the Enigma of Random Crashes: Audit - must fix Jan 18, 2024
@molecula451
Copy link
Member

i like the idea of this AI naming issues, i begin with one 😄

@molecula451
Copy link
Member

Branch https://github.com/ubiquity/ubiquity-dollar/tree/fix-review created . Please correct me if I am wrong @rndquu , the fixes must target this fix-review branch and will be merged into development branch later.

No, instead we need to accumulate the PR fixes first, then submit that on the audit repo

Copy link

ubiquibot bot commented Jan 18, 2024

! Pricing is disabled on parent issues.

@gitcoindev
Copy link
Contributor

Branch https://github.com/ubiquity/ubiquity-dollar/tree/fix-review created . Please correct me if I am wrong @rndquu , the fixes must target this fix-review branch and will be merged into development branch later.

No, instead we need to accumulate the PR fixes first, then submit that on the audit repo

Ok got it, thank you for clarifying!

@rndquu
Copy link
Member Author

rndquu commented Jan 18, 2024

Branch https://github.com/ubiquity/ubiquity-dollar/tree/fix-review created . Please correct me if I am wrong @rndquu , the fixes must target this fix-review branch and will be merged into development branch later.

Yes, all PR fixes must target the fix-review branch. Once PR is merged it's link should be posted in sherlock's audit repo in the original audit issue's comments. The fix-review branch will be merged into development.

@0x4007
Copy link
Member

0x4007 commented Jan 19, 2024

Branch https://github.com/ubiquity/ubiquity-dollar/tree/fix-review created . Please correct me if I am wrong @rndquu , the fixes must target this fix-review branch and will be merged into development branch later.

Yes, all PR fixes must target the fix-review branch.

I assume the plan is to use fix-review as our trunk (or starting/root branch) and then branch off to handle each issue, and then merge back into fix-review when the issue is considered closed as completed? Once all the issues are closed as completed, then we merge fix-review into development?

If that is the correct understanding then I think its a fine strategy.

@rndquu
Copy link
Member Author

rndquu commented Jan 19, 2024

Branch https://github.com/ubiquity/ubiquity-dollar/tree/fix-review created . Please correct me if I am wrong @rndquu , the fixes must target this fix-review branch and will be merged into development branch later.

Yes, all PR fixes must target the fix-review branch.

I assume the plan is to use fix-review as our trunk (or starting/root branch) and then branch off to handle each issue, and then merge back into fix-review when the issue is considered closed as completed? Once all the issues are closed as completed, then we merge fix-review into development?

If that is the correct understanding then I think its a fine strategy.

Yes, this is the strategy described by sherlock as the best practise.

@rndquu
Copy link
Member Author

rndquu commented Jan 24, 2024

@molecula451 @gitcoindev

The latest curve's metapool implementation has built-in TWAP and adjustable time window (more info in this issue) so I think we can solve all TWAP related issues by simply utilizing the latest curve's metapool contract.

Pls don't start the following issues while I'm carrying out a research:

@molecula451
Copy link
Member

molecula451 commented Jan 24, 2024

+1 let's use newer curve metapool as there probably more bug fixes underneath

@gitcoindev
Copy link
Contributor

gitcoindev commented Jan 24, 2024

+1 let's use newer curve metapool as there probably more bug fixes underneath

Yes, this looks reasonable and hopefully would allow to kill fix many birds bugs with one stone change.

@0x4007
Copy link
Member

0x4007 commented Jan 24, 2024

+1 let's use newer curve metapool as there probably more bug fixes underneath

Yes, this looks reasonable and hopefully would allow to kill fix many birds bugs with one stone change.

lol

@molecula451
Copy link
Member

molecula451 commented Jan 31, 2024

@molecula451 @gitcoindev

The latest curve's metapool implementation has built-in TWAP and adjustable time window (more info in this issue) so I think we can solve all TWAP related issues by simply utilizing the latest curve's metapool contract.

Pls don't start the following issues while I'm carrying out a research:

any update on the issues research, @rndquu

@rndquu
Copy link
Member Author

rndquu commented Feb 1, 2024

@molecula451 @gitcoindev
The latest curve's metapool implementation has built-in TWAP and adjustable time window (more info in this issue) so I think we can solve all TWAP related issues by simply utilizing the latest curve's metapool contract.
Pls don't start the following issues while I'm carrying out a research:

any update on the issues research, @rndquu

The latest curve's metapool implementation has a built-in TWAP oracle which solves most of the TWAP issues found by Sherlock's watsons. Working on a PR that removes our own TWAP implementation and uses the TWAP from curve's metapool.

@gitcoindev
Copy link
Contributor

I suppose we can close this issue. I will still go through remaining minor issues but the 'must fix' list seems to have been completed. @rndquu , @molecula451 could you please confirm?

@rndquu
Copy link
Member Author

rndquu commented Feb 23, 2024

I suppose we can close this issue. I will still go through remaining minor issues but the 'must fix' list seems to have been completed. @rndquu , @molecula451 could you please confirm?

Right now there is the "fix review" stage when lead senior watson checks the fixes. I think it makes sense to close this one when LSW confirms that everything is fine.

@molecula451
Copy link
Member

molecula451 commented Feb 28, 2024

We've made it @pavlovcik @rndquu @gitcoindev

UBQ whole year🥳

Screenshot from 2024-02-28 08-36-46

Copy link

ubiquibot bot commented Mar 1, 2024

! action has an uncaught error

@rndquu
Copy link
Member Author

rndquu commented Mar 4, 2024

FYI the next steps are:

  1. I will update chore: UbiquityPool UI Update #860 to work with the updates introduced in the PRs related to the audit
  2. I will prepare the deployment script

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants