Skip to content

Commit 758952f

Browse files
committed
Add test
1 parent 8714889 commit 758952f

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

framework/src/test/java/stest/tron/wallet/dailybuild/tvmnewcommand/batchValidateSignContract/batchValidateSignContract007.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ public void test01Constructor() {
110110
.deployContractWithConstantParame(contractName, abi, code, constructorStr, data, "",
111111
maxFeeLimit, 0L, 100, null, contractExcKey, contractExcAddress, blockingStubFull);
112112

113+
PublicMethed.waitProduceNextBlock(blockingStubFull);
113114
PublicMethed.waitProduceNextBlock(blockingStubFull);
114115
Optional<TransactionInfo> infoById = null;
115116
infoById = PublicMethed.getTransactionInfoById(txid, blockingStubFull);

framework/src/test/java/stest/tron/wallet/dailybuild/zentrc20token/HttpShieldTrc20Token004.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ public void test02TransferTypeWith1V2WithoutAskByHttp() {
168168
zenTrc20TokenOwnerAddressString,shieldAddress,transfer,responseContent
169169
.getString("value"),maxFeeLimit,0L,0,0L,
170170
zenTrc20TokenOwnerKey);
171-
171+
HttpMethed.waitToProduceOneBlock(httpnode);
172172
HttpMethed.waitToProduceOneBlock(httpnode);
173173
response = HttpMethed.getTransactionInfoById(httpnode,txid,true);
174174
responseContent = HttpMethed.parseResponseContent(response);

framework/src/test/java/stest/tron/wallet/dailybuild/zentrc20token/HttpShieldTrc20Token005.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public void createTwoNote() {
4747
zenTrc20TokenOwnerAddressString,shieldAddress,mint,responseContent
4848
.getString("trigger_contract_input"),maxFeeLimit,0L,0,0L,
4949
zenTrc20TokenOwnerKey);
50-
50+
HttpMethed.waitToProduceOneBlock(httpnode);
5151
HttpMethed.waitToProduceOneBlock(httpnode);
5252
response = HttpMethed.getTransactionInfoById(httpnode,txid,true);
5353
responseContent = HttpMethed.parseResponseContent(response);

0 commit comments

Comments
 (0)