Commit Graph

15842 Commits

Author SHA1 Message Date
pavitthrap
5200305cd1 Merge branch 'next' into merge/dev-to-next 2021-08-16 16:43:30 -04:00
Charlie
5ba08fc697 ci: update clarity-js-sdk gh workflow (#2803)
* ci: update clarity-js-sdk gh workflow

* ci: check for release candidate suffix

* ci: add comment
2021-08-05 16:12:16 -04:00
Gregory Coppola
7f0fbad4dc chore: Replace code that cargo fmt always wants to fix (#2799)
* demo my format change

* moved the comment into the brace above

* moved comment after the if

* added "We"
2021-08-03 14:57:01 -05:00
Gregory Coppola
b41d87cdb8 feat(Changelog): Adds in two patches to the Changelog (#2795)
* Add Ludo's bug fixes to the change log.

* removed extra space
2021-08-02 09:16:52 -05:00
Gregory Coppola
c6fbab2a35 "master -> develop" ahead of Release 2.0.11.2.0 (#2796)
* fix: typos in Clarity docs

* docs: rupdate testnet information and run lint

* docs: add regtest name and address reviewer comments

Co-authored-by: Patrick Gray <pgray@hiro.so>
Co-authored-by: pavitthrap <paviusa23@gmail.com>
2021-08-02 08:17:10 -05:00
pavitthrap
1eb35a6210 Merge pull request #2788 from blockstack/fix/max-value-deprecated
fix: switched all occurrences of max_value/min_value to MAX/MIN
2021-07-30 13:20:26 -04:00
pavitthrap
f2499087a3 Merge branch 'develop' into fix/max-value-deprecated 2021-07-30 10:52:06 -04:00
Gregory Coppola
1e13b09e96 feat(Changelog) Add some PR's that got missed for 2.0.11.2.0 (#2789)
* added micro-blocks PR to the changelog

* add PR 2647

* removed a space

* added some notes about the reset of the testnet
2021-07-29 16:47:18 -05:00
Pavitthra Pandurangan
ea31eee020 fix: switched all occurrences of max_value/min_value to MAX/MIN because it will deprecated in a future version of Rust 2021-07-29 13:53:11 -04:00
Ludo Galabru
53fb9fd12e Merge pull request #2780 from blockstack/fix/graceful-restart
Only consider target_block_height when relevant
2021-07-29 10:40:35 -04:00
Ludo Galabru
5a4a392ef8 Merge branch 'develop' into fix/graceful-restart 2021-07-28 13:12:36 -04:00
Ludo Galabru
d520e834d2 Merge branch 'fix/graceful-restart' of github.com:blockstack/stacks-blockchain into fix/graceful-restart 2021-07-27 18:13:59 -04:00
Ludo Galabru
56c776dea6 fix: log 2021-07-27 18:13:45 -04:00
Ludo Galabru
7ceec25c06 Update src/burnchains/burnchain.rs 2021-07-27 17:59:58 -04:00
Ludo Galabru
f67eaeb7ad Update src/burnchains/burnchain.rs 2021-07-27 17:57:55 -04:00
Ludo Galabru
b510e02b07 chore: add log when ignoring target 2021-07-26 14:08:57 -04:00
Ludo Galabru
e9f01fd4aa chore: cargo fmt 2021-07-26 14:05:24 -04:00
Ludo Galabru
7d7479b631 fix: only consider target block if relevant 2021-07-26 13:57:00 -04:00
Ludo Galabru
d18b0fb6d3 Merge pull request #2773 from blockstack/fix/2771
Fix: 2771
2.0.11.2.0-rc2
2021-07-21 09:20:13 -04:00
Ludo Galabru
55986495b3 Update src/burnchains/burnchain.rs 2021-07-20 19:59:50 -04:00
Ludo Galabru
d2cdefb6ac fix: bitcoind_forking_test assertions added 2021-07-20 17:55:17 -04:00
Ludo Galabru
2bdb7e691c Merge branch 'fix/2771' of github.com:blockstack/stacks-blockchain into fix/2771 2021-07-20 17:11:57 -04:00
Ludo Galabru
954c707501 fix: bitcoind_forking_test assertions added 2021-07-20 17:10:10 -04:00
Ludo Galabru
b314f23c5d Update testnet/stacks-node/src/tests/neon_integrations.rs 2021-07-20 15:48:06 -04:00
Ludo Galabru
af918d7fd2 Update testnet/stacks-node/src/tests/neon_integrations.rs 2021-07-20 15:47:24 -04:00
Ludo Galabru
62404d7e5b Update testnet/stacks-node/src/tests/neon_integrations.rs 2021-07-20 15:46:44 -04:00
Ludo Galabru
1df0457c44 chore: cargo fmt 2021-07-20 15:05:45 -04:00
Ludo Galabru
f3cfccc9b2 fix: revert patch 2021-07-20 14:27:54 -04:00
Ludo Galabru
70c312c4db Merge branch 'fix/2771' of github.com:blockstack/stacks-blockchain into fix/2771 2021-07-20 14:24:04 -04:00
Ludo Galabru
17456cfa14 chore: add comments 2021-07-20 14:23:54 -04:00
Ludo Galabru
d25b0b2236 Merge branch 'develop' into fix/2771 2021-07-19 23:58:52 -04:00
Ludo Galabru
5343c9c001 fix: restore timeout 2021-07-19 22:53:01 -04:00
Ludo Galabru
87b46f85b2 fix: edge case 2021-07-19 22:50:43 -04:00
Ludo Galabru
9c7c2e8692 chore: cargo fmt 2021-07-19 21:52:44 -04:00
Ludo Galabru
06d13f8f8a fix: test + patch 2021-07-19 21:49:28 -04:00
Gregory Coppola
9390b29468 feat(docs): Add to "Non-Consensus Breaking Release Process" (#2766)
* changelog for 2.0.11.2.0

* start to discuss the version number

* changelog section

* fixed the wording around conensus breaking change

* updates to the changelog section

* added to release timing.

* added to timing section
2021-07-19 10:57:37 -05:00
Ludo Galabru
3dd875bd59 fix: move comment 2021-07-16 17:29:54 -04:00
Ludo Galabru
e611546c73 fix: move log 2021-07-16 17:29:12 -04:00
Ludo Galabru
9742299592 fix: tests::neon_integrations::bitcoind_forking_test 2021-07-16 17:27:53 -04:00
Ludo Galabru
37eaa022ec fix: issue 2771 2021-07-16 16:45:11 -04:00
Aaron Blankstein
c5401eccce Merge pull request #2639 from blockstack/feat/stacks-2.1-initialization
Stacks 2.1: epoch initialization
2021-07-13 16:08:45 -05:00
Aaron Blankstein
f4b6e4c276 Merge branch 'next' into feat/stacks-2.1-initialization 2021-07-13 14:44:11 -05:00
Gregory Coppola
b728a586ad feat(Clarity2): "is-in-mainnet", version-guarded variable that says if running in mainnet (#2753)
* added basic infra for versioned variables

* chasing down the references to the version

* looks good

* got test to start failing

* changed some versions to Clarity2

* removed some info logs

* refactored arithmetic check

* added a test to demonstrate that tx-sponsor? doesn't exist in Clarity1

* removed a spurious line about clarity version

* added skeleton for 'is-in-mainnet' and a type checker test

* added "is-in-mainnet" function

* fmt

* removed a spurious log

* revert the ast file again

* remove StacksNetworkType

* copy src/vm/tests/mod.rs from next

* tweaks to work after merging next

* remove extra execute_against_version_and_network

* harmonize diffs

* small docs change

* fmt

* fmt

Co-authored-by: Greg Coppola <greg@hiro.so>
2021-07-13 14:03:28 -05:00
Aaron Blankstein
e6ed2b0964 Merge branch 'next' into feat/stacks-2.1-initialization 2021-07-13 12:56:58 -05:00
Gregory Coppola
d93c90419a feat(Clarity2): Comparisons for string and buffer types (#2729)
* working with ascii

* added buffer

* refactored the tests, many are passing

* different functions are working but needs versioning

* rebased

* have an error case working now

* added some tests to show that clarity1 won't run the new code

* Cleaned up code and tests

* added clarity2 notes and type notes to the vm::docs for comparisons

* tests are working but not vm::docs

* hacking the type system

* piped in clarity version to type checker

* type checking sensitive to clarity version

* added some more docs

* cleaned up some fmt problems

* added to the comments of tyep checking for inequalities

* docs changes

* make ClarityVersion copyable

* comprehensive suite of tests for comparisons

* comment

* revert definition_sorter

* reinstate comparison of pairs of similar types

* added more cases to test_comparison_types

* cahnged test names

* changed the docs around comparison functions

* pair_of_types_matches is rearranged

* added list example to test_comparison_types

* added principaltype test to test_comparison_types

* add IncorrectArgumentCount to test_comparison_types

* addressing review comments

* fmt

* fmt

Co-authored-by: Greg Coppola <greg@hiro.so>
2021-07-13 12:30:34 -05:00
Aaron Blankstein
33270fede0 Merge branch 'next' into feat/stacks-2.1-initialization 2021-07-13 12:28:50 -05:00
Gregory Coppola
79d537c5c3 fix(Clarity2): Fix "principal-of" to be sensitive to mainnet/textnet (#2745)
* tests is compiling

* test is running

* Added skeleton for new functions

* Tests are mostly working

* tests are working but not for contracts

* tests are wroking prety good

* added some always false tests

* renamed principal-matches to is-standard

* Renamed PrincipalMatches to IsStandard

* updated the IsStandard line in vm::docs

* s/principal_matches/is_standard

* fixed some docs and changed some test names

* working with ascii

* added buffer

* refactored the tests, many are passing

* different functions are working but needs versioning

* rebased

* have an error case working now

* added some tests to show that clarity1 won't run the new code

* Cleaned up code and tests

* added clarity2 notes and type notes to the vm::docs for comparisons

* tests are working but not vm::docs

* hacking the type system

* piped in clarity version to type checker

* type checking sensitive to clarity version

* added some more docs

* cleaned up some fmt problems

* added to the comments of tyep checking for inequalities

* docs changes

* basic outline of the branching

* added comments to principal-of

* adding new test, with some parts commented out

* first testcase isworking

* test seems to work

* manually "rebasing" from the next branch

* removed principals

* make execute_program_with_context private

* added some comments about how principal-of is fixed in Stacks 2.1

* merged in execute_against_version_and_network

* revert the change to clarity_version

* reverted addition of 'execute_v2' in tests/mod.rs

* remove execute_v2 from tests/mod.rs

* fix a typo in the docs

* cargo fmt

Co-authored-by: Greg Coppola <greg@hiro.so>
2021-07-13 11:05:07 -05:00
Aaron Blankstein
aaaa1630db test: update events tests for epoch version check 2021-07-13 11:05:06 -05:00
Aaron Blankstein
e1234c8875 Merge remote-tracking branch 'origin/next' into feat/stacks-2.1-initialization 2021-07-13 10:45:19 -05:00
Gregory Coppola
a83f45ed2d fix(Clarity2):Factor out 'stx-transfer-memo' into a separate function (#2732)
* began refactor of memo

* fixed some of the tests

* added a test for memo's

* added tranfer-memo to the docs

* fixed test::events

* fixed a costs test

* rust fmt

* change version in arithemtic checker

* fix test_stx_ops

* cleaning up some imports

* rearranged the vm tests

* copied tests in test_stx_ops to create memo tests

* added some memo tests to simple_apply_eval

* revert change to ast

* new test cases for test_stx_ops

* began refactor of memo

* fixed some of the tests

* added a test for memo's

* added tranfer-memo to the docs

* fixed test::events

* fixed a costs test

* rust fmt

* change version in arithemtic checker

* fix test_stx_ops

* cleaning up some imports

* rearranged the vm tests

* copied tests in test_stx_ops to create memo tests

* added some memo tests to simple_apply_eval

* revert change to ast

* new test cases for test_stx_ops

* using Unimplemented as the cost

* arithmetic_checker separates Clarity1 vs Clarity2 functions

* remove some prinln's

Co-authored-by: Greg Coppola <greg@hiro.so>
2021-07-13 09:30:34 -05:00