mirror of
https://github.com/luxfi/cli.git
synced 2026-10-30 17:01:20 +00:00
- k8s.io/{api,apimachinery,client-go} v0.35.1 → v0.36.1: fixes
autoscaling/v2beta1 + scheduling/v1alpha1 missing-package error
(api transitively bumped to v0.36.1 dropped them; client-go
v0.36.1 scheme/register.go matches).
- luxfi/gpu v1.0.1 → v1.0.4: ABI v14 mldsa_verify_batch /
slhdsa_verify_batch signatures (per-element msg_lens + msg_width_hint).
- internal/mocks/pclient.go: drop ExportKey method (sdk/api archived
in commit 99e0c5f; api.UserPass was tied to retired keystore API)
+ drop unused secp256k1 import.
The mock was autogenerated from a stale sdk/[email protected] — the api
package was extracted out of sdk in 2026-01 ("sdk: align API split").
ExportKey is dead code in cli; no caller exercises the mocked method.
Mocks
The mocks package contains mock objects used for testing.
They have been generated with mockery.
There is a scripts/regenerate_mocks.sh script which can be executed to regenerate most mocks when required (interface change).
However, there is an exception:
Interfaces in another repository (e.g. node) seem to pose problems to mockery. We get
outside main module or its selected dependencies
trying to generate them via script.
Those should probably need to be regenerated and pasted here manually when required.
At this point this affects:
- InfoClient
- PClient