Skip to content

Conversation

@Munkybooty
Copy link

No description provided.

@Munkybooty
Copy link
Author

I need to clean up 27a055d, the commit message should say why, but It does need to be fixed, as per Pasta's request i will batch the changes for easier review

@github-actions
Copy link

github-actions bot commented Apr 1, 2022

This pull request has conflicts, please rebase.

@github-actions
Copy link

github-actions bot commented Apr 7, 2022

This pull request has conflicts, please rebase.

@Munkybooty
Copy link
Author

I honestly am unsure of what all is needed to fix the breakages
@UdjinM6 any thoughts?

Copy link

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

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

Well.. some parts are missing and some changes are excessive :) You also need to revert few things and adjust dash-specific rpcs to make them compatible with Check(). Pls see https://github.com/UdjinM6/dash/commits/pr4734. (these changes are huge so pretty sure I messed up somewhere too, pls double check/test)

@Munkybooty
Copy link
Author

So I implemented the changes and feature_llmq_rotations has just decided to die

@PastaPastaPasta
Copy link
Member

Well, it seems like you messed up the quorum rpc command. See

2022-04-16T20:50:22.877000Z TestFramework (ERROR): JSONRPC error
Traceback (most recent call last):
  File "/builds/dashpay/dash/build-ci/dashcore-linux32/test/functional/test_framework/test_framework.py", line 234, in main
    self.run_test()
  File "/builds/dashpay/dash/build-ci/dashcore-linux32/test/functional/feature_llmq_rotation.py", line 67, in run_test
    (quorum_info_0_0, quorum_info_0_1) = self.mine_cycle_quorum(llmq_type_name=llmq_type_name, llmq_type=llmq_type)
  File "/builds/dashpay/dash/build-ci/dashcore-linux32/test/functional/test_framework/test_framework.py", line 1456, in mine_cycle_quorum
    quorum_rotation_info = self.nodes[0].quorum("rotationinfo", best_block_hash, 0, False)
  File "/builds/dashpay/dash/build-ci/dashcore-linux32/test/functional/test_framework/coverage.py", line 47, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/builds/dashpay/dash/build-ci/dashcore-linux32/test/functional/test_framework/authproxy.py", line 144, in __call__
    raise JSONRPCException(response['error'], status)
test_framework.authproxy.JSONRPCException: quorum "command"
Set of commands for quorums/LLMQs.
To get help on individual commands, use "help quorum command".

Available commands:
  list              - List of on-chain quorums
  info              - Return information about a quorum
  dkgsimerror       - Simulates DKG errors and malicious behavior
  dkgstatus         - Return the status of the current DKG process
  memberof          - Checks which quorums the given masternode is a member of
  sign              - Threshold-sign a message
  verify            - Test if a quorum signature is valid for a request id and a message hash
  hasrecsig         - Test if a valid recovered signature is present
  getrecsig         - Get a recovered signature
  isconflicting     - Test if a conflict exists
  selectquorum      - Return the quorum that would/should sign a request
  getdata           - Request quorum data from other masternodes in the quorum
  rotationinfo      - Request quorum rotation information

Arguments:
1. command    (string, required) The command to execute
 (-1)
2022-04-16T20:50:22.929000Z TestFramework (INFO): Stopping nodes
2022-04-16T20:50:23.596000Z TestFramework (WARNING): Not cleaning up dir /builds/dashpay/dash/build-ci/dashcore-linux32/testdatadirs/test_runner_∋_�_20220416_214406/feature_llmq_rotation_131
2022-04-16T20:50:23.596000Z TestFramework (ERROR): Test failed. Test logging available at /builds/dashpay/dash/build-ci/dashcore-linux32/testdatadirs/test_runner_∋_�_20220416_214406/feature_llmq_rotation_131/test_framework.log

@github-actions
Copy link

This pull request has conflicts, please rebase.

@Munkybooty
Copy link
Author

I wanna say I fixed it but now p2p_instantsend.py is broken, it's progress though! One thing fixed and another thing broke

@UdjinM6
Copy link

UdjinM6 commented Apr 21, 2022

I wanna say I fixed it but now p2p_instantsend.py is broken, it's progress though! One thing fixed and another thing broke

this should be fixed by #4790, pls rebase hold on, there is more...

@UdjinM6
Copy link

UdjinM6 commented Apr 25, 2022

pls see ff954e0add

@github-actions
Copy link

github-actions bot commented May 2, 2022

This pull request has conflicts, please rebase.

@UdjinM6 UdjinM6 added this to the 18.1 milestone May 12, 2022
Copy link

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

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

LGTM, utACK

(sooo many conflicting PRs...)

@Munkybooty Munkybooty marked this pull request as ready for review May 12, 2022 20:23
@Munkybooty
Copy link
Author

Totally forgot this thing has sat as a draft this whole time

@PastaPastaPasta PastaPastaPasta changed the title Mechanical/Manual RPC backports refactor(rpc): Mechanical/Manual RPC backports May 12, 2022
Copy link
Member

@PastaPastaPasta PastaPastaPasta left a comment

Choose a reason for hiding this comment

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

utACK for squash merge

time to make everything else need rebase :D

@PastaPastaPasta PastaPastaPasta merged commit e95655c into dashpay:develop May 12, 2022
@Munkybooty
Copy link
Author

Panic Mode

gades pushed a commit to cosanta/cosanta-core that referenced this pull request Aug 20, 2024
* rpc: switch to using RPCHelpMan.Check()

* rpc: Auto-format RPCResult

* rpc: Auto-format RPCResult (rpcdump.cpp)

* rpc: Auto-format RPCResult (rpcwallet.cpp)

* Fix Description String method and typo

* Fix code breaking semicolons

* Attempt to fix misc build errors

* Fixes for get wallet info

* fixes and missing parts of 16240, 17809, 19386

TODO: convert `RPCResults{}`

* Revert "rpc: restore legacy RPCResult support"

This reverts commit c014b7d.

* revert e401d6e

to fix test crashes

* adjust dash subcommands to be compatible

* trivial fixes rpc: Auto-format RPCResult

* fix `quorum rotationinfo`

* various fixes

Co-authored-by: Karl-Johan Alm <karljohan-alm@garage.co.jp>
Co-authored-by: MarcoFalke <falke.marco@gmail.com>
Co-authored-by: UdjinM6 <UdjinM6@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants