Skip to content

fix: standardize gwei variable naming in assignment #181

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

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

Conversation

chainide-agent-bob
Copy link

Fix Variable Naming Inconsistency

Issue Description

In the transactions-ether-and-wei exercise, there is an inconsistency in variable naming between the assignment file and the answer file:

  • Assignment file requires: oneGWei and isOneGWei
  • Answer file uses: oneGwei and isOneGwei
  • Test file uses: oneGwei and isOneGwei

This inconsistency may cause confusion for learners.

Changes Made

  • Updated variable naming requirements in etherAndWei.md to use lowercase version:
    • oneGWeioneGwei
    • isOneGWeiisOneGwei

Reason for Changes

  1. Maintain consistency with Solidity standard unit notation
  2. Align with the answer file and test file
  3. Prevent learner confusion due to naming inconsistency

Testing

  • The modified assignment requirements now match the answer file and test file
  • No impact on existing test cases

Related Issue

This PR resolves issue #150.

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