Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ssz spec test #11

Merged
merged 5 commits into from
Oct 29, 2024
Merged

Add ssz spec test #11

merged 5 commits into from
Oct 29, 2024

Conversation

fearlessfe
Copy link
Contributor

Add spec test for type Fork
related #3

# Update deps target to include nasm check
deps: check_nasm
@echo "Installing dependencies"
@git submodule update --init --recursive
@cd bls && make -f Makefile.onelib ETH_CFLAGS=-DBLS_ETH LIB_DIR=lib

mkdir -p consensus-spec-tests
Copy link
Member

Choose a reason for hiding this comment

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

Use a separate the task would be better such as if someone want to build it in local but don't want to do spec tests.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

build.zig.zon Outdated
// .url = "https://github.com/Raiden1411/zabi/archive/79c77aa4a39d41ed50033fd922f4d37c0f0638bb.tar.gz",
// .hash = "122095aaf2d09e3286bf8b00b773b65c1632639de6c5005de881754df7c04efc7e98",
// } },
.dependencies = .{ .yaml = .{ .url = "git+https://github.com/optimism-java/zig-yaml.git#7a7c5162230bb08f73ec22a063010ed7c76ccded", .hash = "1220a6d7148f7777d997ee663e0efe0fb9c57a38658ea164bcd267e8391c3ce0aa87" } },
Copy link
Member

Choose a reason for hiding this comment

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

Why snappy/ssz directly imported but this lib outside, should we unify them?

}
}
if (!hasSubDir) {
// std.debug.print("currentPath: {s}\n", .{currentPath});
Copy link
Member

Choose a reason for hiding this comment

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

remove comment out code

const Yaml = @import("yaml").Yaml;

const gpa = testing.allocator;

Copy link
Member

Choose a reason for hiding this comment

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

Add comment for functions

Copy link
Contributor Author

@fearlessfe fearlessfe Oct 29, 2024

Choose a reason for hiding this comment

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

done

@GrapeBaBa GrapeBaBa merged commit b7f0885 into main Oct 29, 2024
1 check passed
@fearlessfe fearlessfe deleted the zig-yaml branch October 30, 2024 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants