mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-08-25 00:01:09 +00:00
chore: assorted bumps (#1351)
This commit is contained in:
+7
-12
@@ -37,22 +37,17 @@
|
||||
path = vendor/nim-nitro
|
||||
url = https://github.com/status-im/nim-nitro.git
|
||||
ignore = untracked
|
||||
branch = master
|
||||
branch = main
|
||||
[submodule "vendor/questionable"]
|
||||
path = vendor/questionable
|
||||
url = https://github.com/status-im/questionable.git
|
||||
ignore = untracked
|
||||
branch = master
|
||||
[submodule "vendor/upraises"]
|
||||
path = vendor/upraises
|
||||
url = https://github.com/markspanbroek/upraises.git
|
||||
ignore = untracked
|
||||
branch = master
|
||||
branch = main
|
||||
[submodule "vendor/asynctest"]
|
||||
path = vendor/asynctest
|
||||
url = https://github.com/status-im/asynctest.git
|
||||
ignore = untracked
|
||||
branch = master
|
||||
branch = main
|
||||
[submodule "vendor/nim-presto"]
|
||||
path = vendor/nim-presto
|
||||
url = https://github.com/status-im/nim-presto.git
|
||||
@@ -132,7 +127,7 @@
|
||||
path = vendor/nim-websock
|
||||
url = https://github.com/status-im/nim-websock.git
|
||||
ignore = untracked
|
||||
branch = master
|
||||
branch = main
|
||||
[submodule "vendor/nim-contract-abi"]
|
||||
path = vendor/nim-contract-abi
|
||||
url = https://github.com/status-im/nim-contract-abi
|
||||
@@ -160,7 +155,7 @@
|
||||
path = vendor/nim-taskpools
|
||||
url = https://github.com/status-im/nim-taskpools.git
|
||||
ignore = untracked
|
||||
branch = master
|
||||
branch = stable
|
||||
[submodule "vendor/nim-leopard"]
|
||||
path = vendor/nim-leopard
|
||||
url = https://github.com/status-im/nim-leopard.git
|
||||
@@ -225,9 +220,9 @@
|
||||
path = vendor/nim-quic
|
||||
url = https://github.com/vacp2p/nim-quic.git
|
||||
ignore = untracked
|
||||
branch = master
|
||||
branch = main
|
||||
[submodule "vendor/nim-ngtcp2"]
|
||||
path = vendor/nim-ngtcp2
|
||||
url = https://github.com/vacp2p/nim-ngtcp2.git
|
||||
ignore = untracked
|
||||
branch = master
|
||||
branch = main
|
||||
|
||||
@@ -41,19 +41,18 @@ template benchmark*(name: untyped, count: int, blk: untyped) =
|
||||
)
|
||||
benchRuns[benchmarkName] = (runs.avg(), count)
|
||||
|
||||
template printBenchMarkSummaries*(printRegular=true, printTsv=true) =
|
||||
template printBenchMarkSummaries*(printRegular = true, printTsv = true) =
|
||||
if printRegular:
|
||||
echo ""
|
||||
for k, v in benchRuns:
|
||||
echo "Benchmark average run ", v.avgTimeSec, " for ", v.count, " runs ", "for ", k
|
||||
|
||||
|
||||
if printTsv:
|
||||
echo ""
|
||||
echo "name", "\t", "avgTimeSec", "\t", "count"
|
||||
for k, v in benchRuns:
|
||||
echo k, "\t", v.avgTimeSec, "\t", v.count
|
||||
|
||||
|
||||
import std/math
|
||||
|
||||
func floorLog2*(x: int): int =
|
||||
|
||||
+1
-1
@@ -12,6 +12,7 @@ import std/strutils
|
||||
import std/os
|
||||
import std/tables
|
||||
import std/cpuinfo
|
||||
import std/net
|
||||
|
||||
import pkg/chronos
|
||||
import pkg/taskpools
|
||||
@@ -21,7 +22,6 @@ import pkg/confutils
|
||||
import pkg/confutils/defs
|
||||
import pkg/nitro
|
||||
import pkg/stew/io2
|
||||
import pkg/stew/shims/net as stewnet
|
||||
import pkg/datastore
|
||||
import pkg/ethers except Rng
|
||||
import pkg/stew/io2
|
||||
|
||||
+2
-2
@@ -16,8 +16,10 @@ import std/terminal # Is not used in tests
|
||||
{.pop.}
|
||||
|
||||
import std/options
|
||||
import std/parseutils
|
||||
import std/strutils
|
||||
import std/typetraits
|
||||
import std/net
|
||||
|
||||
import pkg/chronos
|
||||
import pkg/chronicles/helpers
|
||||
@@ -27,8 +29,6 @@ import pkg/confutils/std/net
|
||||
import pkg/toml_serialization
|
||||
import pkg/metrics
|
||||
import pkg/metrics/chronos_httpserver
|
||||
import pkg/stew/shims/net as stewnet
|
||||
import pkg/stew/shims/parseutils
|
||||
import pkg/stew/byteutils
|
||||
import pkg/libp2p
|
||||
import pkg/ethers
|
||||
|
||||
@@ -2,7 +2,7 @@ import std/hashes
|
||||
import std/sequtils
|
||||
import std/typetraits
|
||||
import pkg/contractabi
|
||||
import pkg/nimcrypto
|
||||
import pkg/nimcrypto/keccak
|
||||
import pkg/ethers/contracts/fields
|
||||
import pkg/questionable/results
|
||||
import pkg/stew/byteutils
|
||||
|
||||
+1
-1
@@ -10,13 +10,13 @@
|
||||
{.push raises: [].}
|
||||
|
||||
import std/algorithm
|
||||
import std/net
|
||||
import std/sequtils
|
||||
|
||||
import pkg/chronos
|
||||
import pkg/libp2p/[cid, multicodec, routing_record, signed_envelope]
|
||||
import pkg/questionable
|
||||
import pkg/questionable/results
|
||||
import pkg/stew/shims/net
|
||||
import pkg/contractabi/address as ca
|
||||
import pkg/codexdht/discv5/[routing_table, protocol as discv5]
|
||||
from pkg/nimcrypto import keccak256
|
||||
|
||||
+3
-3
@@ -10,10 +10,10 @@
|
||||
|
||||
import
|
||||
std/[options, os, strutils, times, net, atomics],
|
||||
stew/shims/net as stewNet,
|
||||
stew/[objects, results],
|
||||
stew/[objects],
|
||||
nat_traversal/[miniupnpc, natpmp],
|
||||
json_serialization/std/net
|
||||
json_serialization/std/net,
|
||||
results
|
||||
|
||||
import pkg/chronos
|
||||
import pkg/chronicles
|
||||
|
||||
@@ -36,7 +36,6 @@ import std/sequtils
|
||||
import std/times
|
||||
import pkg/chronos
|
||||
import pkg/datastore
|
||||
import pkg/nimcrypto
|
||||
import pkg/questionable
|
||||
import pkg/questionable/results
|
||||
import pkg/stint
|
||||
@@ -53,6 +52,8 @@ import ../units
|
||||
export requests
|
||||
export logutils
|
||||
|
||||
from nimcrypto import randomBytes
|
||||
|
||||
logScope:
|
||||
topics = "marketplace sales reservations"
|
||||
|
||||
|
||||
@@ -9,11 +9,11 @@
|
||||
|
||||
{.push raises: [], gcsafe.}
|
||||
|
||||
import std/net
|
||||
import std/strutils
|
||||
import std/options
|
||||
|
||||
import pkg/libp2p
|
||||
import pkg/stew/shims/net
|
||||
import pkg/stew/endians2
|
||||
|
||||
func remapAddr*(
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
{.push raises: [].}
|
||||
|
||||
import
|
||||
std/[tables, hashes], pkg/results, pkg/stew/shims/net as stewNet, chronos, chronicles
|
||||
import std/[net, tables, hashes], pkg/results, chronos, chronicles
|
||||
|
||||
import pkg/libp2p
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import std/[unittest, options, net], stew/shims/net as stewNet
|
||||
import std/[unittest, options, net]
|
||||
import pkg/chronos
|
||||
import pkg/libp2p/[multiaddress, multihash, multicodec]
|
||||
import pkg/results
|
||||
|
||||
+1
-1
@@ -38,7 +38,7 @@ proc example*[T](_: type seq[T]): seq[T] =
|
||||
newSeqWith(length, T.example)
|
||||
|
||||
proc example*(_: type UInt256): UInt256 =
|
||||
UInt256.fromBytes(array[32, byte].example)
|
||||
UInt256.fromBytesBE(array[32, byte].example)
|
||||
|
||||
proc example*[T: distinct](_: type T): T =
|
||||
type baseType = T.distinctBase
|
||||
|
||||
Vendored
+1
-1
Submodule vendor/lrucache.nim updated: 8767ade0b7...ba57736921
Vendored
+1
-1
Submodule vendor/nim-bearssl updated: 667b40440a...ff43a1dad1
Vendored
+1
-1
Submodule vendor/nim-blscurve updated: de2d3c7926...f4d0de2eec
Vendored
+1
-1
Submodule vendor/nim-codex-dht updated: f6eef1ac95...6c7de03622
Vendored
+1
-1
Submodule vendor/nim-contract-abi updated: 842f48910b...0a7b4cecce
Vendored
+1
-1
Submodule vendor/nim-http-utils updated: 8bb1acbaa4...c53852d9e2
Vendored
+1
-1
Submodule vendor/nim-leopard updated: 7506b90f9c...0478b12df9
Vendored
+1
-1
Submodule vendor/nim-leveldbstatic updated: 378ef63e26...5a0cd8de6b
Vendored
+1
-1
Submodule vendor/nim-metrics updated: cacfdc1245...9b9afee963
Vendored
+1
-1
Submodule vendor/nim-nat-traversal updated: 6508ce7506...860e18c376
Vendored
+1
-1
Submodule vendor/nim-nitro updated: e3719433d5...5ccdeb46e0
Vendored
+1
-1
Submodule vendor/nim-presto updated: 92b1c7ff14...62225bfa7c
Vendored
+1
-1
Submodule vendor/nim-sqlite3-abi updated: 05bbff1af4...6797c31836
Vendored
+1
-1
Submodule vendor/nim-stew updated: a6e1981320...b66168735d
Vendored
+1
-1
Submodule vendor/nim-taskpools updated: 66585e2e96...4acdc6ef00
Vendored
+1
-1
Submodule vendor/nim-testutils updated: 4d37244f9f...e4d37dc165
Vendored
+1
-1
Submodule vendor/nim-websock updated: ebe308a79a...35ae76f155
Vendored
+1
-1
Submodule vendor/nim-zlib updated: 91cf360b1a...c71efff5fd
Vendored
+1
-1
Submodule vendor/stint updated: 5c5e01cef0...470b789256
Vendored
-1
Submodule vendor/upraises deleted from bc2628989b
Reference in New Issue
Block a user