Skip to content

refactor: Global renaming from hpmn to evo - #5508

Merged
PastaPastaPasta merged 13 commits into
dashpay:developfrom
ogabrielides:hpmn_to_evo
Aug 17, 2023
Merged

refactor: Global renaming from hpmn to evo#5508
PastaPastaPasta merged 13 commits into
dashpay:developfrom
ogabrielides:hpmn_to_evo

Conversation

@ogabrielides

@ogabrielides ogabrielides commented Jul 26, 2023

Copy link
Copy Markdown

Issue being fixed or feature implemented

What was done?

Renaming of all classes/variables/functions/rpcs from hpmn to evo.

How Has This Been Tested?

All unit and func tests are passing.
Sync of Testnet.

Breaking Changes

All protx RPCs ending with _hpmn were converted to _evo.
_hpmn RPCs are now deprecated.
Although, they can still be enabled by adding -deprecatedrpc=hpmn.

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation
  • I have assigned this pull request to a milestone (for repository code-owners and collaborators only)

@ogabrielides ogabrielides added the RPC Some notable changes to RPC params/behaviour/descriptions label Jul 26, 2023
@ogabrielides ogabrielides added this to the 20 milestone Jul 26, 2023
Comment thread test/functional/test_framework/test_framework.py Outdated

@thephez thephez 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.

Generally, I think this substitution is better than just shortening to Evo:
HighPerformance -> Evolution

But not too concerned especially for internal stuff...

Comment thread doc/release-notes-5508.md Outdated
Comment thread test/functional/test_framework/test_framework.py Outdated
Comment thread src/governance/object.cpp Outdated
@ogabrielides

Copy link
Copy Markdown
Author

Generally, I think this substitution is better than just shortening to Evo: HighPerformance -> Evolution

But not too concerned especially for internal stuff...

Let's gather everyone's opinion first.

@knst

knst commented Jul 26, 2023

Copy link
Copy Markdown
Collaborator

Let's gather everyone's opinion first.

"evo" is good for rpc, because shorter to type - better.
Docs/release node/some comments/logs - Evolution is better.
Name of internal variables - evo/evolution - both ways are fine

Comment thread doc/release-notes-5508.md Outdated
@github-actions

Copy link
Copy Markdown

This pull request has conflicts, please rebase.

@ogabrielides

Copy link
Copy Markdown
Author

@UdjinM6 Your opinion ?

@UdjinM6

UdjinM6 commented Jul 28, 2023

Copy link
Copy Markdown

I'm fine with either option.

EDIT: It does add a bit of inconsistency though (rpc filters/fields use "evo")... 🤔

@ogabrielides

ogabrielides commented Jul 28, 2023

Copy link
Copy Markdown
Author

@PastaPastaPasta @UdjinM6 @thephez @knst
Will implement the following then:

RPC names: evomn
Docs/release node/some comments/logs: Evolution
Internal variables: evolution

@qwizzie

qwizzie commented Jul 31, 2023

Copy link
Copy Markdown

What about the Dash Core wallet ? It still shows 'Number of HPMN's' in the Windows - Information tab. Will this pull request change that to Evo ? Also the filter on tab Masternodes - Type state 'HighPerformance', will that be changed by this pull request as well ?

@github-actions

github-actions Bot commented Aug 1, 2023

Copy link
Copy Markdown

This pull request has conflicts, please rebase.

@UdjinM6

UdjinM6 commented Aug 11, 2023

Copy link
Copy Markdown

LGTM overall, pls see d16b7ee for a couple of small suggestions in comments

knst
knst previously approved these changes Aug 17, 2023

@knst knst 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.

re-utACK

Comment thread src/rpc/evo.cpp Outdated
Co-authored-by: thephez <thephez@users.noreply.github.com>

@thephez thephez 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.

utACK

knst
knst previously approved these changes Aug 17, 2023

@knst knst 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.

re-utACK

UdjinM6
UdjinM6 previously approved these changes Aug 17, 2023

@UdjinM6 UdjinM6 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

utACK

Comment thread src/rpc/evo.cpp Outdated
Co-authored-by: UdjinM6 <UdjinM6@users.noreply.github.com>
@ogabrielides
ogabrielides dismissed stale reviews from UdjinM6 and knst via 5c4d393 August 17, 2023 15:24

@thephez thephez 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.

re-utACK

@UdjinM6 UdjinM6 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

re-utACK

@PastaPastaPasta PastaPastaPasta left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

utACK for squash merge

@PastaPastaPasta
PastaPastaPasta merged commit 93f8df1 into dashpay:develop Aug 17, 2023
@ogabrielides
ogabrielides deleted the hpmn_to_evo branch August 18, 2023 07:52
thephez added a commit to thephez/docs-core that referenced this pull request Oct 3, 2023
thephez added a commit to dashpay/docs-core that referenced this pull request Oct 3, 2023
* docs(rpc): convert protx hpmn commands to protx evo

Relates to dashpay/dash#5508

* docs(rpc): minor change

* docs(rpc): minor update
thephez added a commit to dashpay/docs-core that referenced this pull request Nov 15, 2023
* docs(rpc): convert protx hpmn commands to protx evo

Relates to dashpay/dash#5508

* docs(rpc): minor change

* docs(rpc): minor update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

RPC Some notable changes to RPC params/behaviour/descriptions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants