Skip to content

Commit

Permalink
Merge pull request #30 from ava-labs/change-module-name
Browse files Browse the repository at this point in the history
Change module name
  • Loading branch information
sukantoraymond authored May 30, 2024
2 parents d96ba89 + ba0400e commit b69b335
Show file tree
Hide file tree
Showing 10 changed files with 24 additions and 19 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module avalanche-tooling-sdk-go
module github.com/ava-labs/avalanche-tooling-sdk-go

go 1.21.9

Expand Down
2 changes: 1 addition & 1 deletion key/soft_key.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"os"
"strings"

"avalanche-tooling-sdk-go/utils"
"github.com/ava-labs/avalanche-tooling-sdk-go/utils"

"github.com/ava-labs/avalanchego/ids"
"github.com/ava-labs/avalanchego/utils/cb58"
Expand Down
8 changes: 4 additions & 4 deletions keychain/keychain.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ package keychain
import (
"fmt"

"avalanche-tooling-sdk-go/avalanche"
"avalanche-tooling-sdk-go/key"
"avalanche-tooling-sdk-go/ledger"
"avalanche-tooling-sdk-go/utils"
"github.com/ava-labs/avalanche-tooling-sdk-go/avalanche"
"github.com/ava-labs/avalanche-tooling-sdk-go/key"
"github.com/ava-labs/avalanche-tooling-sdk-go/ledger"
"github.com/ava-labs/avalanche-tooling-sdk-go/utils"

"github.com/ava-labs/avalanchego/utils/crypto/keychain"

Expand Down
5 changes: 3 additions & 2 deletions ledger/ledger.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
package ledger

import (
"avalanche-tooling-sdk-go/avalanche"
"avalanche-tooling-sdk-go/utils"
"fmt"

"github.com/ava-labs/avalanche-tooling-sdk-go/avalanche"
"github.com/ava-labs/avalanche-tooling-sdk-go/utils"

"github.com/ava-labs/avalanchego/utils/crypto/keychain"
"github.com/ava-labs/avalanchego/utils/crypto/ledger"
"github.com/ava-labs/avalanchego/utils/formatting/address"
Expand Down
2 changes: 1 addition & 1 deletion multisig/multisig.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package multisig

import (
"avalanche-tooling-sdk-go/avalanche"
"github.com/ava-labs/avalanche-tooling-sdk-go/avalanche"

"github.com/ava-labs/avalanchego/ids"
"github.com/ava-labs/avalanchego/vms/platformvm/txs"
Expand Down
4 changes: 2 additions & 2 deletions subnet/deploy_subnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"context"
"fmt"

"avalanche-tooling-sdk-go/multisig"
"avalanche-tooling-sdk-go/wallet"
"github.com/ava-labs/avalanche-tooling-sdk-go/multisig"
"github.com/ava-labs/avalanche-tooling-sdk-go/wallet"

"github.com/ava-labs/avalanchego/ids"
"github.com/ava-labs/avalanchego/utils/formatting/address"
Expand Down
11 changes: 7 additions & 4 deletions subnet/subnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ import (
"math/big"
"time"

"avalanche-tooling-sdk-go/avalanche"
"avalanche-tooling-sdk-go/key"
"avalanche-tooling-sdk-go/teleporter"
"avalanche-tooling-sdk-go/vm"
"github.com/ava-labs/avalanche-tooling-sdk-go/avalanche"
"github.com/ava-labs/avalanche-tooling-sdk-go/key"
"github.com/ava-labs/avalanche-tooling-sdk-go/teleporter"
"github.com/ava-labs/avalanche-tooling-sdk-go/vm"

"github.com/ava-labs/avalanchego/ids"
"github.com/ava-labs/coreth/utils"
Expand Down Expand Up @@ -164,6 +164,9 @@ func createEvmGenesis(
allocation := core.GenesisAlloc{}
if genesisParams.Allocation == nil {
allocation, err = getNewAllocation(vm.DefaultEvmAirdropAmount, genesisParams.AllocationKey)
if err != nil {
return nil, err
}
}

if genesisParams.TeleporterInfo != nil {
Expand Down
4 changes: 2 additions & 2 deletions subnet/subnet_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"fmt"
"testing"

"avalanche-tooling-sdk-go/avalanche"
"avalanche-tooling-sdk-go/wallet"
"github.com/ava-labs/avalanche-tooling-sdk-go/avalanche"
"github.com/ava-labs/avalanche-tooling-sdk-go/wallet"

"github.com/ava-labs/avalanchego/vms/secp256k1fx"
"github.com/ava-labs/avalanchego/wallet/subnet/primary"
Expand Down
2 changes: 1 addition & 1 deletion vm/precompiles.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
package vm

import (
"avalanche-tooling-sdk-go/utils"
"github.com/ava-labs/avalanche-tooling-sdk-go/utils"
"github.com/ava-labs/subnet-evm/params"
"github.com/ava-labs/subnet-evm/precompile/allowlist"
"github.com/ava-labs/subnet-evm/precompile/contracts/deployerallowlist"
Expand Down
3 changes: 2 additions & 1 deletion wallet/wallet.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
package wallet

import (
"avalanche-tooling-sdk-go/keychain"
"context"

"github.com/ava-labs/avalanche-tooling-sdk-go/keychain"

"github.com/ava-labs/avalanchego/ids"
"github.com/ava-labs/avalanchego/utils/set"
"github.com/ava-labs/avalanchego/vms/secp256k1fx"
Expand Down

0 comments on commit b69b335

Please sign in to comment.