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

bump libsecp256k1 on latest + check step for LSP #24

Merged
merged 1 commit into from
Sep 10, 2024
Merged
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
3 changes: 3 additions & 0 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,7 @@ pub fn build(b: *std.Build) void {

const docs_step = b.step("docs", "Generate documentation");
docs_step.dependOn(&install_docs.step);

const check_step = b.step("check", "Check step for LSP");
check_step.dependOn(&run_lib_unit_tests.step);
}
4 changes: 2 additions & 2 deletions build.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
// internet connectivity.
.dependencies = .{
.secp256k1 = .{
.url = "https://github.com/zig-bitcoin/libsecp256k1-zig/archive/5f70bc5aa2a5ebc69c78a9a75fb83c2d7035bde1.zip",
.hash = "12208e2a2f181feabb9fa01db64232e9cdefdf1b8f2919f1dd7f24c2393cad2b947b",
.url = "git+https://github.com/zig-bitcoin/libsecp256k1-zig#4036f3a70f161b3b60458737bb15bc856e27d97a",
.hash = "122083dda44da69d34f4803d858f599b6022b39b4e5e07d49f77d0f102957595fdba",
},
},
.paths = .{
Expand Down
6 changes: 3 additions & 3 deletions src/bips/bip32/bip32.zig
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ test "schnorr_broken_privkey_ffs" {
}

test "vector_1" {
var secp = try secp256k1.Secp256k1.genNew();
var secp = secp256k1.Secp256k1.genNew();
defer secp.deinit();

var buf: [100]u8 = undefined;
Expand Down Expand Up @@ -637,7 +637,7 @@ test "vector_1" {
}

test "vector_2" {
var secp = try secp256k1.Secp256k1.genNew();
var secp = secp256k1.Secp256k1.genNew();
defer secp.deinit();

var buf: [100]u8 = undefined;
Expand Down Expand Up @@ -696,7 +696,7 @@ test "vector_2" {
}

test "vector_3" {
var secp = try secp256k1.Secp256k1.genNew();
var secp = secp256k1.Secp256k1.genNew();
defer secp.deinit();

var buf: [100]u8 = undefined;
Expand Down
Loading