mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-10 14:26:26 +00:00
Merge branch 'windows'
This commit is contained in:
commit
d03679d9a8
@ -17,6 +17,7 @@ platform:
|
||||
- x64
|
||||
|
||||
install:
|
||||
- git submodule update --init --recursive
|
||||
- setlocal EnableExtensions EnableDelayedExpansion
|
||||
|
||||
- IF "%PLATFORM%" == "x86" (
|
||||
|
6
nim.cfg
6
nim.cfg
@ -1,10 +1,10 @@
|
||||
# https://github.com/nim-lang/Nim/issues/8294#issuecomment-454556051
|
||||
--threads:on
|
||||
--opt:speed
|
||||
|
||||
@if windows:
|
||||
# https://github.com/nim-lang/Nim/issues/8294#issuecomment-454556051
|
||||
-d:"chronicles_colors=NoColors"
|
||||
@else
|
||||
# -d:withLibP2P
|
||||
# increase stack size
|
||||
--passL:"-Wl,--stack,8388608"
|
||||
@end
|
||||
|
||||
|
@ -15,12 +15,12 @@ import
|
||||
./state_test_utils
|
||||
|
||||
const TestFolder = currentSourcePath.rsplit(DirSep, 1)[0]
|
||||
const TestsPath = "/fixtures/json_tests/state/sanity-check_default-config_100-vals-first_test.json"
|
||||
const TestsPath = "fixtures" / "json_tests" / "state" / "sanity-check_default-config_100-vals-first_test.json"
|
||||
|
||||
suite "Official - State tests": # Initializing a beacon state from the deposits
|
||||
var stateTests: StateTest
|
||||
test "Parsing the official state tests into Nimbus beacon types":
|
||||
stateTests = parseStateTests(TestFolder & TestsPath)
|
||||
stateTests = parseStateTests(TestFolder / TestsPath)
|
||||
doAssert $stateTests.test_cases[0].name == "test_empty_block_transition"
|
||||
var initialState: BeaconState
|
||||
test "Initializing from scratch a new beacon chain with the same constants and deposit configuration as official state":
|
||||
|
Loading…
x
Reference in New Issue
Block a user