Skip to content

Commit

Permalink
Refactoring go mod name via GoLand shift + f6
Browse files Browse the repository at this point in the history
  • Loading branch information
alanorwick committed Oct 25, 2021
1 parent 21c4a20 commit 3896177
Show file tree
Hide file tree
Showing 771 changed files with 3,292 additions and 3,292 deletions.
4 changes: 2 additions & 2 deletions accounts/abi/abi.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ import (
"fmt"
"io"

"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/crypto"
"github.com/spruce-solutions/go-quai/common"
"github.com/spruce-solutions/go-quai/crypto"
)

// The ABI holds information about a contract's context and available
Expand Down
6 changes: 3 additions & 3 deletions accounts/abi/abi_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ import (
"strings"
"testing"

"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/math"
"github.com/ethereum/go-ethereum/crypto"
"github.com/spruce-solutions/go-quai/common"
"github.com/spruce-solutions/go-quai/common/math"
"github.com/spruce-solutions/go-quai/crypto"
)

const jsondata = `
Expand Down
14 changes: 7 additions & 7 deletions accounts/abi/bind/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ import (
"io/ioutil"
"math/big"

"github.com/ethereum/go-ethereum/accounts"
"github.com/ethereum/go-ethereum/accounts/external"
"github.com/ethereum/go-ethereum/accounts/keystore"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/log"
"github.com/spruce-solutions/go-quai/accounts"
"github.com/spruce-solutions/go-quai/accounts/external"
"github.com/spruce-solutions/go-quai/accounts/keystore"
"github.com/spruce-solutions/go-quai/common"
"github.com/spruce-solutions/go-quai/core/types"
"github.com/spruce-solutions/go-quai/crypto"
"github.com/spruce-solutions/go-quai/log"
)

// ErrNoChainID is returned whenever the user failed to specify a chain id.
Expand Down
6 changes: 3 additions & 3 deletions accounts/abi/bind/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ import (
"errors"
"math/big"

"github.com/ethereum/go-ethereum"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
"github.com/spruce-solutions/go-quai"
"github.com/spruce-solutions/go-quai/common"
"github.com/spruce-solutions/go-quai/core/types"
)

var (
Expand Down
38 changes: 19 additions & 19 deletions accounts/abi/bind/backends/simulated.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,25 +24,25 @@ import (
"sync"
"time"

"github.com/ethereum/go-ethereum"
"github.com/ethereum/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/accounts/abi/bind"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/hexutil"
"github.com/ethereum/go-ethereum/common/math"
"github.com/ethereum/go-ethereum/consensus/ethash"
"github.com/ethereum/go-ethereum/core"
"github.com/ethereum/go-ethereum/core/bloombits"
"github.com/ethereum/go-ethereum/core/rawdb"
"github.com/ethereum/go-ethereum/core/state"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/core/vm"
"github.com/ethereum/go-ethereum/eth/filters"
"github.com/ethereum/go-ethereum/ethdb"
"github.com/ethereum/go-ethereum/event"
"github.com/ethereum/go-ethereum/log"
"github.com/ethereum/go-ethereum/params"
"github.com/ethereum/go-ethereum/rpc"
"github.com/spruce-solutions/go-quai"
"github.com/spruce-solutions/go-quai/accounts/abi"
"github.com/spruce-solutions/go-quai/accounts/abi/bind"
"github.com/spruce-solutions/go-quai/common"
"github.com/spruce-solutions/go-quai/common/hexutil"
"github.com/spruce-solutions/go-quai/common/math"
"github.com/spruce-solutions/go-quai/consensus/ethash"
"github.com/spruce-solutions/go-quai/core"
"github.com/spruce-solutions/go-quai/core/bloombits"
"github.com/spruce-solutions/go-quai/core/rawdb"
"github.com/spruce-solutions/go-quai/core/state"
"github.com/spruce-solutions/go-quai/core/types"
"github.com/spruce-solutions/go-quai/core/vm"
"github.com/spruce-solutions/go-quai/eth/filters"
"github.com/spruce-solutions/go-quai/ethdb"
"github.com/spruce-solutions/go-quai/event"
"github.com/spruce-solutions/go-quai/log"
"github.com/spruce-solutions/go-quai/params"
"github.com/spruce-solutions/go-quai/rpc"
)

// This nil assignment ensures at compile time that SimulatedBackend implements bind.ContractBackend.
Expand Down
16 changes: 8 additions & 8 deletions accounts/abi/bind/backends/simulated_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ import (
"testing"
"time"

"github.com/ethereum/go-ethereum"
"github.com/ethereum/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/accounts/abi/bind"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/params"
"github.com/spruce-solutions/go-quai"
"github.com/spruce-solutions/go-quai/accounts/abi"
"github.com/spruce-solutions/go-quai/accounts/abi/bind"
"github.com/spruce-solutions/go-quai/common"
"github.com/spruce-solutions/go-quai/core"
"github.com/spruce-solutions/go-quai/core/types"
"github.com/spruce-solutions/go-quai/crypto"
"github.com/spruce-solutions/go-quai/params"
)

func TestSimulatedBackend(t *testing.T) {
Expand Down
12 changes: 6 additions & 6 deletions accounts/abi/bind/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ import (
"strings"
"sync"

"github.com/ethereum/go-ethereum"
"github.com/ethereum/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/event"
"github.com/spruce-solutions/go-quai"
"github.com/spruce-solutions/go-quai/accounts/abi"
"github.com/spruce-solutions/go-quai/common"
"github.com/spruce-solutions/go-quai/core/types"
"github.com/spruce-solutions/go-quai/crypto"
"github.com/spruce-solutions/go-quai/event"
)

// SignerFn is a signer function callback when a contract requires a method to
Expand Down
16 changes: 8 additions & 8 deletions accounts/abi/bind/base_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ import (
"strings"
"testing"

"github.com/ethereum/go-ethereum"
"github.com/ethereum/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/accounts/abi/bind"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/hexutil"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/rlp"
"github.com/spruce-solutions/go-quai"
"github.com/spruce-solutions/go-quai/accounts/abi"
"github.com/spruce-solutions/go-quai/accounts/abi/bind"
"github.com/spruce-solutions/go-quai/common"
"github.com/spruce-solutions/go-quai/common/hexutil"
"github.com/spruce-solutions/go-quai/core/types"
"github.com/spruce-solutions/go-quai/crypto"
"github.com/spruce-solutions/go-quai/rlp"
)

type mockCaller struct {
Expand Down
4 changes: 2 additions & 2 deletions accounts/abi/bind/bind.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ import (
"text/template"
"unicode"

"github.com/ethereum/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/log"
"github.com/spruce-solutions/go-quai/accounts/abi"
"github.com/spruce-solutions/go-quai/log"
)

// Lang is a target programming language selector to generate bindings for.
Expand Down
2 changes: 1 addition & 1 deletion accounts/abi/bind/bind_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"strings"
"testing"

"github.com/ethereum/go-ethereum/common"
"github.com/spruce-solutions/go-quai/common"
)

var bindTests = []struct {
Expand Down
2 changes: 1 addition & 1 deletion accounts/abi/bind/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

package bind

import "github.com/ethereum/go-ethereum/accounts/abi"
import "github.com/spruce-solutions/go-quai/accounts/abi"

// tmplData is the data structure required to fill the binding template.
type tmplData struct {
Expand Down
6 changes: 3 additions & 3 deletions accounts/abi/bind/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ import (
"errors"
"time"

"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/log"
"github.com/spruce-solutions/go-quai/common"
"github.com/spruce-solutions/go-quai/core/types"
"github.com/spruce-solutions/go-quai/log"
)

// WaitMined waits for tx to be mined on the blockchain.
Expand Down
12 changes: 6 additions & 6 deletions accounts/abi/bind/util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ import (
"testing"
"time"

"github.com/ethereum/go-ethereum/accounts/abi/bind"
"github.com/ethereum/go-ethereum/accounts/abi/bind/backends"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/crypto"
"github.com/spruce-solutions/go-quai/accounts/abi/bind"
"github.com/spruce-solutions/go-quai/accounts/abi/bind/backends"
"github.com/spruce-solutions/go-quai/common"
"github.com/spruce-solutions/go-quai/core"
"github.com/spruce-solutions/go-quai/core/types"
"github.com/spruce-solutions/go-quai/crypto"
)

var testKey, _ = crypto.HexToECDSA("b71c71a67e1177ad4e901695e1b4b9ee17ae16c6668d313eac2f96dbcda3f291")
Expand Down
4 changes: 2 additions & 2 deletions accounts/abi/event.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ import (
"fmt"
"strings"

"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/crypto"
"github.com/spruce-solutions/go-quai/common"
"github.com/spruce-solutions/go-quai/crypto"
)

// Event is an event potentially triggered by the EVM's LOG mechanism. The Event
Expand Down
4 changes: 2 additions & 2 deletions accounts/abi/event_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ import (
"strings"
"testing"

"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/crypto"
"github.com/spruce-solutions/go-quai/common"
"github.com/spruce-solutions/go-quai/crypto"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
Expand Down
2 changes: 1 addition & 1 deletion accounts/abi/method.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"fmt"
"strings"

"github.com/ethereum/go-ethereum/crypto"
"github.com/spruce-solutions/go-quai/crypto"
)

// FunctionType represents different types of functions a contract might have.
Expand Down
4 changes: 2 additions & 2 deletions accounts/abi/pack.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ import (
"math/big"
"reflect"

"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/math"
"github.com/spruce-solutions/go-quai/common"
"github.com/spruce-solutions/go-quai/common/math"
)

// packBytesSlice packs the given bytes as [L, V] as the canonical representation
Expand Down
2 changes: 1 addition & 1 deletion accounts/abi/pack_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
"strings"
"testing"

"github.com/ethereum/go-ethereum/common"
"github.com/spruce-solutions/go-quai/common"
)

// TestPack tests the general pack/unpack tests in packing_test.go
Expand Down
2 changes: 1 addition & 1 deletion accounts/abi/packing_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package abi
import (
"math/big"

"github.com/ethereum/go-ethereum/common"
"github.com/spruce-solutions/go-quai/common"
)

type packUnpackTest struct {
Expand Down
4 changes: 2 additions & 2 deletions accounts/abi/topics.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ import (
"math/big"
"reflect"

"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/crypto"
"github.com/spruce-solutions/go-quai/common"
"github.com/spruce-solutions/go-quai/crypto"
)

// MakeTopics converts a filter query argument list into a filter topic set.
Expand Down
4 changes: 2 additions & 2 deletions accounts/abi/topics_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import (
"reflect"
"testing"

"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/crypto"
"github.com/spruce-solutions/go-quai/common"
"github.com/spruce-solutions/go-quai/crypto"
)

func TestMakeTopics(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion accounts/abi/type.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"strconv"
"strings"

"github.com/ethereum/go-ethereum/common"
"github.com/spruce-solutions/go-quai/common"
)

// Type enumerator
Expand Down
2 changes: 1 addition & 1 deletion accounts/abi/type_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"testing"

"github.com/davecgh/go-spew/spew"
"github.com/ethereum/go-ethereum/common"
"github.com/spruce-solutions/go-quai/common"
)

// typeWithoutStringer is a alias for the Type type which simply doesn't implement
Expand Down
2 changes: 1 addition & 1 deletion accounts/abi/unpack.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"math/big"
"reflect"

"github.com/ethereum/go-ethereum/common"
"github.com/spruce-solutions/go-quai/common"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion accounts/abi/unpack_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"strings"
"testing"

"github.com/ethereum/go-ethereum/common"
"github.com/spruce-solutions/go-quai/common"
"github.com/stretchr/testify/require"
)

Expand Down
8 changes: 4 additions & 4 deletions accounts/accounts.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ import (
"fmt"
"math/big"

"github.com/ethereum/go-ethereum"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/event"
"github.com/spruce-solutions/go-quai"
"github.com/spruce-solutions/go-quai/common"
"github.com/spruce-solutions/go-quai/core/types"
"github.com/spruce-solutions/go-quai/event"
"golang.org/x/crypto/sha3"
)

Expand Down
2 changes: 1 addition & 1 deletion accounts/accounts_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"bytes"
"testing"

"github.com/ethereum/go-ethereum/common/hexutil"
"github.com/spruce-solutions/go-quai/common/hexutil"
)

func TestTextHash(t *testing.T) {
Expand Down
18 changes: 9 additions & 9 deletions accounts/external/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ import (
"math/big"
"sync"

"github.com/ethereum/go-ethereum"
"github.com/ethereum/go-ethereum/accounts"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/hexutil"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/event"
"github.com/ethereum/go-ethereum/log"
"github.com/ethereum/go-ethereum/rpc"
"github.com/ethereum/go-ethereum/signer/core/apitypes"
"github.com/spruce-solutions/go-quai"
"github.com/spruce-solutions/go-quai/accounts"
"github.com/spruce-solutions/go-quai/common"
"github.com/spruce-solutions/go-quai/common/hexutil"
"github.com/spruce-solutions/go-quai/core/types"
"github.com/spruce-solutions/go-quai/event"
"github.com/spruce-solutions/go-quai/log"
"github.com/spruce-solutions/go-quai/rpc"
"github.com/spruce-solutions/go-quai/signer/core/apitypes"
)

type ExternalBackend struct {
Expand Down
Loading

0 comments on commit 3896177

Please sign in to comment.