Files
zeekay 7cf87b230b node-unified is the node
The module already called itself github.com/luxfi/node while containing no node
in Go: cmd/luxd was twenty-one lines that printed the size of a few types, and
the Go column of the matrix measured a VM plugin. A repo that fetches the thing
it claims to be has not replaced it, so the Go sources move in — 1515 files,
the daemon and everything under it — and the build reaches outside this module
for nothing.

Rust and C++ sit beside it unchanged and are still measured against it by the
differential. That is the point of one repo: the reference implementation and
the two ports are the same checkout, so parity is a thing you can run rather
than a thing you assert.

Verified: builds, and the closure carries no lux-private — checked at build time
rather than believed. The daemon starts twelve chains on a local network
(P X C Q Z A B G K M F, plus D through its plugin) and reports healthy.
2026-09-07 16:15:25 -07:00

70 lines
1.7 KiB
Go

// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/luxfi/node/vms/platformvm/signer (interfaces: Signer)
//
// Generated by this command:
//
// mockgen -package=signermock -destination=signermock/signer.go -mock_names=Signer=Signer . Signer
//
// Package signermock is a generated GoMock package.
package signermock
import (
reflect "reflect"
bls "github.com/luxfi/crypto/bls"
gomock "go.uber.org/mock/gomock"
)
// Signer is a mock of Signer interface.
type Signer struct {
ctrl *gomock.Controller
recorder *SignerMockRecorder
isgomock struct{}
}
// SignerMockRecorder is the mock recorder for Signer.
type SignerMockRecorder struct {
mock *Signer
}
// NewSigner creates a new mock instance.
func NewSigner(ctrl *gomock.Controller) *Signer {
mock := &Signer{ctrl: ctrl}
mock.recorder = &SignerMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *Signer) EXPECT() *SignerMockRecorder {
return m.recorder
}
// Key mocks base method.
func (m *Signer) Key() *bls.PublicKey {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Key")
ret0, _ := ret[0].(*bls.PublicKey)
return ret0
}
// Key indicates an expected call of Key.
func (mr *SignerMockRecorder) Key() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Key", reflect.TypeOf((*Signer)(nil).Key))
}
// Verify mocks base method.
func (m *Signer) Verify() error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Verify")
ret0, _ := ret[0].(error)
return ret0
}
// Verify indicates an expected call of Verify.
func (mr *SignerMockRecorder) Verify() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Verify", reflect.TypeOf((*Signer)(nil).Verify))
}