-
Notifications
You must be signed in to change notification settings - Fork 267
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
Save the entire svp fund tx instead of only its hash #2731
Closed
julia-zack
wants to merge
85
commits into
feat/refactor_bridge_serialization_utils_recovery
from
save_fund_tx_signed_instead_of_hash
Closed
Changes from all commits
Commits
Show all changes
85 commits
Select commit
Hold shift + click to select a range
90585fb
Add rskip419 config to lovell
julia-zack 557052b
Add validation period duration to federation constants
julia-zack 9bc5a84
Add proposedFederation and validationFundTxHashUnsigned
julia-zack 8c08105
Add keys to storage index
julia-zack ab43f46
Add set and save methods for the proposed federation
julia-zack b4f0e23
Save proposed federation with its own format version
julia-zack b0a39f5
Add tests for saveProposedFederation method
julia-zack 54a80cd
Add format version assertion to tests
julia-zack c5b4e57
Add getProposedFederation method
julia-zack 4a80030
Adds setFundTransactionUnsignedHash and saveFundTransactionUnsignedHa…
jeremy-then f67cbb4
Add set and save methods for the proposed federation
julia-zack 105391e
Save null version when proposed federation is null
julia-zack e73cc3b
Add getProposedFederation method
julia-zack fe43703
Throw exception when there is no storage version for non-null propose…
julia-zack ebd7d84
Adds setFundTransactionUnsignedHash and saveFundTransactionUnsignedHa…
jeremy-then 22105e7
Adds getSvpFundTransactionUnsignedHash and tests
jeremy-then 053f9e7
Split commit federation. Disable failing test
julia-zack feb9b56
Add tests to existing nested class
julia-zack 5b9d939
Comment broken test that be addressed later
julia-zack 683a9b4
Move svp fund tx hash unsigned entry from federation storage index ke…
julia-zack cd1f323
Remove svp fund tx logic from federation storage provider, and add it…
julia-zack 35a3618
Define spendable value directly in BridgeConstants
julia-zack f7935fd
Add getProposedFederation method in FederationSupport
julia-zack 7e92781
Create flyover redeem script builder
julia-zack c9d139a
Delete FlyoverRedeemScriptCreationException and move flyover reason t…
julia-zack 43eb320
Add proposed federation dummy flyover prefix to bridge constants
julia-zack f6510c2
Create new settleReleaseRequest method to perform common actions when…
julia-zack 5ab3636
Add svp fund tx hash signed storage index key
julia-zack bef3d18
Add set and save methods
julia-zack cf3b35c
Add getSvpFundTxHashSigned method
julia-zack ae1b2c1
Move vote federation change nested test class to its own file
julia-zack 001ffbd
Add tests
julia-zack 451df7d
Add flyover output to fund tx. Refactor
julia-zack 17b13bf
Add reused method to PegUtils
julia-zack 563f7fd
Take nested SvpTests out of nested locking cap tests
julia-zack b41a417
Use flyover rs builder. Remove method from PegUtils
julia-zack e2c42f9
Create output to federation with flyover prefix with address instead …
julia-zack 6a9f202
Add test for insufficient money exception test.
julia-zack 42f9706
Add @Override annotation
marcos-iov f9724cf
Remove unthrown exceptions from the method signatures
marcos-iov ce98006
Adjust unit tests after rebase
marcos-iov 236787a
feat(peg): add svp spend tx hash unsigned storage entry
apancorb 85d90ec
feat(peg): add set and save storage methods for svp spend unsigned tx…
apancorb 64a19e9
feat(peg): add getter for svp spend tx hash
apancorb 314c924
feat(peg): add serialize and deserialize map logic with tests
apancorb 5ebc028
feat(peg): add svp spend tx waiting for signatures data structure
apancorb d999a66
refactor(peg): change serialization naming for rsk txs waiting for si…
apancorb 2e9595a
feat(peg): resolve comments
apancorb a7f6328
Create method to remove signatures from script sig
julia-zack e26fb02
Move method to BitcoinTestUtils
julia-zack a824a9d
Refactor method to reuse existing ones. Add exceptions to txs without…
julia-zack 0698c77
Add logs when throwing errors. Use getScriptSigWithSignature instead …
julia-zack d1538f3
Add test case to remove signatures from a tx with mixed inputs. Impro…
julia-zack 6f393d9
Add methods to create a real valid chain with stored blocks to avoid …
julia-zack e6e82df
Modify method to receive a pmt since it is needed in registerBtcTrans…
julia-zack 9e90491
Add method to check if svp is ongoing
julia-zack 9e5a0b8
Merge pull request #2713 from rsksmart/add_method_to_check_svp_period
marcos-iov b8a050c
Fix federation builder instance in BitcoinUtilsTest
julia-zack 7713ab4
Merge pull request #2725 from rsksmart/quick_fix_for_fed_builders
marcos-iov cac21fc
feat(peg): add svp spend tx waiting for signatures storage key
apancorb 65ff1dc
refactor(peg): remove unused import
apancorb 6d5d355
feat(peg): add logic to save svp spend tx waiting for signatures with…
apancorb afbabf2
feat(peg): allow null default entry for resetting svp spend tx waitin…
apancorb 2b5f141
feat(peg): if empty svp spend tx waiting for signatures attempted to …
apancorb 362b728
fix(peg): fix error message in svp spend tx waiting for signatures ex…
apancorb feca7a3
refactor(peg): test var name
apancorb 4dc5705
feat(peg): add null key and value for svp spend tx waiting for signat…
apancorb 31179ab
feat(peg): add setter for svp spend tx waiting for signatures field i…
apancorb cab7b05
Rename variable
marcos-iov 9dd54a0
Move svpSpendTxWaitingForSignatures validation to set method
marcos-iov 176673d
Merge pull request #2718 from rsksmart/feat/save_svp_tx
marcos-iov ed3de69
Create new methods to handle btc tx deserialization without inputs to…
julia-zack f03073e
Remove boolean from deserialization in provider
julia-zack 29227eb
Rename fundTx to prevTx to avoid svp confusion. Fix indentation. Add …
julia-zack cd7a4a0
Declare network params from bridge constants to fix sonar complains
julia-zack a15016f
Fix indentation
julia-zack fac8356
Fix indentation
julia-zack c22b072
Improve variables naming
julia-zack e468239
Improve variables naming
julia-zack 5a1e6c4
Keep bitcoin impl for deserializeBtcTransaction method, but create me…
julia-zack 96116a8
When signed, save the svp fund tx instead of its hash
julia-zack becc121
Correct typo and comments
julia-zack 7a0a1d1
Create new methods to handle btc tx deserialization without inputs to…
julia-zack 8beace0
Fix typo
julia-zack 45b96c4
Use new deserialization method for btc tx with inputs
julia-zack File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this has been removed since it is not being used anywhere