@@ -88,9 +88,6 @@ public void testOriginCall001() {
8888 .sendcoin (internalTxsAddress , 100000000000L , testNetAccountAddress , testNetAccountKey ,
8989 blockingStubFull );
9090 PublicMethed .waitProduceNextBlock (blockingStubFull );
91- PublicMethed
92- .freezeBalanceGetEnergy (internalTxsAddress , 10000000000L , 0L , 1 , priKey , blockingStubFull );
93- PublicMethed .waitProduceNextBlock (blockingStubFull );
9491
9592 String filePath = "./src/test/resources/soliditycode/contractTrcToken078.sol" ;
9693 String contractName = "callerContract" ;
@@ -104,7 +101,6 @@ public void testOriginCall001() {
104101 1000000L , 100 , null , testKeyForinternalTxsAddress ,
105102 internalTxsAddress , blockingStubFull );
106103 PublicMethed .waitProduceNextBlock (blockingStubFull );
107- PublicMethed .waitProduceNextBlock (blockingStubFull );
108104 Optional <TransactionInfo > infoById = PublicMethed
109105 .getTransactionInfoById (txid , blockingStubFull );
110106 logger .info ("infoById : " + infoById );
@@ -127,8 +123,6 @@ public void testOriginCall001() {
127123 byte [] contractAddress1 ;
128124 contractAddress1 = infoById .get ().getContractAddress ().toByteArray ();
129125
130- PublicMethed .waitProduceNextBlock (blockingStubFull );
131- PublicMethed .waitProduceNextBlock (blockingStubFull );
132126 PublicMethed .waitProduceNextBlock (blockingStubFull );
133127
134128 String filePath2 = "./src/test/resources/soliditycode/contractTrcToken078.sol" ;
@@ -143,8 +137,6 @@ public void testOriginCall001() {
143137 1000000L , 100 , null , testKeyForinternalTxsAddress ,
144138 internalTxsAddress , blockingStubFull );
145139 PublicMethed .waitProduceNextBlock (blockingStubFull );
146- PublicMethed .waitProduceNextBlock (blockingStubFull );
147- PublicMethed .waitProduceNextBlock (blockingStubFull );
148140
149141 infoById = PublicMethed
150142 .getTransactionInfoById (txid , blockingStubFull );
@@ -159,8 +151,6 @@ public void testOriginCall001() {
159151 "sendToB2(address,address)" , initParmes , false ,
160152 0 , maxFeeLimit , internalTxsAddress , testKeyForinternalTxsAddress , blockingStubFull );
161153 PublicMethed .waitProduceNextBlock (blockingStubFull );
162- PublicMethed .waitProduceNextBlock (blockingStubFull );
163- PublicMethed .waitProduceNextBlock (blockingStubFull );
164154 Optional <TransactionInfo > infoById2 = null ;
165155 infoById2 = PublicMethed .getTransactionInfoById (txid2 , blockingStubFull );
166156 logger .info ("Trigger InfobyId: " + infoById2 );
@@ -180,7 +170,6 @@ public void testOriginDelegatecall001() {
180170 .sendcoin (internalTxsAddress , 100000000000L , testNetAccountAddress , testNetAccountKey ,
181171 blockingStubFull );
182172 PublicMethed .waitProduceNextBlock (blockingStubFull );
183- PublicMethed .waitProduceNextBlock (blockingStubFull );
184173
185174 String filePath = "./src/test/resources/soliditycode/contractTrcToken078.sol" ;
186175 String contractName = "callerContract" ;
@@ -198,8 +187,6 @@ public void testOriginDelegatecall001() {
198187 logger .info ("infoById : " + infoById );
199188 contractAddress = infoById .get ().getContractAddress ().toByteArray ();
200189
201- PublicMethed .waitProduceNextBlock (blockingStubFull );
202- PublicMethed .waitProduceNextBlock (blockingStubFull );
203190 PublicMethed .waitProduceNextBlock (blockingStubFull );
204191 String filePath1 = "./src/test/resources/soliditycode/contractTrcToken078.sol" ;
205192 String contractName1 = "calledContract" ;
@@ -212,8 +199,6 @@ public void testOriginDelegatecall001() {
212199 1000000L , 100 , null , testKeyForinternalTxsAddress ,
213200 internalTxsAddress , blockingStubFull );
214201 PublicMethed .waitProduceNextBlock (blockingStubFull );
215- PublicMethed .waitProduceNextBlock (blockingStubFull );
216- PublicMethed .waitProduceNextBlock (blockingStubFull );
217202 infoById = PublicMethed
218203 .getTransactionInfoById (txid , blockingStubFull );
219204 logger .info ("infoById : " + infoById );
@@ -231,8 +216,6 @@ public void testOriginDelegatecall001() {
231216 1000000L , 100 , null , testKeyForinternalTxsAddress ,
232217 internalTxsAddress , blockingStubFull );
233218 PublicMethed .waitProduceNextBlock (blockingStubFull );
234- PublicMethed .waitProduceNextBlock (blockingStubFull );
235- PublicMethed .waitProduceNextBlock (blockingStubFull );
236219 infoById = PublicMethed
237220 .getTransactionInfoById (txid , blockingStubFull );
238221 logger .info ("infoById : " + infoById );
@@ -246,8 +229,6 @@ public void testOriginDelegatecall001() {
246229 "sendToB(address,address)" , initParmes , false ,
247230 0 , maxFeeLimit , internalTxsAddress , testKeyForinternalTxsAddress , blockingStubFull );
248231 PublicMethed .waitProduceNextBlock (blockingStubFull );
249- PublicMethed .waitProduceNextBlock (blockingStubFull );
250- PublicMethed .waitProduceNextBlock (blockingStubFull );
251232 Optional <TransactionInfo > infoById2 = null ;
252233 infoById2 = PublicMethed .getTransactionInfoById (txid2 , blockingStubFull );
253234 logger .info ("infoById : " + infoById2 );
0 commit comments