Skip to content
This repository was archived by the owner on Apr 2, 2024. It is now read-only.
/ bux Public archive
generated from mrz1836/go-template

refactor(BUX-451): test BUX & cleanup before v1#536

Merged
chris-4chain merged 5 commits intomasterfrom
refactor-451-before-v1-cleanup
Jan 16, 2024
Merged

refactor(BUX-451): test BUX & cleanup before v1#536
chris-4chain merged 5 commits intomasterfrom
refactor-451-before-v1-cleanup

Conversation

@chris-4chain
Copy link
Contributor

@chris-4chain chris-4chain commented Jan 16, 2024

Pull Request Checklist

  • 📖 I created my PR using provided : CODE_STANDARDS
  • 📖 I have read the short Code of Conduct: CODE_OF_CONDUCT
  • 🏠 I tested my changes locally.
  • ✅ I have provided tests for my changes.
  • 📝 I have used conventional commits.
  • 📗 I have updated any related documentation.
  • 💾 PR was issued based on the Github or Jira issue.

This taks focused on manual tests of this bux package which I primarily conducted using provided examples and in connection with bux-server.

Along with these tests I made the following changes:

  • Adjusted the examples
  • Removed unused public functions (unused by bux & `bux-server) with several exceptions - if I determined that a function might be usefull for a potential user of our package, I retained it.
  • Performed staticcheck and fixed issues detected by this tool
  • Performed golint and fixed most of the errors
  • Fixed spelling issues
  • Added utils.byte_array.go file because of the conversion from byte array to string and vice versa was previously done in a buggy way

@chris-4chain chris-4chain requested a review from a team as a code owner January 16, 2024 08:56
@mergify
Copy link
Contributor

mergify bot commented Jan 16, 2024

Welcome to our open-source project @chris-4chain! 💘

@codecov
Copy link

codecov bot commented Jan 16, 2024

Codecov Report

Attention: 28 lines in your changes are missing coverage. Please review.

Comparison is base (9081074) 51.88% compared to head (6da3e1e) 53.31%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #536      +/-   ##
==========================================
+ Coverage   51.88%   53.31%   +1.42%     
==========================================
  Files         109      110       +1     
  Lines       11250    10840     -410     
==========================================
- Hits         5837     5779      -58     
+ Misses       4946     4596     -350     
+ Partials      467      465       -2     
Flag Coverage Δ
unittests 53.31% <67.44%> (+1.42%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
authentication.go 80.52% <100.00%> (+0.02%) ⬆️
beef_bump.go 78.33% <100.00%> (ø)
beef_tx_sorting.go 100.00% <100.00%> (ø)
chainstate/client_options.go 70.29% <ø> (+2.67%) ⬆️
chainstate/minercraft_init.go 63.86% <100.00%> (ø)
chainstate/mock_minercraft.go 27.95% <100.00%> (+11.54%) ⬆️
client.go 60.50% <ø> (ø)
cron_job_declarations.go 87.50% <ø> (ø)
model_incoming_transactions.go 53.61% <100.00%> (+2.40%) ⬆️
model_metadata.go 87.39% <100.00%> (+1.13%) ⬆️
... and 22 more

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9081074...6da3e1e. Read the comment docs.

@chris-4chain chris-4chain merged commit ba7bb1b into master Jan 16, 2024
@chris-4chain chris-4chain deleted the refactor-451-before-v1-cleanup branch January 16, 2024 09:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants