go clean -testcache
go test -run ^TestChain$ github.com/vitelabs/go-vite/v2/ledger/chain -v
--- PASS: TestChain/deleteSnapshotBlocks#01/GetContractCode (0.00s)
--- PASS: TestChain/deleteSnapshotBlocks#01/GetContractList (0.00s)
--- PASS: TestChain/deleteSnapshotBlocks#01/GetVmLogList (0.00s)
--- FAIL: TestChain/deleteSnapshotBlocks#01/GetQuotaUsedList (0.00s)
panic: Addr: vite_b5eafe3c101d370bdb7b674f6f0314ca3a1894c8ab6ce4d4a3, queryQuota: 101, quota: 161, queryBlockCount: 4, blockCount: 4 [recovered]
panic: Addr: vite_b5eafe3c101d370bdb7b674f6f0314ca3a1894c8ab6ce4d4a3, queryQuota: 101, quota: 161, queryBlockCount: 4, blockCount: 4
goroutine 839 [running]:
testing.tRunner.func1.2(0x16f1d00, 0xc0036fbea0)
/usr/local/go/src/testing/testing.go:1143 +0x332
testing.tRunner.func1(0xc003fe8c00)
/usr/local/go/src/testing/testing.go:1146 +0x4b6
panic(0x16f1d00, 0xc0036fbea0)