Skip to content

Commit

Permalink
fix: ensure all import paths have aepp-sdk-go/v5
Browse files Browse the repository at this point in the history
  • Loading branch information
randomshinichi committed Oct 10, 2019
1 parent d0d5ad1 commit 23bf23a
Show file tree
Hide file tree
Showing 32 changed files with 61 additions and 61 deletions.
2 changes: 1 addition & 1 deletion account/account.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"os"
"path/filepath"

"github.com/aeternity/aepp-sdk-go/binary"
"github.com/aeternity/aepp-sdk-go/v5/binary"
"golang.org/x/crypto/ed25519"
)

Expand Down
2 changes: 1 addition & 1 deletion account/keystore.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"fmt"
"time"

config "github.com/aeternity/aepp-sdk-go/config"
config "github.com/aeternity/aepp-sdk-go/v5/config"
uuid "github.com/satori/go.uuid"
"golang.org/x/crypto/argon2"
"golang.org/x/crypto/nacl/secretbox"
Expand Down
10 changes: 5 additions & 5 deletions aeternity/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ import (
"strings"
"time"

"github.com/aeternity/aepp-sdk-go/account"
"github.com/aeternity/aepp-sdk-go/binary"
"github.com/aeternity/aepp-sdk-go/config"
"github.com/aeternity/aepp-sdk-go/naet"
"github.com/aeternity/aepp-sdk-go/transactions"
"github.com/aeternity/aepp-sdk-go/v5/account"
"github.com/aeternity/aepp-sdk-go/v5/binary"
"github.com/aeternity/aepp-sdk-go/v5/config"
"github.com/aeternity/aepp-sdk-go/v5/naet"
"github.com/aeternity/aepp-sdk-go/v5/transactions"
rlp "github.com/randomshinichi/rlpae"
)

Expand Down
2 changes: 1 addition & 1 deletion aeternity/helpers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package aeternity
import (
"testing"

"github.com/aeternity/aepp-sdk-go/binary"
"github.com/aeternity/aepp-sdk-go/v5/binary"
"github.com/aeternity/aepp-sdk-go/v5/swagguard/node/models"
"github.com/aeternity/aepp-sdk-go/v5/utils"
)
Expand Down
8 changes: 4 additions & 4 deletions cmd/account.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ import (
"runtime"
"sync"

"github.com/aeternity/aepp-sdk-go/account"
"github.com/aeternity/aepp-sdk-go/config"
"github.com/aeternity/aepp-sdk-go/naet"
"github.com/aeternity/aepp-sdk-go/transactions"
"github.com/aeternity/aepp-sdk-go/v5/account"
"github.com/aeternity/aepp-sdk-go/v5/config"
"github.com/aeternity/aepp-sdk-go/v5/naet"
"github.com/aeternity/aepp-sdk-go/v5/transactions"

"github.com/spf13/cobra"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/account_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"os"
"testing"

"github.com/aeternity/aepp-sdk-go/naet"
"github.com/aeternity/aepp-sdk-go/v5/naet"
"github.com/spf13/cobra"
)

Expand Down
6 changes: 3 additions & 3 deletions cmd/chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ import (
"errors"
"fmt"

"github.com/aeternity/aepp-sdk-go/binary"
"github.com/aeternity/aepp-sdk-go/config"
"github.com/aeternity/aepp-sdk-go/naet"
"github.com/aeternity/aepp-sdk-go/v5/binary"
"github.com/aeternity/aepp-sdk-go/v5/config"
"github.com/aeternity/aepp-sdk-go/v5/naet"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/chain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"testing"

"github.com/aeternity/aepp-sdk-go/naet"
"github.com/aeternity/aepp-sdk-go/v5/naet"
)

// Prefixing each test with Example makes go-test check the stdout
Expand Down
4 changes: 2 additions & 2 deletions cmd/contract.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"io/ioutil"
"os"

"github.com/aeternity/aepp-sdk-go/config"
"github.com/aeternity/aepp-sdk-go/naet"
"github.com/aeternity/aepp-sdk-go/v5/config"
"github.com/aeternity/aepp-sdk-go/v5/naet"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/contract_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"os"
"testing"

"github.com/aeternity/aepp-sdk-go/naet"
"github.com/aeternity/aepp-sdk-go/v5/naet"
)

func Test_compileFunc(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions cmd/inspect.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import (
"strconv"
"strings"

"github.com/aeternity/aepp-sdk-go/binary"
"github.com/aeternity/aepp-sdk-go/naet"
"github.com/aeternity/aepp-sdk-go/v5/binary"
"github.com/aeternity/aepp-sdk-go/v5/naet"

"github.com/spf13/cobra"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/inspect_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cmd
import (
"testing"

"github.com/aeternity/aepp-sdk-go/naet"
"github.com/aeternity/aepp-sdk-go/v5/naet"
)

func Test_printNameEntry(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import (
"fmt"
"os"

"github.com/aeternity/aepp-sdk-go/config"
"github.com/aeternity/aepp-sdk-go/naet"
"github.com/aeternity/aepp-sdk-go/v5/config"
"github.com/aeternity/aepp-sdk-go/v5/naet"
"github.com/spf13/cobra"
"github.com/spf13/viper"
)
Expand Down
4 changes: 2 additions & 2 deletions cmd/terminal.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (

"time"

"github.com/aeternity/aepp-sdk-go/config"
"github.com/aeternity/aepp-sdk-go/naet"
"github.com/aeternity/aepp-sdk-go/v5/config"
"github.com/aeternity/aepp-sdk-go/v5/naet"
)

func times(str string, n int) (out string) {
Expand Down
2 changes: 1 addition & 1 deletion cmd/test_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"path/filepath"
"testing"

"github.com/aeternity/aepp-sdk-go/config"
"github.com/aeternity/aepp-sdk-go/v5/config"
)

func setPrivateNetParams() {
Expand Down
8 changes: 4 additions & 4 deletions cmd/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import (
"fmt"
"math/big"

"github.com/aeternity/aepp-sdk-go/binary"
"github.com/aeternity/aepp-sdk-go/config"
"github.com/aeternity/aepp-sdk-go/naet"
"github.com/aeternity/aepp-sdk-go/transactions"
"github.com/aeternity/aepp-sdk-go/v5/binary"
"github.com/aeternity/aepp-sdk-go/v5/config"
"github.com/aeternity/aepp-sdk-go/v5/naet"
"github.com/aeternity/aepp-sdk-go/v5/transactions"
"github.com/aeternity/aepp-sdk-go/v5/utils"

"github.com/aeternity/aepp-sdk-go/v5/aeternity"
Expand Down
2 changes: 1 addition & 1 deletion cmd/tx_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cmd
import (
"testing"

"github.com/aeternity/aepp-sdk-go/config"
"github.com/aeternity/aepp-sdk-go/v5/config"
"github.com/aeternity/aepp-sdk-go/v5/aeternity"
"github.com/spf13/cobra"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/validation.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package cmd

import "github.com/aeternity/aepp-sdk-go/binary"
import "github.com/aeternity/aepp-sdk-go/v5/binary"

// IsAddress does some minor checks to ensure that the string is an ak_ address
func IsAddress(a string) bool {
Expand Down
4 changes: 2 additions & 2 deletions integration_test/aens_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"testing"
"time"

"github.com/aeternity/aepp-sdk-go/config"
"github.com/aeternity/aepp-sdk-go/naet"
"github.com/aeternity/aepp-sdk-go/v5/config"
"github.com/aeternity/aepp-sdk-go/v5/naet"
"github.com/aeternity/aepp-sdk-go/v5/aeternity"
)

Expand Down
6 changes: 3 additions & 3 deletions integration_test/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (

"gotest.tools/golden"

"github.com/aeternity/aepp-sdk-go/account"
"github.com/aeternity/aepp-sdk-go/config"
"github.com/aeternity/aepp-sdk-go/naet"
"github.com/aeternity/aepp-sdk-go/v5/account"
"github.com/aeternity/aepp-sdk-go/v5/config"
"github.com/aeternity/aepp-sdk-go/v5/naet"
"github.com/aeternity/aepp-sdk-go/v5/aeternity"
"github.com/aeternity/aepp-sdk-go/v5/swagguard/node/models"
"github.com/aeternity/aepp-sdk-go/v5/utils"
Expand Down
4 changes: 2 additions & 2 deletions integration_test/compiler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"reflect"
"testing"

"github.com/aeternity/aepp-sdk-go/config"
"github.com/aeternity/aepp-sdk-go/naet"
"github.com/aeternity/aepp-sdk-go/v5/config"
"github.com/aeternity/aepp-sdk-go/v5/naet"
"gotest.tools/golden"
)

Expand Down
2 changes: 1 addition & 1 deletion integration_test/contract_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"testing"

"github.com/aeternity/aepp-sdk-go/config"
"github.com/aeternity/aepp-sdk-go/v5/config"
"github.com/aeternity/aepp-sdk-go/v5/aeternity"
"github.com/aeternity/aepp-sdk-go/v5/utils"
"gotest.tools/golden"
Expand Down
10 changes: 5 additions & 5 deletions integration_test/ga_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import (
"math/big"
"testing"

"github.com/aeternity/aepp-sdk-go/account"
"github.com/aeternity/aepp-sdk-go/config"
"github.com/aeternity/aepp-sdk-go/models"
"github.com/aeternity/aepp-sdk-go/naet"
"github.com/aeternity/aepp-sdk-go/transactions"
"github.com/aeternity/aepp-sdk-go/v5/account"
"github.com/aeternity/aepp-sdk-go/v5/config"
"github.com/aeternity/aepp-sdk-go/v5/models"
"github.com/aeternity/aepp-sdk-go/v5/naet"
"github.com/aeternity/aepp-sdk-go/v5/transactions"
"github.com/aeternity/aepp-sdk-go/v5/aeternity"
"github.com/aeternity/aepp-sdk-go/v5/utils"
rlp "github.com/randomshinichi/rlpae"
Expand Down
4 changes: 2 additions & 2 deletions integration_test/oracle_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"strings"
"testing"

"github.com/aeternity/aepp-sdk-go/account"
"github.com/aeternity/aepp-sdk-go/config"
"github.com/aeternity/aepp-sdk-go/v5/account"
"github.com/aeternity/aepp-sdk-go/v5/config"
"github.com/aeternity/aepp-sdk-go/v5/aeternity"
"github.com/aeternity/aepp-sdk-go/v5/swagguard/node/models"
)
Expand Down
6 changes: 3 additions & 3 deletions integration_test/testsetup.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"testing"
"time"

"github.com/aeternity/aepp-sdk-go/account"
"github.com/aeternity/aepp-sdk-go/config"
"github.com/aeternity/aepp-sdk-go/naet"
"github.com/aeternity/aepp-sdk-go/v5/account"
"github.com/aeternity/aepp-sdk-go/v5/config"
"github.com/aeternity/aepp-sdk-go/v5/naet"
"github.com/aeternity/aepp-sdk-go/v5/aeternity"
)

Expand Down
6 changes: 3 additions & 3 deletions transactions/transactions.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import (
"io"
"math/big"

"github.com/aeternity/aepp-sdk-go/binary"
"github.com/aeternity/aepp-sdk-go/config"
"github.com/aeternity/aepp-sdk-go/v5/binary"
"github.com/aeternity/aepp-sdk-go/v5/config"

"github.com/aeternity/aepp-sdk-go/account"
"github.com/aeternity/aepp-sdk-go/v5/account"
"github.com/aeternity/aepp-sdk-go/v5/utils"
rlp "github.com/randomshinichi/rlpae"
)
Expand Down
2 changes: 1 addition & 1 deletion transactions/transactions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"reflect"
"testing"

"github.com/aeternity/aepp-sdk-go/binary"
"github.com/aeternity/aepp-sdk-go/v5/binary"
"github.com/aeternity/aepp-sdk-go/v5/utils"
)

Expand Down
2 changes: 1 addition & 1 deletion transactions/tx_aens.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"io"
"math/big"

"github.com/aeternity/aepp-sdk-go/binary"
"github.com/aeternity/aepp-sdk-go/v5/binary"
"github.com/aeternity/aepp-sdk-go/v5/swagguard/node/models"
"github.com/aeternity/aepp-sdk-go/v5/utils"
rlp "github.com/randomshinichi/rlpae"
Expand Down
2 changes: 1 addition & 1 deletion transactions/tx_aens_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"reflect"
"testing"

"github.com/aeternity/aepp-sdk-go/binary"
"github.com/aeternity/aepp-sdk-go/v5/binary"
"github.com/aeternity/aepp-sdk-go/v5/utils"
rlp "github.com/randomshinichi/rlpae"
)
Expand Down
2 changes: 1 addition & 1 deletion transactions/tx_contracts_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"reflect"
"testing"

"github.com/aeternity/aepp-sdk-go/config"
"github.com/aeternity/aepp-sdk-go/v5/config"
"github.com/aeternity/aepp-sdk-go/v5/utils"
)

Expand Down
2 changes: 1 addition & 1 deletion transactions/tx_oracles_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"reflect"
"testing"

"github.com/aeternity/aepp-sdk-go/config"
"github.com/aeternity/aepp-sdk-go/v5/config"
"github.com/aeternity/aepp-sdk-go/v5/utils"
)

Expand Down
2 changes: 1 addition & 1 deletion transactions/tx_spend.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"io"
"math/big"

"github.com/aeternity/aepp-sdk-go/binary"
"github.com/aeternity/aepp-sdk-go/v5/binary"
"github.com/aeternity/aepp-sdk-go/v5/swagguard/node/models"
"github.com/aeternity/aepp-sdk-go/v5/utils"
rlp "github.com/randomshinichi/rlpae"
Expand Down

0 comments on commit 23bf23a

Please sign in to comment.