add copyright header to state_sim and run it in mainnet config, like the other tests, in CI

This commit is contained in:
Dustin Brody 2019-12-23 13:39:27 +01:00 committed by zah
parent 46de726e3d
commit c731c67a50
2 changed files with 9 additions and 1 deletions

View File

@ -61,5 +61,6 @@ task test, "Run all tests":
buildBinary "all_fixtures_require_ssz", "tests/official/", "-r -d:release -d:chronicles_log_level=TRACE -d:const_preset=mainnet"
# State sim; getting into 4th epoch useful to trigger consensus checks
buildBinary "state_sim", "research/", "-r -d:release", "--validators=128 --slots=40"
buildBinary "state_sim", "research/", "-r -d:release", "--validators=1024 --slots=32"
buildBinary "state_sim", "research/", "-r -d:release -d:const_preset=mainnet", "--validators=1024 --slots=128"

View File

@ -1,3 +1,10 @@
# beacon_chain
# Copyright (c) 2019 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).
# at your option. This file may not be copied, modified, or distributed except according to those terms.
import
confutils, stats, times, std/monotimes,
strformat,