File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,8 @@ namespace solidity::test
5050using 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
5556class ExecutionFramework
5657{
@@ -274,8 +275,7 @@ class ExecutionFramework
274275 }
275276
276277protected:
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};
You can’t perform that action at this time.
0 commit comments