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

api: test and slightly improve protoFormat #1374

Merged
merged 2 commits into from
Sep 3, 2024
Merged

Conversation

mvdan
Copy link
Contributor

@mvdan mvdan commented Aug 28, 2024

(see commit messages - please do not squash)

@coveralls
Copy link

coveralls commented Aug 28, 2024

Pull Request Test Coverage Report for Build 10622874705

Details

  • 4 of 7 (57.14%) changed or added relevant lines in 2 files are covered.
  • 4 unchanged lines in 2 files lost coverage.
  • Overall coverage increased (+0.04%) to 62.28%

Changes Missing Coverage Covered Lines Changed/Added Lines %
api/chain.go 0 1 0.0%
api/helpers.go 4 6 66.67%
Files with Coverage Reduction New Missed Lines %
vochain/transaction/admin_tx.go 2 48.81%
vochain/transaction/transaction.go 2 59.23%
Totals Coverage Status
Change from base Build 10522335386: 0.04%
Covered Lines: 16531
Relevant Lines: 26543

💛 - Coveralls

mvdan added 2 commits August 29, 2024 22:26
Give it a better name, as it has little to do with formatting.
Make it return bytes, which is what we need.
Don't let it silently ignore errors, which could cause issues.
Use the Marshal protobuf func, as Format is only for debugging.
@p4u p4u merged commit b5a9e14 into vocdoni:main Sep 3, 2024
12 checks passed
@mvdan mvdan deleted the 1354-tx-proto branch September 11, 2024 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants