Skip to content

Fix JSON formatting issue and typos #385

Open
Himess wants to merge 3 commits intostoryprotocol:mainfrom
Himess:Himess-patch-fix-typo
Open

Fix JSON formatting issue and typos #385
Himess wants to merge 3 commits intostoryprotocol:mainfrom
Himess:Himess-patch-fix-typo

Conversation

@Himess
Copy link

@Himess Himess commented Jan 23, 2025

## Description
This PR resolves a JSON formatting issue and addresses multiple typos across the codebase. Below is a detailed breakdown of the changes made:

1. GroupNFT.sol
Issue:
The 'description' field in the 'tokenURI' function contained incorrect JSON formatting, which could lead to invalid JSON.
'"description": IPAsset Group",' to '"description": "IPAsset Group",'

2. IPAccountImpl.sol
Issues:
1-The word 'bethe' was a typo in a comment.
2-A missing word ('for') in a comment made it unclear.
'bethe' to 'be the'
'/// @dev Updates the IP Account's state all execute transactions.' to '/// @dev Updates the IP Account's state for all executed transactions.'

3. StorageLayoutCheck.s.sol
Issue:
'string.concat' was unnecessarily used for a single string in the 'inputBuilder.'

'inputBuilder[i++] = string.concat("@openzeppelin/upgrades-core");' to 'inputBuilder[i++] = "@openzeppelin/upgrades-core";'


Why These Changes Were Made
-To ensure valid JSON formatting for GroupNFT.
-To fix typos and improve clarity in comments for better readability.
-To remove unnecessary code and improve efficiency in StorageLayoutCheck.

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.

1 participant