mirror of
https://github.com/logos-blockchain/logos-blockchain-specs.git
synced 2026-01-10 09:03:08 +00:00
More wrong imports
This commit is contained in:
parent
545ba05f34
commit
7c1b80d337
@ -3,7 +3,7 @@ from dataclasses import dataclass
|
||||
from typing import Optional, List, Sequence
|
||||
|
||||
from da.common import BlobId
|
||||
from da.verifier import DABlob
|
||||
from da.verifier import DAShare
|
||||
|
||||
|
||||
@dataclass
|
||||
@ -31,7 +31,7 @@ class BlobStore(ABC):
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
def get_multiple(self, app_id: bytes, indexes: Sequence[int]) -> List[Optional[DABlob]]:
|
||||
def get_multiple(self, app_id: bytes, indexes: Sequence[int]) -> List[Optional[DAShare]]:
|
||||
pass
|
||||
|
||||
|
||||
@ -48,7 +48,7 @@ class DAApi:
|
||||
"""
|
||||
self.store.add(id, metadata)
|
||||
|
||||
def read(self, app_id, indexes) -> List[Optional[DABlob]]:
|
||||
def read(self, app_id, indexes) -> List[Optional[DAShare]]:
|
||||
"""
|
||||
Read method should accept only `app_id` and a list of indexes. The returned list of
|
||||
blobs should be ordered in the same sequence as `indexes` in a request.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user