Skip to content

Commit a3c7fb3

Browse files
finishing touches
1 parent 21dee98 commit a3c7fb3

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
cpu: amd64
2323
#- os: windows
2424
#cpu: i386
25-
branch: [version-1-2, version-1-4, version-1-6, devel, mingw-longjmp-devel]
25+
branch: [version-1-2, version-1-4, version-1-6, devel]
2626
include:
2727
- target:
2828
os: linux
@@ -222,9 +222,6 @@ jobs:
222222
- name: Build Nim and Nimble
223223
run: |
224224
curl -O -L -s -S https://raw.githubusercontent.com/status-im/nimbus-build-system/master/scripts/build_nim.sh
225-
if [[ "${{ matrix.branch }}" == "mingw-longjmp-devel" ]]; then
226-
git clone --branch mingw-longjmp-devel --depth 1 https://github.com/status-im/Nim.git nim
227-
fi
228225
env MAKE="${MAKE_CMD} -j${ncpu}" ARCH_OVERRIDE=${PLATFORM} NIM_COMMIT=${{ matrix.branch }} \
229226
QUICK_AND_DIRTY_COMPILER=1 QUICK_AND_DIRTY_NIMBLE=1 CC=gcc \
230227
bash build_nim.sh nim csources dist/nimble NimBinaries
@@ -234,7 +231,8 @@ jobs:
234231
run: |
235232
export PLATFORM="${{ matrix.target.os }}-${{ matrix.target.cpu }}"
236233
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib"
237-
if [[ "${{ matrix.target.os }}" == "windows" && "${{ matrix.branch }}" == "mingw-longjmp-devel" ]]; then
234+
if [[ "${{ matrix.target.os }}" == "windows" ]]; then
235+
# https://github.com/status-im/nimbus-eth2/issues/3121
238236
export NIMFLAGS="-d:nimRawSetjmp"
239237
fi
240238
nim --version

eth/p2p/rlpx_protocols/les/flow_control.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ proc bufValueAfterRequest*(network: LesNetwork, peer: LesPeer,
357357
return peer.remoteFlowState.bufValue
358358

359359
when defined(testing):
360-
import unittest, random, ../../rlpx
360+
import unittest2, random, ../../rlpx
361361

362362
proc isMax(s: FlowControlState): bool =
363363
s.bufValue == s.bufLimit

tests/utp/test_clock_drift_calculator.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
import
1010
chronos,
11-
unittest,
11+
unittest2,
1212
../../eth/utp/clock_drift_calculator
1313

1414
suite "Clock drift calculator":

0 commit comments

Comments
 (0)