Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Context
solved P-717, it changed multiple rust VC and solidity VC that output range clause.
needs schema change PR: litentry/vc-jsonschema#43
Labels
Please apply following PR-related labels when appropriate:
C0-breaking
: if your change could break the existing client, e.g. API change, critical logic changeC1-noteworthy
: if your change is non-breaking, but is still worth noticing for the client, e.g. reference code improvementHow (Optional)
Testing Evidences
Please attach any relevant evidences if applicable
token-holding-amount: true
./bin/litentry-cli trusted -d request-vc did:litentry:evm:0x0000000000D9455CC7EB92D06E00582A982f68fe -a "token-holding-amount mcrt"
token-holding-amount: false
./bin/litentry-cli trusted -d request-vc did:litentry:evm:0xf7a80341b681fc007d7b2d7a37671e04dfb3d5de -a "token-holding-amount comp"
evm-amount-holding: false
./bin/litentry-cli trusted -d request-vc did:litentry:evm:0xf7a80341b681fc007d7b2d7a37671e04dfb3d5de -a "evm-amount-holding ton"
brc20-amount-holder: false
./bin/litentry-cli trusted -d request-vc did:litentry:bitcoin:0x027325c885ecad783cf4f0dd7fb6ea937c19e113c3c8eb4cfd0c732aacb71ce9a4 -a "brc20-amount-holder"
achainable: false
{"@context":["https://www.w3.org/2018/credentials/v1","https://w3id.org/security/suites/ed25519-2020/v1"],"id":"0xefe96beff5fd30db2d85e9416e5f872f64c70b624f8139cfd680f4265378493a","type":["VerifiableCredential"],"credentialSubject":{"id":"did:litentry:evm:0xf7a80341b681fc007d7b2d7a37671e04dfb3d5de","description":"The amount of a particular token you are holding","type":"Token holding amount","assertionText":"","assertions":[{"and":[{"src":"$comp_holding_amount","op":">","dst":"0"}]}],"values":[false],"endpoint":"wss://rpc.rococo-parachain.litentry.io"},"issuer":{"id":"did:litentry:substrate:0x0b9df679f406a51a2e53b87d8e3fc86e792e277fe932d9535b40692bec9e3789","name":"Litentry TEE Worker","mrenclave":"GTytHjS9rwX2gSVaAmwvxXmEeBSEGPxbtPaPsigUPcA4","runtimeVersion":{"parachain":9186,"sidechain":109}},"issuanceDate":"2024-08-05T09:27:13.383946847+00:00","parachainBlockNumber":44,"sidechainBlockNumber":80,"proof":{"created":"2024-08-05T09:27:13.470678320+00:00","type":"Ed25519Signature2020","proofPurpose":"assertionMethod","proofValue":"3f5c51529ae9d7d98f60ad5728bd67343b59d0d8149ced65e55e1a6ffce02bebc91fe2294c8211f7a7e777033384e0074bc408a8fd4e32ab04d196d2258db10c","verificationMethod":"0x44da3459814cb003846aece78984e0d064f6b7c1b4c3e4c7bf03b598ea550ba4"},"credentialSchema":{"id":"https://raw.githubusercontent.com/litentry/vc-jsonschema/main/dist/schemas/17-token-holding-amount/1-1-0.json","type":"JsonSchemaValidator2018"}}