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

rpcserver: Consolidate mock mining addr. #3105

Merged

Conversation

davecgh
Copy link
Member

@davecgh davecgh commented Apr 24, 2023

This is rebased on #3104.

This modifies the RPC server tests to create a mining address as a part of the default mining state and use that state throughout. It also removes the separate mock mining address override field since the same thing can be accomplished via the mock mining state now.

This has the effect of consolidating the logic and simplifying its usage.

@davecgh davecgh added the test coverage Discussion and pull requests for improving test coverage. label Apr 24, 2023
@davecgh davecgh added this to the 1.8.0 milestone Apr 24, 2023
@davecgh davecgh force-pushed the rpcserver_consolidate_mock_mining_addr branch from 1b5267b to cc32664 Compare April 24, 2023 19:00
This modifies the RPC server tests to create a mining address as a part
of the default mining state and use that state throughout.  It also
removes the separate mock mining address override field since the same
thing can be accomplished via the mock mining state now.

This has the effect of consolidating the logic and simplifying its
usage.
@davecgh davecgh force-pushed the rpcserver_consolidate_mock_mining_addr branch from cc32664 to 0250007 Compare April 26, 2023 16:43
@davecgh davecgh merged commit 0250007 into decred:master Apr 26, 2023
@davecgh davecgh deleted the rpcserver_consolidate_mock_mining_addr branch April 26, 2023 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test coverage Discussion and pull requests for improving test coverage.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants