Commit Graph

23155 Commits

Author SHA1 Message Date
wileyj
cd1022ffc4 Merge pull request #4792 from BowTiedDevOps/develop
CI: Update Used Actions' Versions
2024-05-15 15:16:50 +00:00
Jude Nelson
368541fc1a Merge pull request #4759 from stacks-network/fix/4732
Fix/4732
2024-05-15 15:15:26 +00:00
wileyj
406083a1bd Merge branch 'develop' into develop 2024-05-15 07:53:16 -07:00
wileyj
f7d8f7e345 Merge pull request #4544 from stacks-network/feat/codeowners
Add CODEOWNERS
2024-05-15 14:51:00 +00:00
Jude Nelson
54bbc4c69b Merge branch 'develop' into feat/codeowners 2024-05-15 14:28:51 +00:00
Jude Nelson
253304aa79 Merge branch 'develop' into fix/4732 2024-05-15 02:40:20 +00:00
BowTiedDevOps
9f7c023f85 feat: setup rustfmt toolchain in composite actions 2024-05-15 01:33:06 +03:00
jferrant
45cf912a06 Merge pull request #4787 from stacks-network/chore/block-signature-message-type
Chore/block signature message type
2024-05-14 22:28:17 +00:00
Jude Nelson
b65fa72cbc Merge branch 'develop' into fix/4732 2024-05-14 21:37:46 +00:00
Jacinta Ferrant
69fa6effbc CRC: fix whitespace
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-05-14 13:53:00 -07:00
Jacinta Ferrant
65859b7f75 CRC: fix documentation on define_u8_enum types in messages.rs
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-05-14 12:53:19 -07:00
Jacinta Ferrant
7af348d710 CRC: create a trait to enforce multiple traits for signer event types
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-05-14 12:35:37 -07:00
Jacinta Ferrant
1decf3baca Merge branch 'develop' of https://github.com/stacks-network/stacks-core into chore/block-signature-message-type 2024-05-14 11:56:12 -07:00
Jacinta Ferrant
0c3631bd42 CRC: remove use of hardcoded u8s in codec functions
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-05-14 11:35:15 -07:00
Jude Nelson
e6021f5bee chore: fix compile issues in stacks-node 2024-05-14 14:19:19 -04:00
jferrant
87fdd5086d Merge pull request #4778 from stacks-network/chore/signer-traits
Pull current stacks signer out into v1 implementation and create placeholder v0 mod
2024-05-14 18:00:25 +00:00
Jacinta Ferrant
c9219e556e Do not enable empty MinerMessage event
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-05-14 11:00:09 -07:00
Jacinta Ferrant
6c5f04219b Merge branch 'chore/signer-traits' of https://github.com/stacks-network/stacks-core into chore/block-signature-message-type 2024-05-14 10:41:22 -07:00
Jacinta Ferrant
5d0dc11adb CRC: move traits to lib.rs
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-05-14 10:37:19 -07:00
Jacinta Ferrant
7d4075333c Remove unused serialization of HashSet in messages.rs
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-05-14 10:14:47 -07:00
Jacinta Ferrant
b80d71ef68 Replace custom NakamotoBlockHeaders throughout signer with empty()
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-05-14 09:41:03 -07:00
Jacinta Ferrant
8d6a3a56f7 Skip some mutants
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-05-14 09:34:54 -07:00
BowTiedDevOps
9021c4102d feat: download artifacts with different names with a pattern 2024-05-14 19:14:29 +03:00
BowTiedDevOps
84684ff577 feat: update used actions versions 2024-05-14 16:05:58 +03:00
Jacinta Ferrant
382cdfd33a Change ecdsa::Signature to MessageSignature
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-05-13 14:02:19 -07:00
Jude Nelson
a71abf7b59 Merge branch 'develop' into fix/4732 2024-05-13 20:46:15 +00:00
Jude Nelson
88517e4ccb chore: address PR feedback by adding more regression tests 2024-05-13 16:56:00 -04:00
Jacinta Ferrant
764de0b48b Add spawned signer struct to v1 mod.rs
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-05-13 13:33:54 -07:00
Jacinta Ferrant
d8475f1567 WIP: make libsigner event processing and signer trait generic
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-05-13 12:45:22 -07:00
Jacinta Ferrant
b77ba2472c WIP: move messages.rs to individual v0 and v1 subdirs
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-05-13 11:15:11 -07:00
Jeff Bencin
16cca4a17d Merge pull request #4767 from jbencin/feat/nakamoto-keep-peer-network
feat: Preserve `PeerNetwork` during Epoch 3.0 transition
2024-05-13 18:08:06 +00:00
Jeff Bencin
c65fa5ce59 fix: Skip PeerNetwork::bind() if re-using object 2024-05-13 13:47:22 -04:00
Jeff Bencin
a5f4151c1b feat: Pass PeerNetwork from Neon node to Nakamoto node in order to maintain network connections 2024-05-13 13:47:22 -04:00
Jacinta Ferrant
422856629a Disable broken and flakey signer tests in CI
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-05-13 09:52:11 -07:00
Jude Nelson
75341d901b Merge pull request #4754 from stacks-network/fix/4752
Fix/4752
2024-05-10 21:26:43 +00:00
Jacinta Ferrant
75a28ed6f1 WIP: move signer event processing into a trait and create v0 and v1 submodules
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-05-10 14:03:46 -07:00
Jude Nelson
0f6b82987c Merge branch 'develop' into fix/4732 2024-05-10 19:46:41 +00:00
jferrant
4afa9ef716 Merge pull request #4772 from stacks-network/chore/remove-dead-cli-commands
Remove dead CLI commands including Sign, DKG, and generate Files comm…
2024-05-10 16:23:43 +00:00
Aaron Blankstein
e79719d220 Merge pull request #4773 from stacks-network/chore/fix-clippy-issues
Implement this error for MonitoringError and fix clippy warnings
2024-05-10 14:53:07 +00:00
Jacinta Ferrant
844d5b3aa7 Undo var rename
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-05-09 14:58:02 -07:00
Jacinta Ferrant
a2e4a1d6ca cargo fmt
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-05-09 14:35:11 -07:00
Jacinta Ferrant
57b345807b Implement this error for MonitoringError and fix clippy warnings
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-05-09 14:32:39 -07:00
Jacinta Ferrant
8a2f4f1105 Remove dead CLI commands including Sign, DKG, and generate Files commands
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-05-09 14:22:23 -07:00
wileyj
1d542eeef3 Merge branch 'develop' into feat/codeowners
* develop: (420 commits)
  remove extra character from vi typo
  remove paths-ignore
  4746 - avoid extra ci runs
  chore: fix comment typo
  fix: more PR feedback -- better, more-complete AtcRational tests and better abstraction over the inner u256
  chore: address PR feedback and add more test coverage
  chore: add unit test
  chore: add unit test
  feat: add no-op metrics timer when feature disabled
  chore: get all unit tests to pass
  chore: API sync
  chore: add a mode of generating burnchain blocks in TestPeer that ensures that a block's hash will depend on the (number of) opts it contains
  fix: don't start from reward cycle 0 when doing an inv sync; start from connection_opts.inv_reward_cycles
  chore: expose set_initial_peer
  fix: optionally disable resolving bootstrap nodes, so the caller can avoid needless network I/O if it's not needed
  chore: use the burnchain indexer to find the right block header
  fix: revert changes in contrib/core-contract-tests/
  fix: typos
  chore: index block-commits by apparent sender, so we can get the last commit by sender
  fix: generate the expected block commit input so that mining works in nakamoto
  ...
2024-05-09 13:31:13 -07:00
wileyj
e8e3a2ed20 Merge pull request #4765 from stacks-network/fix/reduce_ci_runs-develop
[CI] 4746 - Avoid extraneous CI runs (develop)
2024-05-09 18:09:46 +00:00
Jude Nelson
05bf8a80b6 Merge branch 'develop' into fix/4752 2024-05-09 16:57:02 +00:00
Jude Nelson
1725915661 Merge branch 'develop' into fix/4732 2024-05-09 16:56:09 +00:00
jude
1f989fbbe6 fix: if we're not mining, then set the poll time to be 5s (otherwise we waste a *ton* of CPU) 2024-05-09 12:55:24 -04:00
jude
2ae1c2d43a fix: typo 2024-05-09 12:55:16 -04:00
jude
bba307b8a9 fix: when in IBD, don't bother with antientropy or inv re-sync -- the latter happens fast enough on its own (it only needs to be done once per reward cycle) 2024-05-09 12:54:46 -04:00