forked from XinFinOrg/XDPoSChain
-
Notifications
You must be signed in to change notification settings - Fork 1
/
test.txt
801 lines (795 loc) · 40.4 KB
/
test.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
go run build/ci.go install
>>> /home/me/govm/golang/go-1.21.13/bin/go install -ldflags -X main.gitCommit=5be30c01a972daaea449fc1acb02180546f85557 -v ./...
# gopkg.in/olebedev/go-duktape.v3
duk_logging.c: In function ‘duk__logger_prototype_log_shared’:
duk_logging.c:184:71: warning: ‘Z’ directive writing 1 byte into a region of size between 0 and 9 [-Wformat-overflow=]
184 | sprintf((char *) date_buf, "%04d-%02d-%02dT%02d:%02d:%02d.%03dZ",
| ^
In file included from /usr/include/stdio.h:894,
from duk_logging.c:5:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output between 25 and 85 bytes into a destination of size 32
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
40 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
github.com/XinFinOrg/XDPoSChain/cmd/abigen
github.com/XinFinOrg/XDPoSChain/cmd/rlpdump
github.com/XinFinOrg/XDPoSChain/contracts/XDCx/simulation/deploy
github.com/XinFinOrg/XDPoSChain/contracts/XDCx/simulation/fee/lending
github.com/XinFinOrg/XDPoSChain/contracts/XDCx/simulation/fee/trading
github.com/XinFinOrg/XDPoSChain/contracts/XDCx/simulation/price
github.com/XinFinOrg/XDPoSChain/cmd/p2psim
github.com/XinFinOrg/XDPoSChain/cmd/XDC
github.com/XinFinOrg/XDPoSChain/cmd/bootnode
github.com/XinFinOrg/XDPoSChain/cmd/ethkey
github.com/XinFinOrg/XDPoSChain/cmd/evm
github.com/XinFinOrg/XDPoSChain/cmd/faucet
github.com/XinFinOrg/XDPoSChain/cmd/gc
github.com/XinFinOrg/XDPoSChain/cmd/puppeth
github.com/XinFinOrg/XDPoSChain/cmd/wnode
github.com/XinFinOrg/XDPoSChain/contracts/XDCx/testnet/deploy
github.com/XinFinOrg/XDPoSChain/contracts/trc21issuer/simulation/deploy
github.com/XinFinOrg/XDPoSChain/contracts/trc21issuer/simulation/test
github.com/XinFinOrg/XDPoSChain/p2p/simulations/examples
github.com/XinFinOrg/XDPoSChain/rlp/rlpgen
go run build/ci.go test
>>> /home/me/govm/golang/go-1.21.13/bin/go test -ldflags -X main.gitCommit=5be30c01a972daaea449fc1acb02180546f85557 -p 1 github.com/XinFinOrg/XDPoSChain github.com/XinFinOrg/XDPoSChain/XDCx github.com/XinFinOrg/XDPoSChain/XDCx/tradingstate github.com/XinFinOrg/XDPoSChain/XDCxDAO github.com/XinFinOrg/XDPoSChain/XDCxlending github.com/XinFinOrg/XDPoSChain/XDCxlending/lendingstate github.com/XinFinOrg/XDPoSChain/accounts github.com/XinFinOrg/XDPoSChain/accounts/abi github.com/XinFinOrg/XDPoSChain/accounts/abi/bind github.com/XinFinOrg/XDPoSChain/accounts/abi/bind/backends github.com/XinFinOrg/XDPoSChain/accounts/keystore github.com/XinFinOrg/XDPoSChain/accounts/usbwallet github.com/XinFinOrg/XDPoSChain/accounts/usbwallet/internal/trezor github.com/XinFinOrg/XDPoSChain/bmt github.com/XinFinOrg/XDPoSChain/cmd/XDC github.com/XinFinOrg/XDPoSChain/cmd/abigen github.com/XinFinOrg/XDPoSChain/cmd/bootnode github.com/XinFinOrg/XDPoSChain/cmd/ethkey github.com/XinFinOrg/XDPoSChain/cmd/evm github.com/XinFinOrg/XDPoSChain/cmd/evm/internal/compiler github.com/XinFinOrg/XDPoSChain/cmd/faucet github.com/XinFinOrg/XDPoSChain/cmd/gc github.com/XinFinOrg/XDPoSChain/cmd/internal/browser github.com/XinFinOrg/XDPoSChain/cmd/p2psim github.com/XinFinOrg/XDPoSChain/cmd/puppeth github.com/XinFinOrg/XDPoSChain/cmd/rlpdump github.com/XinFinOrg/XDPoSChain/cmd/utils github.com/XinFinOrg/XDPoSChain/cmd/wnode github.com/XinFinOrg/XDPoSChain/common github.com/XinFinOrg/XDPoSChain/common/bitutil github.com/XinFinOrg/XDPoSChain/common/compiler github.com/XinFinOrg/XDPoSChain/common/countdown github.com/XinFinOrg/XDPoSChain/common/fdlimit github.com/XinFinOrg/XDPoSChain/common/hexutil github.com/XinFinOrg/XDPoSChain/common/lru github.com/XinFinOrg/XDPoSChain/common/math github.com/XinFinOrg/XDPoSChain/common/mclock github.com/XinFinOrg/XDPoSChain/common/number github.com/XinFinOrg/XDPoSChain/common/prque github.com/XinFinOrg/XDPoSChain/common/sort github.com/XinFinOrg/XDPoSChain/compression/rle github.com/XinFinOrg/XDPoSChain/consensus github.com/XinFinOrg/XDPoSChain/consensus/XDPoS github.com/XinFinOrg/XDPoSChain/consensus/XDPoS/engines/engine_v1 github.com/XinFinOrg/XDPoSChain/consensus/XDPoS/engines/engine_v2 github.com/XinFinOrg/XDPoSChain/consensus/XDPoS/utils github.com/XinFinOrg/XDPoSChain/consensus/clique github.com/XinFinOrg/XDPoSChain/consensus/ethash github.com/XinFinOrg/XDPoSChain/consensus/misc github.com/XinFinOrg/XDPoSChain/consensus/tests github.com/XinFinOrg/XDPoSChain/consensus/tests/engine_v1_tests github.com/XinFinOrg/XDPoSChain/consensus/tests/engine_v2_tests github.com/XinFinOrg/XDPoSChain/console github.com/XinFinOrg/XDPoSChain/contracts github.com/XinFinOrg/XDPoSChain/contracts/XDCx github.com/XinFinOrg/XDPoSChain/contracts/XDCx/contract github.com/XinFinOrg/XDPoSChain/contracts/XDCx/simulation github.com/XinFinOrg/XDPoSChain/contracts/XDCx/simulation/deploy github.com/XinFinOrg/XDPoSChain/contracts/XDCx/simulation/fee/lending github.com/XinFinOrg/XDPoSChain/contracts/XDCx/simulation/fee/trading github.com/XinFinOrg/XDPoSChain/contracts/XDCx/simulation/price github.com/XinFinOrg/XDPoSChain/contracts/XDCx/testnet github.com/XinFinOrg/XDPoSChain/contracts/XDCx/testnet/deploy github.com/XinFinOrg/XDPoSChain/contracts/blocksigner github.com/XinFinOrg/XDPoSChain/contracts/blocksigner/contract github.com/XinFinOrg/XDPoSChain/contracts/ens github.com/XinFinOrg/XDPoSChain/contracts/ens/contract github.com/XinFinOrg/XDPoSChain/contracts/multisigwallet github.com/XinFinOrg/XDPoSChain/contracts/multisigwallet/contract github.com/XinFinOrg/XDPoSChain/contracts/randomize github.com/XinFinOrg/XDPoSChain/contracts/randomize/contract github.com/XinFinOrg/XDPoSChain/contracts/tests github.com/XinFinOrg/XDPoSChain/contracts/tests/contract github.com/XinFinOrg/XDPoSChain/contracts/trc21issuer github.com/XinFinOrg/XDPoSChain/contracts/trc21issuer/contract github.com/XinFinOrg/XDPoSChain/contracts/trc21issuer/simulation github.com/XinFinOrg/XDPoSChain/contracts/trc21issuer/simulation/deploy github.com/XinFinOrg/XDPoSChain/contracts/trc21issuer/simulation/test github.com/XinFinOrg/XDPoSChain/contracts/validator github.com/XinFinOrg/XDPoSChain/contracts/validator/contract github.com/XinFinOrg/XDPoSChain/core github.com/XinFinOrg/XDPoSChain/core/asm github.com/XinFinOrg/XDPoSChain/core/bloombits github.com/XinFinOrg/XDPoSChain/core/rawdb github.com/XinFinOrg/XDPoSChain/core/state github.com/XinFinOrg/XDPoSChain/core/types github.com/XinFinOrg/XDPoSChain/core/vm github.com/XinFinOrg/XDPoSChain/core/vm/privacy github.com/XinFinOrg/XDPoSChain/core/vm/runtime github.com/XinFinOrg/XDPoSChain/crypto github.com/XinFinOrg/XDPoSChain/crypto/blake2b github.com/XinFinOrg/XDPoSChain/crypto/bn256 github.com/XinFinOrg/XDPoSChain/crypto/bn256/cloudflare github.com/XinFinOrg/XDPoSChain/crypto/bn256/google github.com/XinFinOrg/XDPoSChain/crypto/ecies github.com/XinFinOrg/XDPoSChain/crypto/randentropy github.com/XinFinOrg/XDPoSChain/crypto/secp256k1 github.com/XinFinOrg/XDPoSChain/crypto/sha3 github.com/XinFinOrg/XDPoSChain/eth github.com/XinFinOrg/XDPoSChain/eth/bft github.com/XinFinOrg/XDPoSChain/eth/downloader github.com/XinFinOrg/XDPoSChain/eth/ethconfig github.com/XinFinOrg/XDPoSChain/eth/fetcher github.com/XinFinOrg/XDPoSChain/eth/filters github.com/XinFinOrg/XDPoSChain/eth/gasprice github.com/XinFinOrg/XDPoSChain/eth/hooks github.com/XinFinOrg/XDPoSChain/eth/tracers github.com/XinFinOrg/XDPoSChain/eth/tracers/internal/tracers github.com/XinFinOrg/XDPoSChain/eth/tracers/native github.com/XinFinOrg/XDPoSChain/eth/tracers/testing github.com/XinFinOrg/XDPoSChain/eth/util github.com/XinFinOrg/XDPoSChain/ethclient github.com/XinFinOrg/XDPoSChain/ethdb github.com/XinFinOrg/XDPoSChain/ethdb/dbtest github.com/XinFinOrg/XDPoSChain/ethdb/leveldb github.com/XinFinOrg/XDPoSChain/ethdb/memorydb github.com/XinFinOrg/XDPoSChain/ethstats github.com/XinFinOrg/XDPoSChain/event github.com/XinFinOrg/XDPoSChain/event/filter github.com/XinFinOrg/XDPoSChain/internal/build github.com/XinFinOrg/XDPoSChain/internal/cmdtest github.com/XinFinOrg/XDPoSChain/internal/debug github.com/XinFinOrg/XDPoSChain/internal/ethapi github.com/XinFinOrg/XDPoSChain/internal/guide github.com/XinFinOrg/XDPoSChain/internal/jsre github.com/XinFinOrg/XDPoSChain/internal/jsre/deps github.com/XinFinOrg/XDPoSChain/internal/web3ext github.com/XinFinOrg/XDPoSChain/les github.com/XinFinOrg/XDPoSChain/les/flowcontrol github.com/XinFinOrg/XDPoSChain/light github.com/XinFinOrg/XDPoSChain/log github.com/XinFinOrg/XDPoSChain/log/term github.com/XinFinOrg/XDPoSChain/metrics github.com/XinFinOrg/XDPoSChain/metrics/exp github.com/XinFinOrg/XDPoSChain/metrics/influxdb github.com/XinFinOrg/XDPoSChain/metrics/librato github.com/XinFinOrg/XDPoSChain/miner github.com/XinFinOrg/XDPoSChain/mobile github.com/XinFinOrg/XDPoSChain/node github.com/XinFinOrg/XDPoSChain/p2p github.com/XinFinOrg/XDPoSChain/p2p/discover github.com/XinFinOrg/XDPoSChain/p2p/discv5 github.com/XinFinOrg/XDPoSChain/p2p/enr github.com/XinFinOrg/XDPoSChain/p2p/nat github.com/XinFinOrg/XDPoSChain/p2p/netutil github.com/XinFinOrg/XDPoSChain/p2p/protocols github.com/XinFinOrg/XDPoSChain/p2p/simulations github.com/XinFinOrg/XDPoSChain/p2p/simulations/adapters github.com/XinFinOrg/XDPoSChain/p2p/simulations/examples github.com/XinFinOrg/XDPoSChain/p2p/testing github.com/XinFinOrg/XDPoSChain/params github.com/XinFinOrg/XDPoSChain/rlp github.com/XinFinOrg/XDPoSChain/rlp/internal/rlpstruct github.com/XinFinOrg/XDPoSChain/rlp/rlpgen github.com/XinFinOrg/XDPoSChain/rpc github.com/XinFinOrg/XDPoSChain/tests github.com/XinFinOrg/XDPoSChain/tests/fuzzers/bitutil github.com/XinFinOrg/XDPoSChain/tests/fuzzers/bn256 github.com/XinFinOrg/XDPoSChain/tests/fuzzers/runtime github.com/XinFinOrg/XDPoSChain/trie github.com/XinFinOrg/XDPoSChain/whisper/mailserver github.com/XinFinOrg/XDPoSChain/whisper/shhclient github.com/XinFinOrg/XDPoSChain/whisper/whisperv5 github.com/XinFinOrg/XDPoSChain/whisper/whisperv6
? github.com/XinFinOrg/XDPoSChain [no test files]
ok github.com/XinFinOrg/XDPoSChain/XDCx (cached)
ok github.com/XinFinOrg/XDPoSChain/XDCx/tradingstate (cached)
? github.com/XinFinOrg/XDPoSChain/XDCxDAO [no test files]
ok github.com/XinFinOrg/XDPoSChain/XDCxlending (cached)
ok github.com/XinFinOrg/XDPoSChain/XDCxlending/lendingstate (cached)
ok github.com/XinFinOrg/XDPoSChain/accounts (cached)
ok github.com/XinFinOrg/XDPoSChain/accounts/abi (cached)
ok github.com/XinFinOrg/XDPoSChain/accounts/abi/bind 2.409s
? github.com/XinFinOrg/XDPoSChain/accounts/abi/bind/backends [no test files]
ok github.com/XinFinOrg/XDPoSChain/accounts/keystore 15.031s
? github.com/XinFinOrg/XDPoSChain/accounts/usbwallet [no test files]
? github.com/XinFinOrg/XDPoSChain/accounts/usbwallet/internal/trezor [no test files]
ok github.com/XinFinOrg/XDPoSChain/bmt (cached)
# gopkg.in/olebedev/go-duktape.v3
duk_logging.c: In function ‘duk__logger_prototype_log_shared’:
duk_logging.c:184:71: warning: ‘Z’ directive writing 1 byte into a region of size between 0 and 9 [-Wformat-overflow=]
184 | sprintf((char *) date_buf, "%04d-%02d-%02dT%02d:%02d:%02d.%03dZ",
| ^
In file included from /usr/include/stdio.h:894,
from duk_logging.c:5:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output between 25 and 85 bytes into a destination of size 32
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
40 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
ok github.com/XinFinOrg/XDPoSChain/cmd/XDC (cached)
? github.com/XinFinOrg/XDPoSChain/cmd/abigen [no test files]
? github.com/XinFinOrg/XDPoSChain/cmd/bootnode [no test files]
ok github.com/XinFinOrg/XDPoSChain/cmd/ethkey (cached)
? github.com/XinFinOrg/XDPoSChain/cmd/evm [no test files]
? github.com/XinFinOrg/XDPoSChain/cmd/evm/internal/compiler [no test files]
? github.com/XinFinOrg/XDPoSChain/cmd/faucet [no test files]
? github.com/XinFinOrg/XDPoSChain/cmd/gc [no test files]
? github.com/XinFinOrg/XDPoSChain/cmd/internal/browser [no test files]
? github.com/XinFinOrg/XDPoSChain/cmd/p2psim [no test files]
? github.com/XinFinOrg/XDPoSChain/cmd/puppeth [no test files]
? github.com/XinFinOrg/XDPoSChain/cmd/rlpdump [no test files]
ok github.com/XinFinOrg/XDPoSChain/cmd/utils (cached)
? github.com/XinFinOrg/XDPoSChain/cmd/wnode [no test files]
ok github.com/XinFinOrg/XDPoSChain/common (cached)
ok github.com/XinFinOrg/XDPoSChain/common/bitutil (cached)
ok github.com/XinFinOrg/XDPoSChain/common/compiler (cached)
ok github.com/XinFinOrg/XDPoSChain/common/countdown (cached)
ok github.com/XinFinOrg/XDPoSChain/common/fdlimit (cached)
ok github.com/XinFinOrg/XDPoSChain/common/hexutil (cached)
ok github.com/XinFinOrg/XDPoSChain/common/lru (cached)
ok github.com/XinFinOrg/XDPoSChain/common/math (cached)
ok github.com/XinFinOrg/XDPoSChain/common/mclock (cached)
ok github.com/XinFinOrg/XDPoSChain/common/number (cached)
ok github.com/XinFinOrg/XDPoSChain/common/prque (cached)
? github.com/XinFinOrg/XDPoSChain/common/sort [no test files]
ok github.com/XinFinOrg/XDPoSChain/compression/rle (cached)
? github.com/XinFinOrg/XDPoSChain/consensus [no test files]
ok github.com/XinFinOrg/XDPoSChain/consensus/XDPoS (cached)
ok github.com/XinFinOrg/XDPoSChain/consensus/XDPoS/engines/engine_v1 (cached)
ok github.com/XinFinOrg/XDPoSChain/consensus/XDPoS/engines/engine_v2 (cached)
ok github.com/XinFinOrg/XDPoSChain/consensus/XDPoS/utils (cached)
? github.com/XinFinOrg/XDPoSChain/consensus/clique [no test files]
ok github.com/XinFinOrg/XDPoSChain/consensus/ethash (cached)
? github.com/XinFinOrg/XDPoSChain/consensus/misc [no test files]
ok github.com/XinFinOrg/XDPoSChain/consensus/tests (cached)
ok github.com/XinFinOrg/XDPoSChain/consensus/tests/engine_v1_tests (cached)
ok github.com/XinFinOrg/XDPoSChain/consensus/tests/engine_v2_tests (cached)
ok github.com/XinFinOrg/XDPoSChain/console (cached)
ok github.com/XinFinOrg/XDPoSChain/contracts (cached)
? github.com/XinFinOrg/XDPoSChain/contracts/XDCx [no test files]
? github.com/XinFinOrg/XDPoSChain/contracts/XDCx/contract [no test files]
? github.com/XinFinOrg/XDPoSChain/contracts/XDCx/simulation [no test files]
? github.com/XinFinOrg/XDPoSChain/contracts/XDCx/simulation/deploy [no test files]
? github.com/XinFinOrg/XDPoSChain/contracts/XDCx/simulation/fee/lending [no test files]
? github.com/XinFinOrg/XDPoSChain/contracts/XDCx/simulation/fee/trading [no test files]
? github.com/XinFinOrg/XDPoSChain/contracts/XDCx/simulation/price [no test files]
? github.com/XinFinOrg/XDPoSChain/contracts/XDCx/testnet [no test files]
? github.com/XinFinOrg/XDPoSChain/contracts/XDCx/testnet/deploy [no test files]
ok github.com/XinFinOrg/XDPoSChain/contracts/blocksigner (cached)
? github.com/XinFinOrg/XDPoSChain/contracts/blocksigner/contract [no test files]
ok github.com/XinFinOrg/XDPoSChain/contracts/ens (cached)
? github.com/XinFinOrg/XDPoSChain/contracts/ens/contract [no test files]
? github.com/XinFinOrg/XDPoSChain/contracts/multisigwallet [no test files]
? github.com/XinFinOrg/XDPoSChain/contracts/multisigwallet/contract [no test files]
ok github.com/XinFinOrg/XDPoSChain/contracts/randomize (cached)
? github.com/XinFinOrg/XDPoSChain/contracts/randomize/contract [no test files]
ok github.com/XinFinOrg/XDPoSChain/contracts/tests (cached)
? github.com/XinFinOrg/XDPoSChain/contracts/tests/contract [no test files]
ok github.com/XinFinOrg/XDPoSChain/contracts/trc21issuer (cached)
? github.com/XinFinOrg/XDPoSChain/contracts/trc21issuer/contract [no test files]
? github.com/XinFinOrg/XDPoSChain/contracts/trc21issuer/simulation [no test files]
? github.com/XinFinOrg/XDPoSChain/contracts/trc21issuer/simulation/deploy [no test files]
? github.com/XinFinOrg/XDPoSChain/contracts/trc21issuer/simulation/test [no test files]
ok github.com/XinFinOrg/XDPoSChain/contracts/validator (cached)
? github.com/XinFinOrg/XDPoSChain/contracts/validator/contract [no test files]
ok github.com/XinFinOrg/XDPoSChain/core (cached)
ok github.com/XinFinOrg/XDPoSChain/core/asm (cached)
ok github.com/XinFinOrg/XDPoSChain/core/bloombits (cached)
ok github.com/XinFinOrg/XDPoSChain/core/rawdb (cached)
ok github.com/XinFinOrg/XDPoSChain/core/state (cached)
ok github.com/XinFinOrg/XDPoSChain/core/types (cached)
ok github.com/XinFinOrg/XDPoSChain/core/vm (cached)
ok github.com/XinFinOrg/XDPoSChain/core/vm/privacy (cached)
ok github.com/XinFinOrg/XDPoSChain/core/vm/runtime (cached)
ok github.com/XinFinOrg/XDPoSChain/crypto (cached)
ok github.com/XinFinOrg/XDPoSChain/crypto/blake2b (cached)
? github.com/XinFinOrg/XDPoSChain/crypto/bn256 [no test files]
ok github.com/XinFinOrg/XDPoSChain/crypto/bn256/cloudflare (cached)
ok github.com/XinFinOrg/XDPoSChain/crypto/bn256/google (cached)
ok github.com/XinFinOrg/XDPoSChain/crypto/ecies (cached)
? github.com/XinFinOrg/XDPoSChain/crypto/randentropy [no test files]
ok github.com/XinFinOrg/XDPoSChain/crypto/secp256k1 (cached)
ok github.com/XinFinOrg/XDPoSChain/crypto/sha3 (cached)
ok github.com/XinFinOrg/XDPoSChain/eth (cached)
ok github.com/XinFinOrg/XDPoSChain/eth/bft (cached)
ok github.com/XinFinOrg/XDPoSChain/eth/downloader (cached)
? github.com/XinFinOrg/XDPoSChain/eth/ethconfig [no test files]
ok github.com/XinFinOrg/XDPoSChain/eth/fetcher (cached)
ok github.com/XinFinOrg/XDPoSChain/eth/filters (cached)
? github.com/XinFinOrg/XDPoSChain/eth/gasprice [no test files]
? github.com/XinFinOrg/XDPoSChain/eth/hooks [no test files]
ok github.com/XinFinOrg/XDPoSChain/eth/tracers (cached)
? github.com/XinFinOrg/XDPoSChain/eth/tracers/internal/tracers [no test files]
? github.com/XinFinOrg/XDPoSChain/eth/tracers/native [no test files]
ok github.com/XinFinOrg/XDPoSChain/eth/tracers/testing (cached)
? github.com/XinFinOrg/XDPoSChain/eth/util [no test files]
ok github.com/XinFinOrg/XDPoSChain/ethclient (cached) [no tests to run]
? github.com/XinFinOrg/XDPoSChain/ethdb [no test files]
? github.com/XinFinOrg/XDPoSChain/ethdb/dbtest [no test files]
ok github.com/XinFinOrg/XDPoSChain/ethdb/leveldb (cached)
ok github.com/XinFinOrg/XDPoSChain/ethdb/memorydb (cached)
? github.com/XinFinOrg/XDPoSChain/ethstats [no test files]
ok github.com/XinFinOrg/XDPoSChain/event (cached)
ok github.com/XinFinOrg/XDPoSChain/event/filter (cached)
? github.com/XinFinOrg/XDPoSChain/internal/build [no test files]
? github.com/XinFinOrg/XDPoSChain/internal/cmdtest [no test files]
? github.com/XinFinOrg/XDPoSChain/internal/debug [no test files]
ok github.com/XinFinOrg/XDPoSChain/internal/ethapi (cached)
ok github.com/XinFinOrg/XDPoSChain/internal/guide (cached)
ok github.com/XinFinOrg/XDPoSChain/internal/jsre (cached)
? github.com/XinFinOrg/XDPoSChain/internal/jsre/deps [no test files]
? github.com/XinFinOrg/XDPoSChain/internal/web3ext [no test files]
ok github.com/XinFinOrg/XDPoSChain/les (cached)
? github.com/XinFinOrg/XDPoSChain/les/flowcontrol [no test files]
ok github.com/XinFinOrg/XDPoSChain/light (cached)
? github.com/XinFinOrg/XDPoSChain/log [no test files]
? github.com/XinFinOrg/XDPoSChain/log/term [no test files]
ok github.com/XinFinOrg/XDPoSChain/metrics (cached)
? github.com/XinFinOrg/XDPoSChain/metrics/exp [no test files]
? github.com/XinFinOrg/XDPoSChain/metrics/influxdb [no test files]
? github.com/XinFinOrg/XDPoSChain/metrics/librato [no test files]
ok github.com/XinFinOrg/XDPoSChain/miner (cached)
ok github.com/XinFinOrg/XDPoSChain/mobile (cached)
ok github.com/XinFinOrg/XDPoSChain/node (cached)
ok github.com/XinFinOrg/XDPoSChain/p2p (cached)
ok github.com/XinFinOrg/XDPoSChain/p2p/discover (cached)
ok github.com/XinFinOrg/XDPoSChain/p2p/discv5 (cached)
ok github.com/XinFinOrg/XDPoSChain/p2p/enr (cached)
ok github.com/XinFinOrg/XDPoSChain/p2p/nat (cached)
ok github.com/XinFinOrg/XDPoSChain/p2p/netutil (cached)
ok github.com/XinFinOrg/XDPoSChain/p2p/protocols (cached)
ok github.com/XinFinOrg/XDPoSChain/p2p/simulations (cached)
? github.com/XinFinOrg/XDPoSChain/p2p/simulations/adapters [no test files]
? github.com/XinFinOrg/XDPoSChain/p2p/simulations/examples [no test files]
? github.com/XinFinOrg/XDPoSChain/p2p/testing [no test files]
ok github.com/XinFinOrg/XDPoSChain/params (cached)
ok github.com/XinFinOrg/XDPoSChain/rlp (cached)
? github.com/XinFinOrg/XDPoSChain/rlp/internal/rlpstruct [no test files]
--- FAIL: TestOutput (0.05s)
--- FAIL: TestOutput/nil (0.00s)
gen_test.go:78: output mismatch, want: package test
import "github.com/XinFinOrg/XDPoSChain/rlp"
import "io"
func (obj *Test) EncodeRLP(_w io.Writer) error {
w := rlp.NewEncoderBuffer(_w)
_tmp0 := w.List()
if obj.Uint8 == nil {
w.Write([]byte{0x80})
} else {
w.WriteUint64(uint64((*obj.Uint8)))
}
if obj.Uint8List == nil {
w.Write([]byte{0xC0})
} else {
w.WriteUint64(uint64((*obj.Uint8List)))
}
if obj.Uint32 == nil {
w.Write([]byte{0x80})
} else {
w.WriteUint64(uint64((*obj.Uint32)))
}
if obj.Uint32List == nil {
w.Write([]byte{0xC0})
} else {
w.WriteUint64(uint64((*obj.Uint32List)))
}
if obj.Uint64 == nil {
w.Write([]byte{0x80})
} else {
w.WriteUint64((*obj.Uint64))
}
if obj.Uint64List == nil {
w.Write([]byte{0xC0})
} else {
w.WriteUint64((*obj.Uint64List))
}
if obj.String == nil {
w.Write([]byte{0x80})
} else {
w.WriteString((*obj.String))
}
if obj.StringList == nil {
w.Write([]byte{0xC0})
} else {
w.WriteString((*obj.StringList))
}
if obj.ByteArray == nil {
w.Write([]byte{0x80})
} else {
w.WriteBytes(obj.ByteArray[:])
}
if obj.ByteArrayList == nil {
w.Write([]byte{0xC0})
} else {
w.WriteBytes(obj.ByteArrayList[:])
}
if obj.ByteSlice == nil {
w.Write([]byte{0x80})
} else {
w.WriteBytes((*obj.ByteSlice))
}
if obj.ByteSliceList == nil {
w.Write([]byte{0xC0})
} else {
w.WriteBytes((*obj.ByteSliceList))
}
if obj.Struct == nil {
w.Write([]byte{0xC0})
} else {
_tmp1 := w.List()
w.WriteUint64(uint64(obj.Struct.A))
w.ListEnd(_tmp1)
}
if obj.StructString == nil {
w.Write([]byte{0x80})
} else {
_tmp2 := w.List()
w.WriteUint64(uint64(obj.StructString.A))
w.ListEnd(_tmp2)
}
w.ListEnd(_tmp0)
return w.Flush()
}
func (obj *Test) DecodeRLP(dec *rlp.Stream) error {
var _tmp0 Test
{
if _, err := dec.List(); err != nil {
return err
}
// Uint8:
var _tmp2 *byte
if _tmp3, _tmp4, err := dec.Kind(); err != nil {
return err
} else if _tmp4 != 0 || _tmp3 != rlp.String {
_tmp1, err := dec.Uint8()
if err != nil {
return err
}
_tmp2 = &_tmp1
}
_tmp0.Uint8 = _tmp2
// Uint8List:
var _tmp6 *byte
if _tmp7, _tmp8, err := dec.Kind(); err != nil {
return err
} else if _tmp8 != 0 || _tmp7 != rlp.List {
_tmp5, err := dec.Uint8()
if err != nil {
return err
}
_tmp6 = &_tmp5
}
_tmp0.Uint8List = _tmp6
// Uint32:
var _tmp10 *uint32
if _tmp11, _tmp12, err := dec.Kind(); err != nil {
return err
} else if _tmp12 != 0 || _tmp11 != rlp.String {
_tmp9, err := dec.Uint32()
if err != nil {
return err
}
_tmp10 = &_tmp9
}
_tmp0.Uint32 = _tmp10
// Uint32List:
var _tmp14 *uint32
if _tmp15, _tmp16, err := dec.Kind(); err != nil {
return err
} else if _tmp16 != 0 || _tmp15 != rlp.List {
_tmp13, err := dec.Uint32()
if err != nil {
return err
}
_tmp14 = &_tmp13
}
_tmp0.Uint32List = _tmp14
// Uint64:
var _tmp18 *uint64
if _tmp19, _tmp20, err := dec.Kind(); err != nil {
return err
} else if _tmp20 != 0 || _tmp19 != rlp.String {
_tmp17, err := dec.Uint64()
if err != nil {
return err
}
_tmp18 = &_tmp17
}
_tmp0.Uint64 = _tmp18
// Uint64List:
var _tmp22 *uint64
if _tmp23, _tmp24, err := dec.Kind(); err != nil {
return err
} else if _tmp24 != 0 || _tmp23 != rlp.List {
_tmp21, err := dec.Uint64()
if err != nil {
return err
}
_tmp22 = &_tmp21
}
_tmp0.Uint64List = _tmp22
// String:
var _tmp26 *string
if _tmp27, _tmp28, err := dec.Kind(); err != nil {
return err
} else if _tmp28 != 0 || _tmp27 != rlp.String {
_tmp25, err := dec.String()
if err != nil {
return err
}
_tmp26 = &_tmp25
}
_tmp0.String = _tmp26
// StringList:
var _tmp30 *string
if _tmp31, _tmp32, err := dec.Kind(); err != nil {
return err
} else if _tmp32 != 0 || _tmp31 != rlp.List {
_tmp29, err := dec.String()
if err != nil {
return err
}
_tmp30 = &_tmp29
}
_tmp0.StringList = _tmp30
// ByteArray:
var _tmp34 *[3]byte
if _tmp35, _tmp36, err := dec.Kind(); err != nil {
return err
} else if _tmp36 != 0 || _tmp35 != rlp.String {
var _tmp33 [3]byte
if err := dec.ReadBytes(_tmp33[:]); err != nil {
return err
}
_tmp34 = &_tmp33
}
_tmp0.ByteArray = _tmp34
// ByteArrayList:
var _tmp38 *[3]byte
if _tmp39, _tmp40, err := dec.Kind(); err != nil {
return err
} else if _tmp40 != 0 || _tmp39 != rlp.List {
var _tmp37 [3]byte
if err := dec.ReadBytes(_tmp37[:]); err != nil {
return err
}
_tmp38 = &_tmp37
}
_tmp0.ByteArrayList = _tmp38
// ByteSlice:
var _tmp42 *[]byte
if _tmp43, _tmp44, err := dec.Kind(); err != nil {
return err
} else if _tmp44 != 0 || _tmp43 != rlp.String {
_tmp41, err := dec.Bytes()
if err != nil {
return err
}
_tmp42 = &_tmp41
}
_tmp0.ByteSlice = _tmp42
// ByteSliceList:
var _tmp46 *[]byte
if _tmp47, _tmp48, err := dec.Kind(); err != nil {
return err
} else if _tmp48 != 0 || _tmp47 != rlp.List {
_tmp45, err := dec.Bytes()
if err != nil {
return err
}
_tmp46 = &_tmp45
}
_tmp0.ByteSliceList = _tmp46
// Struct:
var _tmp51 *Aux
if _tmp52, _tmp53, err := dec.Kind(); err != nil {
return err
} else if _tmp53 != 0 || _tmp52 != rlp.List {
var _tmp49 Aux
{
if _, err := dec.List(); err != nil {
return err
}
// A:
_tmp50, err := dec.Uint32()
if err != nil {
return err
}
_tmp49.A = _tmp50
if err := dec.ListEnd(); err != nil {
return err
}
}
_tmp51 = &_tmp49
}
_tmp0.Struct = _tmp51
// StructString:
var _tmp56 *Aux
if _tmp57, _tmp58, err := dec.Kind(); err != nil {
return err
} else if _tmp58 != 0 || _tmp57 != rlp.String {
var _tmp54 Aux
{
if _, err := dec.List(); err != nil {
return err
}
// A:
_tmp55, err := dec.Uint32()
if err != nil {
return err
}
_tmp54.A = _tmp55
if err := dec.ListEnd(); err != nil {
return err
}
}
_tmp56 = &_tmp54
}
_tmp0.StructString = _tmp56
if err := dec.ListEnd(); err != nil {
return err
}
}
*obj = _tmp0
return nil
}
got package test
import "github.com/XinFinOrg/XDPoSChain/rlp"
import "io"
func (obj *Test) EncodeRLP(_w io.Writer) error {
w := rlp.NewEncoderBuffer(_w)
_tmp0 := w.List()
if obj.Uint8 == nil {
w.Write([]byte{0x80})
} else {
w.WriteUint64(uint64((*obj.Uint8)))
}
if obj.Uint8List == nil {
w.Write([]byte{0xc0})
} else {
w.WriteUint64(uint64((*obj.Uint8List)))
}
if obj.Uint32 == nil {
w.Write([]byte{0x80})
} else {
w.WriteUint64(uint64((*obj.Uint32)))
}
if obj.Uint32List == nil {
w.Write([]byte{0xc0})
} else {
w.WriteUint64(uint64((*obj.Uint32List)))
}
if obj.Uint64 == nil {
w.Write([]byte{0x80})
} else {
w.WriteUint64((*obj.Uint64))
}
if obj.Uint64List == nil {
w.Write([]byte{0xc0})
} else {
w.WriteUint64((*obj.Uint64List))
}
if obj.String == nil {
w.Write([]byte{0x80})
} else {
w.WriteString((*obj.String))
}
if obj.StringList == nil {
w.Write([]byte{0xc0})
} else {
w.WriteString((*obj.StringList))
}
if obj.ByteArray == nil {
w.Write([]byte{0x80})
} else {
w.WriteBytes(obj.ByteArray[:])
}
if obj.ByteArrayList == nil {
w.Write([]byte{0xc0})
} else {
w.WriteBytes(obj.ByteArrayList[:])
}
if obj.ByteSlice == nil {
w.Write([]byte{0x80})
} else {
w.WriteBytes((*obj.ByteSlice))
}
if obj.ByteSliceList == nil {
w.Write([]byte{0xc0})
} else {
w.WriteBytes((*obj.ByteSliceList))
}
if obj.Struct == nil {
w.Write([]byte{0xc0})
} else {
_tmp1 := w.List()
w.WriteUint64(uint64(obj.Struct.A))
w.ListEnd(_tmp1)
}
if obj.StructString == nil {
w.Write([]byte{0x80})
} else {
_tmp2 := w.List()
w.WriteUint64(uint64(obj.StructString.A))
w.ListEnd(_tmp2)
}
w.ListEnd(_tmp0)
return w.Flush()
}
func (obj *Test) DecodeRLP(dec *rlp.Stream) error {
var _tmp0 Test
{
if _, err := dec.List(); err != nil {
return err
}
// Uint8:
var _tmp2 *byte
if _tmp3, _tmp4, err := dec.Kind(); err != nil {
return err
} else if _tmp4 != 0 || _tmp3 != rlp.String {
_tmp1, err := dec.Uint8()
if err != nil {
return err
}
_tmp2 = &_tmp1
}
_tmp0.Uint8 = _tmp2
// Uint8List:
var _tmp6 *byte
if _tmp7, _tmp8, err := dec.Kind(); err != nil {
return err
} else if _tmp8 != 0 || _tmp7 != rlp.List {
_tmp5, err := dec.Uint8()
if err != nil {
return err
}
_tmp6 = &_tmp5
}
_tmp0.Uint8List = _tmp6
// Uint32:
var _tmp10 *uint32
if _tmp11, _tmp12, err := dec.Kind(); err != nil {
return err
} else if _tmp12 != 0 || _tmp11 != rlp.String {
_tmp9, err := dec.Uint32()
if err != nil {
return err
}
_tmp10 = &_tmp9
}
_tmp0.Uint32 = _tmp10
// Uint32List:
var _tmp14 *uint32
if _tmp15, _tmp16, err := dec.Kind(); err != nil {
return err
} else if _tmp16 != 0 || _tmp15 != rlp.List {
_tmp13, err := dec.Uint32()
if err != nil {
return err
}
_tmp14 = &_tmp13
}
_tmp0.Uint32List = _tmp14
// Uint64:
var _tmp18 *uint64
if _tmp19, _tmp20, err := dec.Kind(); err != nil {
return err
} else if _tmp20 != 0 || _tmp19 != rlp.String {
_tmp17, err := dec.Uint64()
if err != nil {
return err
}
_tmp18 = &_tmp17
}
_tmp0.Uint64 = _tmp18
// Uint64List:
var _tmp22 *uint64
if _tmp23, _tmp24, err := dec.Kind(); err != nil {
return err
} else if _tmp24 != 0 || _tmp23 != rlp.List {
_tmp21, err := dec.Uint64()
if err != nil {
return err
}
_tmp22 = &_tmp21
}
_tmp0.Uint64List = _tmp22
// String:
var _tmp26 *string
if _tmp27, _tmp28, err := dec.Kind(); err != nil {
return err
} else if _tmp28 != 0 || _tmp27 != rlp.String {
_tmp25, err := dec.String()
if err != nil {
return err
}
_tmp26 = &_tmp25
}
_tmp0.String = _tmp26
// StringList:
var _tmp30 *string
if _tmp31, _tmp32, err := dec.Kind(); err != nil {
return err
} else if _tmp32 != 0 || _tmp31 != rlp.List {
_tmp29, err := dec.String()
if err != nil {
return err
}
_tmp30 = &_tmp29
}
_tmp0.StringList = _tmp30
// ByteArray:
var _tmp34 *[3]byte
if _tmp35, _tmp36, err := dec.Kind(); err != nil {
return err
} else if _tmp36 != 0 || _tmp35 != rlp.String {
var _tmp33 [3]byte
if err := dec.ReadBytes(_tmp33[:]); err != nil {
return err
}
_tmp34 = &_tmp33
}
_tmp0.ByteArray = _tmp34
// ByteArrayList:
var _tmp38 *[3]byte
if _tmp39, _tmp40, err := dec.Kind(); err != nil {
return err
} else if _tmp40 != 0 || _tmp39 != rlp.List {
var _tmp37 [3]byte
if err := dec.ReadBytes(_tmp37[:]); err != nil {
return err
}
_tmp38 = &_tmp37
}
_tmp0.ByteArrayList = _tmp38
// ByteSlice:
var _tmp42 *[]byte
if _tmp43, _tmp44, err := dec.Kind(); err != nil {
return err
} else if _tmp44 != 0 || _tmp43 != rlp.String {
_tmp41, err := dec.Bytes()
if err != nil {
return err
}
_tmp42 = &_tmp41
}
_tmp0.ByteSlice = _tmp42
// ByteSliceList:
var _tmp46 *[]byte
if _tmp47, _tmp48, err := dec.Kind(); err != nil {
return err
} else if _tmp48 != 0 || _tmp47 != rlp.List {
_tmp45, err := dec.Bytes()
if err != nil {
return err
}
_tmp46 = &_tmp45
}
_tmp0.ByteSliceList = _tmp46
// Struct:
var _tmp51 *Aux
if _tmp52, _tmp53, err := dec.Kind(); err != nil {
return err
} else if _tmp53 != 0 || _tmp52 != rlp.List {
var _tmp49 Aux
{
if _, err := dec.List(); err != nil {
return err
}
// A:
_tmp50, err := dec.Uint32()
if err != nil {
return err
}
_tmp49.A = _tmp50
if err := dec.ListEnd(); err != nil {
return err
}
}
_tmp51 = &_tmp49
}
_tmp0.Struct = _tmp51
// StructString:
var _tmp56 *Aux
if _tmp57, _tmp58, err := dec.Kind(); err != nil {
return err
} else if _tmp58 != 0 || _tmp57 != rlp.String {
var _tmp54 Aux
{
if _, err := dec.List(); err != nil {
return err
}
// A:
_tmp55, err := dec.Uint32()
if err != nil {
return err
}
_tmp54.A = _tmp55
if err := dec.ListEnd(); err != nil {
return err
}
}
_tmp56 = &_tmp54
}
_tmp0.StructString = _tmp56
if err := dec.ListEnd(); err != nil {
return err
}
}
*obj = _tmp0
return nil
}
FAIL
FAIL github.com/XinFinOrg/XDPoSChain/rlp/rlpgen 0.537s
ok github.com/XinFinOrg/XDPoSChain/rpc (cached)
ok github.com/XinFinOrg/XDPoSChain/tests (cached)
? github.com/XinFinOrg/XDPoSChain/tests/fuzzers/bitutil [no test files]
? github.com/XinFinOrg/XDPoSChain/tests/fuzzers/bn256 [no test files]
? github.com/XinFinOrg/XDPoSChain/tests/fuzzers/runtime [no test files]
ok github.com/XinFinOrg/XDPoSChain/trie (cached)
ok github.com/XinFinOrg/XDPoSChain/whisper/mailserver (cached)
? github.com/XinFinOrg/XDPoSChain/whisper/shhclient [no test files]
ok github.com/XinFinOrg/XDPoSChain/whisper/whisperv5 (cached)
ok github.com/XinFinOrg/XDPoSChain/whisper/whisperv6 (cached)
FAIL
util.go:43: exit status 1
exit status 1
make: *** [Makefile:48: test] Error 1