@@ -269,8 +269,8 @@ def getAccountGasBalance(node, account):
269
269
270
270
extraNodeosArgs = "--contracts-console --resource-monitor-not-shutdown-on-threshold-exceeded"
271
271
272
- Print ("Stand up cluster" )
273
- if cluster .launch (pnodes = pnodes , totalNodes = total_nodes , extraNodeosArgs = extraNodeosArgs , specificExtraNodeosArgs = specificExtraNodeosArgs ,delay = 5 ) is False :
272
+ Print ("Stand up cluster with activateIF=True " )
273
+ if cluster .launch (pnodes = pnodes , totalNodes = total_nodes , extraNodeosArgs = extraNodeosArgs , specificExtraNodeosArgs = specificExtraNodeosArgs ,delay = 5 , activateIF = True ) is False :
274
274
errorExit ("Failed to stand up eos cluster." )
275
275
276
276
Print ("Wait for Cluster stabilization" )
@@ -981,9 +981,10 @@ def get_block(num):
981
981
trans = prodNode .pushMessage (evmAcc .name , "pushtx" , json .dumps (actData ), '-p {0}' .format (minerAcc .name ), silentErrors = False )
982
982
prodNode .waitForTransBlockIfNeeded (trans [1 ], True )
983
983
row4 = prodNode .getTableRow (evmAcc .name , evmAcc .name , "account" , 4 ) # 4th balance of this integration test
984
- Utils .Print ("\t account row4: " , row4 )
984
+ Utils .Print ("account row4: " , row4 )
985
+ time .sleep (2 ) #wait for evm node to process the block
985
986
bal2 = w3 .eth .get_balance (Web3 .to_checksum_address ("0x9E126C57330FA71556628e0aabd6B6B6783d99fA" ))
986
-
987
+ Utils . Print ( "0x9E126C57330FA71556628e0aabd6B6B6783d99fA balance from evm-rpc: %d" % ( bal2 ))
987
988
# balance different = 1.0 EOS (val) + 900(Gwei) (21000(base gas))
988
989
assert (bal1 == bal2 + 1000000000000000000 + 900000000000 * 21000 )
989
990
0 commit comments