+
Skip to content

add NewClaimFromBigInts constructor #458

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

Merged
merged 2 commits into from
Dec 13, 2023

Conversation

ilya-korotya
Copy link
Contributor

No description provided.

@@ -672,3 +672,28 @@ func TestClaim_SetMerklizedRoot(t *testing.T) {
_, err = claim3.GetMerklizedRoot()
require.Error(t, ErrNoMerklizedRoot, err)
}

func TestNewClaimFromBigInts(t *testing.T) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be nice to test the reverse flow - from the Claim to array of bigints

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

decided to do proper validation in the next task

@vmidyllic vmidyllic merged commit 28c3feb into master Dec 13, 2023
@vmidyllic vmidyllic deleted the feature/core-claim-bigint-constructor branch December 13, 2023 10: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.

4 participants
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载