8000 docs(ADR-114): Partly Undo ADR 109 (Reduce Go API Surface) by adizere · Pull Request #2897 · cometbft/cometbft · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

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

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

Merged
merged 3 commits into from
May 3, 2024
Merged

Conversation

adizere
Copy link
Member
@adizere adizere commented Apr 25, 2024

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 review from a team as code owners May 1, 2024 14:26
@adizere adizere requested a review from andynog May 1, 2024 14:26
Copy link
Contributor
@melekes melekes left a comment

Choose a reason for hiding this comment

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

👍

@adizere adizere added the backport-to-v1.x Tell Mergify to backport the PR to v1.x label May 3, 2024
@adizere
Copy link
Member Author
adizere commented May 3, 2024

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
Copy link
Member Author
adizere commented May 3, 2024

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
38 checks passed
@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
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
Contributor

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
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 <adizere@gmail.com>
@adizere adizere mentioned this pull request May 7, 2024
31 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-to-v1.x Tell Mergify to backport the PR to v1.x
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
0