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

Correct OpenZeppelin Spelling and Update Data Type for Rust Compatibility #193

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

savvar9991
Copy link

Fix Typo: Corrected the spelling of OpenZeppelin

Reason: The correct name of the widely used smart contract library is OpenZeppelin, not OpenZepplin. This typo has been fixed to align with the official name and ensure consistency in the codebase.

Data Type Update:

Change: Replaced uint256 number; with number: U256;

Reason: In Solidity, the data type uint256 is used to declare a 256-bit unsigned integer. However, in Rust (especially in the Stylus SDK), the equivalent data type for handling 256-bit unsigned integers is U256, which is provided by the alloy_primitives library. This change ensures that the code is consistent with Rust conventions and will function correctly when working with the Stylus SDK.

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