Skip to content

Commit b01f328

Browse files
author
neo hong
committed
fix: merge solidity 0.8.11 conflicts
1 parent 34902ce commit b01f328

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

test/ExecutionFramework.h

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ namespace solidity::test
5050
using rational = boost::rational<bigint>;
5151

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

5556
class ExecutionFramework
5657
{
@@ -274,8 +275,7 @@ class ExecutionFramework
274275
}
275276

276277
protected:
277-
u256 const m_gasPrice = 10000 * sun;
278-
u256 const m_gas = 100000000;
278+
u256 const InitialGas = 100000000;
279279

280280
void selectVM(evmc_capabilities _cap = evmc_capabilities::EVMC_CAPABILITY_EVM1);
281281
void reset();
@@ -306,6 +306,8 @@ class ExecutionFramework
306306
bool m_transactionSuccessful = true;
307307
util::h160 m_sender = account(0);
308308
util::h160 m_contractAddress;
309+
u256 const m_gasPrice = 10000 * sun;
310+
u256 const m_gas = 100000000;
309311
bytes m_output;
310312
u256 m_gasUsed;
311313
};

0 commit comments

Comments
 (0)