diff --git a/chain/mock_action.go b/chain/mock_action.go index 0c8da8fcbf..fc395242b5 100644 --- a/chain/mock_action.go +++ b/chain/mock_action.go @@ -45,7 +45,7 @@ func (m *MockAction) EXPECT() *MockActionMockRecorder { } // Execute mocks base method. -func (m *MockAction) Execute(arg0 context.Context, arg1 Rules, arg2 state.Mutable, arg3 int64, arg4 codec.Address, arg5 codec.LID) (bool, uint64, [][]byte, error) { +func (m *MockAction) Execute(arg0 context.Context, arg1 Rules, arg2 state.Mutable, arg3 int64, arg4, arg5 codec.LID) (bool, uint64, [][]byte, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Execute", arg0, arg1, arg2, arg3, arg4, arg5) ret0, _ := ret[0].(bool) @@ -116,7 +116,7 @@ func (mr *MockActionMockRecorder) Size() *gomock.Call { } // StateKeys mocks base method. -func (m *MockAction) StateKeys(arg0 codec.Address, arg1 codec.LID) state.Keys { +func (m *MockAction) StateKeys(arg0, arg1 codec.LID) state.Keys { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "StateKeys", arg0, arg1) ret0, _ := ret[0].(state.Keys) diff --git a/chain/mock_auth.go b/chain/mock_auth.go index 6643ec2ac0..c593acb64b 100644 --- a/chain/mock_auth.go +++ b/chain/mock_auth.go @@ -44,10 +44,10 @@ func (m *MockAuth) EXPECT() *MockAuthMockRecorder { } // Actor mocks base method. -func (m *MockAuth) Actor() codec.Address { +func (m *MockAuth) Actor() codec.LID { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Actor") - ret0, _ := ret[0].(codec.Address) + ret0, _ := ret[0].(codec.LID) return ret0 } @@ -112,10 +112,10 @@ func (mr *MockAuthMockRecorder) Size() *gomock.Call { } // Sponsor mocks base method. -func (m *MockAuth) Sponsor() codec.Address { +func (m *MockAuth) Sponsor() codec.LID { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Sponsor") - ret0, _ := ret[0].(codec.Address) + ret0, _ := ret[0].(codec.LID) return ret0 } diff --git a/chain/mock_rules.go b/chain/mock_rules.go index 292f719345..0389c46648 100644 --- a/chain/mock_rules.go +++ b/chain/mock_rules.go @@ -114,6 +114,20 @@ func (mr *MockRulesMockRecorder) GetMaxBlockUnits() *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetMaxBlockUnits", reflect.TypeOf((*MockRules)(nil).GetMaxBlockUnits)) } +// GetMaxOutputsPerAction mocks base method. +func (m *MockRules) GetMaxOutputsPerAction() byte { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "GetMaxOutputsPerAction") + ret0, _ := ret[0].(byte) + return ret0 +} + +// GetMaxOutputsPerAction indicates an expected call of GetMaxOutputsPerAction. +func (mr *MockRulesMockRecorder) GetMaxOutputsPerAction() *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetMaxOutputsPerAction", reflect.TypeOf((*MockRules)(nil).GetMaxOutputsPerAction)) +} + // GetMinBlockGap mocks base method. func (m *MockRules) GetMinBlockGap() int64 { m.ctrl.T.Helper()