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

[CHIA-307] (long-lived) Vault #16610

Draft
wants to merge 557 commits into
base: main
Choose a base branch
from
Draft

[CHIA-307] (long-lived) Vault #16610

wants to merge 557 commits into from

Conversation

Quexington
Copy link
Contributor

@Quexington Quexington commented Oct 12, 2023

Todo:

@Quexington Quexington added Added Required label for PR that categorizes merge commit message as "Added" for changelog vault labels Oct 12, 2023
@Chia-Network Chia-Network deleted a comment from coveralls-official bot Oct 19, 2023
@github-actions github-actions bot added the merge_conflict Branch has conflicts that prevent merge to main label Oct 30, 2023
@github-actions github-actions bot added merge_conflict Branch has conflicts that prevent merge to main and removed merge_conflict Branch has conflicts that prevent merge to main labels Feb 8, 2024
@github-actions github-actions bot removed the merge_conflict Branch has conflicts that prevent merge to main label Feb 27, 2024
This adds support for entries in the keyring that have no secret
information associated with them. This is perhaps a silly choice to keep
in the keyring since it is public information but since the keyring is
the standard area where we manage keys right now it seems like the
logical choice at least in the short term.
@Chia-Network Chia-Network deleted a comment from github-actions bot Feb 28, 2024
@Chia-Network Chia-Network deleted a comment from github-actions bot Feb 28, 2024
@github-actions github-actions bot added the merge_conflict Branch has conflicts that prevent merge to main label Feb 28, 2024
This PR attempts to remove the `PrivateKey` type from the wallet insofar
as is possible. The object is to be able to use any type of private key
with the wallet's `.private_key` member variable.
This small PR adds support for SECP256r1 keys in the keychain
…and finish TXs (#18476)

While doing some other work, I noticed that the Vault's
`gather_signing_info` method was a little bit rigid in what it would
sign. It would only sign one single vault spend in a bundle that it saw,
and it would also assume that every vault spend that it saw needed to be
signed. This PR makes sure it only attempts to sign vaults that have a
p2_delegated_secp puzzle inside and also allows it to sign multiple at
once.
This PR makes the vault recovery endpoint return the specific IDs of the
two transactions it's creating instead of simply returning a list and
expecting the user to understand the order. There's also a minor change
to `@tx_endpoint` to support this.
…long_lived_vault_from_main_483ec60771304798ce7187e81a361fc1d3e7225d
Copy link
Contributor

Conflicts have been resolved. A maintainer will review the pull request shortly.

@github-actions github-actions bot removed the merge_conflict Branch has conflicts that prevent merge to main label Aug 26, 2024
Copy link

Removed dependencies detected. Learn more about Socket for GitHub ↗︎

🚮 Removed packages: pypi/types-cryptography@3.3.23.2)

View full report↗︎

Copy link
Contributor

File Coverage Missing Lines
chia/cmds/sim_funcs.py 0.0% lines 178
chia/cmds/vault_funcs.py 85.7% lines 55-57, 98-99
chia/rpc/wallet_rpc_api.py 92.0% lines 4645, 4647
chia/util/keychain.py 98.7% lines 389
chia/wallet/vault/vault_drivers.py 97.1% lines 125, 127, 144-145
chia/wallet/vault/vault_wallet.py 92.2% lines 89, 212, 319, 322, 325, 329, 336, 395, 422-427, 430-431, 433, 436-439, 442, 445, 453, 456-458, 643
Total Missing Coverage
1929 lines 41 lines 97%

Copy link
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@github-actions github-actions bot added the merge_conflict Branch has conflicts that prevent merge to main label Aug 28, 2024
…long_lived_vault_from_main_2b3999ddedaca53f28d0c474badb588e9d70e0be
…long_lived_vault_from_main_95592957254f8c548f189d70c8a36b1a55f327f2
With the advent of vaults, in order to preserve existing UX where the
wallet can perform all actions by itself, you need a secp private key
available to the wallet. In order to store these private keys in the
keychain, this PR generalizes the keychain code to support keys of any
type.
…long_lived_vault_from_main_1b4b8e8df517cb38d1637c54444ba3ab12286624
…long_lived_vault_from_main_111b0e57d5995d760cac877c45ef8822506800b6
Source hash: 111b0e5
Remaining commits: 0
Merge diffs: (no conflicts except poetry)
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 coverage-diff merge_conflict Branch has conflicts that prevent merge to main vault
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants