Support petersburg in evmVersion

This commit is contained in:
Alex Beregszaszi
2019-03-04 14:10:41 +01:00
committed by chriseth
parent 68e1bf47d5
commit ecd246aeb6
11 changed files with 28 additions and 19 deletions
+1 -1
View File
@@ -1042,7 +1042,7 @@ ASTPointer<InlineAssembly> Parser::parseInlineAssembly(ASTPointer<ASTString> con
}
// Using latest EVM Version for now, it will be run again later.
yul::Parser asmParser(m_errorReporter, yul::EVMDialect::looseAssemblyForEVM(EVMVersion::constantinople()));
yul::Parser asmParser(m_errorReporter, yul::EVMDialect::looseAssemblyForEVM(EVMVersion::petersburg()));
shared_ptr<yul::Block> block = asmParser.parse(m_scanner, true);
if (block == nullptr)
BOOST_THROW_EXCEPTION(FatalError());