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

Sweep proof SPV maintainer (manual version) #3563

Closed
4 tasks done
pdyraga opened this issue May 15, 2023 · 0 comments
Closed
4 tasks done

Sweep proof SPV maintainer (manual version) #3563

pdyraga opened this issue May 15, 2023 · 0 comments
Assignees
Milestone

Comments

@pdyraga
Copy link
Member

pdyraga commented May 15, 2023

The client can be started in the maintainer mode and manage the Bitcoin difficulty relay. At some point in the future, we want to add the functionality to maintain the wallet lifecycle and submit SPV proofs.

In the short term, we want a CLI command to submit a deposit sweep SPV proof for a wallet transaction. Long-term, we will reuse this code for the maintainer automation.

The CLI command should be simple to use and not require extracting Bitcoin data - all of it should happen under the hood. The intended user of this CLI is the coordinator.

Pull Requests

  1. 📟 client
    tomaszslabon
  2. 📟 client
    tomaszslabon
  3. 📟 client
    tomaszslabon
  4. 📟 client
    tomaszslabon
@pdyraga pdyraga mentioned this issue May 15, 2023
6 tasks
@pdyraga pdyraga closed this as completed May 19, 2023
@pdyraga pdyraga reopened this May 19, 2023
@pdyraga pdyraga added this to the v2.0.0-m4 milestone Jun 7, 2023
@pdyraga pdyraga changed the title Sweep proof SPV maintainer Sweep proof SPV maintainer (manual version) Jun 7, 2023
lukasz-zimnoch added a commit that referenced this issue Jun 8, 2023
#Refs #3563.

This PR adds functionalities for preparing deposit sweep proof.
These functionalities could also be later used for other types of SPV
proofs.
tomaszslabon added a commit that referenced this issue Jun 20, 2023
Refs #3563

The original estimate is too low and the call fails with out of gas
problem when reimbursing the submitter.

This is an example TX submitted with the same data but gas limit
(before/after):

https://etherscan.io/tx/0xe27a92883e0e64da8a3a54a15a260ea2f4d3d48470129ac5c09bfe9637d7e114

https://etherscan.io/tx/0x90a44b4c8cd810c7ec4450e429abfe136fe82fc59d220775ef8838ba0fdc09b8
@pdyraga pdyraga closed this as completed Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants