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

Add ability to get the aggsig additional data from full node RPC #17241

Merged
merged 9 commits into from Jan 9, 2024

Conversation

matt-o-how
Copy link
Contributor

Purpose:

This adds in the ability to request a full node to tell you what the additional data required for an aggsig_me is.
This makes it easier for people to create applications which support use in the full node and create signatures to work on testnet, simulator, mainnet, and even other chia forks.

Current Behavior:

Function does not currently exist.

New Behavior:

Added get_aggsig_additional_data to both RPC API and RPC Client.

Testing Notes:

Added a line of test in to RPC tests.

@matt-o-how matt-o-how requested a review from a team as a code owner January 8, 2024 13:06
@matt-o-how
Copy link
Contributor Author

Despite the branch name, this code no longer adds the ability to melt CATs

@matt-o-how matt-o-how added CLI Changed Required label for PR that categorizes merge commit message as "Changed" for changelog Added Required label for PR that categorizes merge commit message as "Added" for changelog and removed Changed Required label for PR that categorizes merge commit message as "Changed" for changelog labels Jan 8, 2024
chia/rpc/full_node_rpc_client.py Outdated Show resolved Hide resolved
chia/rpc/full_node_rpc_client.py Outdated Show resolved Hide resolved
Copy link

coveralls-official bot commented Jan 9, 2024

Pull Request Test Coverage Report for Build 7463825691

Warning: This coverage report may be inaccurate.

We've detected an issue with your CI configuration that might affect the accuracy of this pull request's coverage report.
To ensure accuracy in future PRs, please see these guidelines.
A quick fix for this PR: rebase it; your next report should be accurate.

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.2%) to 90.484%

Totals Coverage Status
Change from base Build 7447841758: -0.2%
Covered Lines: 94118
Relevant Lines: 103965

💛 - Coveralls

@cmmarslender cmmarslender merged commit c4f2595 into main Jan 9, 2024
262 checks passed
@cmmarslender cmmarslender deleted the add_melt_cat branch January 9, 2024 22:24
mikehw pushed a commit to mikehw/chia-blockchain that referenced this pull request Jan 11, 2024
…a-Network#17241)

* add melting related function rpc api

* add rpc_client version of new functions

* add get_additional_data to rpc and test it

* remove melt_cats

* remove cat_set_tail

* black

* lint fix

* rpc_client returns bytes32

* black test file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Added Required label for PR that categorizes merge commit message as "Added" for changelog CLI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants