|
32 | 32 | import java.util.ArrayList; |
33 | 33 | import java.util.HashMap; |
34 | 34 | import java.util.List; |
| 35 | +import java.util.Objects; |
35 | 36 | import java.util.concurrent.ExecutorService; |
36 | 37 | import java.util.concurrent.Executors; |
37 | 38 | import java.util.concurrent.Future; |
38 | 39 | import java.util.concurrent.atomic.AtomicInteger; |
39 | 40 | import lombok.Getter; |
40 | 41 | import lombok.Setter; |
41 | 42 | import lombok.extern.slf4j.Slf4j; |
| 43 | +import org.apache.commons.lang3.StringUtils; |
42 | 44 | import org.tron.common.crypto.ECKey; |
43 | 45 | import org.tron.common.crypto.ECKey.ECDSASignature; |
44 | 46 | import org.tron.common.overlay.message.Message; |
| 47 | +import org.tron.common.runtime.vm.program.Program; |
| 48 | +import org.tron.common.runtime.vm.program.Program.BadJumpDestinationException; |
| 49 | +import org.tron.common.runtime.vm.program.Program.IllegalOperationException; |
| 50 | +import org.tron.common.runtime.vm.program.Program.JVMStackOverFlowException; |
| 51 | +import org.tron.common.runtime.vm.program.Program.OutOfEnergyException; |
| 52 | +import org.tron.common.runtime.Runtime; |
| 53 | +import org.tron.common.runtime.vm.program.Program.OutOfMemoryException; |
| 54 | +import org.tron.common.runtime.vm.program.Program.OutOfTimeException; |
| 55 | +import org.tron.common.runtime.vm.program.Program.PrecompiledContractException; |
| 56 | +import org.tron.common.runtime.vm.program.Program.StackTooLargeException; |
| 57 | +import org.tron.common.runtime.vm.program.Program.StackTooSmallException; |
45 | 58 | import org.tron.common.utils.ByteArray; |
46 | 59 | import org.tron.common.utils.Sha256Hash; |
47 | 60 | import org.tron.core.Wallet; |
@@ -200,10 +213,10 @@ public void resetResult() { |
200 | 213 | } |
201 | 214 | } |
202 | 215 |
|
203 | | - public void setResult(TransactionResultCapsule transactionResultCapsule) { |
204 | | - this.transaction = this.getInstance().toBuilder().addRet(transactionResultCapsule.getInstance()) |
205 | | - .build(); |
206 | | - } |
| 216 | +// public void setResult(TransactionResultCapsule transactionResultCapsule) { |
| 217 | +// this.transaction = this.getInstance().toBuilder().addRet(transactionResultCapsule.getInstance()) |
| 218 | +// .build(); |
| 219 | +// } |
207 | 220 |
|
208 | 221 | public void setReference(long blockNum, byte[] blockHash) { |
209 | 222 | byte[] refBlockNum = ByteArray.fromLong(blockNum); |
|
0 commit comments