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

move turbo/rlphacks to erigon-lib/rlphacks #12956

Merged
merged 4 commits into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion core/types/hashing.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
"github.com/erigontech/erigon-lib/crypto"
"github.com/erigontech/erigon-lib/crypto/cryptopool"
"github.com/erigontech/erigon-lib/rlp"
"github.com/erigontech/erigon/turbo/rlphacks"
"github.com/erigontech/erigon-lib/rlphacks"
"github.com/erigontech/erigon/turbo/trie"
)

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion turbo/trie/gen_struct_step.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (

libcommon "github.com/erigontech/erigon-lib/common"

"github.com/erigontech/erigon/turbo/rlphacks"
"github.com/erigontech/erigon-lib/rlphacks"
)

// Experimental code for separating data and structural information
Expand Down
2 changes: 1 addition & 1 deletion turbo/trie/hashbuilder.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ import (
"github.com/erigontech/erigon-lib/crypto"

"github.com/erigontech/erigon-lib/rlp"
"github.com/erigontech/erigon-lib/rlphacks"
"github.com/erigontech/erigon-lib/types/accounts"
"github.com/erigontech/erigon/turbo/rlphacks"
)

const hashStackStride = length2.Hash + 1 // + 1 byte for RLP encoding
Expand Down
2 changes: 1 addition & 1 deletion turbo/trie/hasher.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import (
"github.com/erigontech/erigon-lib/crypto"

"github.com/erigontech/erigon-lib/rlp"
"github.com/erigontech/erigon/turbo/rlphacks"
"github.com/erigontech/erigon-lib/rlphacks"
)

type hasher struct {
Expand Down
2 changes: 1 addition & 1 deletion turbo/trie/stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ import (
"github.com/erigontech/erigon-lib/common/length"

"github.com/erigontech/erigon-lib/common"
"github.com/erigontech/erigon-lib/rlphacks"
"github.com/erigontech/erigon-lib/types/accounts"
"github.com/erigontech/erigon/turbo/rlphacks"
)

// StreamItem is an enum type for values that help distinguish different
Expand Down
2 changes: 1 addition & 1 deletion turbo/trie/structural_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import (
"github.com/erigontech/erigon-lib/crypto"

"github.com/erigontech/erigon-lib/common"
"github.com/erigontech/erigon/turbo/rlphacks"
"github.com/erigontech/erigon-lib/rlphacks"
)

func TestV2HashBuilding(t *testing.T) {
Expand Down
3 changes: 1 addition & 2 deletions turbo/trie/trie_root.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@ import (
length2 "github.com/erigontech/erigon-lib/common/length"
"github.com/erigontech/erigon-lib/kv"
dbutils2 "github.com/erigontech/erigon-lib/kv/dbutils"

"github.com/erigontech/erigon-lib/rlphacks"
"github.com/erigontech/erigon-lib/types/accounts"
"github.com/erigontech/erigon/turbo/rlphacks"
)

/*
Expand Down
Loading