File tree Expand file tree Collapse file tree 13 files changed +36
-24
lines changed
Expand file tree Collapse file tree 13 files changed +36
-24
lines changed Original file line number Diff line number Diff line change 11package dbbench
22
33import (
4+ "runtime"
5+ "sync"
6+
47 "github.com/cockroachdb/pebble"
58 "github.com/cockroachdb/pebble/bloom"
69 "github.com/syndtr/goleveldb/leveldb/iterator"
710 "github.com/syndtr/goleveldb/leveldb/util"
8- "runtime"
9- "sync"
1011)
1112
1213type (
Original file line number Diff line number Diff line change @@ -5,13 +5,14 @@ import (
55 "encoding/hex"
66 "encoding/json"
77 "fmt"
8- "github.com/ethereum/go-ethereum/core/forkid"
9- "github.com/ethereum/go-ethereum/p2p/enr"
10- "github.com/ethereum/go-ethereum/rlp"
118 "io"
129 "os"
1310 "strings"
1411
12+ "github.com/ethereum/go-ethereum/core/forkid"
13+ "github.com/ethereum/go-ethereum/p2p/enr"
14+ "github.com/ethereum/go-ethereum/rlp"
15+
1516 "github.com/rs/zerolog/log"
1617 "github.com/spf13/cobra"
1718
Original file line number Diff line number Diff line change @@ -3,11 +3,12 @@ package foldtrace
33import (
44 "encoding/json"
55 "fmt"
6- "github.com/rs/zerolog/log"
76 "io"
87 "os"
98 "strings"
109
10+ "github.com/rs/zerolog/log"
11+
1112 "github.com/spf13/cobra"
1213
1314 _ "embed"
Original file line number Diff line number Diff line change @@ -3,11 +3,12 @@ package uniswapv3loadtest
33import (
44 "context"
55 "errors"
6- "github.com/0xPolygon/polygon-cli/bindings/tokens"
76 "math/big"
87 "reflect"
98 "strings"
109
10+ "github.com/0xPolygon/polygon-cli/bindings/tokens"
11+
1112 "github.com/0xPolygon/polygon-cli/bindings/uniswapv3"
1213 "github.com/0xPolygon/polygon-cli/util"
1314 "github.com/ethereum/go-ethereum/accounts/abi/bind"
Original file line number Diff line number Diff line change @@ -5,11 +5,12 @@ import (
55 "context"
66 "errors"
77 "fmt"
8- "github.com/0xPolygon/polygon-cli/bindings/tokens"
9- "github.com/ethereum/go-ethereum/core/types"
108 "math/big"
119 "time"
1210
11+ "github.com/0xPolygon/polygon-cli/bindings/tokens"
12+ "github.com/ethereum/go-ethereum/core/types"
13+
1314 "github.com/0xPolygon/polygon-cli/bindings/uniswapv3"
1415 "github.com/0xPolygon/polygon-cli/util"
1516 "github.com/ethereum/go-ethereum/accounts/abi/bind"
Original file line number Diff line number Diff line change @@ -4,9 +4,10 @@ import (
44 "context"
55 "errors"
66 "fmt"
7- "github.com/0xPolygon/polygon-cli/bindings/tokens"
87 "math/big"
98
9+ "github.com/0xPolygon/polygon-cli/bindings/tokens"
10+
1011 "github.com/0xPolygon/polygon-cli/util"
1112 "github.com/ethereum/go-ethereum/accounts/abi/bind"
1213 "github.com/ethereum/go-ethereum/common"
Original file line number Diff line number Diff line change @@ -5,12 +5,13 @@ import (
55 "encoding/hex"
66 "encoding/json"
77 "fmt"
8- "github.com/ethereum/go-ethereum/core/types"
9- "github.com/rs/zerolog/log"
10- "github.com/spf13/cobra"
118 "io"
129 "os"
1310 "strings"
11+
12+ "github.com/ethereum/go-ethereum/core/types"
13+ "github.com/rs/zerolog/log"
14+ "github.com/spf13/cobra"
1415)
1516
1617var (
Original file line number Diff line number Diff line change @@ -4,12 +4,13 @@ import (
44 "encoding/hex"
55 "errors"
66 "fmt"
7+ "math/big"
8+ "strconv"
9+
710 "github.com/ethereum/go-ethereum/common"
811 "github.com/ethereum/go-ethereum/core/types"
912 "github.com/ethereum/go-ethereum/rlp"
1013 "github.com/rs/zerolog/log"
11- "math/big"
12- "strconv"
1314)
1415
1516// L2BlockRaw is the raw representation of a L2 block.
Original file line number Diff line number Diff line change @@ -4,11 +4,12 @@ import (
44 "encoding/hex"
55 "encoding/json"
66 "fmt"
7- "github.com/0xPolygon/polygon-cli/gethkeystore"
87 "io"
98 "os"
109 "strings"
1110
11+ "github.com/0xPolygon/polygon-cli/gethkeystore"
12+
1213 "github.com/ethereum/go-ethereum/crypto"
1314 "github.com/ethereum/go-ethereum/crypto/secp256k1"
1415 "golang.org/x/crypto/sha3"
Original file line number Diff line number Diff line change @@ -6,12 +6,6 @@ import (
66 "encoding/hex"
77 "encoding/json"
88 "fmt"
9- "github.com/0xPolygon/polygon-cli/abi"
10- "github.com/0xPolygon/polygon-cli/util"
11- ethcommon "github.com/ethereum/go-ethereum/common"
12- "github.com/ethereum/go-ethereum/common/hexutil"
13- "github.com/rs/zerolog/log"
14- "github.com/spf13/cobra"
159 "io"
1610 "math"
1711 "math/big"
@@ -20,6 +14,13 @@ import (
2014 "reflect"
2115 "regexp"
2216 "strings"
17+
18+ "github.com/0xPolygon/polygon-cli/abi"
19+ "github.com/0xPolygon/polygon-cli/util"
20+ ethcommon "github.com/ethereum/go-ethereum/common"
21+ "github.com/ethereum/go-ethereum/common/hexutil"
22+ "github.com/rs/zerolog/log"
23+ "github.com/spf13/cobra"
2324)
2425
2526var (
You can’t perform that action at this time.
0 commit comments