Skip to content

docs(ADR-114): Partly Undo ADR 109 (Reduce Go API Surface) - #2897

Merged
adizere merged 3 commits into
mainfrom
adi/adr-114
May 3, 2024
Merged

adizere merged 3 commits into
mainfrom
adi/adr-114

Conversation

@adizere

@adizere adizere commented Apr 25, 2024

Copy link
Copy Markdown
Contributor

Closes #2896


PR checklist

  • Tests written/updated
  • Changelog entry added in .changelog (we use unclog to manage our changelog)
  • Updated relevant documentation (docs/ or spec/) and code comments
  • Title follows the Conventional Commits spec

@adizere
adizere marked this pull request as ready for review May 1, 2024 14:26
@adizere
adizere requested a review from a team as a code owner May 1, 2024 14:26
@adizere
adizere requested review from a team and andynog May 1, 2024 14:26

@melekes melekes left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

👍

@adizere

adizere commented May 3, 2024

Copy link
Copy Markdown
Contributor Author

Not 100% ADRs need to be backported. Since we're publishing ADRs in https://docs.cometbft.com/v1.0/references/architecture/ I'll go ahead and backport this.

@adizere
adizere added this pull request to the merge queue May 3, 2024
@adizere

adizere commented May 3, 2024

Copy link
Copy Markdown
Contributor Author

Copying @tac0turtle if you get a chance to peek at this before our chat next Wednesday, that would be great! If not, we'll cover this in our chat, no pb.

Merged via the queue into main with commit 17caea0 May 3, 2024
@adizere
adizere deleted the adi/adr-114 branch May 3, 2024 10:11
mergify Bot pushed a commit that referenced this pull request May 3, 2024
Closes #2896

---

#### PR checklist

- [ ] Tests written/updated
- [ ] Changelog entry added in `.changelog` (we use
[unclog](https://github.com/informalsystems/unclog) to manage our
changelog)
- [ ] Updated relevant documentation (`docs/` or `spec/`) and code
comments
- [ ] Title follows the [Conventional
Commits](https://www.conventionalcommits.org/en/v1.0.0/) spec

(cherry picked from commit 17caea0)
To summarize, these modules will remain public in v1 and marked as deprecated:
- `evidence`
- `consensus`
- `indexer`

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

why is indexer deprecated? the interface in the package should continue being public otherwise why have an interface? I think the implementations should be private but you should allow people to implement custom indexers, unless this system is being replaced?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Last year, we decided that, moving forward (starting from v1.x), the data companion (ADR 101) will progressively replace the indexer interface. ADR 101 is a better solution for implementing your own indexer.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

makes sense thank you

adizere added a commit that referenced this pull request May 3, 2024
…2897) (#2991)

Closes #2896


---

#### PR checklist

- [ ] Tests written/updated
- [ ] Changelog entry added in `.changelog` (we use
[unclog](https://github.com/informalsystems/unclog) to manage our
changelog)
- [ ] Updated relevant documentation (`docs/` or `spec/`) and code
comments
- [ ] Title follows the [Conventional
Commits](https://www.conventionalcommits.org/en/v1.0.0/) spec
<hr>This is an automatic backport of pull request #2897 done by
[Mergify](https://mergify.com).

Co-authored-by: Adi Seredinschi <[email protected]>
@adizere adizere mentioned this pull request May 7, 2024
31 tasks done
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.

ADR 114: Damage control for ADR 109 by partly undoing that work

4 participants