Skip to content

Commit

Permalink
chore: bump version to 8
Browse files Browse the repository at this point in the history
  • Loading branch information
randomshinichi committed Jan 21, 2020
1 parent f878a75 commit 42123be
Show file tree
Hide file tree
Showing 152 changed files with 244 additions and 244 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ golang sdk for aeternity blockchain
`go get github.com/aeternity/aepp-sdk-go`

If your project uses Go Modules (go.mod, go.sum files), you must include the major version in the import line like this:
`import github.com/aepp-sdk-go/v7/aeternity`
`import github.com/aepp-sdk-go/v8/aeternity`

If your project won't use Go Modules (no go.mod, go.sum files), ensure your `$GOPATH/src/github.com/aeternity/aepp-sdk-go` is on the correct branch. Then your import should be:
`import github.com/aepp-sdk-go/aeternity`
Expand Down
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/v7/binary"
"github.com/aeternity/aepp-sdk-go/v8/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/v7/config"
config "github.com/aeternity/aepp-sdk-go/v8/config"
uuid "github.com/satori/go.uuid"
"golang.org/x/crypto/argon2"
"golang.org/x/crypto/nacl/secretbox"
Expand Down
4 changes: 2 additions & 2 deletions aeternity/aens.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package aeternity
import (
"math/big"

"github.com/aeternity/aepp-sdk-go/v7/config"
"github.com/aeternity/aepp-sdk-go/v7/transactions"
"github.com/aeternity/aepp-sdk-go/v8/config"
"github.com/aeternity/aepp-sdk-go/v8/transactions"
)

// AENS is a higher level interface to AENS functionalities.
Expand Down
6 changes: 3 additions & 3 deletions aeternity/context.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package aeternity

import (
"github.com/aeternity/aepp-sdk-go/v7/account"
"github.com/aeternity/aepp-sdk-go/v7/naet"
"github.com/aeternity/aepp-sdk-go/v7/transactions"
"github.com/aeternity/aepp-sdk-go/v8/account"
"github.com/aeternity/aepp-sdk-go/v8/naet"
"github.com/aeternity/aepp-sdk-go/v8/transactions"
)

