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

Issue85 metadata api #87

Merged
merged 8 commits into from
Aug 15, 2022
Merged

Conversation

Chengxuan
Copy link
Contributor

Resolves #85

  • Checked in ABI json from ERC1155
  • updated token service to use the metadata driven API
  • introduced a new env var CONTRACT_ADDRESS with migration logic if it's not set

Signed-off-by: Chengxuan Xing <chengxuan.xing@kaleido.io>
Signed-off-by: Chengxuan Xing <chengxuan.xing@kaleido.io>
Signed-off-by: Chengxuan Xing <chengxuan.xing@kaleido.io>
Copy link
Contributor

@awrichar awrichar left a comment

Choose a reason for hiding this comment

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

Reviewing this now - two style/formatting notes:

  • Can you run npm run format?
  • Not sure why the entire samples/solidity/package-lock.json file was rewritten - looks like a bunch of whitespace changed for some reason. Would be nice to not overwrite it if it's not needed.

Copy link
Contributor

@awrichar awrichar left a comment

Choose a reason for hiding this comment

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

Just one functional change needed surrounding init. Otherwise looks great!

Signed-off-by: Chengxuan Xing <chengxuan.xing@kaleido.io>
Signed-off-by: Chengxuan Xing <chengxuan.xing@kaleido.io>
Signed-off-by: Chengxuan Xing <chengxuan.xing@kaleido.io>
@Chengxuan
Copy link
Contributor Author

@awrichar thank you for the comments. I've addressed them. Ready to be reviewed again.

Signed-off-by: Chengxuan Xing <chengxuan.xing@kaleido.io>
@Chengxuan Chengxuan mentioned this pull request Aug 15, 2022
@awrichar awrichar merged commit 7393a4d into hyperledger:main Aug 15, 2022
@Chengxuan Chengxuan deleted the issue85-metadata-api branch August 15, 2022 16:25
Copy link
Contributor Author

@Chengxuan Chengxuan left a comment

Choose a reason for hiding this comment

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

debug log remove in #91

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.

Update erc1155 connector to not require ABI published in ethconnect
2 participants