Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Commitment: partial unfold #11546

Merged
merged 254 commits into from
Oct 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
254 commits
Select commit Hold shift + click to select a range
bb104a1
save
awskii Jul 23, 2024
f74c18a
save update
awskii Jul 23, 2024
1045642
save
awskii Jul 23, 2024
b0c1852
save
awskii Jul 24, 2024
5b56966
save
awskii Jul 24, 2024
4982316
save
awskii Jul 24, 2024
e8d1361
save
awskii Jul 24, 2024
0b29fce
save
awskii Jul 25, 2024
a8e2e52
save
awskii Jul 26, 2024
9362eb2
save
awskii Jul 26, 2024
e6a10a9
Revert "refactor: rename fields in hex patricia trie (#11296)"
awskii Jul 26, 2024
af28aca
Merge branch 'main2-rev' into part-unfold
awskii Jul 26, 2024
141d862
save
awskii Jul 26, 2024
95237d2
save
awskii Jul 29, 2024
9a698d4
save
awskii Jul 30, 2024
29199df
save
awskii Jul 30, 2024
2c0fed8
storage
awskii Aug 2, 2024
31f1b5c
storage
awskii Aug 2, 2024
cd182ae
save
awskii Aug 2, 2024
2609eb6
save
AskAlexSharov Aug 3, 2024
077e085
save
AskAlexSharov Aug 3, 2024
5b4372e
save
AskAlexSharov Aug 3, 2024
231782f
Metrics for levelled domain files access (#11427)
awskii Aug 1, 2024
3bc6210
save
AskAlexSharov Aug 4, 2024
f226ae6
save
AskAlexSharov Aug 4, 2024
27c9918
Merge branch 'partially' into memo2-unfold
awskii Aug 9, 2024
ed79074
save
awskii Aug 9, 2024
4f47f05
save
awskii Aug 9, 2024
f9c2491
save
awskii Aug 9, 2024
a878393
save
awskii Aug 9, 2024
4adabfa
renaming
awskii Aug 9, 2024
60ff53d
save
awskii Aug 9, 2024
2f9c6b1
save
awskii Aug 9, 2024
992fea1
save
awskii Aug 13, 2024
ac51fb3
Merge branch 'main' into memo2-unfold
awskii Aug 14, 2024
eb20748
storage
awskii Aug 14, 2024
f58cb5f
save
awskii Aug 14, 2024
86aa226
SAVE
awskii Aug 15, 2024
87d7c33
SAVE
awskii Aug 15, 2024
eab870f
save
awskii Aug 15, 2024
efb803a
save
awskii Aug 15, 2024
21430f9
save
awskii Aug 15, 2024
6a287bd
save
awskii Aug 15, 2024
c608cea
save
awskii Aug 16, 2024
a46f04a
Merge branch 'main' into memo2-unfold
awskii Aug 16, 2024
8f8afa2
save
awskii Aug 16, 2024
3f301db
save
awskii Aug 16, 2024
da79f47
save
awskii Aug 16, 2024
fbe6c0b
save
awskii Aug 16, 2024
8645f6a
save
awskii Aug 16, 2024
96a6da3
save
awskii Aug 16, 2024
38084d6
save
awskii Aug 16, 2024
2302169
save
awskii Aug 16, 2024
84bf314
save
awskii Aug 16, 2024
4418cbe
no hashes for leaf
awskii Aug 16, 2024
fe38cc2
no hashes for leaf
awskii Aug 16, 2024
640575d
save
awskii Aug 16, 2024
8ae7b8c
save
awskii Aug 16, 2024
9d58c88
save
awskii Aug 16, 2024
a6715c9
save
awskii Aug 16, 2024
3008d86
save
awskii Aug 16, 2024
cf00dac
save
awskii Aug 16, 2024
540553f
save
awskii Aug 17, 2024
72b8f40
save
awskii Aug 17, 2024
54bf0e5
save
awskii Aug 17, 2024
2cb3d84
save
awskii Aug 18, 2024
cddebef
save
awskii Aug 19, 2024
f92ccc4
Merge branch 'fix-log-gas' into memo2-unfold
awskii Aug 19, 2024
a9c0060
Merge branch 'main' into memo2-unfold
awskii Aug 19, 2024
6c3d3ff
save
awskii Aug 19, 2024
e5191a0
save
awskii Aug 19, 2024
30bbbb4
disable lru
AskAlexSharov Aug 20, 2024
d270a3c
fix
awskii Aug 20, 2024
45123ea
Merge branch 'main' into memo2-unfold
awskii Aug 20, 2024
8599138
save
awskii Aug 21, 2024
c66e63f
save
awskii Aug 21, 2024
dcf09e4
save
awskii Aug 21, 2024
6739cc7
save
awskii Aug 21, 2024
638f68f
save
awskii Aug 21, 2024
86d58fd
save
awskii Aug 21, 2024
978d6ff
fix metrics
awskii Aug 22, 2024
10b7a76
save
awskii Aug 22, 2024
1cdee69
svae
awskii Aug 22, 2024
56008c4
Merge branch 'commit-renames' into memo2-unfold
awskii Aug 22, 2024
da26247
save
awskii Aug 22, 2024
98bf503
ssave
awskii Aug 22, 2024
77fc42e
Merge branch 'main' into memo2-unfold
awskii Aug 23, 2024
94782c2
Merge branch 'main' into memo2-unfold
AskAlexSharov Aug 30, 2024
4f58a37
save
AskAlexSharov Sep 1, 2024
08a1dd4
Merge branch 'main' into memo2-unfold
AskAlexSharov Sep 3, 2024
07839ed
save
AskAlexSharov Sep 5, 2024
06ee904
Merge branch 'main' into memo2-unfold
AskAlexSharov Sep 6, 2024
b1e170e
Merge branch 'main' into memo2-unfold
AskAlexSharov Sep 7, 2024
295eadd
save
AskAlexSharov Sep 12, 2024
980d08d
Merge branch 'main' into memo2-unfold
AskAlexSharov Sep 13, 2024
f9051dc
Merge branch 'main' into memo2-unfold
AskAlexSharov Sep 13, 2024
dd43e3b
save
AskAlexSharov Sep 18, 2024
736c9c2
save
AskAlexSharov Sep 18, 2024
1ae58e1
save
AskAlexSharov Sep 19, 2024
70a2f09
save
AskAlexSharov Sep 19, 2024
365f56b
save
AskAlexSharov Sep 19, 2024
f413c5a
save
AskAlexSharov Sep 20, 2024
6ed48b7
save
awskii Sep 23, 2024
725c4c2
save
AskAlexSharov Sep 24, 2024
539f640
Merge branch 'simplify_lru' into memo2-unfold
AskAlexSharov Sep 24, 2024
1b91620
save
awskii Sep 24, 2024
ae6e5cb
save
awskii Sep 24, 2024
18a5a46
save
awskii Sep 24, 2024
2a636fb
save
awskii Sep 25, 2024
e342961
save
awskii Sep 25, 2024
364b75b
save
awskii Sep 25, 2024
55bda26
save
awskii Sep 25, 2024
f3aee22
save
awskii Sep 25, 2024
3a79b70
save
awskii Sep 26, 2024
34d5417
save
Giulio2002 Sep 27, 2024
57ce9b2
save
Giulio2002 Sep 27, 2024
4ca1f30
save
Giulio2002 Sep 27, 2024
b077890
save
Giulio2002 Sep 27, 2024
cc43cd9
Merge branch 'chain-tip-mgas' into memo2-unfold-newgas
awskii Sep 27, 2024
c553113
Merge branch 'main' into rebuild-commit3
awskii Sep 27, 2024
8068f18
save
awskii Sep 27, 2024
9b3cde0
save
awskii Sep 27, 2024
e9215e5
save
awskii Sep 27, 2024
40a6090
save
awskii Sep 27, 2024
da72e50
save
awskii Sep 27, 2024
d332008
save
awskii Sep 27, 2024
98375ef
save
awskii Sep 27, 2024
bdf5b66
save
awskii Sep 27, 2024
5f391c2
save
awskii Sep 27, 2024
27b69c6
save
awskii Sep 27, 2024
3246874
save
awskii Sep 27, 2024
274dcfa
Merge branch 'memo2-unfold-newgas' into rebuild-memoized
awskii Sep 27, 2024
be7a05c
Merge branch 'main' into rebuild-memoized
awskii Sep 27, 2024
915de8a
save
awskii Sep 27, 2024
72bcccd
save
awskii Sep 27, 2024
2eea815
save
awskii Sep 27, 2024
80f040f
save
awskii Sep 30, 2024
6c28d9d
save
awskii Sep 30, 2024
2a8e843
save
awskii Sep 30, 2024
1d23178
save
awskii Sep 30, 2024
5f8b41b
save
awskii Sep 30, 2024
8f8baa5
save
awskii Sep 30, 2024
8e81860
Merge branch 'main' into memo2-unfold
awskii Sep 30, 2024
3437953
save
awskii Oct 1, 2024
2f982d7
save
awskii Oct 1, 2024
622ec60
save
awskii Oct 1, 2024
3072198
save
awskii Oct 1, 2024
56bb14d
save
awskii Oct 1, 2024
fa98344
save
awskii Oct 1, 2024
540b69d
save
awskii Oct 1, 2024
273183a
save
awskii Oct 1, 2024
7f867c5
save
awskii Oct 1, 2024
105ad6a
save
awskii Oct 1, 2024
04e9ec4
save
awskii Oct 1, 2024
056d706
save
awskii Oct 1, 2024
662e48e
save
awskii Oct 1, 2024
ba26497
save
awskii Oct 1, 2024
6259f0a
save
awskii Oct 1, 2024
640e06b
save
awskii Oct 1, 2024
5e8145d
save
awskii Oct 1, 2024
4a02a76
save
awskii Oct 1, 2024
210428a
save
awskii Oct 1, 2024
f56b627
save
awskii Oct 1, 2024
6a4ea67
save
awskii Oct 1, 2024
60c71ce
save
awskii Oct 1, 2024
5228562
save
awskii Oct 1, 2024
38da853
save
awskii Oct 1, 2024
0869932
save
awskii Oct 1, 2024
40a9beb
save
awskii Oct 1, 2024
6a6b386
g
awskii Oct 1, 2024
bc70564
save
awskii Oct 2, 2024
4f24c40
save
awskii Oct 2, 2024
3a9d46c
save
awskii Oct 2, 2024
d5e7b20
save
awskii Oct 2, 2024
f131d64
save
awskii Oct 2, 2024
81eb15f
save
awskii Oct 2, 2024
0b0e9b6
save
awskii Oct 2, 2024
b9df355
save
awskii Oct 2, 2024
a03c186
save
awskii Oct 2, 2024
258723e
save
awskii Oct 2, 2024
1937b98
save
awskii Oct 2, 2024
3849356
save
awskii Oct 2, 2024
d85fba3
save
awskii Oct 2, 2024
a872428
save
awskii Oct 2, 2024
4939bb2
save
awskii Oct 2, 2024
37493ad
save
awskii Oct 2, 2024
df68a19
save
awskii Oct 2, 2024
9ed3ff9
save
awskii Oct 2, 2024
fd3b02d
save
awskii Oct 2, 2024
4074afd
Merge branch 'main' into memo2-unfold
awskii Oct 2, 2024
6306105
save
awskii Oct 3, 2024
95ad291
save
awskii Oct 3, 2024
0cf7850
save
awskii Oct 3, 2024
f0525d1
save
awskii Oct 3, 2024
174da4a
save
awskii Oct 3, 2024
4064c65
save
awskii Oct 3, 2024
ba37711
save
awskii Oct 3, 2024
73cb085
Merge branch 'main' into memo2-unfold
awskii Oct 4, 2024
253fb14
Merge branch 'memo2-unfold' into rebuild-memoized
awskii Oct 4, 2024
e81d999
save
awskii Oct 4, 2024
3bde2f6
t Merge branch 'main' into memo2-unfold
awskii Oct 4, 2024
df3775e
ysave
awskii Oct 4, 2024
778330c
save
awskii Oct 7, 2024
09c6c48
Merge branch 'main' into memo2-unfold
awskii Oct 7, 2024
9e65b04
save
awskii Oct 7, 2024
092eb47
asve
awskii Oct 7, 2024
6b5ed80
save
awskii Oct 7, 2024
3825678
save
awskii Oct 7, 2024
92775b1
save
awskii Oct 7, 2024
d93b607
save
awskii Oct 8, 2024
5ed6da7
save
awskii Oct 8, 2024
60e651b
breaker
awskii Oct 8, 2024
0f87023
save
awskii Oct 8, 2024
6907628
Revert "breaker"
awskii Oct 8, 2024
6611b98
save
awskii Oct 9, 2024
6e1f344
save
awskii Oct 9, 2024
86c91c4
Revert "save"
awskii Oct 9, 2024
2bf4449
save
awskii Oct 9, 2024
c926364
Merge branch 'main' into rebuild-memoized
awskii Oct 9, 2024
864e769
Merge branch 'main' into memo2-unfold
awskii Oct 9, 2024
3528a46
save lint
awskii Oct 9, 2024
0d1e27b
Merge branch 'main' into memo2-unfold
awskii Oct 10, 2024
bbb74b0
Merge branch 'main' into rebuild-memoized
awskii Oct 10, 2024
d1ea659
clean
awskii Oct 10, 2024
77ba221
Merge branch 'main' into memo2-unfold
awskii Oct 10, 2024
65813df
Merge branch 'rebuild-memoized' into memo2-unfold
awskii Oct 10, 2024
fab1db1
lock dirty sergs before incrementing ref counts
mh0lt Oct 10, 2024
6e74842
cleanp save
awskii Oct 10, 2024
6166460
test - Merge remote-tracking branch 'origin/avoid_dirty_seg_races' in…
awskii Oct 10, 2024
311b7c5
fix?
awskii Oct 11, 2024
5092938
Revert "fix?"
awskii Oct 11, 2024
6fd63ed
Merge branch 'main' into memo2-unfold
awskii Oct 11, 2024
bc0534b
save
awskii Oct 11, 2024
702b2e7
save
awskii Oct 11, 2024
604c269
Merge branch 'main' into memo2-unfold
awskii Oct 11, 2024
7fc8f05
Merge branch 'main' into memo2-unfold
awskii Oct 14, 2024
771eb5f
Merge branch 'main' into memo2-unfold
awskii Oct 14, 2024
ab882f4
save
awskii Oct 14, 2024
c86c5a6
testfx
awskii Oct 15, 2024
3da6457
testfx
awskii Oct 15, 2024
7fa7f09
skip metrics
awskii Oct 15, 2024
fa8b62b
Merge branch 'main' into memo2-unfold
awskii Oct 15, 2024
67147cd
save
awskii Oct 15, 2024
98cb02c
save
awskii Oct 15, 2024
4b03faf
save
awskii Oct 15, 2024
4f015ba
save
awskii Oct 15, 2024
7202d79
cleanup
awskii Oct 15, 2024
655f335
save
awskii Oct 15, 2024
647ec8d
rebuild-memoized: fixes (#12324)
AskAlexSharov Oct 16, 2024
00883b2
Merge branch 'main' into memo2-unfold
awskii Oct 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ on:
- 'release/**'
pull_request:
branches:
- main
- 'release/**'
- '**'
types:
- opened
- reopened
Expand Down
92 changes: 77 additions & 15 deletions cmd/commitment-prefix/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
package main

import (
"bytes"
"errors"
"flag"
"fmt"
Expand All @@ -42,6 +43,8 @@ var (
flagConcurrency = flag.Int("j", 4, "amount of concurrently proceeded files")
flagTrieVariant = flag.String("trie", "hex", "commitment trie variant (values are hex and bin)")
flagCompression = flag.String("compression", "none", "compression type (none, k, v, kv)")
flagPrintState = flag.Bool("state", false, "print state of file")
flagDepth = flag.Int("depth", 0, "depth of the prefixes to analyze")
)

func main() {
Expand Down Expand Up @@ -69,9 +72,10 @@ func proceedFiles(files []string) {

for i, fp := range files {
fpath, pos := fp, i
_ = pos
<-sema

fmt.Printf("\r[%d/%d] - %s..", pos+1, len(files), path.Base(fpath))
fmt.Printf("[%d/%d] - %s..", pos+1, len(files), path.Base(fpath))

wg.Add(1)
go func(wg *sync.WaitGroup, mu *sync.Mutex) {
Expand All @@ -86,16 +90,19 @@ func proceedFiles(files []string) {

mu.Lock()
page.AddCharts(

prefixLenCountChart(fpath, stat),
countersChart(fpath, stat),
mediansChart(fpath, stat),
fileContentsMapChart(fpath, stat),
)
mu.Unlock()
}(&wg, &mu)
}
wg.Wait()
fmt.Println()
if *flagPrintState {
return
}

dir := filepath.Dir(files[0])
if *flagOutputDirectory != "" {
Expand Down Expand Up @@ -180,21 +187,39 @@ func extractKVPairFromCompressed(filename string, keysSink chan commitment.Branc
size := dec.Size()
paris := dec.Count() / 2
cpair := 0

depth := *flagDepth
var afterValPos uint64
var key, val []byte
getter := seg.NewReader(dec.MakeGetter(), fc)
for getter.HasNext() {
key, _ := getter.Next(nil)
key, _ = getter.Next(key[:0])
if !getter.HasNext() {
return errors.New("invalid key/value pair during decompression")
}
val, afterValPos := getter.Next(nil)
if *flagPrintState && !bytes.Equal(key, []byte("state")) {
getter.Skip()
continue
}

val, afterValPos = getter.Next(val[:0])
cpair++
if bytes.Equal(key, []byte("state")) {
str, err := commitment.HexTrieStateToString(val)
if err != nil {
fmt.Printf("[ERR] failed to decode state: %v", err)
}
fmt.Printf("\n%s: %s\n", dec.FileName(), str)
continue
}

if cpair%100000 == 0 {
fmt.Printf("\r%s pair %d/%d %s/%s", filename, cpair, paris,
datasize.ByteSize(afterValPos).HumanReadable(), datasize.ByteSize(size).HumanReadable())
}

if depth > len(key) {
continue
}
stat := commitment.DecodeBranchAndCollectStat(key, val, tv)
if stat == nil {
fmt.Printf("failed to decode branch: %x %x\n", key, val)
Expand Down Expand Up @@ -252,7 +277,7 @@ func prefixLenCountChart(fname string, data *overallStat) *charts.Pie {
pie := charts.NewPie()
pie.SetGlobalOptions(
charts.WithTooltipOpts(opts.Tooltip{Show: true}),
charts.WithTitleOpts(opts.Title{Subtitle: fname, Title: "key prefix length distribution (bytes)", Top: "25"}),
charts.WithTitleOpts(opts.Title{Subtitle: filepath.Base(fname), Title: "key prefix length distribution (bytes)", Top: "25"}),
)

pie.AddSeries("prefixLen/count", items)
Expand Down Expand Up @@ -285,13 +310,17 @@ func fileContentsMapChart(fileName string, data *overallStat) *charts.TreeMap {
Value: int(data.branches.ExtSize),
},
{
Name: "apk",
Name: "accountKey",
Value: int(data.branches.APKSize),
},
{
Name: "spk",
Name: "storageKey",
Value: int(data.branches.SPKSize),
},
{
Name: "leafHashes",
Value: int(data.branches.LeafHashSize),
},
}

graph := charts.NewTreeMap()
Expand All @@ -305,12 +334,10 @@ func fileContentsMapChart(fileName string, data *overallStat) *charts.TreeMap {
)

// Add initialized data to graph.
graph.AddSeries(fileName, TreeMap).
graph.AddSeries(filepath.Base(fileName), TreeMap).
SetSeriesOptions(
charts.WithTreeMapOpts(
opts.TreeMapChart{
Animation: true,
//Roam: true,
UpperLabel: &opts.UpperLabel{Show: true, Color: "#fff"},
Levels: &[]opts.TreeMapLevel{
{ // Series
Expand Down Expand Up @@ -383,9 +410,6 @@ func countersChart(fname string, data *overallStat) *charts.Sankey {
sankey.SetGlobalOptions(
charts.WithLegendOpts(opts.Legend{Show: true}),
charts.WithTooltipOpts(opts.Tooltip{Show: true}),
//charts.WithTitleOpts(opts.Title{
// Title: "Sankey-basic-example",
//}),
)

nodes := []opts.SankeyNode{
Expand All @@ -394,15 +418,53 @@ func countersChart(fname string, data *overallStat) *charts.Sankey {
{Name: "SPK"},
{Name: "Hashes"},
{Name: "Extensions"},
{Name: "LeafHashes"},
}
sankeyLink := []opts.SankeyLink{
{Source: nodes[0].Name, Target: nodes[1].Name, Value: float32(data.branches.APKCount)},
{Source: nodes[0].Name, Target: nodes[2].Name, Value: float32(data.branches.SPKCount)},
{Source: nodes[0].Name, Target: nodes[3].Name, Value: float32(data.branches.HashCount)},
{Source: nodes[0].Name, Target: nodes[4].Name, Value: float32(data.branches.ExtCount)},
{Source: nodes[0].Name, Target: nodes[5].Name, Value: float32(data.branches.LeafHashCount)},
}

sankey.AddSeries("Counts "+filepath.Base(fname), nodes, sankeyLink).
SetSeriesOptions(
charts.WithLineStyleOpts(opts.LineStyle{
Color: "source",
Curveness: 0.5,
}),
charts.WithLabelOpts(opts.Label{
Show: true,
}),
)
return sankey
}

func mediansChart(fname string, data *overallStat) *charts.Sankey {
sankey := charts.NewSankey()
sankey.SetGlobalOptions(
charts.WithLegendOpts(opts.Legend{Show: true}),
charts.WithTooltipOpts(opts.Tooltip{Show: true}),
)

nodes := []opts.SankeyNode{
{Name: "Cells"},
{Name: "Addr"},
{Name: "Addr+Storage"},
{Name: "Hashes"},
{Name: "Extensions"},
{Name: "LeafHashes"},
}
sankeyLink := []opts.SankeyLink{
{Source: nodes[0].Name, Target: nodes[1].Name, Value: float32(data.branches.MedianAPK)},
{Source: nodes[0].Name, Target: nodes[2].Name, Value: float32(data.branches.MedianSPK)},
{Source: nodes[0].Name, Target: nodes[3].Name, Value: float32(data.branches.MedianHash)},
{Source: nodes[0].Name, Target: nodes[4].Name, Value: float32(data.branches.MedianExt)},
{Source: nodes[0].Name, Target: nodes[5].Name, Value: float32(data.branches.MedianLH)},
}

sankey.AddSeries(fname, nodes, sankeyLink).
sankey.AddSeries("Medians "+filepath.Base(fname), nodes, sankeyLink).
SetSeriesOptions(
charts.WithLineStyleOpts(opts.LineStyle{
Color: "source",
Expand Down
11 changes: 3 additions & 8 deletions cmd/integration/commands/stages.go
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ var cmdStageCustomTrace = &cobra.Command{
}

var cmdStagePatriciaTrie = &cobra.Command{
Use: "rebuild_trie3_files",
Use: "commitment_rebuild",
Short: "",
Run: func(cmd *cobra.Command, args []string) {
logger := debug.SetupCobra(cmd, "integration")
Expand Down Expand Up @@ -1178,20 +1178,15 @@ func stagePatriciaTrie(db kv.RwDB, ctx context.Context, logger log.Logger) error
if reset {
return reset2.Reset(ctx, db, stages.Execution)
}
tx, err := db.BeginRw(ctx)
if err != nil {
return err
}
defer tx.Rollback()

br, _ := blocksIO(db, logger)
historyV3 := true
cfg := stagedsync.StageTrieCfg(db, true /* checkRoot */, true /* saveHashesToDb */, false /* badBlockHalt */, dirs.Tmp, br, nil /* hd */, historyV3, agg)

if _, err := stagedsync.RebuildPatriciaTrieBasedOnFiles(tx, cfg, ctx, logger); err != nil {
if _, err := stagedsync.RebuildPatriciaTrieBasedOnFiles(ctx, cfg); err != nil {
return err
}
return tx.Commit()
return nil
}

func stageTxLookup(db kv.RwDB, ctx context.Context, logger log.Logger) error {
Expand Down
Loading
Loading