mirror of
https://github.com/luxfi/netrunner.git
synced 2026-07-27 00:04:23 +00:00
Update imports
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@
|
||||
package mocks
|
||||
|
||||
import (
|
||||
api "github.com/luxdefi/netrunner/api"
|
||||
api "github.com/luxfi/netrunner/api"
|
||||
admin "github.com/luxfi/node/api/admin"
|
||||
|
||||
avm "github.com/luxfi/node/vms/avm"
|
||||
|
||||
+2
-2
@@ -12,8 +12,8 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/luxdefi/netrunner/local"
|
||||
"github.com/luxdefi/netrunner/rpcpb"
|
||||
"github.com/luxfi/netrunner/local"
|
||||
"github.com/luxfi/netrunner/rpcpb"
|
||||
"github.com/luxfi/node/utils/logging"
|
||||
"go.uber.org/zap"
|
||||
"google.golang.org/grpc"
|
||||
|
||||
@@ -9,8 +9,8 @@ import (
|
||||
"syscall"
|
||||
"time"
|
||||
|
||||
"github.com/luxdefi/netrunner/local"
|
||||
"github.com/luxdefi/netrunner/network"
|
||||
"github.com/luxfi/netrunner/local"
|
||||
"github.com/luxfi/netrunner/network"
|
||||
"github.com/luxfi/node/utils/logging"
|
||||
"go.uber.org/zap"
|
||||
)
|
||||
|
||||
@@ -8,9 +8,9 @@ import (
|
||||
"syscall"
|
||||
"time"
|
||||
|
||||
"github.com/luxdefi/netrunner/local"
|
||||
"github.com/luxdefi/netrunner/network"
|
||||
"github.com/luxdefi/netrunner/network/node"
|
||||
"github.com/luxfi/netrunner/local"
|
||||
"github.com/luxfi/netrunner/network"
|
||||
"github.com/luxfi/netrunner/network/node"
|
||||
"github.com/luxfi/node/config"
|
||||
"github.com/luxfi/node/staking"
|
||||
"github.com/luxfi/node/utils/logging"
|
||||
|
||||
@@ -49,8 +49,6 @@ github.com/VictoriaMetrics/fastcache v1.12.2/go.mod h1:AmC+Nzz1+3G2eCPapF6UcsnkT
|
||||
github.com/aead/siphash v1.0.1/go.mod h1:Nywa3cDsYNNK3gaciGTWPwHt0wlpNV15vwmswBAUSII=
|
||||
github.com/allegro/bigcache v1.2.1-0.20190218064605-e24eb225f156 h1:eMwmnE/GDgah4HI848JfFxHt+iPb26b4zyfspmqY0/8=
|
||||
github.com/allegro/bigcache v1.2.1-0.20190218064605-e24eb225f156/go.mod h1:Cb/ax3seSYIx7SuZdm2G2xzfwmv3TPSk2ucNfQESPXM=
|
||||
github.com/ava-labs/libevm v1.13.14-0.3.0.rc.1 h1:vBMYo+Iazw0rGTr+cwjkBdh5eadLPlv4ywI4lKye3CA=
|
||||
github.com/ava-labs/libevm v1.13.14-0.3.0.rc.1/go.mod h1:+Iol+sVQ1KyoBsHf3veyrBmHCXr3xXRWq6ZXkgVfNLU=
|
||||
github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
|
||||
github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
|
||||
github.com/bits-and-blooms/bitset v1.20.0 h1:2F+rfL86jE2d/bmw7OhqUg2Sj/1rURkBn3MdfoPyRVU=
|
||||
|
||||
+23
-23
@@ -14,31 +14,31 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/luxdefi/node/vms/platformvm/reward"
|
||||
"github.com/luxfi/node/vms/platformvm/reward"
|
||||
|
||||
"github.com/luxdefi/node/vms/avm"
|
||||
"github.com/luxdefi/node/vms/components/lux"
|
||||
"github.com/luxdefi/node/vms/components/verify"
|
||||
"github.com/luxdefi/node/wallet/chain/x"
|
||||
"github.com/luxfi/node/vms/avm"
|
||||
"github.com/luxfi/node/vms/components/lux"
|
||||
"github.com/luxfi/node/vms/components/verify"
|
||||
"github.com/luxfi/node/wallet/chain/x"
|
||||
|
||||
"github.com/luxdefi/netrunner/network"
|
||||
"github.com/luxdefi/netrunner/network/node"
|
||||
"github.com/luxdefi/netrunner/utils"
|
||||
"github.com/luxdefi/node/api/admin"
|
||||
"github.com/luxdefi/node/config"
|
||||
"github.com/luxdefi/node/genesis"
|
||||
"github.com/luxdefi/node/ids"
|
||||
"github.com/luxdefi/node/utils/constants"
|
||||
"github.com/luxdefi/node/utils/crypto/bls"
|
||||
"github.com/luxdefi/node/utils/logging"
|
||||
"github.com/luxdefi/node/utils/set"
|
||||
"github.com/luxdefi/node/vms/platformvm"
|
||||
"github.com/luxdefi/node/vms/platformvm/signer"
|
||||
"github.com/luxdefi/node/vms/platformvm/txs"
|
||||
"github.com/luxdefi/node/vms/secp256k1fx"
|
||||
"github.com/luxdefi/node/wallet/chain/p"
|
||||
"github.com/luxdefi/node/wallet/subnet/primary"
|
||||
"github.com/luxdefi/node/wallet/subnet/primary/common"
|
||||
"github.com/luxfi/netrunner/network"
|
||||
"github.com/luxfi/netrunner/network/node"
|
||||
"github.com/luxfi/netrunner/utils"
|
||||
"github.com/luxfi/node/api/admin"
|
||||
"github.com/luxfi/node/config"
|
||||
"github.com/luxfi/node/genesis"
|
||||
"github.com/luxfi/node/ids"
|
||||
"github.com/luxfi/node/utils/constants"
|
||||
"github.com/luxfi/node/utils/crypto/bls"
|
||||
"github.com/luxfi/node/utils/logging"
|
||||
"github.com/luxfi/node/utils/set"
|
||||
"github.com/luxfi/node/vms/platformvm"
|
||||
"github.com/luxfi/node/vms/platformvm/signer"
|
||||
"github.com/luxfi/node/vms/platformvm/txs"
|
||||
"github.com/luxfi/node/vms/secp256k1fx"
|
||||
"github.com/luxfi/node/wallet/chain/p"
|
||||
"github.com/luxfi/node/wallet/subnet/primary"
|
||||
"github.com/luxfi/node/wallet/subnet/primary/common"
|
||||
"go.uber.org/zap"
|
||||
"golang.org/x/exp/maps"
|
||||
)
|
||||
|
||||
+4
-4
@@ -11,10 +11,10 @@ import (
|
||||
"path/filepath"
|
||||
"time"
|
||||
|
||||
"github.com/luxdefi/netrunner/network/node"
|
||||
"github.com/luxdefi/node/config"
|
||||
"github.com/luxdefi/node/utils/constants"
|
||||
"github.com/luxdefi/node/utils/logging"
|
||||
"github.com/luxfi/netrunner/network/node"
|
||||
"github.com/luxfi/node/config"
|
||||
"github.com/luxfi/node/utils/constants"
|
||||
"github.com/luxfi/node/utils/logging"
|
||||
"go.uber.org/zap"
|
||||
)
|
||||
|
||||
|
||||
@@ -5,10 +5,10 @@ package mocks
|
||||
import (
|
||||
context "context"
|
||||
|
||||
health "github.com/luxdefi/node/api/health"
|
||||
health "github.com/luxfi/node/api/health"
|
||||
mock "github.com/stretchr/testify/mock"
|
||||
|
||||
rpc "github.com/luxdefi/node/utils/rpc"
|
||||
rpc "github.com/luxfi/node/utils/rpc"
|
||||
)
|
||||
|
||||
// Client is an autogenerated mock type for the Client type
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
|
||||
mock "github.com/stretchr/testify/mock"
|
||||
|
||||
status "github.com/luxdefi/netrunner/network/node/status"
|
||||
status "github.com/luxfi/netrunner/network/node/status"
|
||||
|
||||
testing "testing"
|
||||
)
|
||||
|
||||
+16
-16
@@ -18,22 +18,22 @@ import (
|
||||
"syscall"
|
||||
"time"
|
||||
|
||||
"github.com/luxdefi/netrunner/api"
|
||||
"github.com/luxdefi/netrunner/network"
|
||||
"github.com/luxdefi/netrunner/network/node"
|
||||
"github.com/luxdefi/netrunner/network/node/status"
|
||||
"github.com/luxdefi/netrunner/utils"
|
||||
"github.com/luxdefi/netrunner/utils/constants"
|
||||
"github.com/luxdefi/node/config"
|
||||
"github.com/luxdefi/node/ids"
|
||||
"github.com/luxdefi/node/network/peer"
|
||||
"github.com/luxdefi/node/staking"
|
||||
"github.com/luxdefi/node/utils/beacon"
|
||||
"github.com/luxdefi/node/utils/crypto/bls"
|
||||
"github.com/luxdefi/node/utils/ips"
|
||||
"github.com/luxdefi/node/utils/logging"
|
||||
"github.com/luxdefi/node/utils/set"
|
||||
"github.com/luxdefi/node/utils/wrappers"
|
||||
"github.com/luxfi/netrunner/api"
|
||||
"github.com/luxfi/netrunner/network"
|
||||
"github.com/luxfi/netrunner/network/node"
|
||||
"github.com/luxfi/netrunner/network/node/status"
|
||||
"github.com/luxfi/netrunner/utils"
|
||||
"github.com/luxfi/netrunner/utils/constants"
|
||||
"github.com/luxfi/node/config"
|
||||
"github.com/luxfi/node/ids"
|
||||
"github.com/luxfi/node/network/peer"
|
||||
"github.com/luxfi/node/staking"
|
||||
"github.com/luxfi/node/utils/beacon"
|
||||
"github.com/luxfi/node/utils/crypto/bls"
|
||||
"github.com/luxfi/node/utils/ips"
|
||||
"github.com/luxfi/node/utils/logging"
|
||||
"github.com/luxfi/node/utils/set"
|
||||
"github.com/luxfi/node/utils/wrappers"
|
||||
"go.uber.org/zap"
|
||||
"golang.org/x/exp/maps"
|
||||
"golang.org/x/mod/semver"
|
||||
|
||||
+15
-15
@@ -13,21 +13,21 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/luxdefi/netrunner/api"
|
||||
apimocks "github.com/luxdefi/netrunner/api/mocks"
|
||||
"github.com/luxdefi/netrunner/local/mocks"
|
||||
healthmocks "github.com/luxdefi/netrunner/local/mocks/health"
|
||||
"github.com/luxdefi/netrunner/network"
|
||||
"github.com/luxdefi/netrunner/network/node"
|
||||
"github.com/luxdefi/netrunner/network/node/status"
|
||||
"github.com/luxdefi/netrunner/utils"
|
||||
"github.com/luxdefi/node/api/health"
|
||||
"github.com/luxdefi/node/config"
|
||||
"github.com/luxdefi/node/ids"
|
||||
"github.com/luxdefi/node/message"
|
||||
"github.com/luxdefi/node/snow/networking/router"
|
||||
"github.com/luxdefi/node/utils/logging"
|
||||
"github.com/luxdefi/node/utils/rpc"
|
||||
"github.com/luxfi/netrunner/api"
|
||||
apimocks "github.com/luxfi/netrunner/api/mocks"
|
||||
"github.com/luxfi/netrunner/local/mocks"
|
||||
healthmocks "github.com/luxfi/netrunner/local/mocks/health"
|
||||
"github.com/luxfi/netrunner/network"
|
||||
"github.com/luxfi/netrunner/network/node"
|
||||
"github.com/luxfi/netrunner/network/node/status"
|
||||
"github.com/luxfi/netrunner/utils"
|
||||
"github.com/luxfi/node/api/health"
|
||||
"github.com/luxfi/node/config"
|
||||
"github.com/luxfi/node/ids"
|
||||
"github.com/luxfi/node/message"
|
||||
"github.com/luxfi/node/snow/networking/router"
|
||||
"github.com/luxfi/node/utils/logging"
|
||||
"github.com/luxfi/node/utils/rpc"
|
||||
"github.com/stretchr/testify/mock"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
+18
-18
@@ -8,24 +8,24 @@ import (
|
||||
"net"
|
||||
"time"
|
||||
|
||||
"github.com/luxdefi/netrunner/api"
|
||||
"github.com/luxdefi/netrunner/network/node"
|
||||
"github.com/luxdefi/netrunner/network/node/status"
|
||||
"github.com/luxdefi/node/ids"
|
||||
"github.com/luxdefi/node/message"
|
||||
"github.com/luxdefi/node/network/peer"
|
||||
"github.com/luxdefi/node/network/throttling"
|
||||
"github.com/luxdefi/node/snow/networking/router"
|
||||
"github.com/luxdefi/node/snow/networking/tracker"
|
||||
"github.com/luxdefi/node/snow/validators"
|
||||
"github.com/luxdefi/node/staking"
|
||||
"github.com/luxdefi/node/utils/constants"
|
||||
"github.com/luxdefi/node/utils/ips"
|
||||
"github.com/luxdefi/node/utils/logging"
|
||||
"github.com/luxdefi/node/utils/math/meter"
|
||||
"github.com/luxdefi/node/utils/resource"
|
||||
"github.com/luxdefi/node/utils/set"
|
||||
"github.com/luxdefi/node/version"
|
||||
"github.com/luxfi/netrunner/api"
|
||||
"github.com/luxfi/netrunner/network/node"
|
||||
"github.com/luxfi/netrunner/network/node/status"
|
||||
"github.com/luxfi/node/ids"
|
||||
"github.com/luxfi/node/message"
|
||||
"github.com/luxfi/node/network/peer"
|
||||
"github.com/luxfi/node/network/throttling"
|
||||
"github.com/luxfi/node/snow/networking/router"
|
||||
"github.com/luxfi/node/snow/networking/tracker"
|
||||
"github.com/luxfi/node/snow/validators"
|
||||
"github.com/luxfi/node/staking"
|
||||
"github.com/luxfi/node/utils/constants"
|
||||
"github.com/luxfi/node/utils/ips"
|
||||
"github.com/luxfi/node/utils/logging"
|
||||
"github.com/luxfi/node/utils/math/meter"
|
||||
"github.com/luxfi/node/utils/resource"
|
||||
"github.com/luxfi/node/utils/set"
|
||||
"github.com/luxfi/node/version"
|
||||
"github.com/prometheus/client_golang/prometheus"
|
||||
)
|
||||
|
||||
|
||||
@@ -8,10 +8,10 @@ import (
|
||||
"os/exec"
|
||||
"sync"
|
||||
|
||||
"github.com/luxdefi/netrunner/network/node"
|
||||
"github.com/luxdefi/netrunner/network/node/status"
|
||||
"github.com/luxdefi/netrunner/utils"
|
||||
"github.com/luxdefi/node/utils/logging"
|
||||
"github.com/luxfi/netrunner/network/node"
|
||||
"github.com/luxfi/netrunner/network/node/status"
|
||||
"github.com/luxfi/netrunner/utils"
|
||||
"github.com/luxfi/node/utils/logging"
|
||||
"github.com/shirou/gopsutil/process"
|
||||
"go.uber.org/zap"
|
||||
)
|
||||
|
||||
+10
-10
@@ -11,16 +11,16 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/luxdefi/netrunner/network/node"
|
||||
"github.com/luxdefi/node/ids"
|
||||
"github.com/luxdefi/node/message"
|
||||
"github.com/luxdefi/node/network/peer"
|
||||
"github.com/luxdefi/node/staking"
|
||||
"github.com/luxdefi/node/utils/constants"
|
||||
"github.com/luxdefi/node/utils/ips"
|
||||
"github.com/luxdefi/node/utils/logging"
|
||||
"github.com/luxdefi/node/utils/wrappers"
|
||||
"github.com/luxdefi/node/version"
|
||||
"github.com/luxfi/netrunner/network/node"
|
||||
"github.com/luxfi/node/ids"
|
||||
"github.com/luxfi/node/message"
|
||||
"github.com/luxfi/node/network/peer"
|
||||
"github.com/luxfi/node/staking"
|
||||
"github.com/luxfi/node/utils/constants"
|
||||
"github.com/luxfi/node/utils/ips"
|
||||
"github.com/luxfi/node/utils/logging"
|
||||
"github.com/luxfi/node/utils/wrappers"
|
||||
"github.com/luxfi/node/version"
|
||||
"github.com/prometheus/client_golang/prometheus"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
+8
-8
@@ -10,14 +10,14 @@ import (
|
||||
"strings"
|
||||
"syscall"
|
||||
|
||||
"github.com/luxdefi/netrunner/api"
|
||||
"github.com/luxdefi/netrunner/network"
|
||||
"github.com/luxdefi/netrunner/network/node"
|
||||
"github.com/luxdefi/netrunner/utils"
|
||||
"github.com/luxdefi/node/config"
|
||||
"github.com/luxdefi/node/ids"
|
||||
"github.com/luxdefi/node/utils/constants"
|
||||
"github.com/luxdefi/node/utils/logging"
|
||||
"github.com/luxfi/netrunner/api"
|
||||
"github.com/luxfi/netrunner/network"
|
||||
"github.com/luxfi/netrunner/network/node"
|
||||
"github.com/luxfi/netrunner/utils"
|
||||
"github.com/luxfi/node/config"
|
||||
"github.com/luxfi/node/ids"
|
||||
"github.com/luxfi/node/utils/constants"
|
||||
"github.com/luxfi/node/utils/logging"
|
||||
dircopy "github.com/otiai10/copy"
|
||||
"golang.org/x/exp/maps"
|
||||
)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package local
|
||||
|
||||
import "github.com/luxdefi/node/message"
|
||||
import "github.com/luxfi/node/message"
|
||||
|
||||
var _ message.OutboundMessage = &TestMsg{}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user