Commit Graph

1832 Commits

Author SHA1 Message Date
Stjepan Golemac
e6ead1dcca test: extend the sbtc ops test to check peg out ops 2023-02-23 09:52:02 +01:00
Mårten Blankfors
192c516dff feat: Extend BurnchainOps RPC Enum to support PegOutRequestOp & PegOutFulfillOp 2023-02-23 09:52:02 +01:00
Mårten Blankfors
116dca8df0 fix: peg-out request UTXO output amount correction + docstrings for peg ops
Co-authored-by: Jude Nelson <judecn@gmail.com>
2023-02-23 09:52:02 +01:00
Mårten Blankfors
28ef80b841 feat: Integration test covering UTXO consumption in peg out fulfillment
Co-authored-by: Jude Nelson <judecn@gmail.com>
2023-02-23 09:04:17 +01:00
Mårten Blankfors
841347cf57 feat: Add peg_wallet_address and fulfillment_fee to PegOutRequestOp 2023-02-23 09:04:17 +01:00
Mårten Blankfors
2936350a81 fix: Add empty memo to integration test 2023-02-23 09:04:17 +01:00
Mårten Blankfors
21f7a80d73 fix: Use StacksBlockId instead of BlockHeaderHash in PegOutFulfillOp 2023-02-23 09:04:17 +01:00
Mårten Blankfors
402a44cd53 feat: Integration test 2023-02-23 09:04:17 +01:00
Jude Nelson
ed8f189b34 Merge branch 'next' into chore/remove-extern-crate 2023-02-21 15:55:38 +00:00
Aaron Blankstein
2b730e8fa5 fix: merge errors, re-add integration assertions, and update example schema 2023-02-17 09:34:21 -06:00
pavitthrap
dc1e062e50 Merge branch 'next' into chore/remove-extern-crate 2023-02-16 17:26:04 -05:00
Mårten Blankfors
9d8675d524 test: Require BITCOIND_TEST flag for integration test 2023-02-15 13:08:45 +01:00
Mårten Blankfors
ce09474c0e fix: Cargo fmt 2023-02-15 10:16:53 +01:00
Mårten Blankfors
7cac0759a0 test: Integration test for peg-in with contract principal 2023-02-15 10:16:52 +01:00
Mårten Blankfors
deb35b5314 refactor: Represent peg-in recipient as PrincipalData 2023-02-15 10:16:51 +01:00
Mårten Blankfors
af50cc0e40 test: Peg-in test in chainstate::coordinator::tests 2023-02-15 10:16:18 +01:00
Mårten Blankfors
116b321348 refactor: Rename "address" to "recipient" in peg-in operation + SQL comment in sortdb 2023-02-15 10:16:18 +01:00
Mårten Blankfors
d95c78752e feat: Peg-in wire format 2023-02-15 10:16:16 +01:00
pavitthrap
f130c4aea6 Merge branch 'next' into chore/remove-extern-crate 2023-02-14 14:32:28 -05:00
Jude Nelson
bde347c7e7 fix: the name of the burnchain op key changed 2023-02-13 16:38:54 -05:00
Pavitthra Pandurangan
3f86a93448 import lazy_static in the right place 2023-02-07 15:02:39 -05:00
Jude Nelson
7e01c57942 Merge branch 'develop' into rft_vec_to_sli 2023-02-07 16:10:42 +00:00
Pavitthra Pandurangan
2b9565fef6 cleanup 2023-02-02 17:25:44 -05:00
Pavitthra Pandurangan
487747abb2 added specific json serialization function 2023-02-02 17:16:18 -05:00
Jude Nelson
32d8a83ae7 Merge branch 'develop' into rft_vec_to_sli 2023-02-02 19:01:17 +00:00
Jude Nelson
8cdf09d17e Merge branch 'develop' into btc-tx-more-info 2023-02-02 17:13:29 +00:00
Don Park
d5f393f939 Merge branch 'develop' into feat/cur_block_pox_contract-2 2023-02-01 15:10:01 -08:00
Don Park
fffaf8f3bf update transition_removes_pox_sunset to accept pox-2 at v1_unlock_height+1 2023-02-01 15:08:53 -08:00
Don Park
7a360d5488 remove test_v1_pox_default_contract 2023-02-01 15:02:51 -08:00
Don Park
164549767e use neon_integrations::get_pox_info 2023-02-01 14:26:04 -08:00
Pavitthra Pandurangan
f36473a444 added docs, serialization functions, tests, and json formatting for btc ops is readable 2023-02-01 17:03:11 -05:00
Pavitthra Pandurangan
3d2b3e56b2 wip - add example of stx op to md file 2023-02-01 17:03:04 -05:00
Pavitthra Pandurangan
06cad4adbb changed parameter name 2023-02-01 17:02:49 -05:00
Pavitthra Pandurangan
57436f0dcb added burnchain_op field to transaction event payload + test 2023-02-01 17:02:15 -05:00
Jude Nelson
9e3b34a2a0 Merge branch 'develop' into feat/test-v1-unlock-height 2023-02-01 14:11:15 -05:00
Jude Nelson
df038a11f8 fix: add test for what happens if there's a gap in Stacks blocks 2023-02-01 14:08:15 -05:00
Jude Nelson
913c45c135 fix: uncomment and finish the integration test that confirms that we can begin pox-2 at the end of a reward cycle and unlock pox-1 at the start of the next, and that stacking proceeds through the v1 unlock reward cycle 2023-01-31 17:41:25 -05:00
Jude Nelson
494a0046eb fix: it's safe to instantiate pox-2 at the end of a prepare phase 2023-01-31 17:41:12 -05:00
Jude Nelson
ae0af594c0 Merge branch 'develop' into feat/cur_block_pox_contract-2 2023-01-31 21:06:28 +00:00
Jude Nelson
c61e08f303 Merge branch 'develop' into trait-arg-check 2023-01-31 21:05:23 +00:00
Don Park
7e4d6faf31 test pox_contract value for pox-2 after v1_unlock_height 2023-01-31 12:46:56 -08:00
Asim Mehmood
6376726be3 refactor: make cloning caller responsibility 2023-01-30 16:15:16 +05:00
Pavitthra Pandurangan
8487a46785 removed changes to imports 2023-01-27 15:44:16 -05:00
Pavitthra Pandurangan
2f6fd847da removed extern crate where appropriate 2023-01-27 14:44:24 -05:00
Asim Mehmood
f850916760 fix: stacks/common 2023-01-27 19:05:44 +05:00
Brice Dobry
be86fa7f86 chore: add comments and clean up code 2023-01-25 17:46:06 -05:00
Brice Dobry
2d7c8a4355 Merge branch 'develop' into trait-arg-check 2023-01-25 15:58:04 -05:00
Aaron Blankstein
31d79ad122 test: add assertions to epoch_21::trait_invocation_cross_epoch 2023-01-24 16:06:19 -06:00
Aaron Blankstein
9fae1cfa20 test: add integration test work-in-progress 2023-01-24 15:50:17 -06:00
Pavitthra Pandurangan
c54d9c5ced WIP 2023-01-24 15:43:37 -05:00