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

test: add test vector for data request ids #27

Merged
merged 2 commits into from
Oct 15, 2024
Merged

Conversation

gluax
Copy link
Contributor

@gluax gluax commented Oct 15, 2024

Motivation

We want to ensure that the data request ids are done the same across the seda ecosystem.

Explanation of Changes

Adds the test vector @mariocao built.
I did have to remove the leading 0x on the hex fields as hex decoding doesn't like that.
I also had to change all Bytes fields to their base64 equivalent since Common expects them in base64.
The version also needed to be explicitly added.

Testing

New test passes.

Related PRs and Issues

N/A

@gluax gluax requested review from Thomasvdam and mariocao October 15, 2024 16:01
@gluax gluax self-assigned this Oct 15, 2024
@gluax gluax requested a review from FranklinWaller October 15, 2024 16:10
@gluax gluax merged commit 33addd0 into main Oct 15, 2024
2 checks passed
@gluax gluax deleted the test/dr-id-test-vector branch October 15, 2024 16:21
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.

2 participants