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

runtime: store NULL error module/code when no error #748

Merged
merged 1 commit into from
Sep 4, 2024

Conversation

pro-wh
Copy link
Collaborator

@pro-wh pro-wh commented Sep 3, 2024

in fact the database allows NULL in these columns already, but a part of the analyzer fills in ""/0

  • allow inserting NULL
  • no corrections to existing records
  • rename variables to follow variable naming style
  • no change to api.....................

@pro-wh pro-wh added the analysis-layer Analysis layer-related issues. label Sep 3, 2024
Base automatically changed from pro-wh/bugfix/unknownouter to main September 3, 2024 22:14
@pro-wh pro-wh force-pushed the pro-wh/feature/nullerror branch from a68c437 to d483e96 Compare September 3, 2024 22:15
@pro-wh
Copy link
Collaborator Author

pro-wh commented Sep 3, 2024

oop doesn't even build

@pro-wh
Copy link
Collaborator Author

pro-wh commented Sep 3, 2024

ok I am informed by CI that consensus also uses the TxError struct. additionally, in consensus nexus land, it really is code NOT NULL and message NULL. with a special code = errors.CodeNoError = 0 for success 🤔

@pro-wh
Copy link
Collaborator Author

pro-wh commented Sep 3, 2024

welp let's undo most of these changes lol

@pro-wh pro-wh force-pushed the pro-wh/feature/nullerror branch from d483e96 to 159db20 Compare September 3, 2024 22:58
@pro-wh pro-wh force-pushed the pro-wh/feature/nullerror branch from 159db20 to 7cfd53d Compare September 3, 2024 23:03
@pro-wh
Copy link
Collaborator Author

pro-wh commented Sep 4, 2024

huh did this no affect any of those e2e regression db dumps?

@pro-wh
Copy link
Collaborator Author

pro-wh commented Sep 4, 2024

indeed, we don't dump those columns

@pro-wh pro-wh merged commit 7e80a49 into main Sep 4, 2024
16 checks passed
@pro-wh pro-wh deleted the pro-wh/feature/nullerror branch September 4, 2024 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analysis-layer Analysis layer-related issues.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants