--

Not exactly. Reverting on overflow is only slightly better than allowing overflow to happen. Solidity still lacks non-overflowing types such as floating point or bit integers. Also, the way how Solidity 0.8.x addressed overflows is not backward -compatible, so many libraries (such as ABDK math) will have to fork to support both, Solidity 0.8.x and prior versions.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

No responses yet

Write a response