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

feat: bump solidity to 0.8.21 #1473

Merged
merged 5 commits into from
Sep 21, 2023
Merged

feat: bump solidity to 0.8.21 #1473

merged 5 commits into from
Sep 21, 2023

Conversation

holic
Copy link
Member

@holic holic commented Sep 13, 2023

closes #1448
closes #833

@changeset-bot
Copy link

changeset-bot bot commented Sep 13, 2023

🦋 Changeset detected

Latest commit: 5817aab

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 29 packages
Name Type
@latticexyz/cli Major
@latticexyz/common Major
@latticexyz/gas-report Major
@latticexyz/noise Major
@latticexyz/schema-type Major
@latticexyz/store Major
@latticexyz/world Major
create-mud Major
@latticexyz/block-logs-stream Major
@latticexyz/config Major
@latticexyz/dev-tools Major
@latticexyz/protocol-parser Major
@latticexyz/store-indexer Major
@latticexyz/store-sync Major
@latticexyz/recs Major
@latticexyz/react Major
@latticexyz/abi-ts Major
@latticexyz/ecs-browser Major
@latticexyz/faucet Major
@latticexyz/network Major
@latticexyz/phaserx Major
@latticexyz/services Major
@latticexyz/solecs Major
solhint-config-mud Major
solhint-plugin-mud Major
@latticexyz/std-client Major
@latticexyz/std-contracts Major
@latticexyz/store-cache Major
@latticexyz/utils Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@holic
Copy link
Member Author

holic commented Sep 13, 2023

tried moving some events around as noted in #1448 but got weird natspec errors

Error: Internal exception in StandardCompiler::compile: /solidity/libsolidity/interface/Natspec.cpp(89): Throw in function static Json::Value solidity::frontend::Natspec::userDocumentation(const solidity::frontend::ContractDefinition &)
Dynamic exception type: boost::wrapexcept<solidity::langutil::InternalCompilerError>
std::exception::what: Solidity assertion failed
[solidity::util::tag_comment*] = Solidity assertion failed

Dynamic exception type: boost::wrapexcept<solidity::langutil::InternalCompilerError>
std::exception::what: Solidity assertion failed
[solidity::util::tag_comment*] = Solidity assertion failed

alvrs
alvrs previously approved these changes Sep 14, 2023
Copy link
Member

@alvrs alvrs left a comment

Choose a reason for hiding this comment

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

looks good! let's add a changeset, i think this might be a breaking change as it requires consumers to update their solc version too

@holic
Copy link
Member Author

holic commented Sep 17, 2023

looks good! let's add a changeset, i think this might be a breaking change as it requires consumers to update their solc version too

I am now kinda wondering if we want to leave the pragma alone to support a wider range of Solidity versions and just bump the foundry solc?

That said, we are already using features in e.g. 0.8.11 (abi.encodeCall) that isn't specified in the pragma version so we should bump that to something

@holic holic marked this pull request as ready for review September 21, 2023 17:09
@holic holic requested a review from dk1a as a code owner September 21, 2023 17:09
@holic holic changed the title feat: bump solc to 0.8.21 feat: bump solidity to 0.8.21 Sep 21, 2023
@alvrs alvrs merged commit 92de599 into main Sep 21, 2023
10 checks passed
@alvrs alvrs deleted the holic/bump-solc branch September 21, 2023 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

bump to latest solc version move foundry.toml from solc_version to solc
2 participants