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

Data providers tests for Achainable, Nodereal, Discord, Litentry, and Twitter #2434

Merged
merged 70 commits into from
Feb 6, 2024

Conversation

0xverin
Copy link
Contributor

@0xverin 0xverin commented Jan 29, 2024

Context

this pr:
resolves p-367
resolves p-368
resolves p-369
resolves p-370

Add all vcs request json(If anything is missing, please let me know, and will add it.)

  • Achainable
    • Amount Holding
    • Amount
    • Basic
    • Class of year
    • Brc20 holder
  • Noderal
    • Evm amount holding(v2)
    • Bnb domain
    • Nft holder
    • LIT Staking
  • Discord
    • Active Discord ID-Hubber
    • Litentry Discord Member
    • Litentry & SORA Quiz Attendee
    • Litentry & Ordinals User
    • Contest Legend
    • Contest Popularity
    • Contest Participant
  • Twitter
  • Vip
    • Gold
    • Silver
  • Litentry
    • DHub EVM Version Early Bird
  • oneblock
    • oneblock-course-participation
    • oneblock-course-completion
    • oneblock-course-outstanding

Note:
Since mockDid is a real address, but uncontrollable, it can lead to uncertainty about whether expectedCredentialValue is true or false. If we want to test, I believe we need to find the address yourself, update it, and then run GHA to check the results.

@0xverin 0xverin marked this pull request as ready for review February 1, 2024 14:04
@0xverin 0xverin requested a review from a team February 1, 2024 14:17
@0xverin 0xverin changed the title Data providers tests for Achainable, SpaceID, Discord, Litentry Indexer, and Twitter Data providers tests for Achainable, Nodereal, Discord, Litentry, and Twitter Feb 1, 2024
Copy link
Contributor

@Traf333 Traf333 left a comment

Choose a reason for hiding this comment

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

Looks good to me. ❤️

"mockWeb3Network": "litentry,polkadot",
"expectedCredentialValue": false
}
]
Copy link
Contributor

@Traf333 Traf333 Feb 6, 2024

Choose a reason for hiding this comment

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

is there any option that we have a successful result and unsuccessful? Like early bird user and non EB user

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Of course, It depends on the configuration of mockDid; that's the purpose of this PR. You can try it locally.

Copy link
Member

Choose a reason for hiding this comment

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

You can use this address if you want to have a credential with true value

@0xverin 0xverin merged commit 01d88ed into dev Feb 6, 2024
33 checks passed
@0xverin 0xverin deleted the achainable-vc-tests branch February 6, 2024 12:55
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.

None yet

4 participants