+
Skip to content

Conversation

x1m3
Copy link
Contributor

@x1m3 x1m3 commented Oct 17, 2024

First implementation was #76 .

There is some test failing. Need some help here to generate a proper token or to mock eth.Resolver.

This PR needs this iden3/iden3comm#60 merged. Right now it compiles because direct commit is fixed in backend.

I will write some comments by myself in points I need help or I'm not totally happy with it.

Copy link
Contributor Author

@x1m3 x1m3 left a comment

Choose a reason for hiding this comment

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

I left some comments .

go.mod Outdated
github.com/iden3/go-schema-processor/v2 v2.4.0
github.com/iden3/iden3comm/v2 v2.5.1
github.com/iden3/go-schema-processor/v2 v2.5.0
github.com/iden3/iden3comm/v2 v2.7.1-0.20241015160531-d8ea65210731
Copy link
Contributor Author

Choose a reason for hiding this comment

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

It needs code in iden3/iden3comm#60 that should be accepted, merged and released before accepting this one.

},
},
{
name: "Verify JWZ token, with proof generation delay",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This test is failing because network inside token is 80001 and there is no resolver for it.

I guess I need a valid token, or to mock eth.Resolvers. To mock eth.Resolvers, we should create a new interface in iden3comm lib for map[int]eth.Resolvers

@x1m3 x1m3 mentioned this pull request Oct 18, 2024
@x1m3 x1m3 added the help wanted Extra attention is needed label Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

help wanted Extra attention is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

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