-
Notifications
You must be signed in to change notification settings - Fork 5
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
feat: use sqlite on claimsponsor #157
Conversation
claimsponsor/claimsponsor.go
Outdated
if globalIndexBytes == nil { | ||
return nil, db.ErrNotFound | ||
if rowsAff == 0 { | ||
return fmt.Errorf("the claim requested to be updated does not exist") |
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.
You can move this error to some global var since you are using it on couple of places in the file.
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.
LGTM
G
T
M
Quality Gate passedIssues Measures |
* feat: calculate acc input hash locally * fix: test * feat: Add `metadata` field on the certificate (#151) * feat: use metadata field on certificate * fix: lint and UT * fix: comments * fix: test * fix: use calculated acc input hash in input prover * fix: use calculated acc input hash in input prover * fix: tests * fix: tests * fix: tests * fix: tests * feat: change timestamp * feat: change timestamp * minor improvements on the config (#149) * fix: revert changes on calculation of merkel proof (#156) * feat: change timestamp * feat: update zkevm-ethtx-manager to v0.2.1 (#153) * fix: tests * fix: tests * fix: tests * fix: tests * feat: refactor * fix: typo * fix: lock * feat: use sqlite on lastgersync (#150) * feat use sqlite on lastgersync * apply requests * rm tree migrations * Update lastgersync/processor.go Co-authored-by: Goran Rojovic <[email protected]> --------- Co-authored-by: Goran Rojovic <[email protected]> * feat: use sqlite on claimsponsor (#157) * feat use sqlite on claimsponsor * wip * pass UTs * fix identation * fix identation * rm cover.out * rm tree migrations * make err a var * chore: bump cdk-erigon to v2.1.2 * Revert "chore: bump cdk-erigon to v2.1.2" This reverts commit a5422d2. --------- Co-authored-by: Goran Rojovic <[email protected]> Co-authored-by: Arnau Bennassar <[email protected]> Co-authored-by: Joan Esteban <[email protected]> Co-authored-by: Victor Castell <[email protected]>
No description provided.