[BUG] - Regression in libblst dependency version (0.3.15 -> 0.3.14)

Đã đóng
#6,729 0 bình luận 2 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
30/100
Loại issue
Tài liệu
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
bash, haskell
Lĩnh vực
blockchain, documentation

Hướng nghiên cứu

The report compares the blst entries in iohk-nix's flake.lock across cardano-node 11.0.1 and later releases, so start by reproducing the jq lookup in the issue against those lock files. The open question is whether the release notes should explain the libblst version change, which needs a maintainer decision on the expected wording. Done means a maintainer confirms the required version and the notes or a documentation change reflects it.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

needs triage

Internal/External
External

Area
Other Regression in libblst dependency version

Summary
cardano-node 11.0.1 required libblst 0.3.15 but versions after require 0.3.14

Steps to reproduce

# Cardano node version:
CARDANO_NODE_VERSION=11.0.1

# IOHKNIX_VERSION:
IOHKNIX_VERSION="$(curl https://raw.githubusercontent.com/IntersectMBO/cardano-node/$CARDANO_NODE_VERSION/flake.lock | jq -r '.nodes.iohkNix.locked.rev')"

# Required dependencies:
# Fetch iohk-nix flake.lock, read SODIUM_VERSION SECP256K1_VERSION BLST_VERSION
read -r -d '' SODIUM_VERSION SECP256K1_VERSION BLST_VERSION < <(
  curl -s https://raw.githubusercontent.com/input-output-hk/iohk-nix/$IOHKNIX_VERSION/flake.lock | 
  jq -r '
    .nodes.sodium.original.rev,
    .nodes.secp256k1.original.ref,
    .nodes.blst.original.ref
  '
)

echo "Required versions:"
echo "SODIUM_VERSION=$SODIUM_VERSION"
echo "SECP256K1_VERSION=$SECP256K1_VERSION"
echo "BLST_VERSION=$BLST_VERSION"

Required versions:
SODIUM_VERSION=dbb48cce5429cb6585c9034f002568964f1ce567
SECP256K1_VERSION=v0.3.2
BLST_VERSION=v0.3.15

# Cardano node version:
CARDANO_NODE_VERSION=11.1.3

# IOHKNIX_VERSION:
IOHKNIX_VERSION="$(curl https://raw.githubusercontent.com/IntersectMBO/cardano-node/$CARDANO_NODE_VERSION/flake.lock | jq -r '.nodes.iohkNix.locked.rev')"

# Required dependencies:
# Fetch iohk-nix flake.lock, read SODIUM_VERSION SECP256K1_VERSION BLST_VERSION
read -r -d '' SODIUM_VERSION SECP256K1_VERSION BLST_VERSION < <(
  curl -s https://raw.githubusercontent.com/input-output-hk/iohk-nix/$IOHKNIX_VERSION/flake.lock | 
  jq -r '
    .nodes.sodium.original.rev,
    .nodes.secp256k1.original.ref,
    .nodes.blst.original.ref
  '
)

echo "Required versions:"
echo "SODIUM_VERSION=$SODIUM_VERSION"
echo "SECP256K1_VERSION=$SECP256K1_VERSION"
echo "BLST_VERSION=$BLST_VERSION"

Required versions:
SODIUM_VERSION=dbb48cce5429cb6585c9034f002568964f1ce567
SECP256K1_VERSION=v0.3.2
BLST_VERSION=v0.3.14

The same output is obtained for all cardano-node versions after 11.0.1.

Expected behavior
There would be an explanation regarding the requirement to downgrade the libblst library version in the release notes.

Which library version of libblst should be used to compile the latest cardano-node?

Ngôn ngữ chính
Haskell
Star
3.2k
Fork
763
Merge trung bình
3 ngày 2 giờ
Pull request đã merge (30 ngày)
22

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của IntersectMBO/cardano-node

Tất cả issue của IntersectMBO/cardano-node

Issue tương tự

Thêm issue về Haskell

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.