Skip to content

Update ERC-20 walk-through for Solidity 0.8.0+ and SafeMath context#14909

Merged
wackerow merged 3 commits into
ethereum:devfrom
M3dython:patch-2
Oct 22, 2025
Merged

Update ERC-20 walk-through for Solidity 0.8.0+ and SafeMath context#14909
wackerow merged 3 commits into
ethereum:devfrom
M3dython:patch-2

Conversation

@M3dython
Copy link
Copy Markdown
Contributor

This PR addresses outdated explanations in the ERC-20 contract walk-through to align with modern Solidity practices:

  • Constructor Visibility: Added a comment clarifying that public is implicit in Solidity ≥0.7.0.
  • SafeMath Clarification: Updated the SafeMath library explanation to reflect that it is unnecessary in Solidity ≥0.8.0 due to built-in overflow checks.

These changes ensure the documentation accurately reflects current best practices and avoids confusion for developers using newer Solidity versions.

Addresses outdated explanations in the ERC-20 contract walk-through to align with modern Solidity practices:  
Constructor Visibility: Added a comment clarifying that `public` is implicit in Solidity ≥0.7.0.  
SafeMath Clarification: Updated the SafeMath library explanation to reflect that it is unnecessary in Solidity ≥0.8.0 due to built-in overflow checks.
@github-actions github-actions Bot added the content 🖋️ This involves copy additions or edits label Feb 14, 2025
@netlify
Copy link
Copy Markdown

netlify Bot commented Feb 14, 2025

Deploy Preview for ethereumorg ready!

Name Link
🔨 Latest commit 8f69539
🔍 Latest deploy log https://app.netlify.com/sites/ethereumorg/deploys/67af99a396f9360008bccdf8
😎 Deploy Preview https://deploy-preview-14909--ethereumorg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
7 paths audited
Performance: 43 (🔴 down 8 from production)
Accessibility: 95 (no change from production)
Best Practices: 89 (🔴 down 9 from production)
SEO: 98 (no change from production)
PWA: 59 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@github-actions
Copy link
Copy Markdown
Contributor

This issue is stale because it has been open 30 days with no activity.

@github-actions github-actions Bot added the Status: Stale This issue is stale because it has been open 30 days with no activity. label Mar 17, 2025
@netlify
Copy link
Copy Markdown

netlify Bot commented Oct 22, 2025

Deploy Preview for ethereumorg canceled.

Name Link
🔨 Latest commit 242e37c
🔍 Latest deploy log https://app.netlify.com/projects/ethereumorg/deploys/68f82127587bac00080668be

Copy link
Copy Markdown
Member

@wackerow wackerow left a comment

Choose a reason for hiding this comment

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

Lgtm! Thanks for the update @M3dython, sorry for delays here.. pulling in

@wackerow wackerow merged commit 419ac98 into ethereum:dev Oct 22, 2025
5 of 6 checks passed
@gitpoap-bot
Copy link
Copy Markdown

gitpoap-bot Bot commented Oct 22, 2025

Congrats, your important contribution to this open-source project has earned you a GitPOAP!

GitPOAP: 2025 Ethereum.org Contributor:

GitPOAP: 2025 Ethereum.org Contributor GitPOAP Badge

Join the [ethereum.org Discord server](https://ethereum.org/discord) to explore more ways to contribute to the project. Depending on the tasks you complete, you may also unlock additional rewards. Visit [ethereum.org/contributing](https://ethereum.org/contributing) to learn more.

Head to gitpoap.io & connect your GitHub account to mint!Keep buidling, keep learning, and let's grow the Ethereum open-source community together 🌱

Learn more about GitPOAPs here.

@wackerow
Copy link
Copy Markdown
Member

@all-contributors please add @M3dython for maintenance

@allcontributors
Copy link
Copy Markdown
Contributor

@wackerow

I've put up a pull request to add @M3dython! 🎉

This was referenced Oct 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

content 🖋️ This involves copy additions or edits Status: Stale This issue is stale because it has been open 30 days with no activity.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants