Skip to content

chore(types): add String unit tests for Digest and fix NewDigest comment#2965

Merged
qdm12 merged 5 commits intodevelopmentfrom
qdm12/types/digesttostring
Jan 23, 2023
Merged

chore(types): add String unit tests for Digest and fix NewDigest comment#2965
qdm12 merged 5 commits intodevelopmentfrom
qdm12/types/digesttostring

Conversation

@qdm12
Copy link
Copy Markdown
Contributor

@qdm12 qdm12 commented Nov 20, 2022

Changes

Sunday evening fun after getting sick of seeing horrible digest logged as some weird convoluted fields that don't make sense.

  • NewDigest comment fixed
  • Test_BlockAnnounceMessage_String unit test added
  • Test_Digest_String unit test added

Tests

go test -run ^Test_DigestToString$ github.com/ChainSafe/gossamer/dot/types

Issues

One step towards #1945

Primary Reviewer

@EclesioMeloJunior

@qdm12 qdm12 marked this pull request as ready for review November 20, 2022 20:47
@qdm12 qdm12 force-pushed the qdm12/types/digesttostring branch from cacec49 to d4c0401 Compare November 23, 2022 09:37
@qdm12 qdm12 changed the base branch from development to qdm12/scale/vdtv-string November 23, 2022 09:37
@qdm12 qdm12 force-pushed the qdm12/types/digesttostring branch from d4c0401 to c6b9719 Compare November 23, 2022 09:43
@qdm12 qdm12 force-pushed the qdm12/scale/vdtv-string branch from 750d9ce to e3538f0 Compare November 23, 2022 10:00
@qdm12 qdm12 force-pushed the qdm12/types/digesttostring branch from c6b9719 to 9093241 Compare November 23, 2022 10:13
@qdm12 qdm12 force-pushed the qdm12/scale/vdtv-string branch from e3538f0 to 5ced638 Compare November 23, 2022 10:20
@qdm12 qdm12 force-pushed the qdm12/types/digesttostring branch 2 times, most recently from 812728d to b179e8e Compare November 23, 2022 10:22
@qdm12 qdm12 force-pushed the qdm12/scale/vdtv-string branch from 5ced638 to 8b68c0a Compare November 24, 2022 10:48
@qdm12 qdm12 force-pushed the qdm12/types/digesttostring branch from b179e8e to d266327 Compare November 24, 2022 10:48
@qdm12 qdm12 marked this pull request as draft November 29, 2022 11:30
@jimjbrettj
Copy link
Copy Markdown
Contributor

jimjbrettj commented Jan 11, 2023

@qdm12 Can this be closed now due to #2970 ?

@qdm12 qdm12 force-pushed the qdm12/scale/vdtv-string branch from 8b68c0a to 543a8b0 Compare January 11, 2023 17:31
Base automatically changed from qdm12/scale/vdtv-string to development January 11, 2023 19:02
@qdm12 qdm12 force-pushed the qdm12/types/digesttostring branch 3 times, most recently from d6c8cc9 to 7e745d1 Compare January 12, 2023 14:04
@qdm12
Copy link
Copy Markdown
Contributor Author

qdm12 commented Jan 12, 2023

@jimjbrettj it's now minor changes:

  • NewDigest comment fixed
  • Test_BlockAnnounceMessage_String unit test added
  • Test_Digest_String unit test added

But I would still merge it since it hurts the soul to trash two still valid unit tests 😄

@qdm12 qdm12 changed the title feat(dot/types): add DigestToString function chore(types): add String unit tests for Digest and fix NewDigest comment Jan 12, 2023
@qdm12 qdm12 marked this pull request as ready for review January 12, 2023 14:07
@qdm12 qdm12 added the PR Easy label Jan 23, 2023
@qdm12 qdm12 force-pushed the qdm12/types/digesttostring branch from 7e745d1 to 87baeed Compare January 23, 2023 16:14
@qdm12 qdm12 merged commit 650371e into development Jan 23, 2023
@qdm12 qdm12 deleted the qdm12/types/digesttostring branch January 23, 2023 17:02
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 0.8.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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.

4 participants