54 int exportTest(
bytes const& _output);
56 void checkGeneralTestSection(
json_spirit::mObject const& _expects, std::vector<size_t>& _errorTransactions, std::string
const& _network=
"")
const;
64 typedef std::pair<eth::ExecutionResult, eth::TransactionReceipt>
execOutput;
74 dataInd(d), gasInd(g), valInd(v), transaction(t), postState(0), netId(eth::
Network::MainNetwork) {}
83 using StateAndMap = std::pair<eth::State, eth::AccountMaskMap>;
85 void checkGeneralTestSectionSearch(
json_spirit::mObject const& _expects, std::vector<size_t>& _errorTransactions, std::string
const& _network =
"",
TrExpectSection* _search = NULL)
const;
Adapted from code found on http://stackoverflow.com/questions/180947/base64-decode-snippet-in-c Origi...
std::pair< transactionToExecute, StateAndMap > TrExpectSection
std::pair< eth::ExecutionResult, eth::TransactionReceipt > execOutput
Model of an Ethereum state, essentially a facade for the trie.
eth::Transaction m_transaction
transactionToExecute(int d, int g, int v, eth::Transaction const &t)
std::vector< byte > bytes
json_spirit::mObject & m_testObject
std::pair< eth::State, eth::AccountMaskMap > StateAndMap
Encodes a transaction, ready to be exported to or freshly imported from RLP.
std::unordered_map< Address, AccountMask > AccountMaskMap
mConfig::Object_type mObject
std::vector< transactionToExecute > m_transactions
eth::LogEntries m_logsExpected
eth::Transaction transaction
std::vector< LogEntry > LogEntries