Browse Source

Merge remote-tracking branch 'upstream/develop' into LOGtests

cl-refactor
Christoph Jentzsch 10 years ago
parent
commit
3d4347b62a
  1. 2
      alethzero/MainWin.cpp
  2. 2
      libethcore/CommonEth.cpp
  3. 4
      libethereum/Client.cpp
  4. 1
      libsolidity/NameAndTypeResolver.cpp
  5. 2
      libsolidity/Types.cpp

2
alethzero/MainWin.cpp

@ -531,7 +531,7 @@ QString Main::lookup(QString const& _a) const
void Main::on_about_triggered()
{
QMessageBox::about(this, "About AlethZero PoC-" + QString(dev::Version).section('.', 1, 1), QString("AlethZero/v") + dev::Version + "/" DEV_QUOTED(ETH_BUILD_TYPE) "/" DEV_QUOTED(ETH_BUILD_PLATFORM) "\n" DEV_QUOTED(ETH_COMMIT_HASH) + (ETH_CLEAN_REPO ? "\nCLEAN" : "\n+ LOCAL CHANGES") + "\n\nBy Gav Wood, 2014.\nBased on a design by Vitalik Buterin.\n\nThanks to the various contributors including: Alex Leverington, Tim Hughes, caktux, Eric Lombrozo, Marko Simovic.");
QMessageBox::about(this, "About AlethZero PoC-" + QString(dev::Version).section('.', 1, 1), QString("AlethZero/v") + dev::Version + "/" DEV_QUOTED(ETH_BUILD_TYPE) "/" DEV_QUOTED(ETH_BUILD_PLATFORM) "\n" DEV_QUOTED(ETH_COMMIT_HASH) + (ETH_CLEAN_REPO ? "\nCLEAN" : "\n+ LOCAL CHANGES") + "\n\nBerlin ÐΞV team, 2014.\nOriginally by Gav Wood. Based on a design by Vitalik Buterin.\n\nThanks to the various contributors including: Tim Hughes, caktux, Eric Lombrozo, Marko Simovic.");
}
void Main::on_paranoia_triggered()

2
libethcore/CommonEth.cpp

@ -33,7 +33,7 @@ namespace dev
namespace eth
{
const unsigned c_protocolVersion = 42;
const unsigned c_protocolVersion = 43;
const unsigned c_databaseVersion = 4;
static const vector<pair<u256, string>> g_units =

4
libethereum/Client.cpp

@ -627,11 +627,15 @@ LogEntries Client::logs(LogFilter const& _f) const
}
}
}
#if ETH_DEBUG
if (!total)
falsePos++;
#endif
}
#if ETH_DEBUG
else
skipped++;
#endif
if (n == end)
break;
}

1
libsolidity/NameAndTypeResolver.cpp

@ -211,6 +211,7 @@ bool ReferencesResolver::visit(Return& _return)
bool ReferencesResolver::visit(Mapping& _mapping)
{
(void)_mapping;
return true;
}

2
libsolidity/Types.cpp

@ -267,7 +267,7 @@ u256 StructType::getStorageOffsetOfMember(unsigned _index) const
{
//@todo cache member offset?
u256 offset;
vector<ASTPointer<VariableDeclaration>> const& members = m_struct.getMembers();
// vector<ASTPointer<VariableDeclaration>> const& members = m_struct.getMembers();
for (unsigned index = 0; index < _index; ++index)
offset += getMemberByIndex(index).getType()->getStorageSize();
return offset;

Loading…
Cancel
Save