Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# beacon_chain
# Copyright (c) 2020-2025 Status Research & Development GmbH
# Copyright (c) 2020-2026 Status Research & Development GmbH
# Licensed and distributed under either of
# * MIT license (license terms in the root directory or at https://opensource.org/licenses/MIT).
# * Apache v2 license (license terms in the root directory or at https://www.apache.org/licenses/LICENSE-2.0).
Expand Down Expand Up @@ -107,6 +107,13 @@ jobs:
# for miniupnp that runs "wingenminiupnpcstrings.exe" from the current dir
echo "." >> $GITHUB_PATH

- name: Install nasm (Windows)
if: runner.os == 'Windows'
shell: pwsh
run: |
choco install nasm --no-progress -y
"C:\Program Files\NASM" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append

- name: Derive environment variables
run: |
if [[ '${{ matrix.target.cpu }}' == 'amd64' ]]; then
Expand Down
12 changes: 4 additions & 8 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# beacon_chain
# Copyright (c) 2019-2025 Status Research & Development GmbH
# Copyright (c) 2019-2026 Status Research & Development GmbH
# Licensed and distributed under either of
# * MIT license (license terms in the root directory or at http://opensource.org/licenses/MIT).
# * Apache v2 license (license terms in the root directory or at http://www.apache.org/licenses/LICENSE-2.0).
Expand Down Expand Up @@ -229,13 +229,9 @@
url = https://github.com/eth-clients/hoodi
ignore = untracked
branch = main
[submodule "vendor/nim-ngtcp2"]
path = vendor/nim-ngtcp2
url = https://github.com/vacp2p/nim-ngtcp2
branch = main
[submodule "vendor/nim-quic"]
path = vendor/nim-quic
url = https://github.com/vacp2p/nim-quic
[submodule "vendor/nim-lsquic"]
path = vendor/nim-lsquic
url = https://github.com/vacp2p/nim-lsquic
branch = main
[submodule "vendor/nim-intops"]
path = vendor/nim-intops
Expand Down
13 changes: 10 additions & 3 deletions config.nims
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,6 @@ if defined(windows):
switch("passL", "-Wl,--stack,8388608")
# https://github.com/nim-lang/Nim/issues/4057
--tlsEmulation:off
if defined(i386):
# set the IMAGE_FILE_LARGE_ADDRESS_AWARE flag so we can use PAE, if enabled, and access more than 2 GiB of RAM
switch("passL", "-Wl,--large-address-aware")

# The dynamic Chronicles output currently prevents us from using colors on Windows
# because these require direct manipulations of the stdout File object.
Expand Down Expand Up @@ -225,3 +222,13 @@ put("sysrng.always", "-fno-lto")
# sqlite3.c: In function ‘sqlite3SelectNew’:
# vendor/nim-sqlite3-abi/sqlite3.c:124500: warning: function may return address of local variable [-Wreturn-local-addr]
put("sqlite3.always", "-fno-lto") # -Wno-return-local-addr

# ############################################################
#
# QUIC does variable stack allocations
#
# ############################################################

put("lsquic_enc_sess_ietf.always", "-fno-lto -Wno-stack-usage")
put("lsquic_handshake.always", "-fno-lto -Wno-stack-usage")
put("lsquic_hkdf.always", "-fno-lto -Wno-stack-usage")
2 changes: 1 addition & 1 deletion vendor/nim-libp2p
Submodule nim-libp2p updated 459 files
1 change: 1 addition & 0 deletions vendor/nim-lsquic
Submodule nim-lsquic added at 4fb03e
1 change: 0 additions & 1 deletion vendor/nim-ngtcp2
Submodule nim-ngtcp2 deleted from 791eb8
1 change: 0 additions & 1 deletion vendor/nim-quic
Submodule nim-quic deleted from 6d8678
Loading