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
2 changes: 1 addition & 1 deletion build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ pub fn build(b: *std.Build) void {
const options_spec_test_options = b.addOptions();
const option_spec_test_url = b.option([]const u8, "spec_test_url", "") orelse "https://github.com/ethereum/consensus-specs";
options_spec_test_options.addOption([]const u8, "spec_test_url", option_spec_test_url);
const option_spec_test_version = b.option([]const u8, "spec_test_version", "") orelse "v1.6.0-beta.2";
const option_spec_test_version = b.option([]const u8, "spec_test_version", "") orelse "v1.6.1";

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

While updating the default spec_test_version is correct, this change appears to be incomplete. The file test/spec/version.txt is generated from this value and is used as a cache key for spec tests in CI. It still contains the old version (v1.6.0-beta.2).

Please regenerate test/spec/version.txt by running the appropriate build step (likely related to download_spec_tests) and include the updated file in this pull request to ensure CI uses the correct test vectors.

options_spec_test_options.addOption([]const u8, "spec_test_version", option_spec_test_version);
const option_spec_test_out_dir = b.option([]const u8, "spec_test_out_dir", "") orelse "test/spec/spec_tests";
options_spec_test_options.addOption([]const u8, "spec_test_out_dir", option_spec_test_out_dir);
Expand Down
2 changes: 1 addition & 1 deletion zbuild.zon
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
.type = "string",
},
.spec_test_version = .{
.default = "v1.6.0-beta.2",
.default = "v1.6.1",
.type = "string",
},
.spec_test_out_dir = .{
Expand Down
Loading