mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-01-02 13:33:10 +00:00
chore: assorted bumps
* fix branch names in gitmodules that were pointing to non-existant branches (allows running `git submodule update --remote` to find out-of-date submodules) * make sure commits from canonical branches are used for submodules * "small" library bumps that deal with small correctness issues, memory leaks, threading fixes and other general performance/bugfixing * metrics: make it work better with multithreading, which makes debugging easier * stew: more compile-time support and an assortment of other fixes * taskpools: block invalid use of GC types at compile time * nimcrypto: accelerated sha2 * upraises: remove submodule
This commit is contained in:
parent
9ac9f6ff3c
commit
3547bcc409
19
.gitmodules
vendored
19
.gitmodules
vendored
@ -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 =
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
2
vendor/lrucache.nim
vendored
2
vendor/lrucache.nim
vendored
@ -1 +1 @@
|
||||
Subproject commit 8767ade0b76ea5b5d4ce24a52d0c58a6ebeb66cd
|
||||
Subproject commit ba57736921b2972163b673fc706e7659e7c5cbd6
|
||||
2
vendor/nim-bearssl
vendored
2
vendor/nim-bearssl
vendored
@ -1 +1 @@
|
||||
Subproject commit 667b40440a53a58e9f922e29e20818720c62d9ac
|
||||
Subproject commit ff43a1dad1af1cc4bd928c243a1c0470a315aa2c
|
||||
2
vendor/nim-blscurve
vendored
2
vendor/nim-blscurve
vendored
@ -1 +1 @@
|
||||
Subproject commit de2d3c79264bba18dbea469c8c5c4b3bb3c8bc55
|
||||
Subproject commit f4d0de2eece20380541fbf73d4b8bf57dc214b3b
|
||||
2
vendor/nim-codex-dht
vendored
2
vendor/nim-codex-dht
vendored
@ -1 +1 @@
|
||||
Subproject commit f6eef1ac95c70053b2518f1e3909c909ed8701a6
|
||||
Subproject commit 6c7de036224724b064dcaa6b1d898be1c6d03242
|
||||
2
vendor/nim-contract-abi
vendored
2
vendor/nim-contract-abi
vendored
@ -1 +1 @@
|
||||
Subproject commit 842f48910be4f388bcbf8abf1f02aba1d5e2ee64
|
||||
Subproject commit 0a7b4cecce725bcb11ad8648035a92704a8854d3
|
||||
2
vendor/nim-http-utils
vendored
2
vendor/nim-http-utils
vendored
@ -1 +1 @@
|
||||
Subproject commit 8bb1acbaa4b86eb866145b0d468eff64a57d1897
|
||||
Subproject commit c53852d9e24205b6363bba517fa8ee7bde823691
|
||||
2
vendor/nim-leopard
vendored
2
vendor/nim-leopard
vendored
@ -1 +1 @@
|
||||
Subproject commit 7506b90f9c650c02b96bf525d4fd1bd4942a495f
|
||||
Subproject commit 0478b12df90cbbe531efa69422cff67b5a3a5d93
|
||||
2
vendor/nim-leveldbstatic
vendored
2
vendor/nim-leveldbstatic
vendored
@ -1 +1 @@
|
||||
Subproject commit 378ef63e261e3b5834a3567404edc3ce838498b3
|
||||
Subproject commit 5a0cd8de6b2363827c43cafd3ed346ecee427e1e
|
||||
2
vendor/nim-metrics
vendored
2
vendor/nim-metrics
vendored
@ -1 +1 @@
|
||||
Subproject commit cacfdc12454a0804c65112b9f4f50d1375208dcd
|
||||
Subproject commit 9b9afee96357ad82dabf4563cf292f89b50423df
|
||||
2
vendor/nim-nat-traversal
vendored
2
vendor/nim-nat-traversal
vendored
@ -1 +1 @@
|
||||
Subproject commit 6508ce75060878dfcdfa21f94721672c69a1823b
|
||||
Subproject commit 860e18c37667b5dd005b94c63264560c35d88004
|
||||
2
vendor/nim-nitro
vendored
2
vendor/nim-nitro
vendored
@ -1 +1 @@
|
||||
Subproject commit e3719433d5ace25947c468787c805969642b3913
|
||||
Subproject commit 5ccdeb46e06dcf5cef80d0acbb80ee8a17d596e7
|
||||
2
vendor/nim-presto
vendored
2
vendor/nim-presto
vendored
@ -1 +1 @@
|
||||
Subproject commit 92b1c7ff141e6920e1f8a98a14c35c1fa098e3be
|
||||
Subproject commit 62225bfa7ce703a99e04680bfc3498e69b52897f
|
||||
2
vendor/nim-sqlite3-abi
vendored
2
vendor/nim-sqlite3-abi
vendored
@ -1 +1 @@
|
||||
Subproject commit 05bbff1af4e8fe2d972ba4b0667b89ca94d3ebba
|
||||
Subproject commit 6797c31836bff377bf50f1ac7bf8122449bf99ba
|
||||
2
vendor/nim-stew
vendored
2
vendor/nim-stew
vendored
@ -1 +1 @@
|
||||
Subproject commit a6e198132097fb544d04959aeb3b839e1408f942
|
||||
Subproject commit b66168735d6f3841c5239c3169d3fe5fe98b1257
|
||||
2
vendor/nim-taskpools
vendored
2
vendor/nim-taskpools
vendored
@ -1 +1 @@
|
||||
Subproject commit 66585e2e960b7695e48ea60377fb3aeac96406e8
|
||||
Subproject commit 4acdc6ef005a93dba09f902ed75197548cf7b451
|
||||
2
vendor/nim-testutils
vendored
2
vendor/nim-testutils
vendored
@ -1 +1 @@
|
||||
Subproject commit 4d37244f9f5e1acd8592a4ceb5c3fc47bc160181
|
||||
Subproject commit e4d37dc1652d5c63afb89907efb5a5e812261797
|
||||
2
vendor/nim-websock
vendored
2
vendor/nim-websock
vendored
@ -1 +1 @@
|
||||
Subproject commit ebe308a79a7b440a11dfbe74f352be86a3883508
|
||||
Subproject commit 35ae76f1559e835c80f9c1a3943bf995d3dd9eb5
|
||||
2
vendor/nim-zlib
vendored
2
vendor/nim-zlib
vendored
@ -1 +1 @@
|
||||
Subproject commit 91cf360b1aeb2e0c753ff8bac6de22a41c5ed8cd
|
||||
Subproject commit c71efff5fd1721362b3363dc7d0e2a4c0dbc6453
|
||||
2
vendor/nimcrypto
vendored
2
vendor/nimcrypto
vendored
@ -1 +1 @@
|
||||
Subproject commit dc07e3058c6904eef965394493b6ea99aa2adefc
|
||||
Subproject commit 8085515e717b07e29de1ef50d5e9f15a3f6004c0
|
||||
2
vendor/stint
vendored
2
vendor/stint
vendored
@ -1 +1 @@
|
||||
Subproject commit 5c5e01cef089a261474b7abfe246b37447aaa8ed
|
||||
Subproject commit 470b7892561b5179ab20bd389a69217d6213fe58
|
||||
1
vendor/upraises
vendored
1
vendor/upraises
vendored
@ -1 +0,0 @@
|
||||
Subproject commit bc2628989b63854d980e92dadbd58f83e34b6f25
|
||||
Loading…
x
Reference in New Issue
Block a user