Skip to content

fix(chainsync): Updated tests to use renamed and fixed-size Credentia Struct#395

Merged
wolf31o2 merged 1 commit intomainfrom
fix_credential
Apr 7, 2025
Merged

fix(chainsync): Updated tests to use renamed and fixed-size Credentia Struct#395
wolf31o2 merged 1 commit intomainfrom
fix_credential

Conversation

@arepala-uml
Copy link
Copy Markdown
Contributor

  1. Updated test cases to use the renamed and fixed-size common.Credential struct instead of the old common.StakeCredential struct.
  2. Aligned stake address generation in tests with production logic by using Credential.Hash() and bech32 encoding to ensure accurate filter matching.
  3. Tested the changes and now all the test cases are working.

Closes #393

…l struct

Signed-off-by: Akhil Repala <arepala@blinklabs.io>
@arepala-uml arepala-uml marked this pull request as ready for review April 5, 2025 23:15
@arepala-uml arepala-uml requested a review from a team as a code owner April 5, 2025 23:15
@arepala-uml arepala-uml requested review from agaffney and wolf31o2 April 5, 2025 23:15
@wolf31o2 wolf31o2 merged commit 918b5f1 into main Apr 7, 2025
8 checks passed
@wolf31o2 wolf31o2 deleted the fix_credential branch April 7, 2025 02:33
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.

Tests broken after gouroboros upgrade

2 participants