Commit Graph

15993 Commits

Author SHA1 Message Date
Gregory Coppola
fa35d2bbdd Revert "mainnet doesn't clone"
This reverts commit 15a3b6e72a.
2021-11-19 12:28:16 -05:00
Gregory Coppola
15a3b6e72a mainnet doesn't clone 2021-11-19 11:40:31 -05:00
Gregory Coppola
9875c5d07f Revert "had to comment two things to get test to pass"
This reverts commit 4974ea91f4.
2021-11-19 11:36:26 -05:00
Gregory Coppola
4974ea91f4 had to comment two things to get test to pass 2021-11-19 11:03:06 -05:00
Gregory Coppola
37e87883a6 test_cost_contract_short_circuits passing for mainnet 2021-11-19 10:53:09 -05:00
Gregory Coppola
4439b1e0cf Merge branch 'feat/test2' into feat/test-mainnet 2021-11-19 10:41:24 -05:00
Gregory Coppola
67c3468da3 changing the contract to be variable 2021-11-19 10:41:09 -05:00
Gregory Coppola
cdcacdf551 ok 2021-11-19 10:27:42 -05:00
Gregory Coppola
44c282e102 all but two tests passing 2021-11-19 09:32:03 -05:00
Gregory Coppola
a5a345ff13 still not passing 2021-11-19 09:24:23 -05:00
Gregory Coppola
1a5164c7a7 mainnet tests are failing 2021-11-18 18:46:56 -05:00
Gregory Coppola
b5c50a4f03 switch cost tests to use mainnet as well as testnet 2021-11-18 12:15:09 -05:00
Charlie
6e794be32f Ci/next costs coverage (#2934)
* Ci/fix codecov (#2932)

* ci: update codecov upload method

* ci: give codecov git info

* ci: codecov for stacks-node tests

* ci: give codecov git access

* ci: build binary and fix path

* ci: code coverage for bitcoind_integration_test

* ci: fix bin path

* ci: cargo test first then build

* ci: syntax

* ci: name each code cov upload

* ci: adjust source dir
2021-11-18 09:33:04 -05:00
Aaron Blankstein
7400c34c7d Merge pull request #2931 from blockstack/fix/race-to-connect
next-costs fix: invoke connect early to avoid race-to-connect
2021-11-17 10:40:13 -05:00
Aaron Blankstein
97285d4bc4 fix: move connect_dbs to *after* initial burnchain sync 2021-11-17 08:52:57 -06:00
Aaron Blankstein
f6743d4f2b fix: invoke connect early to avoid race-to-connect next-costs-3 2021-11-16 13:47:36 -06:00
Aaron Blankstein
c694612ccd Merge pull request #2930 from blockstack/fix/existing-state
Fix: insert epochs on migration in SortitionDB::connect
next-costs-2
2021-11-16 12:49:43 -05:00
Aaron Blankstein
e50bf4362d Merge remote-tracking branch 'origin/next-costs' into fix/existing-state 2021-11-16 11:09:29 -06:00
Aaron Blankstein
0b10997caa Merge pull request #2924 from blockstack/feat/costs-2-clar-2894
Instantiate `costs-2.clar` with latest results from benchmarking
2021-11-16 12:08:12 -05:00
Aaron Blankstein
4fdde14f50 add comment to validate_and_insert_epochs 2021-11-16 10:59:45 -06:00
Aaron Blankstein
393757070a address PR feedback 2021-11-16 10:56:02 -06:00
Gregory Coppola
30fd6bb353 Stacks 2.05: Add Epoch to Cost Estimate Key (#2923)
* added bunch of things

* moving the stuff

* test compiles

* added a test

* fixed typo

* added two tests

* updated code/tests in stacks-node

* replaced indexed conn with unindexed one
2021-11-16 11:39:57 -05:00
Aaron Blankstein
cf8cef9d05 smooth similar runtimes to same value, bump cost_principal_of to hash160(32) 2021-11-16 10:17:14 -06:00
Aaron Blankstein
5f93f2c42e fix: insert epochs on migration in SortitionDB::connect, error in SortitionDB::open 2021-11-16 08:42:57 -06:00
Gregory Coppola
f38fe32a13 fix typo (#2929) 2021-11-16 09:11:16 -05:00
Jude Nelson
3fc0833e8f Merge pull request #2925 from blockstack/fix/2911
Stacks 2.05: make p2p network reject connections from 2.0 peers after the epoch switch
2021-11-16 06:05:00 +00:00
Jude Nelson
4b5cea104c fix: add back in network_epoch 2021-11-15 23:50:12 -05:00
Jude Nelson
ce6f6c48aa fix: include network_epoch 2021-11-15 21:30:07 -05:00
Jude Nelson
783158f4c1 Merge branch 'next-costs' into fix/2911 2021-11-15 21:11:21 -05:00
Aaron Blankstein
2103e9f96b test: add some comments for test changes 2021-11-15 17:03:12 -06:00
Aaron Blankstein
a1d967bdd9 Merge remote-tracking branch 'origin/next-costs' into feat/costs-2-clar-2894 2021-11-15 15:43:57 -06:00
Aaron Blankstein
fd7fe74974 Merge pull request #2928 from blockstack/chore/2889-testnet-2.05
chore: select 2.05 xenon testnet start height, dead code elimination
2021-11-15 16:42:51 -05:00
Aaron Blankstein
01b1269fae fix: attempt #2 on testnet block height - 2104380 2021-11-15 14:55:35 -06:00
Aaron Blankstein
3d6cb3cf07 chore: cargo fmt 2021-11-15 13:58:53 -06:00
Aaron Blankstein
4972224e49 test: add assertion that the epoch switch is applied 2021-11-15 13:56:55 -06:00
Aaron Blankstein
8322db7b94 Merge branch 'next-costs' into chore/2889-testnet-2.05 2021-11-15 14:54:42 -05:00
Aaron Blankstein
879ebff3f0 test: fix some test flakiness in epoch_205::exact 2021-11-15 13:43:15 -06:00
Aaron Blankstein
4d2baa46fa chore: #2878 set 2.05 mainnet burn height 2021-11-15 12:54:52 -06:00
Aaron Blankstein
83191657ff fix: 2.0/1.0 epoch heights in testnet 2021-11-15 11:45:28 -06:00
Jude Nelson
a750638052 Merge pull request #2920 from blockstack/fix/2904
2.05: make it so a block whose anchored parent is in a different epoch cannot confirm a microblock stream
next-costs-1
2021-11-15 17:23:38 +00:00
Aaron Blankstein
5117aaa113 chore: select 2.05 xenon testnet start height, dead code elimination 2021-11-15 11:19:28 -06:00
Aaron Blankstein
67f16bcbdc chore: split testnet and mainnet costs 2021-11-15 10:34:10 -06:00
Aaron Blankstein
0b3dd8ef53 Merge remote-tracking branch 'origin/next-costs' into feat/costs-2-clar-2894 2021-11-15 10:19:31 -06:00
Gregory Coppola
57c711ce23 Stacks 2.05: Allow epochs to be specified in Toml for Testnet (#2910)
* added debug and serialize to the burnchainconfig

* can  supply epochs in toml, only use if not mainnet

* add enough Debug to print ConfigFile

* revert src/main

* reduced some comments

* info to debug

* changed a few comments

* removed the serialize's

* fixed the doc

* removed some Debug's

* panicking earlier
2021-11-15 09:47:02 -05:00
Aaron Blankstein
af2922d1fb feat: match nft transfer/burn/mint/get-owner 2021-11-13 10:09:28 -06:00
Aaron Blankstein
f59de660f3 feat: update costs-2, fixing the matching between various paired methods 2021-11-13 09:53:37 -06:00
Jude Nelson
62d38bc150 fix: add epoch_205 test to verify that the new code that tracks which blocks contained epoch transitions works end-to-end 2021-11-12 18:55:32 -05:00
Jude Nelson
d8d25b8698 fix: log the right hashes 2021-11-12 18:55:19 -05:00
Jude Nelson
5abd20b9d0 chore: cargo fmt 2021-11-12 18:08:17 -05:00
Jude Nelson
307d62fb65 feat: e2e test to verify that nodes in different epochs can't talk to each other 2021-11-12 18:07:46 -05:00