refactor: Move api auth out of internal #8266
Annotations
3 errors and 1 warning
Test
3/174 tests failed
|
Test:
internal/test/e2e/cluster_test.go#L1519
cluster_test.go:1519: events don't match []wallet.Event{
- {
- ID: s"f5b88a25e0f8c6b24faa17fbbb89ca86110b0b57466bde36b82a79676bd50994",
- Index: s"13::879082e6",
- Type: "miner",
- Data: wallet.EventPayout{
- SiacoinElement: types.SiacoinElement{
- ID: s"f5b88a25e0f8c6b24faa17fbbb89ca86"...,
- StateElement: types.StateElement{...},
- SiacoinOutput: types.SiacoinOutput{...},
- MaturityHeight: 14,
- },
- },
- MaturityHeight: 14,
- Timestamp: s"2025-01-19 05:47:53 +0000 UTC",
- Relevant: []types.Address{s"4852b1cea4a0e21d3502fc8340f562736c4b934a10a3919243b384069e26eb6c"...},
- },
{ID: {0x06, 0xbf, 0x84, 0xbf, ...}, Index: {Height: 1, ID: {0x17, 0xc6, 0x48, 0x7a, ...}}, Type: "miner", Data: wallet.EventPayout{SiacoinElement: {ID: {0x06, 0xbf, 0x84, 0xbf, ...}, StateElement: {LeafIndex: 3}, SiacoinOutput: {Value: {Lo: 3208667890626592768, Hi: 16262978377}, Address: {0x48, 0x52, 0xb1, 0xce, ...}}, MaturityHeight: 2}}, ...},
{ID: {0x85, 0x8e, 0x0c, 0xb8, ...}, Index: {Height: 2, ID: {0x35, 0x98, 0x24, 0x43, ...}}, Type: "miner", Data: wallet.EventPayout{SiacoinElement: {ID: {0x85, 0x8e, 0x0c, 0xb8, ...}, StateElement: {LeafIndex: 6}, SiacoinOutput: {Value: {Lo: 1204903685419696128, Hi: 16262924167}, Address: {0x48, 0x52, 0xb1, 0xce, ...}}, MaturityHeight: 3}}, ...},
... // 10 identical elements
}
|
Test:
internal/test/e2e/cluster_test.go#L1775
cluster_test.go:1775: failed to add v2 transaction set: v2 transaction 0f9c48982be8192ea8e21589b43afc85287921ee6fe3b5956a490b6207e6e069 is invalid: siacoin input 0 spends output (569786d0f19dd69e1625f9b636dde7dede6c9c261ffaac3a1fe9ca7a7010200c) not present in the accumulator
|
Setup Go
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|
Loading