Skip to content

Commit

Permalink
remove mentions of go-ethereum
Browse files Browse the repository at this point in the history
  • Loading branch information
mandrigin committed Mar 15, 2021
1 parent a486baa commit 8014fd1
Show file tree
Hide file tree
Showing 13 changed files with 45 additions and 135 deletions.
8 changes: 4 additions & 4 deletions graphql/graphql_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ import (
"time"

"github.com/ledgerwatch/turbo-geth/eth"
"github.com/ethereum/go-ethereum/consensus/ethash"
"github.com/ethereum/go-ethereum/core"
"github.com/ethereum/go-ethereum/ethconfig"
"github.com/ledgerwatch/turbo-geth/consensus/ethash"
"github.com/ledgerwatch/turbo-geth/core"
"github.com/ledgerwatch/turbo-geth/ethconfig"
"github.com/ledgerwatch/turbo-geth/node"
"github.com/ethereum/go-ethereum/params"
"github.com/ledgerwatch/turbo-geth/params"

"github.com/stretchr/testify/assert"
)
Expand Down
88 changes: 0 additions & 88 deletions les/state_accessor.go

This file was deleted.

2 changes: 1 addition & 1 deletion oss-fuzz.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
# $LIB_FUZZING_ENGINE C++ compiler argument to link fuzz target against the prebuilt engine library (e.g. libFuzzer).

# This sets the -coverpgk for the coverage report when the corpus is executed through go test
coverpkg="github.com/ethereum/go-ethereum/..."
coverpkg="github.com/ledgerwatch/turbo-geth/..."

