code: func (_m *Committer) GetPvtDataByNum(blockNum uint64, filter ledger.PvtNsCollFilter) ([]*ledger.TxPvtData, error) {
  	ret := _m.Called(blockNum, filter)
  
  	var r0 []*ledger.TxPvtData
  	if rf, ok := ret.Get(0).(func(uint64, ledger.PvtNsCollFilter) []*ledger.TxPvtData); ok {
  		r0 = rf(blockNum, filter)
  	} else {
  		if ret.Get(0) != nil {
  			r0 = ret.Get(0).([]*ledger.TxPvtData)
  		}
  	}
  
  	var r1 error
  	if rf, ok := ret.Get(1).(func(uint64, ledger.PvtNsCollFilter) error); ok {
  		r1 = rf(blockNum, filter)
  	} else {
  		r1 = ret.Error(1)
  	}
  
  	return r0, r1
  }
docs: // GetPvtDataByNum provides a mock function with given fields: blockNum, filter