Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename go.mod to github.com/kaiachain/kaia #36

Merged
merged 5 commits into from
Jul 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions accounts/abi/abi.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ import (
"fmt"
"io"

"github.com/klaytn/klaytn/common"
"github.com/klaytn/klaytn/crypto"
"github.com/kaiachain/kaia/common"
"github.com/kaiachain/kaia/crypto"
)

// The ABI holds information about a contract's context and available
Expand Down
6 changes: 3 additions & 3 deletions accounts/abi/abi_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ import (
"strings"
"testing"

"github.com/klaytn/klaytn/common"
"github.com/klaytn/klaytn/common/math"
"github.com/klaytn/klaytn/crypto"
"github.com/kaiachain/kaia/common"
"github.com/kaiachain/kaia/common/math"
"github.com/kaiachain/kaia/crypto"
"github.com/stretchr/testify/assert"
)

Expand Down
10 changes: 5 additions & 5 deletions accounts/abi/bind/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ import (
"io"
"math/big"

"github.com/klaytn/klaytn/accounts"
"github.com/klaytn/klaytn/accounts/keystore"
"github.com/klaytn/klaytn/blockchain/types"
"github.com/klaytn/klaytn/common"
"github.com/klaytn/klaytn/crypto"
"github.com/kaiachain/kaia/accounts"
"github.com/kaiachain/kaia/accounts/keystore"
"github.com/kaiachain/kaia/blockchain/types"
"github.com/kaiachain/kaia/common"
"github.com/kaiachain/kaia/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
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ import (
"errors"
"math/big"

kaia "github.com/klaytn/klaytn"
"github.com/klaytn/klaytn/blockchain/types"
"github.com/klaytn/klaytn/common"
kaia "github.com/kaiachain/kaia"
"github.com/kaiachain/kaia/blockchain/types"
"github.com/kaiachain/kaia/common"
)

var (
Expand Down
22 changes: 11 additions & 11 deletions accounts/abi/bind/backends/blockchain.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@ import (
"errors"
"math/big"

kaia "github.com/klaytn/klaytn"
"github.com/klaytn/klaytn/accounts/abi/bind"
"github.com/klaytn/klaytn/blockchain"
"github.com/klaytn/klaytn/blockchain/state"
"github.com/klaytn/klaytn/blockchain/types"
"github.com/klaytn/klaytn/blockchain/vm"
"github.com/klaytn/klaytn/common"
"github.com/klaytn/klaytn/common/math"
"github.com/klaytn/klaytn/event"
"github.com/klaytn/klaytn/node/cn/filters"
"github.com/klaytn/klaytn/params"
kaia "github.com/kaiachain/kaia"
"github.com/kaiachain/kaia/accounts/abi/bind"
"github.com/kaiachain/kaia/blockchain"
"github.com/kaiachain/kaia/blockchain/state"
"github.com/kaiachain/kaia/blockchain/types"
"github.com/kaiachain/kaia/blockchain/vm"
"github.com/kaiachain/kaia/common"
"github.com/kaiachain/kaia/common/math"
"github.com/kaiachain/kaia/event"
"github.com/kaiachain/kaia/node/cn/filters"
"github.com/kaiachain/kaia/params"
)

// Maintain separate minimal interfaces of blockchain.BlockChain because ContractBackend are used
Expand Down
26 changes: 13 additions & 13 deletions accounts/abi/bind/backends/blockchain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,19 @@ import (
"time"

"github.com/golang/mock/gomock"
kaia "github.com/klaytn/klaytn"
"github.com/klaytn/klaytn/accounts/abi"
"github.com/klaytn/klaytn/blockchain"
"github.com/klaytn/klaytn/blockchain/types"
"github.com/klaytn/klaytn/blockchain/vm"
"github.com/klaytn/klaytn/common"
"github.com/klaytn/klaytn/consensus/gxhash"
"github.com/klaytn/klaytn/crypto"
"github.com/klaytn/klaytn/event"
"github.com/klaytn/klaytn/node/cn/filters"
mock_filter "github.com/klaytn/klaytn/node/cn/filters/mock"
"github.com/klaytn/klaytn/params"
"github.com/klaytn/klaytn/storage/database"
kaia "github.com/kaiachain/kaia"
"github.com/kaiachain/kaia/accounts/abi"
"github.com/kaiachain/kaia/blockchain"
"github.com/kaiachain/kaia/blockchain/types"
"github.com/kaiachain/kaia/blockchain/vm"
"github.com/kaiachain/kaia/common"
"github.com/kaiachain/kaia/consensus/gxhash"
"github.com/kaiachain/kaia/crypto"
"github.com/kaiachain/kaia/event"
"github.com/kaiachain/kaia/node/cn/filters"
mock_filter "github.com/kaiachain/kaia/node/cn/filters/mock"
"github.com/kaiachain/kaia/params"
"github.com/kaiachain/kaia/storage/database"
"github.com/stretchr/testify/assert"
)

Expand Down
30 changes: 15 additions & 15 deletions accounts/abi/bind/backends/simulated.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,21 @@ import (
"sync"
"time"

kaia "github.com/klaytn/klaytn"
"github.com/klaytn/klaytn/accounts/abi/bind"
"github.com/klaytn/klaytn/blockchain"
"github.com/klaytn/klaytn/blockchain/bloombits"
"github.com/klaytn/klaytn/blockchain/state"
"github.com/klaytn/klaytn/blockchain/types"
"github.com/klaytn/klaytn/blockchain/vm"
"github.com/klaytn/klaytn/common"
"github.com/klaytn/klaytn/common/math"
"github.com/klaytn/klaytn/consensus/gxhash"
"github.com/klaytn/klaytn/event"
"github.com/klaytn/klaytn/networks/rpc"
"github.com/klaytn/klaytn/node/cn/filters"
"github.com/klaytn/klaytn/params"
"github.com/klaytn/klaytn/storage/database"
kaia "github.com/kaiachain/kaia"
"github.com/kaiachain/kaia/accounts/abi/bind"
"github.com/kaiachain/kaia/blockchain"
"github.com/kaiachain/kaia/blockchain/bloombits"
"github.com/kaiachain/kaia/blockchain/state"
"github.com/kaiachain/kaia/blockchain/types"
"github.com/kaiachain/kaia/blockchain/vm"
"github.com/kaiachain/kaia/common"
"github.com/kaiachain/kaia/common/math"
"github.com/kaiachain/kaia/consensus/gxhash"
"github.com/kaiachain/kaia/event"
"github.com/kaiachain/kaia/networks/rpc"
"github.com/kaiachain/kaia/node/cn/filters"
"github.com/kaiachain/kaia/params"
"github.com/kaiachain/kaia/storage/database"
)

// This nil assignment ensures compile time that SimulatedBackend implements bind.ContractBackend.
Expand Down
18 changes: 9 additions & 9 deletions accounts/abi/bind/backends/simulated_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ import (
"testing"
"time"

kaia "github.com/klaytn/klaytn"
"github.com/klaytn/klaytn/accounts/abi"
"github.com/klaytn/klaytn/accounts/abi/bind"
"github.com/klaytn/klaytn/blockchain"
"github.com/klaytn/klaytn/blockchain/types"
"github.com/klaytn/klaytn/common"
"github.com/klaytn/klaytn/crypto"
"github.com/klaytn/klaytn/params"
"github.com/klaytn/klaytn/storage/database"
kaia "github.com/kaiachain/kaia"
"github.com/kaiachain/kaia/accounts/abi"
"github.com/kaiachain/kaia/accounts/abi/bind"
"github.com/kaiachain/kaia/blockchain"
"github.com/kaiachain/kaia/blockchain/types"
"github.com/kaiachain/kaia/common"
"github.com/kaiachain/kaia/crypto"
"github.com/kaiachain/kaia/params"
"github.com/kaiachain/kaia/storage/database"
"github.com/stretchr/testify/assert"
)

Expand Down
12 changes: 6 additions & 6 deletions accounts/abi/bind/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ import (
"strings"
"sync"

kaia "github.com/klaytn/klaytn"
"github.com/klaytn/klaytn/accounts/abi"
"github.com/klaytn/klaytn/blockchain/types"
"github.com/klaytn/klaytn/common"
"github.com/klaytn/klaytn/crypto"
"github.com/klaytn/klaytn/event"
kaia "github.com/kaiachain/kaia"
"github.com/kaiachain/kaia/accounts/abi"
"github.com/kaiachain/kaia/blockchain/types"
"github.com/kaiachain/kaia/common"
"github.com/kaiachain/kaia/crypto"
"github.com/kaiachain/kaia/event"
)

// SignerFn is a signer function callback when a contract requires a method to
Expand Down
16 changes: 8 additions & 8 deletions accounts/abi/bind/base_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ import (
"strings"
"testing"

kaia "github.com/klaytn/klaytn"
"github.com/klaytn/klaytn/accounts/abi"
"github.com/klaytn/klaytn/accounts/abi/bind"
"github.com/klaytn/klaytn/blockchain/types"
"github.com/klaytn/klaytn/common"
"github.com/klaytn/klaytn/common/hexutil"
"github.com/klaytn/klaytn/crypto"
"github.com/klaytn/klaytn/rlp"
kaia "github.com/kaiachain/kaia"
"github.com/kaiachain/kaia/accounts/abi"
"github.com/kaiachain/kaia/accounts/abi/bind"
"github.com/kaiachain/kaia/blockchain/types"
"github.com/kaiachain/kaia/common"
"github.com/kaiachain/kaia/common/hexutil"
"github.com/kaiachain/kaia/crypto"
"github.com/kaiachain/kaia/rlp"
)

type mockCaller struct {
Expand Down
2 changes: 1 addition & 1 deletion accounts/abi/bind/bind.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import (
"text/template"
"unicode"

"github.com/klaytn/klaytn/accounts/abi"
"github.com/kaiachain/kaia/accounts/abi"
)

// Lang is a target programming language selector to generate bindings for.
Expand Down
184 changes: 92 additions & 92 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
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

package bind

import "github.com/klaytn/klaytn/accounts/abi"
import "github.com/kaiachain/kaia/accounts/abi"

// tmplData is the data structure required to fill the binding template.
type tmplData struct {
Expand Down Expand Up @@ -99,12 +99,12 @@ import (
"strings"
"errors"

kaia "github.com/klaytn/klaytn"
"github.com/klaytn/klaytn/accounts/abi"
"github.com/klaytn/klaytn/accounts/abi/bind"
"github.com/klaytn/klaytn/common"
"github.com/klaytn/klaytn/blockchain/types"
"github.com/klaytn/klaytn/event"
kaia "github.com/kaiachain/kaia"
"github.com/kaiachain/kaia/accounts/abi"
"github.com/kaiachain/kaia/accounts/abi/bind"
"github.com/kaiachain/kaia/common"
"github.com/kaiachain/kaia/blockchain/types"
"github.com/kaiachain/kaia/event"
)

// Reference imports to suppress errors if they are not otherwise used.
Expand Down
8 changes: 4 additions & 4 deletions accounts/abi/bind/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ import (
"errors"
"time"

"github.com/klaytn/klaytn/blockchain"
"github.com/klaytn/klaytn/blockchain/types"
"github.com/klaytn/klaytn/common"
"github.com/klaytn/klaytn/log"
"github.com/kaiachain/kaia/blockchain"
"github.com/kaiachain/kaia/blockchain/types"
"github.com/kaiachain/kaia/common"
"github.com/kaiachain/kaia/log"
)

var (
Expand Down
14 changes: 7 additions & 7 deletions accounts/abi/bind/util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ import (
"testing"
"time"

"github.com/klaytn/klaytn/accounts/abi/bind"
"github.com/klaytn/klaytn/accounts/abi/bind/backends"
"github.com/klaytn/klaytn/blockchain"
"github.com/klaytn/klaytn/blockchain/types"
"github.com/klaytn/klaytn/common"
"github.com/klaytn/klaytn/crypto"
"github.com/klaytn/klaytn/params"
"github.com/kaiachain/kaia/accounts/abi/bind"
"github.com/kaiachain/kaia/accounts/abi/bind/backends"
"github.com/kaiachain/kaia/blockchain"
"github.com/kaiachain/kaia/blockchain/types"
"github.com/kaiachain/kaia/common"
"github.com/kaiachain/kaia/crypto"
"github.com/kaiachain/kaia/params"
)

var testKey, _ = crypto.HexToECDSA("b71c71a67e1177ad4e901695e1b4b9ee17ae16c6668d313eac2f96dbcda3f291")
Expand Down
4 changes: 2 additions & 2 deletions accounts/abi/error.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ import (
"fmt"
"strings"

"github.com/klaytn/klaytn/common"
"github.com/klaytn/klaytn/crypto"
"github.com/kaiachain/kaia/common"
"github.com/kaiachain/kaia/crypto"
)

type Error struct {
Expand Down
4 changes: 2 additions & 2 deletions accounts/abi/event.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ import (
"fmt"
"strings"

"github.com/klaytn/klaytn/common"
"github.com/klaytn/klaytn/crypto"
"github.com/kaiachain/kaia/common"
"github.com/kaiachain/kaia/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
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ import (
"strings"
"testing"

"github.com/klaytn/klaytn/common"
"github.com/klaytn/klaytn/crypto"
"github.com/kaiachain/kaia/common"
"github.com/kaiachain/kaia/crypto"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
Expand Down
2 changes: 1 addition & 1 deletion accounts/abi/method.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"fmt"
"strings"

"github.com/klaytn/klaytn/crypto"
"github.com/kaiachain/kaia/crypto"
)

// FunctionType represents different types of functions a contract might have.
Expand Down
4 changes: 2 additions & 2 deletions accounts/abi/pack.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ import (
"math/big"
"reflect"

"github.com/klaytn/klaytn/common"
"github.com/klaytn/klaytn/common/math"
"github.com/kaiachain/kaia/common"
"github.com/kaiachain/kaia/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
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import (
"strings"
"testing"

"github.com/klaytn/klaytn/common"
"github.com/kaiachain/kaia/common"
)

// TestPack tests the general pack/unpack tests in packing_test.go
Expand Down
2 changes: 1 addition & 1 deletion accounts/abi/packing_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ package abi
import (
"math/big"

"github.com/klaytn/klaytn/common"
"github.com/kaiachain/kaia/common"
)

type packUnpackTest struct {
Expand Down
4 changes: 2 additions & 2 deletions accounts/abi/topics.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ import (
"math/big"
"reflect"

"github.com/klaytn/klaytn/common"
"github.com/klaytn/klaytn/crypto"
"github.com/kaiachain/kaia/common"
"github.com/kaiachain/kaia/crypto"
)

// MakeTopics converts a filter query argument list into a filter topic set.
Expand Down
4 changes: 2 additions & 2 deletions accounts/abi/topics_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ import (
"reflect"
"testing"

"github.com/klaytn/klaytn/common"
"github.com/klaytn/klaytn/crypto"
"github.com/kaiachain/kaia/common"
"github.com/kaiachain/kaia/crypto"
)

func TestMakeTopics(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion accounts/abi/type.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"strconv"
"strings"

"github.com/klaytn/klaytn/common"
"github.com/kaiachain/kaia/common"
)

// Type enumerator
Expand Down
Loading
Loading