function coverbuild {
path=$1
Expand Down
2 changes: 1 addition & 1 deletion tests/fuzzers/bitutil/compress_fuzz.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package bitutil
import (
"bytes"

"github.com/ethereum/go-ethereum/common/bitutil"
"github.com/ledgerwatch/turbo-geth/common/bitutil"
)

// Fuzz implements a go-fuzz fuzzer method to test various encoding method
Expand Down
4 changes: 2 additions & 2 deletions tests/fuzzers/bls12381/bls_fuzzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ import (
"bytes"
"fmt"

"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/vm"
"github.com/ledgerwatch/turbo-geth/common"
"github.com/ledgerwatch/turbo-geth/core/vm"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion tests/fuzzers/difficulty/debug/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"io/ioutil"
"os"

"github.com/ethereum/go-ethereum/tests/fuzzers/difficulty"
"github.com/ledgerwatch/turbo-geth/tests/fuzzers/difficulty"
)

func main() {
Expand Down
4 changes: 2 additions & 2 deletions tests/fuzzers/difficulty/difficulty-fuzz.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ import (
"io"
"math/big"

"github.com/ethereum/go-ethereum/consensus/ethash"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ledgerwatch/turbo-geth/consensus/ethash"
"github.com/ledgerwatch/turbo-geth/core/types"
)

type fuzzer struct {
Expand Down
2 changes: 1 addition & 1 deletion tests/fuzzers/les/debug/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"io/ioutil"
"os"

"github.com/ethereum/go-ethereum/tests/fuzzers/les"
"github.com/ledgerwatch/turbo-geth/tests/fuzzers/les"
)

func main() {
Expand Down
22 changes: 11 additions & 11 deletions tests/fuzzers/les/les-fuzzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,17 @@ import (
"io"
"math/big"

"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/consensus/ethash"
"github.com/ethereum/go-ethereum/core"
"github.com/ethereum/go-ethereum/core/rawdb"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/core/vm"
"github.com/ethereum/go-ethereum/crypto"
l "github.com/ethereum/go-ethereum/les"
"github.com/ethereum/go-ethereum/params"
"github.com/ethereum/go-ethereum/rlp"
"github.com/ethereum/go-ethereum/trie"
"github.com/ledgerwatch/turbo-geth/common"
"github.com/ledgerwatch/turbo-geth/consensus/ethash"
"github.com/ledgerwatch/turbo-geth/core"
"github.com/ledgerwatch/turbo-geth/core/rawdb"
"github.com/ledgerwatch/turbo-geth/core/types"
"github.com/ledgerwatch/turbo-geth/core/vm"
"github.com/ledgerwatch/turbo-geth/crypto"
l "github.com/ledgerwatch/turbo-geth/les"
"github.com/ledgerwatch/turbo-geth/params"
"github.com/ledgerwatch/turbo-geth/rlp"
"github.com/ledgerwatch/turbo-geth/trie"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion tests/fuzzers/rangeproof/debug/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"io/ioutil"
"os"

"github.com/ethereum/go-ethereum/tests/fuzzers/rangeproof"
"github.com/ledgerwatch/turbo-geth/tests/fuzzers/rangeproof"
)

func main() {
Expand Down
6 changes: 3 additions & 3 deletions tests/fuzzers/rangeproof/rangeproof-fuzzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ import (
"io"
"sort"

"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/ethdb/memorydb"
"github.com/ethereum/go-ethereum/trie"
"github.com/ledgerwatch/turbo-geth/common"
"github.com/ledgerwatch/turbo-geth/ethdb/memorydb"
"github.com/ledgerwatch/turbo-geth/trie"
)

type kv struct {
Expand Down
2 changes: 1 addition & 1 deletion tests/fuzzers/runtime/runtime_fuzz.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package runtime

import (
"github.com/ethereum/go-ethereum/core/vm/runtime"
"github.com/ledgerwatch/turbo-geth/core/vm/runtime"
)

// Fuzz is the basic entry point for the go-fuzz tool
Expand Down
36 changes: 17 additions & 19 deletions tests/state_test_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,16 @@ import (
"strings"

"github.com/holiman/uint256"
"github.com/ethereum/go-ethereum/common/hexutil"
"github.com/ethereum/go-ethereum/common/math"
"github.com/ethereum/go-ethereum/core"
"github.com/ethereum/go-ethereum/core/rawdb"
"github.com/ethereum/go-ethereum/core/state"
"github.com/ethereum/go-ethereum/core/state/snapshot"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/core/vm"
"github.com/ethereum/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/ethdb"
"github.com/ethereum/go-ethereum/params"
"github.com/ethereum/go-ethereum/rlp"
"github.com/ledgerwatch/turbo-geth/common/hexutil"
"github.com/ledgerwatch/turbo-geth/common/math"
"github.com/ledgerwatch/turbo-geth/core"
"github.com/ledgerwatch/turbo-geth/core/state"
"github.com/ledgerwatch/turbo-geth/core/types"
"github.com/ledgerwatch/turbo-geth/core/vm"
"github.com/ledgerwatch/turbo-geth/crypto"
"github.com/ledgerwatch/turbo-geth/ethdb"
"github.com/ledgerwatch/turbo-geth/params"
"github.com/ledgerwatch/turbo-geth/rlp"
"golang.org/x/crypto/sha3"

"github.com/ledgerwatch/turbo-geth/common"
Expand Down Expand Up @@ -108,14 +106,14 @@ type stEnvMarshaling struct {
//go:generate gencodec -type stTransaction -field-override stTransactionMarshaling -out gen_sttransaction.go

type stTransaction struct {
GasPrice *uint256.Int `json:"gasPrice"`
Nonce uint64 `json:"nonce"`
To string `json:"to"`
Data []string `json:"data"`
GasPrice *uint256.Int `json:"gasPrice"`
Nonce uint64 `json:"nonce"`
To string `json:"to"`
Data []string `json:"data"`
AccessLists []*types.AccessList `json:"accessLists,omitempty"`
GasLimit []uint64 `json:"gasLimit"`
Value []string `json:"value"`
PrivateKey []byte `json:"secretKey"`
GasLimit []uint64 `json:"gasLimit"`
Value []string `json:"value"`
PrivateKey []byte `json:"secretKey"`
}

type stTransactionMarshaling struct {
Expand Down

0 comments on commit 8014fd1

Please sign in to comment.