fix UnusedImport warnings; bump nim-bearssl, nim-stint, and nim-stew (#2456)

This commit is contained in:
tersec 2024-07-04 23:46:59 +00:00 committed by GitHub
parent 893bfa4305
commit 1f40b710ee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 6 additions and 12 deletions

View File

@ -180,9 +180,6 @@ switch("warning", "CaseTransition:off")
# do its (N)RVO pass: https://github.com/nim-lang/RFCs/issues/230 # do its (N)RVO pass: https://github.com/nim-lang/RFCs/issues/230
switch("warning", "ObservableStores:off") switch("warning", "ObservableStores:off")
# Too many false positives for "Warning: method has lock level <unknown>, but another method has 0 [LockLevel]"
switch("warning", "LockLevel:off")
# nim-kzg shipping their own blst, nimbus-eth1 too. # nim-kzg shipping their own blst, nimbus-eth1 too.
# disable nim-kzg's blst # disable nim-kzg's blst
switch("define", "kzgExternalBlst") switch("define", "kzgExternalBlst")
@ -202,9 +199,6 @@ when not defined(use_system_rocksdb) and not defined(windows):
switch("dynlibOverride", "lz4") switch("dynlibOverride", "lz4")
switch("dynlibOverride", "zstd") switch("dynlibOverride", "zstd")
when defined(gcc):
switch("passc", "-Wno-error=incompatible-pointer-types")
# This applies per-file compiler flags to C files # This applies per-file compiler flags to C files
# which do not support {.localPassC: "...".} # which do not support {.localPassC: "...".}
# Unfortunately this is filename based instead of path-based # Unfortunately this is filename based instead of path-based

View File

@ -9,11 +9,11 @@
# according to those terms. # according to those terms.
import import
std/[algorithm, os, random, sequtils, strformat, strutils, tables, times], std/[algorithm, random, sequtils, strformat, strutils, tables, times],
../nimbus/core/chain, # must be early (compilation annoyance) ../nimbus/core/chain, # must be early (compilation annoyance)
../nimbus/common/common, ../nimbus/common/common,
../nimbus/core/[executor, casper, tx_pool, tx_pool/tx_item], ../nimbus/core/[casper, tx_pool, tx_pool/tx_item],
../nimbus/[config, evm/state, evm/types], ../nimbus/config,
./test_txpool/[helpers, setup, sign_helper], ./test_txpool/[helpers, setup, sign_helper],
chronos, chronos,
eth/[keys, p2p], eth/[keys, p2p],

2
vendor/nim-bearssl vendored

@ -1 +1 @@
Subproject commit a806cbfab5fe8de49c76139f8705fff79daf99ee Subproject commit 646fa2152b11980c24bf34b3e214b479c9d25f21

2
vendor/nim-stew vendored

@ -1 +1 @@
Subproject commit 28743363fff5d751b9dd1809b0c7ccf332eb8d79 Subproject commit e00fea1f6e14234adb10d9c117a70905ae31872b

2
vendor/nim-stint vendored

@ -1 +1 @@
Subproject commit 9d2b382c5dc34f0d6bbd93b2a5d65dde85067e0f Subproject commit 9a3348bd4499045fb211afeeaf2a54730060c081