Skip to content

Commit

Permalink
Add ssz files not part of consensus-spec-tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
HristoStaykov committed Dec 19, 2023
1 parent bc68f05 commit caa7c0e
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ CURRENT_DIR=$(pwd)

echo "CURRENT_DIR = " $CURRENT_DIR

cd $SCRIPT_DIR/../docker && docker build -f Dockerfile_zcli . && docker run -v $SCRIPT_DIR/../../:/DendrETH zcli:latest
cd $SCRIPT_DIR/../docker && docker build -t zcli:latest -f Dockerfile_zcli . && docker run -v $SCRIPT_DIR/../../:/DendrETH zcli:latest

cd $CURRENT_DIR

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,8 @@ add_test(weigh_justification_and_finalization_test weigh_justification_and_final

target_include_directories(weigh_justification_and_finalization_test PRIVATE ${PROJECT_SOURCE_DIR}/src)

add_custom_command(TARGET weigh_justification_and_finalization_test POST_BUILD
COMMAND cp -r ${CMAKE_CURRENT_SOURCE_DIR}/ssz_files ${CMAKE_CURRENT_BINARY_DIR}
DEPENDS compile_commands.json
VERBATIM ON
)
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ void test_circuit_ssz_json() {
using namespace nlohmann;

std::vector<path> result;
path my_path("/consensus-spec-tests");
path my_path("./ssz_files");
try {
find_matching_files(my_path, std::vector<std::string> {"ssz_snappy.json"}, result);
} catch (const NonExistentPath& e) {
Expand Down

0 comments on commit caa7c0e

Please sign in to comment.