Skip to content

Conversation

@prestonvanloon
Copy link
Contributor

Rationale:

Following #3757, which renames from DepositReceipt to DepositRequest to conform with the patterns in EIP-7685, this PR aims to have further conformity by dropping the ExecutionLayer prefix from WithdrawalRequest and ConsolidationRequest.

Changes:

  • Rename ExecutionLayerWithdrawalRequest->WithdrawalRequest
  • Rename ExecutionLayerConsolidationRequest->ConsolidationRequest
  • Rename process_execution_layer_withdrawal_request->process_withdrawal_request
  • Rename process_execution_layer_consolidation_request->process_consolidation_request
  • Rename variable/argument execution_layer_withdrawal_request->withdrawal_request
  • Rename variable/argument execution_layer_consolidation_request->consolidation_request

Copy link
Contributor

@mkalinin mkalinin left a comment

Choose a reason for hiding this comment

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

The proposed renaming makes sense to me as having both ExecutionLayer prefix and Request suffix looks redundant from my perspective

@hwwhww hwwhww mentioned this pull request Jun 6, 2024
10 tasks
@hwwhww hwwhww added the electra label Jun 6, 2024
@hwwhww
Copy link
Contributor

hwwhww commented Jun 6, 2024

I like this clean-up! Hope to see more support (approvals/👍) before merging it.

@hwwhww hwwhww added the presentation Presentation (as opposed to content) label Jun 6, 2024
@hwwhww hwwhww force-pushed the rename-executionlayer-objs branch from 6e4bace to a6341af Compare June 7, 2024 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

electra presentation Presentation (as opposed to content)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants