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

tapyrify the chain crate #7

Merged
merged 10 commits into from
Jun 20, 2024
Merged

tapyrify the chain crate #7

merged 10 commits into from
Jun 20, 2024

Conversation

rantan
Copy link
Collaborator

@rantan rantan commented Jun 19, 2024

No description provided.

@rantan rantan force-pushed the tapyrus_chain_crate branch 4 times, most recently from 1ca0067 to ec651a4 Compare June 19, 2024 08:31
@rantan rantan force-pushed the tapyrus_chain_crate branch from ec651a4 to 1c7c1e0 Compare June 19, 2024 08:39
Due to the Tapyrus conversion, the TXID values changed, causing the order of transactions sorted lexicographically by TXID to change, which resulted in the test failures.
@@ -113,12 +114,12 @@ fn test_tx_conflict_handling() {
},
],
// the txgraph is going to pick tx_conflict_2 because of higher lexicographical txid
Copy link
Contributor

Choose a reason for hiding this comment

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

Txidが変わったためと思って良いですかね。

Suggested change
// the txgraph is going to pick tx_conflict_2 because of higher lexicographical txid
// the txgraph is going to pick tx_conflict_1 because of higher lexicographical txid

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

はい、txid が変わったので、辞書順のソートが変わってしまった影響です。

@@ -14,7 +14,7 @@ jobs:
clippy: true
- version: 1.63.0 # MSRV
features:
- --no-default-features
- --no-default-features --features tapyrus/no-std,miniscript/no-std,hashbrown
Copy link
Contributor

Choose a reason for hiding this comment

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

後半の--features tapyrus/no-std,miniscript/no-std,hashbrownは必要?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

tapyrus crate は stdか no-std のどちらかの feature を有効にしないとビルドに失敗するんですが、これをつけないとそのために失敗します。
ただ、もともとなかった指定なので、なぜ必要になったのかよくわかっていないです。

@Yamaguchi Yamaguchi merged commit 7992726 into master Jun 20, 2024
21 checks passed
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