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

Create SVP spend tx hash unsigned storage entry #2699

Conversation

apancorb
Copy link
Contributor

Description

Just as we did with the fund transaction unsigned hash, we need to save the spend transaction hash to be able to identify it when trying to register it later.

Motivation and Context

https://github.com/rsksmart/RSKIPs/blob/master/IPs/RSKIP419.md

@apancorb apancorb self-assigned this Aug 28, 2024
@@ -25,6 +25,7 @@ public enum BridgeStorageIndexKey {

SVP_FUND_TX_HASH_UNSIGNED("svpFundTxHashUnsigned"),
SVP_FUND_TX_HASH_SIGNED("svpFundTxHashSigned"),
SVP_SPEND_TX_HASH_UNSIGNED("svpSpendTxHashUnsigned"),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Should we put the same name as the one that appears in the RSKIP?

Copy link
Contributor

Choose a reason for hiding this comment

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

I prefer how you did it to be consistent with the naming convention of the rest of the entries.

Copy link
Contributor

Choose a reason for hiding this comment

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

That's a good question, if we keep this name we need to update the RSKIP. Let's check with @julia-zack when she's back

@apancorb apancorb marked this pull request as ready for review August 28, 2024 10:30
@apancorb apancorb requested a review from a team as a code owner August 28, 2024 10:30
@marcos-iov marcos-iov force-pushed the feature/powpeg_validation_protocol branch from a6a59b0 to 1c84a9d Compare August 28, 2024 14:18
@marcos-iov marcos-iov changed the base branch from feature/powpeg_validation_protocol to feature/powpeg_validation_protocol-phase1 August 28, 2024 16:02
@marcos-iov marcos-iov changed the base branch from feature/powpeg_validation_protocol-phase1 to feature/powpeg_validation_protocol-phase2 August 28, 2024 16:02
@marcos-iov marcos-iov force-pushed the feat/svp_spend_tx_hash_storage_index branch from ceddc6a to 9a6b09e Compare August 28, 2024 16:04
Copy link

@marcos-iov marcos-iov merged commit f9c3c6a into feature/powpeg_validation_protocol-phase2 Aug 28, 2024
6 checks passed
@marcos-iov marcos-iov deleted the feat/svp_spend_tx_hash_storage_index branch August 28, 2024 16:31
@marcos-iov marcos-iov restored the feat/svp_spend_tx_hash_storage_index branch August 28, 2024 20:07
@marcos-iov marcos-iov deleted the feat/svp_spend_tx_hash_storage_index branch August 28, 2024 20:09
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.

3 participants