mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-01-17 04:43:08 +00:00
24 lines
471 B
Nim
24 lines
471 B
Nim
import pkg/chronos
|
|
import pkg/asynctest
|
|
import pkg/codex/proof/indexing
|
|
import pkg/codex/contracts/requests
|
|
import ../helpers
|
|
|
|
let
|
|
bytesPerBlock = 64 * 1024
|
|
numberOfSlotBlocks = 16
|
|
blockSize = bytesPerBlock.uint64
|
|
slot = Slot(
|
|
request: StorageRequest(
|
|
ask: StorageAsk(
|
|
slots: 10,
|
|
slotSize: u256(bytesPerBlock * numberOfSlotBlocks)
|
|
),
|
|
content: StorageContent(),
|
|
),
|
|
slotIndex: u256(3)
|
|
)
|
|
|
|
checksuite "Test indexing":
|
|
|