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

Test proofs inline with requests #127

Merged
merged 11 commits into from
Feb 23, 2024
Merged

Test proofs inline with requests #127

merged 11 commits into from
Feb 23, 2024

Conversation

StanChe
Copy link
Collaborator

@StanChe StanChe commented Feb 14, 2024

Added an optional proofs checker to the API.

Some(AssetProof {
root,
leaf: bs58::encode(&leaf.hash).into_string(),
leaf: leaf_b58,
proof,
node_index: leaf.node_idx,
tree_id: bs58::encode(&leaf.tree).into_string(),
Copy link
Contributor

Choose a reason for hiding this comment

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

Here could be used tree_id variable defined above

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

thanks, used that one.

…test-proofs-inline

# Conflicts:
#	integrity_verification/src/main.rs
#	interface/Cargo.toml
#	interface/src/lib.rs
@RequescoS
Copy link
Contributor

Looks good!

…test-proofs-inline

# Conflicts:
#	metrics_utils/src/lib.rs
…test-proofs-inline

# Conflicts:
#	interface/Cargo.toml
#	nft_ingester/src/bin/ingester/main.rs
#	nft_ingester/tests/api_tests.rs
@StanChe StanChe merged commit 7e24ce8 into main Feb 23, 2024
1 check passed
@StanChe StanChe deleted the feature/test-proofs-inline branch February 23, 2024 14:11
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.

3 participants