Skip to content

Commit

Permalink
Merge pull request #117 from ethstorage/merge-test
Browse files Browse the repository at this point in the history
add test case
  • Loading branch information
iteyelmp authored Dec 1, 2023
2 parents e7ad4f9 + eedfe8a commit 3fc5dab
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ethstorage/data_shard.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ import (
// It also manages the encoding/decoding, tranlation from KV read/write to chunk read/write,
// and sanity check of the data files.
type DataShard struct {
shardIdx uint64
shardIdx uint64

Check failure on line 23 in ethstorage/data_shard.go

View workflow job for this annotation

GitHub Actions / lint

File is not `gofmt`-ed with `-s` (gofmt)
kvSize uint64
chunksPerKv uint64
chunksPerKv uint64
kvEntries uint64
dataFiles []*DataFile
chunkSize uint64
dataFiles []*DataFile
chunkSize uint64
}

func NewDataShard(shardIdx uint64, kvSize uint64, kvEntries uint64, chunkSize uint64) *DataShard {
Expand Down

0 comments on commit 3fc5dab

Please sign in to comment.