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

140 lines
4.3 KiB
Go

// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/luxfi/node/vms/platformvm/fx (interfaces: Fx)
//
// Generated by this command:
//
// mockgen -package=fxmock -destination=fxmock/fx.go -mock_names=Fx=Fx . Fx
//
// Package fxmock is a generated GoMock package.
package fxmock
import (
reflect "reflect"
gomock "go.uber.org/mock/gomock"
)
// Fx is a mock of Fx interface.
type Fx struct {
ctrl *gomock.Controller
recorder *FxMockRecorder
isgomock struct{}
}
// FxMockRecorder is the mock recorder for Fx.
type FxMockRecorder struct {
mock *Fx
}
// NewFx creates a new mock instance.
func NewFx(ctrl *gomock.Controller) *Fx {
mock := &Fx{ctrl: ctrl}
mock.recorder = &FxMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *Fx) EXPECT() *FxMockRecorder {
return m.recorder
}
// Bootstrapped mocks base method.
func (m *Fx) Bootstrapped() error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Bootstrapped")
ret0, _ := ret[0].(error)
return ret0
}
// Bootstrapped indicates an expected call of Bootstrapped.
func (mr *FxMockRecorder) Bootstrapped() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Bootstrapped", reflect.TypeOf((*Fx)(nil).Bootstrapped))
}
// Bootstrapping mocks base method.
func (m *Fx) Bootstrapping() error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Bootstrapping")
ret0, _ := ret[0].(error)
return ret0
}
// Bootstrapping indicates an expected call of Bootstrapping.
func (mr *FxMockRecorder) Bootstrapping() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Bootstrapping", reflect.TypeOf((*Fx)(nil).Bootstrapping))
}
// CreateOutput mocks base method.
func (m *Fx) CreateOutput(amount uint64, controlGroup any) (any, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "CreateOutput", amount, controlGroup)
ret0, _ := ret[0].(any)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// CreateOutput indicates an expected call of CreateOutput.
func (mr *FxMockRecorder) CreateOutput(amount, controlGroup any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOutput", reflect.TypeOf((*Fx)(nil).CreateOutput), amount, controlGroup)
}
// Initialize mocks base method.
func (m *Fx) Initialize(vm any) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Initialize", vm)
ret0, _ := ret[0].(error)
return ret0
}
// Initialize indicates an expected call of Initialize.
func (mr *FxMockRecorder) Initialize(vm any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Initialize", reflect.TypeOf((*Fx)(nil).Initialize), vm)
}
// VerifyOperation mocks base method.
func (m *Fx) VerifyOperation(tx, op, cred any, utxos []any) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "VerifyOperation", tx, op, cred, utxos)
ret0, _ := ret[0].(error)
return ret0
}
// VerifyOperation indicates an expected call of VerifyOperation.
func (mr *FxMockRecorder) VerifyOperation(tx, op, cred, utxos any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VerifyOperation", reflect.TypeOf((*Fx)(nil).VerifyOperation), tx, op, cred, utxos)
}
// VerifyPermission mocks base method.
func (m *Fx) VerifyPermission(tx, in, cred, controlGroup any) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "VerifyPermission", tx, in, cred, controlGroup)
ret0, _ := ret[0].(error)
return ret0
}
// VerifyPermission indicates an expected call of VerifyPermission.
func (mr *FxMockRecorder) VerifyPermission(tx, in, cred, controlGroup any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VerifyPermission", reflect.TypeOf((*Fx)(nil).VerifyPermission), tx, in, cred, controlGroup)
}
// VerifyTransfer mocks base method.
func (m *Fx) VerifyTransfer(tx, in, cred, utxo any) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "VerifyTransfer", tx, in, cred, utxo)
ret0, _ := ret[0].(error)
return ret0
}
// VerifyTransfer indicates an expected call of VerifyTransfer.
func (mr *FxMockRecorder) VerifyTransfer(tx, in, cred, utxo any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VerifyTransfer", reflect.TypeOf((*Fx)(nil).VerifyTransfer), tx, in, cred, utxo)
}