Skip to content

Commit

Permalink
ethersocial 0.3.10 release
Browse files Browse the repository at this point in the history
  • Loading branch information
Kim Myeonghun committed Dec 13, 2018
1 parent 34d15c3 commit 674cc9b
Show file tree
Hide file tree
Showing 710 changed files with 2,891 additions and 2,891 deletions.
4 changes: 2 additions & 2 deletions accounts/abi/abi_test.go
Expand Up @@ -27,8 +27,8 @@ import (

"reflect"

"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/crypto"
"github.com/ethersocial/go-ethersocial/common"
"github.com/ethersocial/go-ethersocial/crypto"
)

const jsondata = `
Expand Down
8 changes: 4 additions & 4 deletions accounts/abi/bind/auth.go
Expand Up @@ -22,10 +22,10 @@ import (
"io"
"io/ioutil"

"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/ethersocial/go-ethersocial/accounts/keystore"
"github.com/ethersocial/go-ethersocial/common"
"github.com/ethersocial/go-ethersocial/core/types"
"github.com/ethersocial/go-ethersocial/crypto"
)

// NewTransactor is a utility method to easily create a transaction signer from
Expand Down
6 changes: 3 additions & 3 deletions accounts/abi/bind/backend.go
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/ethersocial/go-ethersocial"
"github.com/ethersocial/go-ethersocial/common"
"github.com/ethersocial/go-ethersocial/core/types"
)

var (
Expand Down
32 changes: 16 additions & 16 deletions accounts/abi/bind/backends/simulated.go
Expand Up @@ -24,22 +24,22 @@ import (
"sync"
"time"

"github.com/ethereum/go-ethereum"
"github.com/ethereum/go-ethereum/accounts/abi/bind"
"github.com/ethereum/go-ethereum/common"
"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/params"
"github.com/ethereum/go-ethereum/rpc"
"github.com/ethersocial/go-ethersocial"
"github.com/ethersocial/go-ethersocial/accounts/abi/bind"
"github.com/ethersocial/go-ethersocial/common"
"github.com/ethersocial/go-ethersocial/common/math"
"github.com/ethersocial/go-ethersocial/consensus/ethash"
"github.com/ethersocial/go-ethersocial/core"
"github.com/ethersocial/go-ethersocial/core/bloombits"
"github.com/ethersocial/go-ethersocial/core/rawdb"
"github.com/ethersocial/go-ethersocial/core/state"
"github.com/ethersocial/go-ethersocial/core/types"
"github.com/ethersocial/go-ethersocial/core/vm"
"github.com/ethersocial/go-ethersocial/eth/filters"
"github.com/ethersocial/go-ethersocial/ethdb"
"github.com/ethersocial/go-ethersocial/event"
"github.com/ethersocial/go-ethersocial/params"
"github.com/ethersocial/go-ethersocial/rpc"
)

// This nil assignment ensures compile time that SimulatedBackend implements bind.ContractBackend.
Expand Down
12 changes: 6 additions & 6 deletions accounts/abi/bind/base.go
Expand Up @@ -22,12 +22,12 @@ import (
"fmt"
"math/big"

"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/ethersocial/go-ethersocial"
"github.com/ethersocial/go-ethersocial/accounts/abi"
"github.com/ethersocial/go-ethersocial/common"
"github.com/ethersocial/go-ethersocial/core/types"
"github.com/ethersocial/go-ethersocial/crypto"
"github.com/ethersocial/go-ethersocial/event"
)

// SignerFn is a signer function callback when a contract requires a method to
Expand Down
2 changes: 1 addition & 1 deletion accounts/abi/bind/bind.go
Expand Up @@ -29,7 +29,7 @@ import (
"text/template"
"unicode"

"github.com/ethereum/go-ethereum/accounts/abi"
"github.com/ethersocial/go-ethersocial/accounts/abi"
)

// Lang is a target programming language selector to generate bindings for.
Expand Down
108 changes: 54 additions & 54 deletions accounts/abi/bind/bind_test.go

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions accounts/abi/bind/template.go
Expand Up @@ -16,7 +16,7 @@

package bind

import "github.com/ethereum/go-ethereum/accounts/abi"
import "github.com/ethersocial/go-ethersocial/accounts/abi"

// tmplData is the data structure required to fill the binding template.
type tmplData struct {
Expand Down Expand Up @@ -68,12 +68,12 @@ import (
"math/big"
"strings"
ethereum "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/types"
"github.com/ethereum/go-ethereum/event"
ethereum "github.com/ethersocial/go-ethersocial"
"github.com/ethersocial/go-ethersocial/accounts/abi"
"github.com/ethersocial/go-ethersocial/accounts/abi/bind"
"github.com/ethersocial/go-ethersocial/common"
"github.com/ethersocial/go-ethersocial/core/types"
"github.com/ethersocial/go-ethersocial/event"
)
// Reference imports to suppress errors if they are not otherwise used.
Expand Down
6 changes: 3 additions & 3 deletions accounts/abi/bind/topics.go
Expand Up @@ -22,9 +22,9 @@ import (
"math/big"
"reflect"

"github.com/ethereum/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/crypto"
"github.com/ethersocial/go-ethersocial/accounts/abi"
"github.com/ethersocial/go-ethersocial/common"
"github.com/ethersocial/go-ethersocial/crypto"
)

// makeTopics converts a filter query argument list into a filter topic set.
Expand Down
6 changes: 3 additions & 3 deletions accounts/abi/bind/util.go
Expand Up @@ -21,9 +21,9 @@ import (
"fmt"
"time"

"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/log"
"github.com/ethersocial/go-ethersocial/common"
"github.com/ethersocial/go-ethersocial/core/types"
"github.com/ethersocial/go-ethersocial/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
Expand Up @@ -22,12 +22,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/ethersocial/go-ethersocial/accounts/abi/bind"
"github.com/ethersocial/go-ethersocial/accounts/abi/bind/backends"
"github.com/ethersocial/go-ethersocial/common"
"github.com/ethersocial/go-ethersocial/core"
"github.com/ethersocial/go-ethersocial/core/types"
"github.com/ethersocial/go-ethersocial/crypto"
)

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

"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/crypto"
"github.com/ethersocial/go-ethersocial/common"
"github.com/ethersocial/go-ethersocial/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
Expand Up @@ -25,8 +25,8 @@ import (
"strings"
"testing"

"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/crypto"
"github.com/ethersocial/go-ethersocial/common"
"github.com/ethersocial/go-ethersocial/crypto"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
Expand Down
2 changes: 1 addition & 1 deletion accounts/abi/method.go
Expand Up @@ -20,7 +20,7 @@ import (
"fmt"
"strings"

"github.com/ethereum/go-ethereum/crypto"
"github.com/ethersocial/go-ethersocial/crypto"
)

// Method represents a callable given a `Name` and whether the method is a constant.
Expand Down
4 changes: 2 additions & 2 deletions accounts/abi/numbers.go
Expand Up @@ -20,8 +20,8 @@ import (
"math/big"
"reflect"

"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/math"
"github.com/ethersocial/go-ethersocial/common"
"github.com/ethersocial/go-ethersocial/common/math"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions accounts/abi/pack.go
Expand Up @@ -20,8 +20,8 @@ import (
"math/big"
"reflect"

"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/math"
"github.com/ethersocial/go-ethersocial/common"
"github.com/ethersocial/go-ethersocial/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
Expand Up @@ -24,7 +24,7 @@ import (
"strings"
"testing"

"github.com/ethereum/go-ethereum/common"
"github.com/ethersocial/go-ethersocial/common"
)

func TestPack(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion accounts/abi/type_test.go
Expand Up @@ -22,7 +22,7 @@ import (
"testing"

"github.com/davecgh/go-spew/spew"
"github.com/ethereum/go-ethereum/common"
"github.com/ethersocial/go-ethersocial/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
Expand Up @@ -22,7 +22,7 @@ import (
"math/big"
"reflect"

"github.com/ethereum/go-ethereum/common"
"github.com/ethersocial/go-ethersocial/common"
)

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

"github.com/ethereum/go-ethereum/common"
"github.com/ethersocial/go-ethersocial/common"
"github.com/stretchr/testify/require"
)

Expand Down
8 changes: 4 additions & 4 deletions accounts/accounts.go
Expand Up @@ -20,10 +20,10 @@ package accounts
import (
"math/big"

ethereum "github.com/ethereum/go-ethereum"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/event"
ethereum "github.com/ethersocial/go-ethersocial"
"github.com/ethersocial/go-ethersocial/common"
"github.com/ethersocial/go-ethersocial/core/types"
"github.com/ethersocial/go-ethersocial/event"
)

// Account represents an Ethereum account located at a specific location defined
Expand Down
6 changes: 3 additions & 3 deletions accounts/keystore/account_cache.go
Expand Up @@ -28,9 +28,9 @@ import (
"time"

mapset "github.com/deckarep/golang-set"
"github.com/ethereum/go-ethereum/accounts"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/log"
"github.com/ethersocial/go-ethersocial/accounts"
"github.com/ethersocial/go-ethersocial/common"
"github.com/ethersocial/go-ethersocial/log"
)

// Minimum amount of time between cache reloads. This limit applies if the platform does
Expand Down
4 changes: 2 additions & 2 deletions accounts/keystore/account_cache_test.go
Expand Up @@ -29,8 +29,8 @@ import (

"github.com/cespare/cp"
"github.com/davecgh/go-spew/spew"
"github.com/ethereum/go-ethereum/accounts"
"github.com/ethereum/go-ethereum/common"
"github.com/ethersocial/go-ethersocial/accounts"
"github.com/ethersocial/go-ethersocial/common"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion accounts/keystore/file_cache.go
Expand Up @@ -25,7 +25,7 @@ import (
"time"

mapset "github.com/deckarep/golang-set"
"github.com/ethereum/go-ethereum/log"
"github.com/ethersocial/go-ethersocial/log"
)

// fileCache is a cache of files seen during scan of keystore.
Expand Down
6 changes: 3 additions & 3 deletions accounts/keystore/key.go
Expand Up @@ -29,9 +29,9 @@ import (
"strings"
"time"

"github.com/ethereum/go-ethereum/accounts"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/crypto"
"github.com/ethersocial/go-ethersocial/accounts"
"github.com/ethersocial/go-ethersocial/common"
"github.com/ethersocial/go-ethersocial/crypto"
"github.com/pborman/uuid"
)

Expand Down
10 changes: 5 additions & 5 deletions accounts/keystore/keystore.go
Expand Up @@ -33,11 +33,11 @@ import (
"sync"
"time"

"github.com/ethereum/go-ethereum/accounts"
"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/ethersocial/go-ethersocial/accounts"
"github.com/ethersocial/go-ethersocial/common"
"github.com/ethersocial/go-ethersocial/core/types"
"github.com/ethersocial/go-ethersocial/crypto"
"github.com/ethersocial/go-ethersocial/event"
)

var (
Expand Down
6 changes: 3 additions & 3 deletions accounts/keystore/keystore_test.go
Expand Up @@ -26,9 +26,9 @@ import (
"testing"
"time"

"github.com/ethereum/go-ethereum/accounts"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/event"
"github.com/ethersocial/go-ethersocial/accounts"
"github.com/ethersocial/go-ethersocial/common"
"github.com/ethersocial/go-ethersocial/event"
)

var testSigData = make([]byte, 32)
Expand Down
6 changes: 3 additions & 3 deletions accounts/keystore/passphrase.go
Expand Up @@ -38,9 +38,9 @@ import (
"os"
"path/filepath"

"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/math"
"github.com/ethereum/go-ethereum/crypto"
"github.com/ethersocial/go-ethersocial/common"
"github.com/ethersocial/go-ethersocial/common/math"
"github.com/ethersocial/go-ethersocial/crypto"
"github.com/pborman/uuid"
"golang.org/x/crypto/pbkdf2"
"golang.org/x/crypto/scrypt"
Expand Down
2 changes: 1 addition & 1 deletion accounts/keystore/passphrase_test.go
Expand Up @@ -20,7 +20,7 @@ import (
"io/ioutil"
"testing"

"github.com/ethereum/go-ethereum/common"
"github.com/ethersocial/go-ethersocial/common"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion accounts/keystore/plain.go
Expand Up @@ -22,7 +22,7 @@ import (
"os"
"path/filepath"

"github.com/ethereum/go-ethereum/common"
"github.com/ethersocial/go-ethersocial/common"
)

type keyStorePlain struct {
Expand Down

0 comments on commit 674cc9b

Please sign in to comment.