Skip to content

Add more convenient API for (de)serialization of BlockIssuerKeys #2898

Add more convenient API for (de)serialization of BlockIssuerKeys

Add more convenient API for (de)serialization of BlockIssuerKeys #2898

Triggered via push November 2, 2023 04:27
Status Failure
Total duration 1m 6s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention
Matrix: test_and_benchmark
Fit to window
Zoom out
Zoom in

Annotations

149 errors and 1 warning
[golangci] address.go#L1: address.go#L1
: # github.com/iotaledger/iota.go/v4
[golangci] block_issuer_key.go#L158: block_issuer_key.go#L158
too many arguments in call to stream.ReadCollection
[golangci] block_issuer_key.go#L175: block_issuer_key.go#L175
undefined: stream.Peek (typecheck)
[golangci] api/epoch_based_provider.go#L11: api/epoch_based_provider.go#L11
could not import github.com/iotaledger/iota.go/v4 (-: # github.com/iotaledger/iota.go/v4
[golangci] block_issuer_key.go#L158: block_issuer_key.go#L158
too many arguments in call to stream.ReadCollection
[golangci] block_issuer_key.go#L175: block_issuer_key.go#L175
undefined: stream.Peek) (typecheck)
[golangci] api/epoch_based_provider.go#L170: api/epoch_based_provider.go#L170
undefined: stream.NewByteBuffer (typecheck)
[golangci] api/epoch_based_provider.go#L194: api/epoch_based_provider.go#L194
cannot infer T (/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/serializer/[email protected]/stream/write.go:12:12) (typecheck)
[golangci] api/epoch_based_provider.go#L199: api/epoch_based_provider.go#L199
not enough arguments in call to lo.PanicOnErr
[golangci] api/epoch_based_provider.go#L214: api/epoch_based_provider.go#L214
not enough arguments in call to lo.PanicOnErr
[golangci] api/protocol_epoch_versions.go#L87: api/protocol_epoch_versions.go#L87
not enough arguments in call to lo.PanicOnErr
[golangci] builder/block_builder.go#L8: builder/block_builder.go#L8
could not import github.com/iotaledger/iota.go/v4 (-: # github.com/iotaledger/iota.go/v4
[golangci] block_issuer_key.go#L158: block_issuer_key.go#L158
too many arguments in call to stream.ReadCollection
[golangci] block_issuer_key.go#L175: block_issuer_key.go#L175
undefined: stream.Peek) (typecheck)
[golangci] builder/transaction_builder.go#L159: builder/transaction_builder.go#L159
unboundManaInputsLeftoverBalance declared and not used (typecheck)
[golangci] builder/transaction_builder.go#L414: builder/transaction_builder.go#L414
cannot infer T (/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/safemath/safe_math.go:37:1) (typecheck)
[golangci] builder/transaction_builder.go#L440: builder/transaction_builder.go#L440
cannot infer T (/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/safemath/safe_math.go:22:1) (typecheck)
[golangci] nodeclient/apimodels/core.go#L8: nodeclient/apimodels/core.go#L8
could not import github.com/iotaledger/iota.go/v4 (-: # github.com/iotaledger/iota.go/v4
[golangci] block_issuer_key.go#L158: block_issuer_key.go#L158
too many arguments in call to stream.ReadCollection
[golangci] block_issuer_key.go#L175: block_issuer_key.go#L175
undefined: stream.Peek) (typecheck)
[golangci] nodeclient/blockissuer_client.go#L10: nodeclient/blockissuer_client.go#L10
could not import github.com/iotaledger/iota.go/v4 (-: # github.com/iotaledger/iota.go/v4
[golangci] block_issuer_key.go#L158: block_issuer_key.go#L158
too many arguments in call to stream.ReadCollection
[golangci] block_issuer_key.go#L175: block_issuer_key.go#L175
undefined: stream.Peek) (typecheck)
[golangci] tpkg/test_consts.go#L4: tpkg/test_consts.go#L4
could not import github.com/iotaledger/iota.go/v4 (-: # github.com/iotaledger/iota.go/v4
[golangci] block_issuer_key.go#L158: block_issuer_key.go#L158
too many arguments in call to stream.ReadCollection
[golangci] block_issuer_key.go#L175: block_issuer_key.go#L175
undefined: stream.Peek) (typecheck)
[golangci] vm/types.go#L6: vm/types.go#L6
could not import github.com/iotaledger/iota.go/v4 (-: # github.com/iotaledger/iota.go/v4
[golangci] block_issuer_key.go#L158: block_issuer_key.go#L158
too many arguments in call to stream.ReadCollection
[golangci] block_issuer_key.go#L175: block_issuer_key.go#L175
undefined: stream.Peek) (typecheck)
[golangci] vm/vm.go#L83: vm/vm.go#L83
cannot infer T (/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/safemath/safe_math.go:22:1) (typecheck)
[golangci] vm/vm.go#L93: vm/vm.go#L93
cannot infer T (/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/safemath/safe_math.go:37:1) (typecheck)
[golangci] vm/vm.go#L101: vm/vm.go#L101
cannot infer T (/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/safemath/safe_math.go:22:1) (typecheck)
[golangci] vm/vm.go#L110: vm/vm.go#L110
cannot infer T (/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/safemath/safe_math.go:22:1) (typecheck)
[golangci] vm/vm.go#L124: vm/vm.go#L124
cannot infer T (/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/safemath/safe_math.go:22:1) (typecheck)
[golangci] vm/vm.go#L130: vm/vm.go#L130
cannot infer T (/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/safemath/safe_math.go:22:1) (typecheck)
[golangci] vm/vm.go#L442: vm/vm.go#L442
missing return (typecheck)
[golangci] vm/vm.go#L450: vm/vm.go#L450
commitmentInput.Slot undefined (type VMCommitmentInput has no field or method Slot) (typecheck)
[golangci] vm/vm.go#L455: vm/vm.go#L455
commitmentInput.Slot undefined (type VMCommitmentInput has no field or method Slot) (typecheck)
[golangci] vm/vm.go#L676: vm/vm.go#L676
commitment.Slot undefined (type VMCommitmentInput has no field or method Slot) (typecheck)
[golangci] vm/nova/vm.go#L9: vm/nova/vm.go#L9
could not import github.com/iotaledger/iota.go/v4 (-: # github.com/iotaledger/iota.go/v4
[golangci] block_issuer_key.go#L158: block_issuer_key.go#L158
too many arguments in call to stream.ReadCollection
[golangci] block_issuer_key.go#L175: block_issuer_key.go#L175
undefined: stream.Peek) (typecheck)
[golangci] vm/nova/vm.go#L210: vm/nova/vm.go#L210
missing return (typecheck)
[golangci] vm/nova/vm.go#L145: vm/nova/vm.go#L145
ok declared and not used (typecheck)
[golangci] vm/nova/vm.go#L381: vm/nova/vm.go#L381
cannot infer T (/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/safemath/safe_math.go:37:1) (typecheck)
[golangci] vm/nova/vm.go#L393: vm/nova/vm.go#L393
cannot infer T (/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/safemath/safe_math.go:37:1) (typecheck)
[golangci] vm/nova/vm.go#L404: vm/nova/vm.go#L404
cannot infer T (/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/safemath/safe_math.go:37:1) (typecheck)
[golangci] vm/nova/vm.go#L410: vm/nova/vm.go#L410
cannot infer T (/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/safemath/safe_math.go:37:1) (typecheck)
[golangci] vm/nova/vm.go#L417: vm/nova/vm.go#L417
cannot infer T (/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/safemath/safe_math.go:37:1) (typecheck)
[golangci] vm/nova/vm.go#L426: vm/nova/vm.go#L426
cannot infer T (/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/safemath/safe_math.go:37:1) (typecheck)
[golangci] address_test.go#L13: address_test.go#L13
could not import github.com/iotaledger/iota.go/v4 (-: # github.com/iotaledger/iota.go/v4
[golangci] block_issuer_key.go#L158: block_issuer_key.go#L158
too many arguments in call to stream.ReadCollection
[golangci] block_issuer_key.go#L175: block_issuer_key.go#L175
undefined: stream.Peek) (typecheck)
[golangci] address_test.go#L872: address_test.go#L872
missing type in composite literal (typecheck)
[golangci] attestation_test.go#L28: attestation_test.go#L28
not enough arguments in call to lo.PanicOnErr
[golangci] block_test.go#L66: block_test.go#L66
not enough arguments in call to lo.Return2
[golangci] block_test.go#L81: block_test.go#L81
not enough arguments in call to lo.Return2
[golangci] block_test.go#L96: block_test.go#L96
not enough arguments in call to lo.Return2
[golangci] block_test.go#L113: block_test.go#L113
not enough arguments in call to lo.Return2
[golangci] builder/block_builder_test.go#L9: builder/block_builder_test.go#L9
could not import github.com/iotaledger/iota.go/v4 (-: # github.com/iotaledger/iota.go/v4
[golangci] block_issuer_key.go#L158: block_issuer_key.go#L158
too many arguments in call to stream.ReadCollection
[golangci] block_issuer_key.go#L175: block_issuer_key.go#L175
undefined: stream.Peek) (typecheck)
[golangci] builder/transaction_builder_test.go#L5: builder/transaction_builder_test.go#L5
"crypto/ed25519" imported and not used (typecheck)
[golangci] merklehasher/merkle_hasher_test.go#L11: merklehasher/merkle_hasher_test.go#L11
could not import github.com/iotaledger/iota.go/v4 (-: # github.com/iotaledger/iota.go/v4
[golangci] block_issuer_key.go#L158: block_issuer_key.go#L158
too many arguments in call to stream.ReadCollection
[golangci] block_issuer_key.go#L175: block_issuer_key.go#L175
undefined: stream.Peek) (typecheck)
[golangci] nodeclient/blockissuer_client_test.go#L10: nodeclient/blockissuer_client_test.go#L10
could not import github.com/iotaledger/iota.go/v4 (-: # github.com/iotaledger/iota.go/v4
[golangci] block_issuer_key.go#L158: block_issuer_key.go#L158
too many arguments in call to stream.ReadCollection
[golangci] block_issuer_key.go#L175: block_issuer_key.go#L175
undefined: stream.Peek) (typecheck)
[golangci] nodeclient/http_api_client_test.go#L51: nodeclient/http_api_client_test.go#L51
not enough arguments in call to lo.PanicOnErr
[golangci] nodeclient/http_api_client_test.go#L66: nodeclient/http_api_client_test.go#L66
not enough arguments in call to lo.PanicOnErr
[golangci] nodeclient/http_api_client_test.go#L74: nodeclient/http_api_client_test.go#L74
not enough arguments in call to lo.PanicOnErr
[golangci] nodeclient/http_api_client_test.go#L77: nodeclient/http_api_client_test.go#L77
not enough arguments in call to lo.PanicOnErr
[golangci] nodeclient/http_api_client_test.go#L92: nodeclient/http_api_client_test.go#L92
not enough arguments in call to lo.PanicOnErr
[golangci] nodeclient/http_api_client_test.go#L401: nodeclient/http_api_client_test.go#L401
not enough arguments in call to lo.PanicOnErr
[golangci] nodeclient/http_api_client_test.go#L432: nodeclient/http_api_client_test.go#L432
not enough arguments in call to lo.PanicOnErr
[golangci] nodeclient/apimodels/core_test.go#L9: nodeclient/apimodels/core_test.go#L9
could not import github.com/iotaledger/iota.go/v4 (-: # github.com/iotaledger/iota.go/v4
[golangci] block_issuer_key.go#L158: block_issuer_key.go#L158
too many arguments in call to stream.ReadCollection
[golangci] block_issuer_key.go#L175: block_issuer_key.go#L175
undefined: stream.Peek) (typecheck)
[golangci] vm/nova/stvf_test.go#L12: vm/nova/stvf_test.go#L12
could not import github.com/iotaledger/iota.go/v4 (-: # github.com/iotaledger/iota.go/v4
[golangci] block_issuer_key.go#L158: block_issuer_key.go#L158
too many arguments in call to stream.ReadCollection
[golangci] block_issuer_key.go#L175: block_issuer_key.go#L175
undefined: stream.Peek) (typecheck)
[golangci] vm/nova/stvf_test.go#L99: vm/nova/stvf_test.go#L99
missing type in composite literal (typecheck)
[golangci] vm/nova/stvf_test.go#L137: vm/nova/stvf_test.go#L137
missing type in composite literal (typecheck)
[golangci] vm/nova/stvf_test.go#L177: vm/nova/stvf_test.go#L177
missing type in composite literal (typecheck)
[golangci] vm/nova/stvf_test.go#L217: vm/nova/stvf_test.go#L217
missing type in composite literal (typecheck)
[golangci] vm/nova/stvf_test.go#L257: vm/nova/stvf_test.go#L257
missing type in composite literal (typecheck)
[golangci] vm/nova/stvf_test.go#L298: vm/nova/stvf_test.go#L298
missing type in composite literal (typecheck)
[golangci] vm/nova/stvf_test.go#L339: vm/nova/stvf_test.go#L339
missing type in composite literal (typecheck)
[golangci] vm/nova/stvf_test.go#L380: vm/nova/stvf_test.go#L380
missing type in composite literal (typecheck)
[golangci] vm/nova/stvf_test.go#L420: vm/nova/stvf_test.go#L420
missing type in composite literal (typecheck)
[golangci] vm/nova/stvf_test.go#L479: vm/nova/stvf_test.go#L479
missing type in composite literal (typecheck)
[golangci] vm/nova/stvf_test.go#L531: vm/nova/stvf_test.go#L531
missing type in composite literal (typecheck)
[golangci] vm/nova/stvf_test.go#L581: vm/nova/stvf_test.go#L581
missing type in composite literal (typecheck)
[golangci] vm/nova/stvf_test.go#L626: vm/nova/stvf_test.go#L626
missing type in composite literal (typecheck)
[golangci] vm/nova/stvf_test.go#L681: vm/nova/stvf_test.go#L681
missing type in composite literal (typecheck)
[golangci] vm/nova/stvf_test.go#L740: vm/nova/stvf_test.go#L740
missing type in composite literal (typecheck)
[golangci] vm/nova/stvf_test.go#L799: vm/nova/stvf_test.go#L799
missing type in composite literal (typecheck)
[golangci] vm/nova/stvf_test.go#L860: vm/nova/stvf_test.go#L860
missing type in composite literal (typecheck)
[golangci] vm/nova/stvf_test.go#L913: vm/nova/stvf_test.go#L913
missing type in composite literal (typecheck)
[golangci] vm/nova/stvf_test.go#L972: vm/nova/stvf_test.go#L972
missing type in composite literal (typecheck)
[golangci] vm/nova/stvf_test.go#L1032: vm/nova/stvf_test.go#L1032
missing type in composite literal (typecheck)
[golangci] vm/nova/stvf_test.go#L1369: vm/nova/stvf_test.go#L1369
missing type in composite literal (typecheck)
[golangci] vm/nova/stvf_test.go#L1452: vm/nova/stvf_test.go#L1452
missing type in composite literal (typecheck)
[golangci] vm/nova/stvf_test.go#L1505: vm/nova/stvf_test.go#L1505
missing type in composite literal (typecheck)
[golangci] vm/nova/stvf_test.go#L1556: vm/nova/stvf_test.go#L1556
missing type in composite literal (typecheck)
[golangci] vm/nova/stvf_test.go#L1613: vm/nova/stvf_test.go#L1613
missing type in composite literal (typecheck)
[golangci] vm/nova/stvf_test.go#L1671: vm/nova/stvf_test.go#L1671
missing type in composite literal (typecheck)
[golangci] vm/nova/stvf_test.go#L1728: vm/nova/stvf_test.go#L1728
missing type in composite literal (typecheck)
[golangci] vm/nova/stvf_test.go#L1783: vm/nova/stvf_test.go#L1783
missing type in composite literal (typecheck)
[golangci] vm/nova/stvf_test.go#L1841: vm/nova/stvf_test.go#L1841
missing type in composite literal (typecheck)
[golangci] vm/nova/stvf_test.go#L1995: vm/nova/stvf_test.go#L1995
missing type in composite literal (typecheck)
[golangci] vm/nova/stvf_test.go#L2068: vm/nova/stvf_test.go#L2068
missing type in composite literal (typecheck)
[golangci] vm/nova/stvf_test.go#L2116: vm/nova/stvf_test.go#L2116
missing type in composite literal (typecheck)
[golangci] vm/nova/stvf_test.go#L2163: vm/nova/stvf_test.go#L2163
missing type in composite literal (typecheck)
[golangci] vm/nova/stvf_test.go#L2208: vm/nova/stvf_test.go#L2208
missing type in composite literal (typecheck)
[golangci] vm/nova/stvf_test.go#L2918: vm/nova/stvf_test.go#L2918
missing type in composite literal (typecheck)
[golangci] vm/nova/stvf_test.go#L3637: vm/nova/stvf_test.go#L3637
missing type in composite literal (typecheck)
[golangci] vm/nova/stvf_test.go#L3682: vm/nova/stvf_test.go#L3682
missing type in composite literal (typecheck)
[golangci] vm/nova/stvf_test.go#L3578: vm/nova/stvf_test.go#L3578
exampleIssuer declared and not used (typecheck)
[golangci] vm/nova/vm_test.go#L248: vm/nova/vm_test.go#L248
foundry3InputID declared and not used (typecheck)
[golangci] vm/nova/vm_test.go#L251: vm/nova/vm_test.go#L251
nft1InputID declared and not used (typecheck)
[golangci] vm/nova/vm_test.go#L2321: vm/nova/vm_test.go#L2321
cannot infer S ($GOROOT/src/slices/sort.go:26:1) (typecheck)
[golangci] vm/nova/vm_test.go#L2456: vm/nova/vm_test.go#L2456
cannot infer S ($GOROOT/src/slices/sort.go:26:1) (typecheck)
[golangci] vm/nova/vm_test.go#L2591: vm/nova/vm_test.go#L2591
cannot infer S ($GOROOT/src/slices/sort.go:26:1) (typecheck)
[golangci] vm/nova/vm_test.go#L2730: vm/nova/vm_test.go#L2730
cannot infer S ($GOROOT/src/slices/sort.go:26:1) (typecheck)
[golangci] vm/nova/vm_test.go#L5815: vm/nova/vm_test.go#L5815
missing type in composite literal (typecheck)
[golangci] vm/nova/vm_test.go#L5819: vm/nova/vm_test.go#L5819
missing type in composite literal (typecheck)
[golangci] vm/nova/vm_test.go#L5823: vm/nova/vm_test.go#L5823
missing type in composite literal (typecheck)
[golangci] vm/nova/vm_test.go#L5810: vm/nova/vm_test.go#L5810
ident1 declared and not used (typecheck)
[golangci] vm/nova/vm_test.go#L5811: vm/nova/vm_test.go#L5811
ident2 declared and not used (typecheck)
[golangci] vm/nova/vm_test.go#L5893: vm/nova/vm_test.go#L5893
missing type in composite literal (typecheck)
[golangci] vm/nova/vm_test.go#L5897: vm/nova/vm_test.go#L5897
missing type in composite literal (typecheck)
[golangci] vm/nova/vm_test.go#L5901: vm/nova/vm_test.go#L5901
missing type in composite literal (typecheck)
[golangci] vm/nova/vm_test.go#L5888: vm/nova/vm_test.go#L5888
ident1 declared and not used (typecheck)
[golangci] vm/nova/vm_test.go#L5889: vm/nova/vm_test.go#L5889
ident2 declared and not used (typecheck)
[golangci] vm/nova/vm_test.go#L6503: vm/nova/vm_test.go#L6503
cannot infer T (/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/safemath/safe_math.go:37:1) (typecheck)
[golangci] vm/nova/vm_test.go#L6574: vm/nova/vm_test.go#L6574
cannot infer T (/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/safemath/safe_math.go:37:1) (typecheck)
[golangci] vm/nova/vm_test.go#L6882: vm/nova/vm_test.go#L6882
not enough arguments in call to lo.PanicOnErr
[golangci] vm/nova/vm_test.go#L6893: vm/nova/vm_test.go#L6893
not enough arguments in call to lo.PanicOnErr
[golangci] vm/nova/vm_test.go#L7844: vm/nova/vm_test.go#L7844
not enough arguments in call to lo.PanicOnErr
[golangci] vm/nova/vm_test.go#L7903: vm/nova/vm_test.go#L7903
not enough arguments in call to lo.Return2
[golangci] vm/nova/vm_test.go#L6: vm/nova/vm_test.go#L6
"crypto/ed25519" imported and not used (typecheck)
test_and_benchmark (1.21.x, ubuntu-latest): block_issuer_key.go#L158
too many arguments in call to stream.ReadCollection
test_and_benchmark (1.21.x, ubuntu-latest): block_issuer_key.go#L158
too many arguments in call to stream.ReadCollection
test_and_benchmark (1.21.x, ubuntu-latest)
Process completed with exit code 1.
test_and_benchmark (1.21.x, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/iota.go/iota.go. Supported file pattern: go.sum