mirror of
https://github.com/luxfi/evm.git
synced 2026-09-24 00:27:44 +00:00
Depend on the renamed utility package
github.com/luxfi/utils is now github.com/luxfi/util. Import paths and the module requirement follow the rename, and the luxUtils alias becomes luxUtil. The old module stays as an indirect requirement that published dependencies still pull in. Co-authored-by: Hanzo Dev <[email protected]>
This commit is contained in:
@@ -39,7 +39,7 @@ require (
|
||||
github.com/luxfi/timer v1.1.1
|
||||
github.com/luxfi/trace v1.2.1
|
||||
github.com/luxfi/upgrade v1.0.3
|
||||
github.com/luxfi/utils v1.3.1
|
||||
github.com/luxfi/util v1.3.4
|
||||
github.com/luxfi/validators v1.3.1
|
||||
github.com/luxfi/version v1.0.1
|
||||
github.com/luxfi/vm v1.3.14
|
||||
@@ -131,6 +131,7 @@ require (
|
||||
github.com/luxfi/proto v1.4.2 // indirect
|
||||
github.com/luxfi/resource v0.1.1 // indirect
|
||||
github.com/luxfi/threshold v1.12.6 // indirect
|
||||
github.com/luxfi/utils v1.3.1 // indirect
|
||||
github.com/luxfi/zap v1.2.6 // indirect
|
||||
github.com/luxfi/zapdb v1.10.6 // indirect
|
||||
github.com/miekg/dns v1.1.72 // indirect
|
||||
|
||||
@@ -344,6 +344,8 @@ github.com/luxfi/trace v1.2.1 h1:MPV079P2eTijB7F06AyJU1HJwpQVxRx1qYXhva9YsvM=
|
||||
github.com/luxfi/trace v1.2.1/go.mod h1:/bX8g0RRHPHUq7kX8of/Aaq6C7rD0JuNH57vVbw7ZG8=
|
||||
github.com/luxfi/upgrade v1.0.3 h1:mFMfIb88HzoL4fp7I6w1g+VnxlAWj6UQdZOdf4AkCLk=
|
||||
github.com/luxfi/upgrade v1.0.3/go.mod h1:3c/u4T/n7EsODofkWg5VigSt9BATQM8EmaNttfHMCrU=
|
||||
github.com/luxfi/util v1.3.4 h1:Q0OVQAx71DhI0dRxO7S+f+d3BrSpTdtvb86Uq6mULiQ=
|
||||
github.com/luxfi/util v1.3.4/go.mod h1:uQVkuP8gAETnuCG3a/laDwuo1LWzHNmdknxz2ozldWM=
|
||||
github.com/luxfi/utils v1.3.1 h1:Us02ag60kGu94B41XIelExa7c+K6zPKwDJyq+eB+hc0=
|
||||
github.com/luxfi/utils v1.3.1/go.mod h1:ROZrzpt6Kx8ttS1mo12oqsOzRB088GQ1h9jXEoDDpNA=
|
||||
github.com/luxfi/utxo v0.5.8 h1:HydTOKERb8vY0Z39Dvg/V3qg7My3N/eXOY4nLv3iezg=
|
||||
|
||||
@@ -10,7 +10,7 @@ import (
|
||||
ethrawdb "github.com/luxfi/geth/core/rawdb"
|
||||
"github.com/luxfi/geth/ethdb"
|
||||
log "github.com/luxfi/log"
|
||||
"github.com/luxfi/utils/wrappers"
|
||||
"github.com/luxfi/util/wrappers"
|
||||
)
|
||||
|
||||
// ReadSyncRoot reads the root corresponding to the main trie of an in-progress
|
||||
|
||||
@@ -5,7 +5,7 @@ package customrawdb
|
||||
|
||||
import (
|
||||
"github.com/luxfi/geth/common"
|
||||
"github.com/luxfi/utils/wrappers"
|
||||
"github.com/luxfi/util/wrappers"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
|
||||
"github.com/luxfi/constants"
|
||||
"github.com/luxfi/geth/common"
|
||||
"github.com/luxfi/utils/wrappers"
|
||||
"github.com/luxfi/util/wrappers"
|
||||
)
|
||||
|
||||
// Wire format
|
||||
|
||||
@@ -11,7 +11,7 @@ import (
|
||||
"math"
|
||||
|
||||
safemath "github.com/luxfi/math/safe"
|
||||
"github.com/luxfi/utils/wrappers"
|
||||
"github.com/luxfi/util/wrappers"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@@ -8,7 +8,7 @@ import (
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/luxfi/utils/wrappers"
|
||||
"github.com/luxfi/util/wrappers"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@@ -14,7 +14,7 @@ import (
|
||||
"github.com/luxfi/database/memdb"
|
||||
"github.com/luxfi/evm/plugin/evm/validators/state/interfaces"
|
||||
"github.com/luxfi/ids"
|
||||
"github.com/luxfi/utils/wrappers"
|
||||
"github.com/luxfi/util/wrappers"
|
||||
)
|
||||
|
||||
func TestState(t *testing.T) {
|
||||
|
||||
+3
-3
@@ -99,7 +99,7 @@ import (
|
||||
|
||||
"github.com/luxfi/database"
|
||||
luxJSON "github.com/luxfi/evm/utils/json"
|
||||
luxUtils "github.com/luxfi/utils"
|
||||
luxUtil "github.com/luxfi/util"
|
||||
)
|
||||
|
||||
var (
|
||||
@@ -309,7 +309,7 @@ type VM struct {
|
||||
// Metrics
|
||||
sdkMetrics metric.Registry
|
||||
|
||||
bootstrapped luxUtils.Atomic[bool]
|
||||
bootstrapped luxUtil.Atomic[bool]
|
||||
|
||||
stateSyncDone chan struct{}
|
||||
|
||||
@@ -325,7 +325,7 @@ type VM struct {
|
||||
// Initialize only sets these if nil so they can be overridden in tests
|
||||
p2pValidators *p2p.Validators
|
||||
ethTxGossipHandler p2p.Handler
|
||||
ethTxPushGossiper luxUtils.Atomic[*gossip.PushGossiper[*GossipEthTx]]
|
||||
ethTxPushGossiper luxUtil.Atomic[*gossip.PushGossiper[*GossipEthTx]]
|
||||
ethTxPullGossiper gossip.Gossiper
|
||||
|
||||
validatorsManager interfaces.Manager
|
||||
|
||||
@@ -18,7 +18,7 @@ import (
|
||||
"github.com/luxfi/ids"
|
||||
"github.com/luxfi/math/set"
|
||||
context "github.com/luxfi/runtime"
|
||||
agoUtils "github.com/luxfi/utils"
|
||||
agoUtils "github.com/luxfi/util"
|
||||
"github.com/luxfi/warp"
|
||||
"github.com/luxfi/warp/payload"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
@@ -20,7 +20,7 @@ import (
|
||||
"github.com/luxfi/evm/utils/utilstest"
|
||||
"github.com/luxfi/ids"
|
||||
consensuscontext "github.com/luxfi/runtime"
|
||||
agoUtils "github.com/luxfi/utils"
|
||||
agoUtils "github.com/luxfi/util"
|
||||
validators "github.com/luxfi/validators"
|
||||
"github.com/luxfi/validators/validatorstest"
|
||||
"github.com/luxfi/vm/chain"
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"bytes"
|
||||
"testing"
|
||||
|
||||
"github.com/luxfi/utils"
|
||||
"github.com/luxfi/util"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ import (
|
||||
"github.com/luxfi/geth/trie"
|
||||
"github.com/luxfi/geth/trie/trienode"
|
||||
"github.com/luxfi/geth/triedb"
|
||||
"github.com/luxfi/utils/wrappers"
|
||||
"github.com/luxfi/util/wrappers"
|
||||
|
||||
"github.com/luxfi/geth/common"
|
||||
"github.com/luxfi/geth/ethdb"
|
||||
|
||||
@@ -18,7 +18,7 @@ import (
|
||||
"github.com/luxfi/geth/ethdb"
|
||||
"github.com/luxfi/geth/trie"
|
||||
log "github.com/luxfi/log"
|
||||
"github.com/luxfi/utils/wrappers"
|
||||
"github.com/luxfi/util/wrappers"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@ import (
|
||||
"testing"
|
||||
|
||||
"github.com/luxfi/geth/common"
|
||||
"github.com/luxfi/utils"
|
||||
"github.com/luxfi/util"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user