hashgraph / hedera-smart-contracts

Contains Hedera Smart Contract Service supporting files
Apache License 2.0
37 stars 51 forks source link

Add sol coverage for 0.8.23 #682

Closed Nana-EC closed 4 months ago

Nana-EC commented 5 months ago

Problem

No contract examples exist to capture the new features of 0.8.23

Solution

Add an example contract under /contracts/solidity/versions/0.8.23 that highlights advancements from https://soliditylang.org/blog/2023/11/08/solidity-0.8.23-release-announcement

Alternatives

No response

### Tasks
- [x] Update hardhat config
- [x] Update solidity examples to use 0.8.23
- [ ] Add example contract with features noted in 0.8.23 release
Nana-EC commented 4 months ago

See https://github.com/hashgraph/hedera-smart-contracts/pull/680 feel free to complete or start a new one

quiet-node commented 4 months ago

Hello @Nana-EC, following the Solidity 0.8.23 Release Announcement, it appears that the release 0.8.23 has only a few of changes, addressing the invalid verbatim deduplication bug (which only occurs in pure Yul programs) and introducing two compiler features: --yul-optimizations and optimizerSteps. With that said, I think the task of Adding an example contract demonstrating the features highlighted in the 0.8.23 release may not be required.