Skip to content
This repository has been archived by the owner on Sep 6, 2024. It is now read-only.

feat: remove tips parameter from getInclusionStates #484

Merged
merged 4 commits into from
Jun 14, 2020

Conversation

laumair
Copy link
Contributor

@laumair laumair commented Jun 8, 2020

Description of change

IRI version 1.8.6 removes tip parameter from getInclusionStates api call. This PR removes the support for tips parameter.

getLatestInclusion() is also removed. getLatestInclusion() basically fetched the states by passing latest solid subtangle milestone. It is no longer necessary as IRI now uses latest subtangle milestone by default.

Related: iotaledger/iri#1851

Type of change

Choose a type of change, and delete any options that are not relevant.

  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

How the change has been tested

Describe the tests that you ran to verify your changes.

Make sure to provide instructions for the maintainer as well as any relevant configurations.

Change checklist

Add an x to the boxes that are relevant to your changes, and delete any items that are not.

  • My code follows the contribution guidelines for this project
  • I have performed a self-review of my own code
  • [] I have commented my code, particularly in hard-to-understand areas
  • [] I have made corresponding changes to the documentation
  • [] I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

laumair added 4 commits June 8, 2020 22:28
IRI version 1.8.6 [removes](https://github.com/iotaledger/iri/pull/1685/files) tip parameter from getInclusionStates api call. This commit removes the support for tips parameter.

getLatestInclusion() is also removed. getLatestInclusion() basically fetched the states by passing latest solid subtangle milestone. It is no longer necessary as IRI now uses latest subtangle milestone by default.

Related: iotaledger/iri#1851
@laumair laumair requested a review from rajivshah3 June 14, 2020 02:59
@laumair laumair added C - core L - Awaiting reviews Lifecycle - Each PR must have at least 2 reviewers P2 - High Priority - Prefer to fix or merge this labels Jun 14, 2020
@laumair laumair marked this pull request as ready for review June 14, 2020 03:00
Copy link
Member

@rajivshah3 rajivshah3 left a comment

Choose a reason for hiding this comment

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

Looks good! It might be good to mention in the commit message heading that getLatestInclusion is being removed (e.g. feat: remove tips param from getInclusionStates, remove getLatestInclusion)

@laumair laumair merged commit 3d237ea into iotaledger:next Jun 14, 2020
@laumair laumair deleted the feat/inclusion-states branch June 14, 2020 03:28
@laumair laumair mentioned this pull request Jun 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
L - Awaiting reviews Lifecycle - Each PR must have at least 2 reviewers P2 - High Priority - Prefer to fix or merge this
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants