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

rpc: Remove index-based Arg accessor #29997

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

maflcko
Copy link
Member

@maflcko maflcko commented Apr 29, 2024

The index-based Arg accessor is redundant with the name-based one. It does not provide any benefit to the code reader, or otherwise, so remove it.

@DrahtBot
Copy link
Contributor

DrahtBot commented Apr 29, 2024

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Code Coverage

For detailed information about the code coverage, see the test coverage report.

Reviews

See the guideline for information on the review process.

Type Reviewers
ACK stickies-v, ryanofsky
Concept ACK laanwj

If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

Conflicts

No conflicts as of last run.

@laanwj
Copy link
Member

laanwj commented Apr 30, 2024

Concept ACK

Copy link
Contributor

@ryanofsky ryanofsky left a comment

Choose a reason for hiding this comment

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

Code review ACK fadb3eb

src/test/rpc_tests.cpp Show resolved Hide resolved
@DrahtBot DrahtBot requested a review from laanwj April 30, 2024 13:46
@maflcko maflcko requested a review from stickies-v May 7, 2024 13:37
Copy link
Contributor

@stickies-v stickies-v left a comment

Choose a reason for hiding this comment

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

ACK fadb3eb

Can't think of any situations where index-based is preferable over key-based, so this seems like a nice cleanup.

Copy link
Contributor

@stickies-v stickies-v left a comment

Choose a reason for hiding this comment

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

Oops, left my nits on the wrong PR. Nothing blocking, only if you re-touch.

src/rpc/util.h Outdated Show resolved Hide resolved
src/rpc/util.h Show resolved Hide resolved
@stickies-v
Copy link
Contributor

stickies-v commented May 15, 2024

re-ACK fa3169b, addressed doc nits

@DrahtBot DrahtBot requested a review from ryanofsky May 15, 2024 16:57
Copy link
Contributor

@ryanofsky ryanofsky left a comment

Choose a reason for hiding this comment

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

Code review ACK fa3169b. One changes since last review are some documentation improvements

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants