We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae24ba8 commit a75e41dCopy full SHA for a75e41d
framework/src/test/java/org/tron/core/event/SolidEventServiceTest.java
@@ -32,6 +32,15 @@ public class SolidEventServiceTest {
32
33
@Test
34
public void test() throws Exception {
35
+ BlockEvent be0 = new BlockEvent();
36
+ BlockCapsule.BlockId b0 = new BlockCapsule.BlockId(BlockEventCacheTest.getBlockId(), 1);
37
+ be0.setBlockId(b0);
38
+ be0.setParentId(b0);
39
+ be0.setSolidId(new BlockCapsule.BlockId(BlockEventCacheTest.getBlockId(), 100));
40
+ BlockEventCache.init(b0);
41
+ BlockEventCache.add(be0);
42
+ solidEventService.work();
43
+
44
BlockEvent be1 = new BlockEvent();
45
BlockCapsule.BlockId b1 = new BlockCapsule.BlockId(BlockEventCacheTest.getBlockId(), 1);
46
be1.setBlockId(b1);
0 commit comments