File tree 5 files changed +5
-5
lines changed
blockindex/contractstaking
5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -8,12 +8,12 @@ package staking
8
8
import (
9
9
"context"
10
10
"math/big"
11
+ "slices"
11
12
"testing"
12
13
"time"
13
14
14
15
"github.com/golang/mock/gomock"
15
16
"github.com/stretchr/testify/require"
16
- "golang.org/x/exp/slices"
17
17
18
18
"github.com/iotexproject/iotex-address/address"
19
19
"github.com/iotexproject/iotex-proto/golang/iotexapi"
Original file line number Diff line number Diff line change 9
9
"cmp"
10
10
"context"
11
11
"math/big"
12
+ "slices"
12
13
"strconv"
13
14
"sync"
14
15
"testing"
@@ -17,7 +18,6 @@ import (
17
18
"github.com/ethereum/go-ethereum/common"
18
19
"github.com/iotexproject/iotex-address/address"
19
20
"github.com/stretchr/testify/require"
20
- "golang.org/x/exp/slices"
21
21
22
22
"github.com/iotexproject/iotex-core/v2/action/protocol"
23
23
"github.com/iotexproject/iotex-core/v2/action/protocol/staking"
Original file line number Diff line number Diff line change 6
6
"encoding/hex"
7
7
"math"
8
8
"math/big"
9
+ "slices"
9
10
"strings"
10
11
"testing"
11
12
@@ -15,7 +16,6 @@ import (
15
16
"github.com/iotexproject/go-pkgs/hash"
16
17
"github.com/iotexproject/iotex-proto/golang/iotextypes"
17
18
"github.com/stretchr/testify/require"
18
- "golang.org/x/exp/slices"
19
19
20
20
"github.com/iotexproject/iotex-core/v2/action"
21
21
"github.com/iotexproject/iotex-core/v2/action/protocol"
Original file line number Diff line number Diff line change @@ -9,14 +9,14 @@ import (
9
9
"context"
10
10
"fmt"
11
11
"math/big"
12
+ "slices"
12
13
"strings"
13
14
14
15
"github.com/grpc-ecosystem/go-grpc-middleware/util/metautils"
15
16
"github.com/iotexproject/iotex-proto/golang/iotexapi"
16
17
"github.com/iotexproject/iotex-proto/golang/iotextypes"
17
18
"github.com/pkg/errors"
18
19
"github.com/spf13/cobra"
19
- "golang.org/x/exp/slices"
20
20
"google.golang.org/grpc/status"
21
21
"google.golang.org/protobuf/proto"
22
22
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ package nodeinfo
7
7
8
8
import (
9
9
"context"
10
+ "slices"
10
11
"sync/atomic"
11
12
"time"
12
13
@@ -18,7 +19,6 @@ import (
18
19
"github.com/pkg/errors"
19
20
"github.com/prometheus/client_golang/prometheus"
20
21
"go.uber.org/zap"
21
- "golang.org/x/exp/slices"
22
22
"google.golang.org/protobuf/proto"
23
23
"google.golang.org/protobuf/types/known/timestamppb"
24
24
You can’t perform that action at this time.
0 commit comments