17332 Commits

Author SHA1 Message Date
Max Efremov
c0287d39c3 Merge pull request #263 from hirosystems/mefrem-subnets-guide-v2
Walkthrough guide edits
2023-04-21 10:22:48 -05:00
Max Efremov
377e3bc764 Update docs/getting-started.md
Co-authored-by: jbencin <jeff.bencin@gmail.com>
2023-04-21 10:11:46 -05:00
Max Efremov
508e12d977 Update docs/getting-started.md
Co-authored-by: jbencin <jeff.bencin@gmail.com>
2023-04-21 10:11:31 -05:00
Max Efremov
7b2f36a629 Update docs/getting-started.md
Co-authored-by: jbencin <jeff.bencin@gmail.com>
2023-04-21 10:11:15 -05:00
Max Efremov
3a81693cde Update docs/getting-started.md
Co-authored-by: jbencin <jeff.bencin@gmail.com>
2023-04-21 10:10:58 -05:00
Max Efremov
94e69610d5 Jeff's suggestions 2023-04-21 09:24:18 -05:00
Max Efremov
05c02747b5 Final changes to Getting Started guide
Added clarification about subnet block confirmations.
2023-04-21 09:19:22 -05:00
Max Efremov
15e35d8bff Walkthrough guide edits 2023-04-20 22:21:52 -05:00
jbencin
41aac7a45a Merge pull request #261 from hirosystems/max-subnet_docs_update
docs: Improvements to Getting Started and Overview guides
2023-04-20 10:46:22 -04:00
Jeff Bencin
82d44f041e ci: Add explicit != '' comparisons to test if strings are non-empty 2023-04-20 10:25:52 -04:00
Brice Dobry
3a0ef0472b Merge pull request #260 from hirosystems/add-block-height
feat: add block height to `commit-block` event
2023-04-19 21:56:37 -04:00
Brice Dobry
af730c63a0 Merge pull request #249 from hirosystems/feat/remove-initial-balances
Remove initial balances except in tests
2023-04-19 16:42:26 -04:00
Brice Dobry
5002792022 feat: add block height to commit-block event
The event generated by a `commit-block` (on the L1) now includes the
block height for the block that is being committed, in the
`block-height` key of the event tuple. The target burnchain block height
now uses the key `target-burn-block-height`. This is useful for
debugging, making it easy to match the L1 transactions with the L2
blocks. Note that this field is not checked in the tests since it is
purely for convenience and could be left out of some implementations.
2023-04-19 16:39:15 -04:00
Max Efremov
685914bf63 Update docs/overview.md
Co-authored-by: jbencin <jeff.bencin@gmail.com>
2023-04-19 15:33:02 -05:00
Max Efremov
54ed86ee26 Update docs/getting-started.md
Co-authored-by: jbencin <jeff.bencin@gmail.com>
2023-04-19 15:32:44 -05:00
Max Efremov
2919398593 Final update to getting-started.md - per Jeff's comments 2023-04-19 14:43:31 -05:00
Max Efremov
e79168577a Update docs/getting-started.md
Co-authored-by: jbencin <jeff.bencin@gmail.com>
2023-04-19 14:40:19 -05:00
Max Efremov
85ef416e0b Update docs/getting-started.md
Co-authored-by: jbencin <jeff.bencin@gmail.com>
2023-04-19 14:38:35 -05:00
Max Efremov
e79713c900 Update getting-started.md
Fixed a link, added some italics
2023-04-19 09:47:57 -05:00
Max Efremov
6ddacf1ffa Changes to Getting Started and Overview guides 2023-04-19 09:36:58 -05:00
Jeff Bencin
b0c93bc276 fix: Update reqwest and disable OpenSSL to address CVEs 2023-04-18 15:10:38 -04:00
Aaron Blankstein
edc4f97804 Merge branch 'master' into feat/remove-initial-balances 2023-04-18 14:13:07 -04:00
Jeff Bencin
33200d8566 ci: Push to DockerHub on branch commits, but only if we have credentials 2023-04-18 13:56:58 -04:00
Brice Dobry
0ba9c3ea3e Merge pull request #257 from hirosystems/fix/versioned-contract
fix: support versioned contract transactions
2023-04-18 12:46:29 -04:00
Brice Dobry
b2113ae859 Simplify match
Co-authored-by: jbencin <jeff.bencin@gmail.com>
2023-04-18 12:46:19 -04:00
Brice Dobry
a6b7dada15 fix: support versioned contract transactions
The upstream changes for 2.1 added support to pass the Clarity version
when deploying a contract. Using this new transaction type is the
default from stacks.js, so it makes sense to support this new type in
the subnet as well.
2023-04-18 12:46:19 -04:00
Brice Dobry
1bfbaebd43 Merge pull request #252 from hirosystems/fix/respect-first-burn-ht
Fix: handful of resiliency fixes
2023-04-18 12:45:50 -04:00
Aaron Blankstein
7d373f0717 improved inv logging 2023-04-18 10:02:33 -04:00
Aaron Blankstein
2e44eb7f91 fix: num_inventory_reward_cycles must use *sortition* height to compute reward cycle target 2023-04-18 10:02:33 -04:00
Aaron Blankstein
df1f2455b8 update block inventories regardless of broken reward cycle tracking 2023-04-18 10:02:33 -04:00
Aaron Blankstein
c76c4f301d handle event duplicate 2023-04-18 10:02:33 -04:00
Aaron Blankstein
4236b84252 fix: increment sortition processing! 2023-04-18 10:02:33 -04:00
Aaron Blankstein
e2c1923745 fix: ignore l1 blocks prior to first block height 2023-04-18 10:02:33 -04:00
jbencin
84fb7e0d2d Merge pull request #253 from jbencin/fix/handle-failed-ft-deposits
Fix: Refund failed FT deposits
2023-04-13 14:54:44 -04:00
Jeff Bencin
b32b7eb39a chore: Minor changes as requested in PR #253 2023-04-13 14:44:00 -04:00
Jeff Bencin
37652e7fa7 Fix: Rename withdrawal_id to withdrawal-id 2023-04-13 13:11:37 -04:00
Jeff Bencin
202e580e42 chore: Change filter_map() that never filtered anything to map() 2023-04-11 09:54:09 -04:00
Jeff Bencin
3cfc58d395 fix: Add module prefix to example test commands in comments, to fix cargo test running multiple tests based on substring matching 2023-04-11 09:53:56 -04:00
Jeff Bencin
d09d49e0ed test: Add integration test for refund from failed FT deposit 2023-04-10 18:32:28 -04:00
Jeff Bencin
08f59c1299 refactor: Change make_nft_withdrawal_event() -> make_withdrawal_event() so that can handle fungible tokens also 2023-04-07 20:30:22 -04:00
jbencin
5ec836b65f Merge pull request #234 from jbencin/fix/handle-failed-nft-deposits
fix: Send failed NFT deposits back to user
2023-04-07 16:40:41 -04:00
Aaron Blankstein
0bb72916da Merge pull request #247 from hirosystems/subnets-docs
subnets-documentation
2023-04-07 14:51:57 -05:00
Aaron Blankstein
a762f8f534 revert file renames 2023-04-07 14:50:44 -05:00
Lavanya Kasturi
08484ba0b6 Reverted changes 2023-04-07 14:46:03 -05:00
Jeff Bencin
ddd2d6528f style: Refactor process_deposit_nft_ops() to reduce size and indentation depth 2023-04-07 11:51:56 -04:00
Lavanya Kasturi
3f1117ea44 Added notes, removed how-to's, updates based on comments 2023-04-06 14:32:55 -05:00
Jeff Bencin
522c331a45 Merge remote-tracking branch 'hiro/master' into fix/handle-failed-nft-deposits
Includes some additional changes to get integration tests working again after merge
2023-04-06 14:16:53 -04:00
Jeff Bencin
5c585b9b00 fix: Add integration test for refund of failed NFT deposit 2023-04-05 16:53:25 -04:00
Lavanya Kasturi
5d17a24300 Removed note, improved formattng 2023-04-04 13:54:48 -05:00
Aaron Blankstein
ea2271f62a feat: remove initial balances except in tests 2023-03-28 08:17:09 -05:00