Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.

Refactor traverse_bundle into Extended Api Command #256

Merged
merged 1 commit into from
Nov 5, 2019

Conversation

lzpap
Copy link
Member

@lzpap lzpap commented Oct 31, 2019

resolves #252

Description

Refactor _traverse_bundle method from iota.commands.extended.get_bundles into a standalone extended api command.
Difference between get_bundles and traverse_bundle extended api commands from user perspective is subtle: get_bundles also validates the fetched bundle.

Motivation

Provide the same api calls as in other iota libs.

Additional Info

Moved previous test cases related to traverse_bundle from get_bundles_test.py into new test file, refactored tests for get_bundles.

Motivation:
Provide the same api calls as in the other iota libs.
The difference between get_bundles and traverse_bundle is
subtle: get_bundles validates the fetched bundle.

Moved previous test cases related to traverse_bundle into
new test file, refactored tests for get_bundles.
@lzpap lzpap changed the title Refactor traverse_bundle into Extended Api Refactor traverse_bundle into Extended Api Command Oct 31, 2019
Copy link
Contributor

@todofixthis todofixthis left a comment

Choose a reason for hiding this comment

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

LGTM

@lzpap lzpap merged commit 262ff70 into iotaledger:develop Nov 5, 2019
@lzpap lzpap deleted the refactor_traverse_bundle branch January 28, 2020 10:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants