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

Fixes #288 Remove tips from get_inclusion_states #297

Merged
merged 1 commit into from
May 29, 2020

Conversation

lzpap
Copy link
Member

@lzpap lzpap commented Jan 29, 2020

Solves #288

Description

  • tips parameter for get_inclusion_states is no longer in use from IRI 1.8.6.
  • GetInclusionStates API endpoint returns, if tx is confirmed since the last milestone.
  • get_latest_inclusion_states extended API becomes irrelevant, remove in this commit.
  • Modify components using it, rely on get_inclusion_states.
  • Update tests.
  • Update documentation.

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.

Looks good!

Comment on lines -119 to +89
# I bring scientists, you bring a rock star.
'foo': 'bar',
# 'tips' deprecated in IRI 1.9.0
'tips': [self.trytes1]
},

{
'foo': [f.FilterMapper.CODE_EXTRA_KEY],
'tips': [f.FilterMapper.CODE_EXTRA_KEY],
Copy link
Contributor

Choose a reason for hiding this comment

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

👍🏻 Good thinking!

@lzpap lzpap added the IRI v1.8.6 Changes required for IRI v1.8.6 label Mar 2, 2020
- `tips` parameter is no longer in use from IRI 1.8.6.
- GetInclusionStates API endpoint returns if tx is confirmed
  since the last milestone.
- `get_latest_iclusion_states` extended API becomes irrelevant,
  remove in this commit.
- Modify components using it, rely on `get_inclusion_states`.
- Update tests.
- Update documentation.
@lzpap lzpap force-pushed the remove_tips_from_gis branch from 23d5c05 to 24443f2 Compare May 29, 2020 13:52
@lzpap lzpap merged commit 424c894 into iotaledger:develop May 29, 2020
@lzpap lzpap deleted the remove_tips_from_gis branch May 29, 2020 13:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
IRI v1.8.6 Changes required for IRI v1.8.6
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants