-
Notifications
You must be signed in to change notification settings - Fork 3
Feat/ddo v5 #58
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
Feat/ddo v5 #58
Conversation
This reverts commit ec4acf6.
| @@ -1,2 +1,2 @@ | |||
| # Set | |||
| node ./scripts/load-development-addresses.js | |||
| node ./scripts/load-development-addresses.cjs | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
eof
| if (accountId !== ZERO_ADDRESS) { | ||
| toast.error( | ||
| `Consumer address not found in allow list for service ${asset.id}. Access has been denied.` | ||
| `Consumer address not found in allow list for service ${asset.credentialSubject?.id}. Access has been denied.` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also here... id is in asset
| <div> | ||
| <AssetTitle title={metadata.name} asset={row} /> | ||
| <p>{row.id}</p> | ||
| <p>{row.credentialSubject?.id}</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same.. id is in asset.id so row.id
| <AssetTeaser | ||
| asset={asset} | ||
| key={asset.id} | ||
| key={asset.credentialSubject?.id} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same. is good asset.id
| async function getDatasetsAllowedForCompute() { | ||
| const datasets = await getAlgorithmDatasetsForCompute( | ||
| asset.id, | ||
| asset.credentialSubject?.id, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
asset.id is correct
| const credential: VCDataModel.Credential = { | ||
| ...asset, | ||
| type: ['VerifiableCredential'], | ||
| issuer: `${await owner.getAddress()}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
issuer is not everytime the address of web3account.. if ssi is on the issuer id issuerDid, check in cli
|
@FilipMasar can you please have a look into this pr? |
|
This branch is depreacted. Every changes will be doing in the feat/ssiSupport branch. |
This PR adds support for the new DDO v5 format to the market