Tracker method calling part needs to be refactored
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tái cấu trúc
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- rust
- Lĩnh vực
- blockchain
Hướng nghiên cứu
Bắt đầu bằng cách so sánh các phần triển khai tracker() trong types/src/transaction/shard.rs, types/src/transaction/action.rs và types/src/transaction/transaction.rs, sau đó kiểm tra các hàm gọi liên quan và những thay đổi từ PR #1548. Truy vết các chuyển đổi Action-to-ShardTransaction hiện có và đường đi WrapCCC. Hoàn thành khi API tracker và các hàm gọi nó có ngữ nghĩa nhất quán mà không có các chuyển đổi dư thừa.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Now the tracker() method can be called through the structs ShardTransaction, Action and Transaction.
Some caller function code is now using useless conversion from Action to ShardTransaction though the conversion was already implemented inside of the tracker() of Action.
As well as the above, after the pr#1548, the implementations will become inconsistent. Previously the tracker was needed only for asset transactions, but now the WrapCCC needs tracker though it's not an asset transaction.
From this semantic inconsistency, there is an implementation gap between tracker() of Action and the others. Therefore, the refactoring needs for tracker() and related caller functions not to be confused in the future.
- Ngôn ngữ chính
- Rust
- Star
- 256
- Fork
- 50
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của CodeChain-io/codechain
-
is this project still alive? Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
CodeChain-io/codechain#2002 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
CodeChain-io/codechain#1993 · 2 bình luận ·
-
Terminate gracefully Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
CodeChain-io/codechain#1987 · 1 bình luận ·
-
performance rpc
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
CodeChain-io/codechain#1973 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
CodeChain-io/codechain#1971 ·
Tất cả issue của CodeChain-io/codechain
Issue tương tự
-
Replayed reasoning items send "content": null, which the Responses API schema does not permit Đang mởbug CLI custom-model
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
rust-bitcoin/rust-bitcoin#6930 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
fulcrumgenomics/ferro-hgvs#2251 ·
-
Missing examples for `Allocator` Đang mởA-allocators A-docs C-enhancement T-libs
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100