Skip to content
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

chore: clean up dead code for legacy REST methods #9091

Merged
merged 1 commit into from
Mar 18, 2024
Merged

Conversation

JimLarson
Copy link
Contributor

refs: #8803

Description

Cosmos-SDK 0.46 removed the "legacy REST" interface in cosmos/cosmos-sdk#9594. The supporting RegisterRESTRoutes() method was left in the AppModuleBasic interface for "compatibility" (?), but was finally removed in cosmos/cosmos-sdk#11797.

We have several no-op implementations of this method that are no longer required for compilation. Cleaning them up reduces clutter.

Security Considerations

None.

Scaling Considerations

None.

Documentation Considerations

None.

Testing Considerations

None.

Upgrade Considerations

None.

@JimLarson JimLarson added hygiene Tidying up around the house agoric-cosmos labels Mar 14, 2024
@JimLarson JimLarson requested a review from gibson042 March 14, 2024 06:33
@JimLarson JimLarson self-assigned this Mar 14, 2024
@JimLarson JimLarson requested a review from michaelfig March 14, 2024 22:19
Copy link
Member

@gibson042 gibson042 left a comment

Choose a reason for hiding this comment

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

🎉🚀

RegisterRESTRoutes has been removed from the AppModuleBasic interface.
@JimLarson JimLarson added the automerge:rebase Automatically rebase updates, then merge label Mar 18, 2024
@mergify mergify bot merged commit 9d3d871 into master Mar 18, 2024
74 checks passed
@mergify mergify bot deleted the 8803-legacy-rest branch March 18, 2024 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agoric-cosmos automerge:rebase Automatically rebase updates, then merge hygiene Tidying up around the house
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants