From 66b1bab50cc5714c4d64db25ec5abf950583bf30 Mon Sep 17 00:00:00 2001 From: Yurii Oleksyshyn Date: Fri, 8 Dec 2023 20:31:29 +0200 Subject: [PATCH] Updated mocks --- storage/mock/protocol_state.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/storage/mock/protocol_state.go b/storage/mock/protocol_state.go index 3173ff84b0c..407bbc8a699 100644 --- a/storage/mock/protocol_state.go +++ b/storage/mock/protocol_state.go @@ -82,13 +82,13 @@ func (_m *ProtocolState) Index(blockID flow.Identifier, protocolStateID flow.Ide return r0 } -// StoreTx provides a mock function with given fields: id, protocolState -func (_m *ProtocolState) StoreTx(id flow.Identifier, protocolState *flow.ProtocolStateEntry) func(*transaction.Tx) error { - ret := _m.Called(id, protocolState) +// StoreTx provides a mock function with given fields: protocolStateID, protocolState +func (_m *ProtocolState) StoreTx(protocolStateID flow.Identifier, protocolState *flow.ProtocolStateEntry) func(*transaction.Tx) error { + ret := _m.Called(protocolStateID, protocolState) var r0 func(*transaction.Tx) error if rf, ok := ret.Get(0).(func(flow.Identifier, *flow.ProtocolStateEntry) func(*transaction.Tx) error); ok { - r0 = rf(id, protocolState) + r0 = rf(protocolStateID, protocolState) } else { if ret.Get(0) != nil { r0 = ret.Get(0).(func(*transaction.Tx) error)