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

Renaming color/token_id to asset_id #476

Merged
merged 8 commits into from
Dec 23, 2021
Merged

Conversation

nfurfaro
Copy link
Contributor

There's more to be done on this front.
This PR tackles the user-facing usage of the terminology (Sway book), lib-std and the sway test-suite.
It does not touch anything lower level than this.

@nfurfaro nfurfaro added documentation lib: std Standard library labels Dec 22, 2021
@nfurfaro nfurfaro self-assigned this Dec 22, 2021
@adlerjohn
Copy link
Contributor

Docs look fine, but the CI is failing.

@sezna
Copy link
Contributor

sezna commented Dec 22, 2021

The JSON abi needs to be updated since it includes parameter names, I believe.

Copy link
Contributor

@adlerjohn adlerjohn left a comment

Choose a reason for hiding this comment

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

Change as per @sezna above

Copy link
Contributor

@adlerjohn adlerjohn left a comment

Choose a reason for hiding this comment

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

CI still failing @nfurfaro

sezna
sezna previously approved these changes Dec 23, 2021
@sezna
Copy link
Contributor

sezna commented Dec 23, 2021

Ah, approved before seeing the CI. I think this is because the test looks to see if the files are different, and you've used formatted JSON instead of the raw json abi output. We could fix this by either improving the test to use serde_json and check for JSON equality instead of string equality, or just change the formatting.

@nfurfaro nfurfaro requested a review from sezna December 23, 2021 17:48
@nfurfaro nfurfaro merged commit 42f96d7 into master Dec 23, 2021
@nfurfaro nfurfaro deleted the furnic/asset-id-rename branch December 23, 2021 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lib: std Standard library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants