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

feat(rpc)!: remove spork active and its test, spork=spork show, update spork/sporkupdate help text #6207

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

UdjinM6
Copy link

@UdjinM6 UdjinM6 commented Aug 12, 2024

Issue being fixed or feature implemented

What was done?

How Has This Been Tested?

Breaking Changes

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)

@UdjinM6 UdjinM6 added this to the 22 milestone Aug 12, 2024
@UdjinM6 UdjinM6 added the RPC Some notable changes to RPC params/behaviour/descriptions label Aug 12, 2024
@thephez
Copy link
Collaborator

thephez commented Aug 12, 2024

🥇 👈 for longest PR name 😉

@UdjinM6 UdjinM6 changed the title feat: remove misleading and unused spork active and its test, let spork accept anything and act like spork show feat: remove spork active and its test, spork=spork show, update spork/sporkupdate help text Aug 12, 2024
'''
'''

class SporkTest(BitcoinTestFramework):
Copy link
Collaborator

Choose a reason for hiding this comment

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

so far as we do not remove Spork functionality completely, but still uses them on regtest and devnets, we should not remove this functional tests, even if that's a trivial one

Copy link
Member

Choose a reason for hiding this comment

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

Agreed

Comment on lines -162 to -166
RPCResult{"For 'active'",
RPCResult::Type::OBJ_DYN, "", "keys are the sporks, and values indicates its status",
{
{RPCResult::Type::BOOL, "SPORK_NAME", "'true' for time-based sporks if spork is active and 'false' otherwise"},
}},
Copy link
Member

@PastaPastaPasta PastaPastaPasta Aug 14, 2024

Choose a reason for hiding this comment

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

dropping this param is a breaking change

@PastaPastaPasta PastaPastaPasta changed the title feat: remove spork active and its test, spork=spork show, update spork/sporkupdate help text feat!: remove spork active and its test, spork=spork show, update spork/sporkupdate help text Aug 14, 2024
@PastaPastaPasta PastaPastaPasta marked this pull request as draft August 14, 2024 04:51
Copy link

This pull request has conflicts, please rebase.

@UdjinM6 UdjinM6 marked this pull request as ready for review September 22, 2024 15:39
@UdjinM6 UdjinM6 changed the title feat!: remove spork active and its test, spork=spork show, update spork/sporkupdate help text feat(rpc)!: remove spork active and its test, spork=spork show, update spork/sporkupdate help text Sep 22, 2024
Copy link
Collaborator

@knst knst left a comment

Choose a reason for hiding this comment

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

LGTM df6080d

Copy link

This pull request has conflicts, please rebase.

@PastaPastaPasta PastaPastaPasta modified the milestones: 22, 23 Nov 14, 2024
Copy link

This pull request has conflicts, please rebase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs rebase RPC Some notable changes to RPC params/behaviour/descriptions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants