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

Update first.nr #15

Closed
wants to merge 1 commit into from
Closed

Conversation

SoulcoIIector
Copy link

@SoulcoIIector SoulcoIIector commented Oct 24, 2024

1)read_storage_value Function: Extracted into a separate function to avoid code duplication when reading values from storage.

2)assert_eq!: Used instead of assert, making the checks more readable.

3)Comments Before Each Logical Section: Added comments to explain the logic, which improves understanding of the code.

4)Simplification of Variables: Variables are named more clearly to better reflect their contents.

1) read_storage_value Function: Extracted into a separate function to avoid code duplication when reading values from storage.

2)assert_eq!: Used instead of assert, making the checks more readable.

3)Comments Before Each Logical Section: Added comments to explain the logic, which improves understanding of the code.

4)Simplification of Variables: Variables are named more clearly to better reflect their contents.
@critesjosh
Copy link
Collaborator

The interface for calling contract functions actually changed slightly. Can you resolve the merge conflicts and I will review, thanks 🙏

@SoulcoIIector
Copy link
Author

Can you resolve the merge conflicts and I will review, thanks 🙏

Hey, it's done. Please take a look, thank you in advance 🙏
#18

@critesjosh critesjosh closed this Oct 29, 2024
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.

2 participants