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

consider replacing assert in our codebase #2852

Closed
MonsieurNicolas opened this issue Dec 19, 2020 · 5 comments · Fixed by #3152
Closed

consider replacing assert in our codebase #2852

MonsieurNicolas opened this issue Dec 19, 2020 · 5 comments · Fixed by #3152
Labels
cleanup refactoring or other internal improvements
Projects

Comments

@MonsieurNicolas
Copy link
Contributor

We have plenty of calls to assert that should really be releaseAssert.

I noticed that we have them in archive/bucket related code.

@MonsieurNicolas MonsieurNicolas added the cleanup refactoring or other internal improvements label Dec 19, 2020
@seekaddo
Copy link

@MonsieurNicolas Hi Happy New Year. 😄

I will like to work on this issue if nobody is currently working on it.

@MonsieurNicolas
Copy link
Contributor Author

yeah go for it @seekaddo - before opening a PR check the contributing guide in particular running tests, format and filling the license agreement

@seekaddo
Copy link

seekaddo commented Jan 9, 2021

@MonsieurNicolas Thanks for the response and pointing me to the first steps.

  1. I have already signed the "Contributor License Agreement."

  2. I have setup the project and all testcases for the package bucket and others are working after the build.

  3. Concerning the issue Improve HAS validation #2843 are the cleanup already done or planned or Can I just add them to my upcoming PR.

Package to work on:
src/bucket --> (I hope that is what you mean with comments above archive/bucket )
src/catchup
src/scp
src/herder
src/histroy
src/invariant
src/ledger
src/overlay
etc .....

@MonsieurNicolas
Copy link
Contributor Author

Yeah ignore other PRs: what will happen is that you'll have to rebase anyways when we're ready to merge. So just take notes on which search/replace you had to do. As we're getting close to a release, I think that we should be able to get a bunch of PRs out of the way before this one.

@seekaddo
Copy link

seekaddo commented Jan 9, 2021

Ok that sounds like a good plan. I will apply the changes to the remaining packages.

seekaddo added a commit to seekaddo/stellar-core that referenced this issue Jan 12, 2021
seekaddo added a commit to seekaddo/stellar-core that referenced this issue Jan 12, 2021
seekaddo added a commit to seekaddo/stellar-core that referenced this issue Jan 12, 2021
…in consistency in codebase stellar#2852""

Revert done
This reverts commit 16f8812f5014032e2ea4bd0ae928380a808f8d50.
@seekaddo seekaddo mentioned this issue Jan 12, 2021
6 tasks
@MonsieurNicolas MonsieurNicolas added this to To do in v15.3.0 via automation Jan 21, 2021
@MonsieurNicolas MonsieurNicolas moved this from To do to In progress in v15.3.0 Jan 21, 2021
@MonsieurNicolas MonsieurNicolas removed this from In progress in v15.3.0 Feb 15, 2021
@MonsieurNicolas MonsieurNicolas added this to To do in v15.4.0 via automation Feb 15, 2021
@MonsieurNicolas MonsieurNicolas moved this from To do to In progress in v15.4.0 Feb 25, 2021
@MonsieurNicolas MonsieurNicolas removed this from In progress in v15.4.0 Mar 25, 2021
@MonsieurNicolas MonsieurNicolas added this to To do in v17.0.0 via automation Mar 25, 2021
@MonsieurNicolas MonsieurNicolas moved this from To do to In progress in v17.0.0 Mar 31, 2021
@MonsieurNicolas MonsieurNicolas removed this from In progress in v17.0.0 Apr 23, 2021
@MonsieurNicolas MonsieurNicolas added this to To do in v17.1.0 via automation Apr 23, 2021
@MonsieurNicolas MonsieurNicolas removed this from To do in v17.1.0 Apr 28, 2021
@MonsieurNicolas MonsieurNicolas added this to To do in v17.2.0 via automation Apr 28, 2021
@MonsieurNicolas MonsieurNicolas removed this from To do in v17.2.0 May 27, 2021
@MonsieurNicolas MonsieurNicolas added this to To do in v17.3.0 via automation May 27, 2021
@MonsieurNicolas MonsieurNicolas removed this from To do in v17.3.0 Jul 27, 2021
@MonsieurNicolas MonsieurNicolas added this to To do in v17.4.0 via automation Jul 27, 2021
v17.4.0 automation moved this from To do to Done Jul 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup refactoring or other internal improvements
Projects
No open projects
2 participants