Skip to content

Commit

Permalink
make version 2 (#60)
Browse files Browse the repository at this point in the history
* make version 2

* v2
  • Loading branch information
Yutong Pei authored Jun 25, 2019
1 parent cc3c02b commit 2175910
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 9 deletions.
3 changes: 1 addition & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/iotexproject/iotex-antenna-go
module github.com/iotexproject/iotex-antenna-go/v2

require (
github.com/davecgh/go-spew v1.1.1 // indirect
Expand All @@ -14,7 +14,6 @@ require (
github.com/pkg/errors v0.8.1
github.com/stretchr/testify v1.3.0
golang.org/x/crypto v0.0.0-20190422183909-d864b10871cd // indirect
google.golang.org/appengine v1.4.0 // indirect
google.golang.org/grpc v1.20.1
)

Expand Down
4 changes: 2 additions & 2 deletions iotex/callers.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"github.com/ethereum/go-ethereum/accounts/abi"
"github.com/iotexproject/go-pkgs/hash"
"github.com/iotexproject/iotex-address/address"
"github.com/iotexproject/iotex-antenna-go/account"
"github.com/iotexproject/iotex-antenna-go/errcodes"
"github.com/iotexproject/iotex-antenna-go/v2/account"
"github.com/iotexproject/iotex-antenna-go/v2/errcodes"
"github.com/iotexproject/iotex-proto/golang/iotexapi"
"github.com/iotexproject/iotex-proto/golang/iotextypes"
"google.golang.org/grpc"
Expand Down
2 changes: 1 addition & 1 deletion iotex/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/ethereum/go-ethereum/accounts/abi"
"github.com/iotexproject/go-pkgs/hash"
"github.com/iotexproject/iotex-address/address"
"github.com/iotexproject/iotex-antenna-go/account"
"github.com/iotexproject/iotex-antenna-go/v2/account"
"github.com/iotexproject/iotex-proto/golang/iotexapi"
)

Expand Down
2 changes: 1 addition & 1 deletion iotex/contract.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"github.com/iotexproject/iotex-address/address"
"github.com/iotexproject/iotex-proto/golang/iotexapi"

"github.com/iotexproject/iotex-antenna-go/account"
"github.com/iotexproject/iotex-antenna-go/v2/account"
)

// Data is the data returned from read contract.
Expand Down
2 changes: 1 addition & 1 deletion iotex/iotex_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
"github.com/stretchr/testify/require"

"github.com/iotexproject/iotex-address/address"
"github.com/iotexproject/iotex-antenna-go/account"
"github.com/iotexproject/iotex-antenna-go/v2/account"
"github.com/iotexproject/iotex-proto/golang/iotexapi"
)

Expand Down
2 changes: 1 addition & 1 deletion iotex/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package iotex

import (
"github.com/gogo/protobuf/proto"
"github.com/iotexproject/iotex-antenna-go/account"
"github.com/iotexproject/iotex-antenna-go/v2/account"
"github.com/iotexproject/iotex-proto/golang/iotextypes"
)

Expand Down
2 changes: 1 addition & 1 deletion utils/wait/wait.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"encoding/hex"
"time"

"github.com/iotexproject/iotex-antenna-go/iotex"
"github.com/iotexproject/iotex-antenna-go/v2/iotex"
"github.com/iotexproject/iotex-proto/golang/iotexapi"
"github.com/pkg/errors"
"google.golang.org/grpc"
Expand Down

0 comments on commit 2175910

Please sign in to comment.