type transactionSender interface {
Expand Down
8 changes: 4 additions & 4 deletions aeternity/contracts.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package aeternity
import (
"time"

"github.com/aeternity/aepp-sdk-go/v7/config"
"github.com/aeternity/aepp-sdk-go/v7/naet"
"github.com/aeternity/aepp-sdk-go/v7/swagguard/node/models"
"github.com/aeternity/aepp-sdk-go/v7/transactions"
"github.com/aeternity/aepp-sdk-go/v8/config"
"github.com/aeternity/aepp-sdk-go/v8/naet"
"github.com/aeternity/aepp-sdk-go/v8/swagguard/node/models"
"github.com/aeternity/aepp-sdk-go/v8/transactions"
)

type callResultListener interface {
Expand Down
8 changes: 4 additions & 4 deletions aeternity/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import (
"math/big"
"time"

"github.com/aeternity/aepp-sdk-go/v7/account"
"github.com/aeternity/aepp-sdk-go/v7/config"
"github.com/aeternity/aepp-sdk-go/v7/naet"
"github.com/aeternity/aepp-sdk-go/v7/transactions"
"github.com/aeternity/aepp-sdk-go/v8/account"
"github.com/aeternity/aepp-sdk-go/v8/config"
"github.com/aeternity/aepp-sdk-go/v8/naet"
"github.com/aeternity/aepp-sdk-go/v8/transactions"
)

// GetAnythingByNameFunc describes a function that returns lookup results for a
Expand Down
12 changes: 6 additions & 6 deletions aeternity/helpers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ import (
"testing"
"time"

"github.com/aeternity/aepp-sdk-go/v7/account"
"github.com/aeternity/aepp-sdk-go/v7/config"
"github.com/aeternity/aepp-sdk-go/v7/naet"
"github.com/aeternity/aepp-sdk-go/v7/swagguard/node/models"
"github.com/aeternity/aepp-sdk-go/v7/transactions"
"github.com/aeternity/aepp-sdk-go/v7/utils"
"github.com/aeternity/aepp-sdk-go/v8/account"
"github.com/aeternity/aepp-sdk-go/v8/config"
"github.com/aeternity/aepp-sdk-go/v8/naet"
"github.com/aeternity/aepp-sdk-go/v8/swagguard/node/models"
"github.com/aeternity/aepp-sdk-go/v8/transactions"
"github.com/aeternity/aepp-sdk-go/v8/utils"
)

type mockNodeForTxReceiptWatch struct {
Expand Down
10 changes: 5 additions & 5 deletions aeternity/oracles.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import (
"strings"
"time"

"github.com/aeternity/aepp-sdk-go/v7/binary"
"github.com/aeternity/aepp-sdk-go/v7/config"
"github.com/aeternity/aepp-sdk-go/v7/naet"
"github.com/aeternity/aepp-sdk-go/v7/swagguard/node/models"
"github.com/aeternity/aepp-sdk-go/v7/transactions"
"github.com/aeternity/aepp-sdk-go/v8/binary"
"github.com/aeternity/aepp-sdk-go/v8/config"
"github.com/aeternity/aepp-sdk-go/v8/naet"
"github.com/aeternity/aepp-sdk-go/v8/swagguard/node/models"
"github.com/aeternity/aepp-sdk-go/v8/transactions"
)

type oracleListener func(node oracleInfoer, oracleID string, queryChan chan *models.OracleQuery, errChan chan error, listenInterval time.Duration)
Expand Down
2 changes: 1 addition & 1 deletion aeternity/oracles_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"
"time"

"github.com/aeternity/aepp-sdk-go/v7/swagguard/node/models"
"github.com/aeternity/aepp-sdk-go/v8/swagguard/node/models"
)

type mockOracleQueryNode struct {
Expand Down
2 changes: 1 addition & 1 deletion api/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -2487,7 +2487,7 @@
"minimum": 0,
"x-go-type": {
"import": {
"package": "github.com/aeternity/aepp-sdk-go/v7/utils"
"package": "github.com/aeternity/aepp-sdk-go/v8/utils"
},
"type": "BigInt"
},
Expand Down
2 changes: 1 addition & 1 deletion api/updatedict.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def add_uint_bigint(data):
"minimum": 0,
"x-go-type": {
"import": {
"package": "github.com/aeternity/aepp-sdk-go/v7/utils"
"package": "github.com/aeternity/aepp-sdk-go/v8/utils"
},
"type": "BigInt"
}
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/v7/account"
"github.com/aeternity/aepp-sdk-go/v7/config"
"github.com/aeternity/aepp-sdk-go/v7/naet"
"github.com/aeternity/aepp-sdk-go/v7/transactions"
"github.com/aeternity/aepp-sdk-go/v8/account"
"github.com/aeternity/aepp-sdk-go/v8/config"
"github.com/aeternity/aepp-sdk-go/v8/naet"
"github.com/aeternity/aepp-sdk-go/v8/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/v7/naet"
"github.com/aeternity/aepp-sdk-go/v8/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/v7/binary"
"github.com/aeternity/aepp-sdk-go/v7/config"
"github.com/aeternity/aepp-sdk-go/v7/naet"
"github.com/aeternity/aepp-sdk-go/v8/binary"
"github.com/aeternity/aepp-sdk-go/v8/config"
"github.com/aeternity/aepp-sdk-go/v8/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 @@ -6,7 +6,7 @@ import (
"os"
"testing"

"github.com/aeternity/aepp-sdk-go/v7/naet"
"github.com/aeternity/aepp-sdk-go/v8/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/v7/config"
"github.com/aeternity/aepp-sdk-go/v7/naet"
"github.com/aeternity/aepp-sdk-go/v8/config"
"github.com/aeternity/aepp-sdk-go/v8/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/v7/naet"
"github.com/aeternity/aepp-sdk-go/v8/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/v7/binary"
"github.com/aeternity/aepp-sdk-go/v7/naet"
"github.com/aeternity/aepp-sdk-go/v8/binary"
"github.com/aeternity/aepp-sdk-go/v8/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/v7/naet"
"github.com/aeternity/aepp-sdk-go/v8/naet"
)

func Test_printNameEntry(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions cmd/mocks_test.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package cmd

import (
compilermodels "github.com/aeternity/aepp-sdk-go/v7/swagguard/compiler/models"
models "github.com/aeternity/aepp-sdk-go/v7/swagguard/node/models"
compilermodels "github.com/aeternity/aepp-sdk-go/v8/swagguard/compiler/models"
models "github.com/aeternity/aepp-sdk-go/v8/swagguard/node/models"
)

type mockGetHeighter struct {
Expand Down
2 changes: 1 addition & 1 deletion cmd/name.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"fmt"

"github.com/aeternity/aepp-sdk-go/v7/naet"
"github.com/aeternity/aepp-sdk-go/v8/naet"

"github.com/spf13/cobra"
)
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/v7/config"
"github.com/aeternity/aepp-sdk-go/v7/naet"
"github.com/aeternity/aepp-sdk-go/v8/config"
"github.com/aeternity/aepp-sdk-go/v8/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/v7/config"
"github.com/aeternity/aepp-sdk-go/v7/naet"
"github.com/aeternity/aepp-sdk-go/v8/config"
"github.com/aeternity/aepp-sdk-go/v8/naet"
)

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

"github.com/aeternity/aepp-sdk-go/v7/utils"
"github.com/aeternity/aepp-sdk-go/v8/utils"
)

func Test_printIf_BigIntBalancePrinted(t *testing.T) {
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/v7/config"
"github.com/aeternity/aepp-sdk-go/v8/config"
)

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

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

"github.com/spf13/cobra"
)
Expand Down
4 changes: 2 additions & 2 deletions cmd/tx_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package cmd
import (
"testing"

"github.com/aeternity/aepp-sdk-go/v7/config"
"github.com/aeternity/aepp-sdk-go/v7/transactions"
"github.com/aeternity/aepp-sdk-go/v8/config"
"github.com/aeternity/aepp-sdk-go/v8/transactions"
"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/v7/binary"
import "github.com/aeternity/aepp-sdk-go/v8/binary"

// IsAddress does some minor checks to ensure that the string is an ak_ address
func IsAddress(a string) bool {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/aeternity/aepp-sdk-go/v7
module github.com/aeternity/aepp-sdk-go/v8

go 1.12

Expand Down
4 changes: 2 additions & 2 deletions integration_test/aens_higherlevel_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package integrationtest
import (
"testing"

"github.com/aeternity/aepp-sdk-go/v7/aeternity"
"github.com/aeternity/aepp-sdk-go/v7/transactions"
"github.com/aeternity/aepp-sdk-go/v8/aeternity"
"github.com/aeternity/aepp-sdk-go/v8/transactions"
)

func TestRegisterName(t *testing.T) {
Expand Down
8 changes: 4 additions & 4 deletions integration_test/aens_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import (
"testing"
"time"

"github.com/aeternity/aepp-sdk-go/v7/aeternity"
"github.com/aeternity/aepp-sdk-go/v7/config"
"github.com/aeternity/aepp-sdk-go/v7/naet"
"github.com/aeternity/aepp-sdk-go/v7/transactions"
"github.com/aeternity/aepp-sdk-go/v8/aeternity"
"github.com/aeternity/aepp-sdk-go/v8/config"
"github.com/aeternity/aepp-sdk-go/v8/naet"
"github.com/aeternity/aepp-sdk-go/v8/transactions"
)

func getNameEntry(t *testing.T, node *naet.Node, name string) (responseJSON string) {
Expand Down
12 changes: 6 additions & 6 deletions integration_test/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ import (

"gotest.tools/golden"

"github.com/aeternity/aepp-sdk-go/v7/account"
"github.com/aeternity/aepp-sdk-go/v7/aeternity"
"github.com/aeternity/aepp-sdk-go/v7/config"
"github.com/aeternity/aepp-sdk-go/v7/naet"
"github.com/aeternity/aepp-sdk-go/v7/swagguard/node/models"
"github.com/aeternity/aepp-sdk-go/v7/transactions"
"github.com/aeternity/aepp-sdk-go/v8/account"
"github.com/aeternity/aepp-sdk-go/v8/aeternity"
"github.com/aeternity/aepp-sdk-go/v8/config"
"github.com/aeternity/aepp-sdk-go/v8/naet"
"github.com/aeternity/aepp-sdk-go/v8/swagguard/node/models"
"github.com/aeternity/aepp-sdk-go/v8/transactions"
)

/*
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/v7/config"
"github.com/aeternity/aepp-sdk-go/v7/naet"
"github.com/aeternity/aepp-sdk-go/v8/config"
"github.com/aeternity/aepp-sdk-go/v8/naet"
"gotest.tools/golden"
)

Expand Down

0 comments on commit 42123be

Please sign in to comment.