Skip to content

Commit

Permalink
fix: merge solidity 0.8.11 conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
neo hong committed Jan 14, 2022
1 parent 34902ce commit b01f328
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions test/ExecutionFramework.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ namespace solidity::test
using rational = boost::rational<bigint>;

// The various denominations; here for ease of use where needed within code.
static u256 const sun = 1;
static const u256 sun = 1;
static const u256 trx = sun * 1000000;

class ExecutionFramework
{
Expand Down Expand Up @@ -274,8 +275,7 @@ class ExecutionFramework
}

protected:
u256 const m_gasPrice = 10000 * sun;
u256 const m_gas = 100000000;
u256 const InitialGas = 100000000;

void selectVM(evmc_capabilities _cap = evmc_capabilities::EVMC_CAPABILITY_EVM1);
void reset();
Expand Down Expand Up @@ -306,6 +306,8 @@ class ExecutionFramework
bool m_transactionSuccessful = true;
util::h160 m_sender = account(0);
util::h160 m_contractAddress;
u256 const m_gasPrice = 10000 * sun;
u256 const m_gas = 100000000;
bytes m_output;
u256 m_gasUsed;
};
Expand Down

0 comments on commit b01f328

Please sign in to comment.