-
-
Notifications
You must be signed in to change notification settings - Fork 60
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
🔁 Upgrade to Solidity Version 0.8.21
#148
Comments
0.8.20
0.8.21
It looks like emitting events from other contracts is currently not possible due to an ICE: ethereum/solidity#14430 |
Emitting events from other contracts itself works just fine; requesting |
I'm having a hard time to make a contract compile however; let's take the following contract ( // SPDX-License-Identifier: MIT
pragma solidity 0.8.21;
contract X {
event E();
}
contract C {
function g() public {
emit X.E();
}
} Now invoking something like Internal compiler error:
C:\Users\circleci\project\libsolidity\interface\Natspec.cpp(89): Throw in function class Json::Value __cdecl solidity::frontend::Natspec::userDocumentation(const class solidity::frontend::ContractDefinition &)
Dynamic exception type: struct boost::wrapexcept<struct solidity::langutil::InternalCompilerError>
std::exception::what: Solidity assertion failed
[struct solidity::util::tag_comment * __ptr64] = Solidity assertion failed Can you elaborate on what am doing wrong? Version: |
In that case nothing - essentially, any steps that require userdoc or devdoc (asm, metadata, etc.) will indeed fail - I was just commenting in case you just read the issue and didn't try to compile anything. I guess you'll have to wait for the |
The text was updated successfully, but these errors were encountered: