Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge develop into main #2133

Merged
merged 618 commits into from
Nov 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
618 commits
Select commit Hold shift + click to select a range
b8f2809
Bump commit from `5f1c28f` to `737c5b2` (#1956)
dependabot[bot] Nov 2, 2023
c81937b
Bump jf-utils from `c0b8842` to `d99c22d` (#1970)
dependabot[bot] Nov 2, 2023
d12f274
Bump jf-relation from `c0b8842` to `d99c22d` (#1969)
dependabot[bot] Nov 2, 2023
48c2dc2
Bump serde_json from 1.0.107 to 1.0.108 (#1963)
dependabot[bot] Nov 2, 2023
12a60a1
Bump arbitrary from 1.3.1 to 1.3.2 (#1962)
dependabot[bot] Nov 2, 2023
ce662cd
Merge remote-tracking branch 'origin/develop' into bf/quorum-vote-cert
bfish713 Nov 2, 2023
59ab6be
cargo fix
bfish713 Nov 2, 2023
3a0cb4f
doc and lint
bfish713 Nov 2, 2023
1be26b4
increase timeout test timeout
bfish713 Nov 2, 2023
829d195
Fix overflow, update some comments.
shenkeyao Nov 2, 2023
1c85c35
Merge pull request #1968 from EspressoSystems/keyao/simplify-payload
shenkeyao Nov 2, 2023
4f1fa04
make config file path configurable
dailinsubjam Nov 2, 2023
f76c10f
Refactor
mrain Nov 3, 2023
06317c7
Merge branch 'develop' of https://github.com/EspressoSystems/HotShot …
mrain Nov 3, 2023
3c41618
Fix serialization and test for iter
mrain Nov 3, 2023
d30286d
fix build in other crates
mrain Nov 3, 2023
753f4e5
scripts for generating key pairs added
dailinsubjam Nov 3, 2023
e571008
fix lint
dailinsubjam Nov 3, 2023
a73c690
forget to add new file for validator config
dailinsubjam Nov 3, 2023
aab444f
blank line at the end of the file
dailinsubjam Nov 3, 2023
66f5507
Merge pull request #1980 from EspressoSystems/sishan/scripts_gen_keypair
dailinsubjam Nov 3, 2023
040eea1
Addressing comments, renaming Yes -> Quorum for Vote/Data
bfish713 Nov 3, 2023
996cb2a
better view check in VID
bfish713 Nov 3, 2023
f7a464c
Merge remote-tracking branch 'origin/develop' into bf/quorum-vote-cert
bfish713 Nov 3, 2023
6ebf036
Remove unneeded broken chmod/chown
Ancient123 Nov 3, 2023
c3434a7
Merge branch 'develop' of https://github.com/EspressoSystems/HotShot …
mrain Nov 3, 2023
9baa152
Merge branch 'sishan/validator_onboarding' into sishan/merge_validato…
dailinsubjam Nov 3, 2023
fd14ceb
Integrate new DAVote and Certificate
bfish713 Nov 3, 2023
612eda8
Merge remote-tracking branch 'origin/develop' into bf/quorum-vote-cert
bfish713 Nov 3, 2023
3c33b4d
remove one unused line
bfish713 Nov 3, 2023
f87a829
Merge remote-tracking branch 'origin/develop' into bf/data-vote-cert
bfish713 Nov 3, 2023
a591ebb
remove unused line
bfish713 Nov 3, 2023
523514a
lint
bfish713 Nov 3, 2023
1c31a56
Merge branch 'bf/quorum-vote-cert' into bf/data-vote-cert
bfish713 Nov 3, 2023
d68a874
remove membership associated type from certificate
bfish713 Nov 3, 2023
b071638
Merge pull request #1967 from EspressoSystems/bf/quorum-vote-cert
bfish713 Nov 3, 2023
123637f
Merge branch 'develop' of https://github.com/EspressoSystems/HotShot …
mrain Nov 3, 2023
f37e22e
Replace TimeoutVote and TimeoutCertificate with new types
bfish713 Nov 4, 2023
8ec204d
remove old QC almost entirely
bfish713 Nov 4, 2023
b67e36c
lint
bfish713 Nov 4, 2023
e0dff92
Fix typos
shuoer86 Nov 5, 2023
3a687dc
Merge remote-tracking branch 'origin/develop' into bf/data-vote-cert
bfish713 Nov 6, 2023
faed36c
Merge remote-tracking branch 'origin/develop' into bf/timeout-vote-cert
bfish713 Nov 6, 2023
87ccf15
Integrate new VID vote and cert
bfish713 Nov 6, 2023
029ad7f
flake.lock: Update (#1996)
github-actions[bot] Nov 6, 2023
3b669c9
Merge branch 'develop' of https://github.com/EspressoSystems/HotShot …
mrain Nov 6, 2023
b80c877
Merge pull request #1993 from EspressoSystems/bf/data-vote-cert
bfish713 Nov 7, 2023
c3d2cb0
Merge branch 'develop' into bf/remove-old-qc
bfish713 Nov 7, 2023
4fdd009
Merge branch 'develop' into bf/remove-old-vote
bfish713 Nov 7, 2023
28bfe3d
start removing old vote references
bfish713 Nov 7, 2023
2db3b07
Merge branch 'develop' into bf/timeout-vote-cert
bfish713 Nov 7, 2023
b8e5ebe
Merge branch 'develop' into bf/vid-cert-vote
bfish713 Nov 7, 2023
9462930
Merge branch 'bf/timeout-vote-cert' into bf/remove-old-vote
bfish713 Nov 7, 2023
aab22ce
Merge branch 'bf/vid-cert-vote' into bf/remove-old-vote
bfish713 Nov 7, 2023
dcf5c3e
Merge branch 'bf/remove-old-qc' into bf/remove-old-vote
bfish713 Nov 7, 2023
e55e9d8
remove vote and certificate associated types from ConsensusExchange
bfish713 Nov 7, 2023
c69ce9a
removing the vote types
bfish713 Nov 7, 2023
d72c878
Merge branch 'develop' of https://github.com/EspressoSystems/HotShot …
mrain Nov 7, 2023
96c5ab9
remove redundant clone
mrain Nov 7, 2023
acfdc82
addressing comments
mrain Nov 7, 2023
5d3c1db
remove old todo
bfish713 Nov 7, 2023
fa7a744
Bump clap from 4.4.6 to 4.4.7 (#1977)
dependabot[bot] Nov 8, 2023
904faef
Bump futures from 0.3.28 to 0.3.29 (#1979)
dependabot[bot] Nov 8, 2023
02cc902
fix build
bfish713 Nov 8, 2023
9c274e5
Merge branch 'develop' of https://github.com/EspressoSystems/HotShot …
mrain Nov 8, 2023
c61fa7a
move `capacity` out of traits
mrain Nov 8, 2023
4f30783
Merge pull request #1932 from EspressoSystems/vec-stake-table
mrain Nov 8, 2023
0ca0a4f
Update mod.rs for larger timeout duration
dailinsubjam Nov 9, 2023
4185ee5
Revert "Update mod.rs for larger timeout duration"
dailinsubjam Nov 9, 2023
174407e
Merge pull request #2004 from EspressoSystems/bf/vid-cert-vote
bfish713 Nov 9, 2023
46e79a9
Merge remote-tracking branch 'origin/develop' into bf/remove-old-vote
bfish713 Nov 9, 2023
2757e2b
Bump libp2p-noise from 0.43.2 to 0.44.0 (#2027)
dependabot[bot] Nov 9, 2023
d79127c
Bump jf-relation from `d99c22d` to `11c7829` (#2028)
dependabot[bot] Nov 9, 2023
810eb27
Bump serde from 1.0.189 to 1.0.192 (#2008)
dependabot[bot] Nov 9, 2023
88df748
remove empty file
bfish713 Nov 9, 2023
22e940e
Bump dyn-clone from 1.0.14 to 1.0.16 (#1976)
dependabot[bot] Nov 9, 2023
7a31cae
threshold checking for hotshot state prover (#1901)
mrain Nov 9, 2023
0b36859
Merge pull request #2014 from EspressoSystems/bf/remove-old-vote
bfish713 Nov 9, 2023
a5fcb77
Merge pull request #1990 from EspressoSystems/sishan/merge_validator_…
dailinsubjam Nov 9, 2023
c8d7deb
Associate payload with metadata, fix txn flattening
shenkeyao Nov 10, 2023
26bab41
Merge branch 'develop' into keyao/associate-metadata
shenkeyao Nov 10, 2023
0d1a406
fix hanging votes (#2030)
rob-maron Nov 10, 2023
0fd9563
update confusing timeout tracking message
dailinsubjam Nov 9, 2023
0ba93f3
update confusing timeout tracking message
dailinsubjam Nov 9, 2023
bf0c7b7
some tries for CI timeout issue
dailinsubjam Nov 9, 2023
9262c56
Remove println error
dailinsubjam Nov 10, 2023
e31fcd5
re-change num_successful_views for web_server_network
dailinsubjam Nov 10, 2023
e239cb7
Removing single view sync certificate types in favor of 3 separate ce…
elliedavidson Nov 10, 2023
3e57152
Naive replacement of old ViewSyncCertificate
elliedavidson Nov 10, 2023
1b0d690
Update view sync vote data to include relay index
elliedavidson Nov 10, 2023
ceeebc9
remove vote token except for view sync
bfish713 Nov 10, 2023
a722b77
remove TODO
bfish713 Nov 10, 2023
f9f0514
remove ValidatingLeaf
bfish713 Nov 10, 2023
78a41a3
[hotshot-state-prover] circuit for verification stake table commitmen…
mrain Nov 10, 2023
1c7e14b
Create CODEOWNERS
elliedavidson Nov 10, 2023
63fbe3b
Merge pull request #2041 from EspressoSystems/ed/codeowners
elliedavidson Nov 10, 2023
e971524
Merge pull request #1998 from shuoer86/develop
elliedavidson Nov 10, 2023
4e6b167
Compiling with new PreCommit logic
elliedavidson Nov 10, 2023
edbc279
lint passing except for test stuff
bfish713 Nov 10, 2023
69ab372
lint passing
bfish713 Nov 10, 2023
57e25ec
Merge remote-tracking branch 'origin/develop' into bf/remeove-leaf-trait
bfish713 Nov 10, 2023
c15038d
Fix lint
shenkeyao Nov 10, 2023
bfbd7a1
Update jellyfish (#2044)
rob-maron Nov 10, 2023
803bc09
Merge branch 'develop' into keyao/associate-metadata
shenkeyao Nov 10, 2023
36b4efb
Starting to remove the ProposalType trait
bfish713 Nov 10, 2023
31e81c1
Completed removed ProposalType
bfish713 Nov 10, 2023
c0222bb
Bump clap from 4.4.7 to 4.4.8 (#2048)
dependabot[bot] Nov 13, 2023
3535fd9
[hotshot-state-prover] Schnorr signature verification (#2033)
mrain Nov 13, 2023
3e7c66f
Bump libp2p-identity from 0.2.7 to 0.2.8 (#2049)
dependabot[bot] Nov 13, 2023
4a8503d
remove some redundant clones (#2042)
rob-maron Nov 13, 2023
e6c5715
flake.lock: Update (#2047)
github-actions[bot] Nov 13, 2023
a040d06
Reworking main view sync task to separate votes into 3
elliedavidson Nov 14, 2023
6278b43
PreCommit vote and accumulator compiling now
elliedavidson Nov 14, 2023
6135cb3
Compile with commit and finalize impl tasks
elliedavidson Nov 14, 2023
9adf251
Added task spawning for commit and finalize tasks
elliedavidson Nov 14, 2023
138d0e7
Compiling, need to replace commented out logic
elliedavidson Nov 14, 2023
0a52a75
view sync task test compiles
elliedavidson Nov 14, 2023
73f0258
updated view sync unit test
elliedavidson Nov 14, 2023
04b5321
View sync unit tests work
elliedavidson Nov 14, 2023
4ac8fb2
Merge with develop branch
elliedavidson Nov 14, 2023
f775505
Fix lints
elliedavidson Nov 14, 2023
fd6be6b
Remove commented out code
elliedavidson Nov 14, 2023
105d8e4
Remove commented out code
elliedavidson Nov 14, 2023
e48bb4a
Remove commented out code
elliedavidson Nov 14, 2023
5b66b29
Proof generation
mrain Nov 14, 2023
e9951d7
better documentation
mrain Nov 14, 2023
590a349
Merge pull request #2046 from EspressoSystems/bf/remove-proposal-trait
bfish713 Nov 14, 2023
d1bc897
Update encode and decode functions, replace test types with app-spec…
shenkeyao Nov 14, 2023
4b4fd55
Merge branch 'develop' into keyao/associate-metadata
shenkeyao Nov 14, 2023
15377d1
Cancel polling for retrieved items (#2031)
rob-maron Nov 14, 2023
47b48c0
Bump jf-primitives from `0c22ae3` to `9b8bb4d` (#2053)
dependabot[bot] Nov 14, 2023
10314af
Address comments
elliedavidson Nov 14, 2023
5c4638a
Fix lints
elliedavidson Nov 14, 2023
afc4a3a
Merge remote-tracking branch 'origin/develop' into bf/remeove-leaf-trait
bfish713 Nov 14, 2023
e3aef91
poll accidentally stashed commit: fd9e3b1, 0e83a2c, eb4e31b and fix lint
dailinsubjam Nov 14, 2023
6590b43
address comments
bfish713 Nov 14, 2023
dfcc39c
Fix size conversion, remove AsRef, update from_bytes, add issue link,…
shenkeyao Nov 14, 2023
d310920
add more time for web_server_network test
dailinsubjam Nov 14, 2023
ddd31e5
Update encode conversion and tests
shenkeyao Nov 15, 2023
2287408
Make encode and from_txns return Result
shenkeyao Nov 15, 2023
86c3c1c
Merge branch 'develop' into keyao/associate-metadata
shenkeyao Nov 15, 2023
2d95ebc
Merge pull request #2054 from EspressoSystems/ed/view-sync-cert-vote
elliedavidson Nov 15, 2023
6aa0e0e
first pass remove message traits
bfish713 Nov 15, 2023
2d875b4
Merge remote-tracking branch 'origin/develop' into bf/remove-vote-token
bfish713 Nov 15, 2023
06f34b2
Merge remote-tracking branch 'origin/develop' into bf/remeove-leaf-trait
bfish713 Nov 15, 2023
91773d6
Update error types, nit fixes
shenkeyao Nov 15, 2023
6b2fe0f
Merge branch 'develop' into keyao/associate-metadata
shenkeyao Nov 15, 2023
c7674b4
Merge pull request #2043 from EspressoSystems/bf/remeove-leaf-trait
bfish713 Nov 15, 2023
1c95cd1
Merge remote-tracking branch 'origin/develop' into bf/remove-vote-token
bfish713 Nov 15, 2023
694b73a
Merge remote-tracking branch 'origin/develop' into bf/remove-message-…
bfish713 Nov 15, 2023
b84feb5
remove some commented code
bfish713 Nov 15, 2023
b99fc23
Add Membership to TYPES
bfish713 Nov 15, 2023
98bcca0
Merge branch 'develop' into keyao/associate-metadata
shenkeyao Nov 15, 2023
38c42aa
Fix build after merge
shenkeyao Nov 15, 2023
fe684e5
resolve the padding bug
mrain Nov 16, 2023
ad167f3
Merge pull request #2039 from EspressoSystems/bf/remove-vote-token
bfish713 Nov 16, 2023
6e57d2a
test; and bug fixes
mrain Nov 16, 2023
3c40ff1
renaming variables
mrain Nov 16, 2023
0ab968a
Merge branch 'develop' of https://github.com/EspressoSystems/HotShot …
mrain Nov 16, 2023
628bdd9
remove NodeImplementation Generic from net layer
bfish713 Nov 16, 2023
efa52a4
Merge remote-tracking branch 'origin/develop' into bf/remove-message-…
bfish713 Nov 16, 2023
6ad3d33
Merge branch 'bf/remove-message-trait' into bf/remove-I-generics
bfish713 Nov 16, 2023
febaee5
address comments
mrain Nov 16, 2023
2993c98
Remove VoteToken Completely + remove old types
bfish713 Nov 16, 2023
08c7f37
remove 2 from names
bfish713 Nov 16, 2023
2696e44
rename vote2 -> vote
bfish713 Nov 16, 2023
8605a35
remame VoteAccumulator2 -> VoteAccumulator
bfish713 Nov 16, 2023
c8041ba
address comments
mrain Nov 16, 2023
88784b9
address comments
mrain Nov 16, 2023
f45acbc
Merge pull request #2045 from EspressoSystems/keyao/associate-metadata
shenkeyao Nov 16, 2023
ed28f3c
remove some unused types
bfish713 Nov 16, 2023
40095b3
Removing more I and Message generics in networking stack
bfish713 Nov 16, 2023
3d5219a
add newtork types to NodeImplementation trait
bfish713 Nov 16, 2023
da290d4
Pass networks to SystemContext
bfish713 Nov 16, 2023
5f53a13
add memberships to SystemContext
bfish713 Nov 16, 2023
e676ff2
consensus task doesn't have exchanges
bfish713 Nov 16, 2023
f2f8ee6
add consensus w/o exchagnes
bfish713 Nov 16, 2023
81e9791
Merge pull request #2029 from EspressoSystems/sishan/fix_ci_views_tim…
dailinsubjam Nov 16, 2023
817b84f
remove exchange from DA task
bfish713 Nov 17, 2023
8f0d028
remove exchagnes from transactions task
bfish713 Nov 17, 2023
cf4f220
remove exchanges from view sync
bfish713 Nov 17, 2023
b19bd7e
remove exchanges from vid task
bfish713 Nov 17, 2023
40a4cad
Merge branch 'develop' of https://github.com/EspressoSystems/HotShot …
mrain Nov 17, 2023
c56dece
Merge remote-tracking branch 'origin/develop' into bf/remove-message-…
bfish713 Nov 17, 2023
8cf8cb0
Bump surf-disco from v0.4.2 to v0.4.3 (#2063)
dependabot[bot] Nov 17, 2023
0bbe2be
Merge branch 'bf/remove-message-trait' into bf/remove-I-generics
bfish713 Nov 17, 2023
ea2df72
Merge branch 'bf/remove-I-generics' into bf/remove-exchanges
bfish713 Nov 17, 2023
e37f9e8
Merge branch 'bf/remove-exchanges' into bf/remove-exchagnes-part2
bfish713 Nov 17, 2023
c33fa62
Merge branch 'bf/remove-exchagnes-part2' into bf/remove-exchanges-part3
bfish713 Nov 17, 2023
db150d7
address comments
mrain Nov 17, 2023
f8ff67f
address comment: move preprocessing inside
mrain Nov 17, 2023
2bbe613
Merge branch 'develop' of https://github.com/EspressoSystems/HotShot …
mrain Nov 17, 2023
1c88c6a
use proper vid config (#2032)
rob-maron Nov 17, 2023
37e1490
add more type conversion
mrain Nov 17, 2023
d9ef02d
Update examples, add combined network examples (#2023)
rob-maron Nov 17, 2023
da072ee
renaming
mrain Nov 17, 2023
296be1b
Merge pull request #2055 from EspressoSystems/chengyu-proofgen
elliedavidson Nov 17, 2023
6064305
Completely remove Exchange and Exchanges traits
bfish713 Nov 17, 2023
7412f2f
remove more commented code
bfish713 Nov 17, 2023
834f906
remove commented code line
bfish713 Nov 17, 2023
17e0c50
Merge remote-tracking branch 'origin/develop' into bf/remove-message-…
bfish713 Nov 17, 2023
63c23a5
fix lint/build
bfish713 Nov 17, 2023
03e7832
Merge branch 'bf/remove-message-trait' into bf/remove-I-generics
bfish713 Nov 17, 2023
2163584
Merge branch 'bf/remove-I-generics' into bf/remove-exchanges
bfish713 Nov 17, 2023
5bf79f8
fix build after merge
bfish713 Nov 17, 2023
e40fb26
Merge branch 'bf/remove-exchanges' into bf/remove-exchagnes-part2
bfish713 Nov 17, 2023
89640c5
Merge branch 'bf/remove-exchagnes-part2' into bf/remove-exchanges-part3
bfish713 Nov 17, 2023
5fa1144
Merge pull request #2071 from EspressoSystems/bf/remove-message-trait
bfish713 Nov 17, 2023
4c097f2
Replace payload commitment with VID commitment, update DA proposal
shenkeyao Nov 18, 2023
58b04d9
review comments
bfish713 Nov 20, 2023
b7d0775
Merge remote-tracking branch 'origin/develop' into bf/remove-exchange…
bfish713 Nov 20, 2023
f6c0eab
flake.lock: Update (#2085)
github-actions[bot] Nov 20, 2023
13bc40d
Bump toml from 0.7.8 to 0.8.8 (#2086)
dependabot[bot] Nov 20, 2023
e38ba61
Add self hosted job for CI testing
Ancient123 Nov 20, 2023
8d9ad35
Update codeowners file
elliedavidson Nov 20, 2023
9ee152f
forgotten ats
elliedavidson Nov 20, 2023
61ddfa3
Update default owners
elliedavidson Nov 20, 2023
5266699
Merge pull request #2091 from EspressoSystems/sh-runner
elliedavidson Nov 20, 2023
9c4dc2f
Merge pull request #2092 from EspressoSystems/ed/update-codeowners
elliedavidson Nov 20, 2023
8b621e9
Merge pull request #2081 from EspressoSystems/bf/remove-exchanges-part3
bfish713 Nov 20, 2023
233b33d
Merge branch 'develop' into keyao/remove-commit
shenkeyao Nov 20, 2023
94092cc
Fix build
shenkeyao Nov 20, 2023
8158a24
Increase next_view_timeout to make tests pass
shenkeyao Nov 21, 2023
fbcaae4
Add issue and PR templates
elliedavidson Nov 21, 2023
16928bf
Merge pull request #2097 from EspressoSystems/ed/github-templates
elliedavidson Nov 21, 2023
53fa0fb
Update issue template dir name
elliedavidson Nov 21, 2023
386fe2d
Merge pull request #2098 from EspressoSystems/ed/github-templates
elliedavidson Nov 21, 2023
13bb20a
Fix Develop Lints for Clippy Update (#2093)
rob-maron Nov 21, 2023
9f8a27c
Bump jf-primitives from `9b8bb4d` to `1a9db50` (#2095)
dependabot[bot] Nov 21, 2023
f6f9b05
Remove unused code
shenkeyao Nov 21, 2023
4c637e4
Merge branch 'develop' into keyao/remove-commit
shenkeyao Nov 21, 2023
5ae05a8
Address review comments
elliedavidson Nov 21, 2023
11af63e
Bump jf-relation from `1a9db50` to `756d404` (#2101)
dependabot[bot] Nov 21, 2023
c43d5b3
Merge pull request #2103 from EspressoSystems/ed/github-templates
elliedavidson Nov 21, 2023
1f831ec
Bump serde from 1.0.192 to 1.0.193 (#2105)
dependabot[bot] Nov 22, 2023
7f99cca
flake.lock: Update (#2113)
github-actions[bot] Nov 27, 2023
b08f956
Combined network tests (#1994)
rob-maron Nov 27, 2023
25bcfe0
Bump jf-relation from `756d404` to `265eaaa` (#2111)
dependabot[bot] Nov 27, 2023
121073c
Update PayloadCommitmentStore, use commit_only, add issue links, mino…
shenkeyao Nov 27, 2023
bf774c8
Fix clippy
shenkeyao Nov 27, 2023
13c1e58
Rename the payload store
shenkeyao Nov 28, 2023
b9669ce
Bump clap from 4.4.8 to 4.4.10 (#2116)
dependabot[bot] Nov 28, 2023
7f6ca9a
Merge pull request #2102 from EspressoSystems/keyao/remove-commit
shenkeyao Nov 28, 2023
68746db
Merge branch 'develop' into keyao/merge-develop
shenkeyao Nov 28, 2023
90e307d
VID: Reorganize and create new events (#2114)
rob-maron Nov 28, 2023
a3a38e8
Fix build
shenkeyao Nov 29, 2023
e127d43
Merge branch 'develop' into keyao/merge-develop
shenkeyao Nov 29, 2023
957f0c0
Fix fmt
shenkeyao Nov 29, 2023
b6f1b08
Test CI with increased duration and next_view_timeout
shenkeyao Nov 30, 2023
49ffd9c
Merge `separate out crypto tests`
rob-maron Nov 30, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .cargo/audit.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
[advisories]
ignore = [

# Tungstenite allows remote attackers to cause a denial of service
# Dependency of async-tungstenite -> tide-websockets / surf-disco
"RUSTSEC-2023-0065"

]
77 changes: 77 additions & 0 deletions .github/ISSUE_TEMPLATE/BASIC_ISSUE_FORM.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
name: Internal - Basic Issue
description: Create an internal HotShot issue
title: "[<MACRO_TASK_SHORT_NAME>] - Short Task Description "
labels: ["sprint6"]
projects: ["EspressoSystems/20", "EspressoSystems/32"]
body:
- type: markdown
attributes:
value: |
*If you are an external collaborator use our external issue form instead.*
- type: textarea
id: task_reason
attributes:
label: What is this task and why do we need to work on it?
placeholder: |
For MACRO tasks: The description should be written for someone unfamiliar with HotShot.
For regular tasks: The description should be written for someone familiar with HotShot but not with this particular issue.
validations:
required: true
- type: textarea
id: task_description
attributes:
label: What work will need to be done to complete this task?
description:
placeholder: |
If this is unknown, describe what information is needed to determine this.

If this is a MACRO task link the sub-issues here.
If this is a regular task use check boxes to list the sub-tasks here.

E.g.
- [ ] Task 1
- [ ] Task 2
validations:
required: false
- type: textarea
id: other_details
attributes:
label: Are there any other details to include?
placeholder: |
Include other details here such as: design tradeoffs, open questions, links to discussions about this issue, dependencies of this task, etc.
validations:
required: false

- type: textarea
id: acceptance_criteria
attributes:
label: What are the acceptance criteria to close this issue?
placeholder: |
Include a list of acceptance criteria such as: required reviewers, new tests that must be added, documentation that must be added, etc.
validations:
required: true

- type: markdown
attributes:
value: |
### Complete the following items before submitting this issue:
* Label this issue appropriately. All issues must have a `sprint` label unless they are labeled `external`, `low-priority`, or `tech-debt`. This form will automatically label issues with our current `sprint` label.
* Ensure this issue is added to the appropriate projects. This form should add them to the "HotShot" and "Espresso Sequencer" projects by default.
* Ensure this issue is titled correctly.
* For MACRO tasks, title the issue [MACRO] - <MACRO_SHORT_NAME> - Macro Task Short Description
* E.g. [MACRO] - VIEW_SYNC - Add NK20 View Sync algorithm
* For non-MACRO tasks, title the issue [<MACRO_SHORT_NAME>] - Task Short Description
* E.g. [VIEW_SYNC] - Create new vote types for `PreCommit`, `Commit`, and `Finalize` view sync votes
* Ensure MACRO tasks have all their sub-issues linked
* Ensure non-MACRO tasks have their associated MACRO task linked
* Assign this issue to the appropriate person, if applicable

### Other considerations:
* All non-macro tasks must link to a MACRO task unless the task falls into one of the following categories. Use these categories in lieu of a MACRO_TASK_SHORT_NAME.
* TECH_DEBT - Label for tech debt
* CI - Label for CI-related issues
* REPO - Label for repository organization issues (such as updating these template files)
* DOCS - Label for issues related to documentation
* If a non-MACRO task has linked sub-issues, consider converting it into a MACRO task. Non-macro tasks should be small enough in scope that they do not contain sub-issues. They may contain sub-tasks, however.


41 changes: 41 additions & 0 deletions .github/ISSUE_TEMPLATE/EXTERNAL_ISSUE_FORM.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: External - Basic Issue
description: Create an external HotShot issue
title: "[EXTERNAL] - <Short Task Description> "
labels: ["external"]
assignees: ["elliedavidson"]
body:
- type: markdown
attributes:
value: |
*If you are an internal collaborator, use our internal issue form instead*
- type: textarea
id: task_reason
attributes:
label: What is this task and why do we need to work on it?
placeholder: |
If this is a feature request, describe what the feature is and why it is important to add to HotShot.
If this is a bug report, describe the bug and its severity level.
validations:
required: true
- type: textarea
id: other_details
attributes:
label: Are there any other details to include?
placeholder: |
Include other details here such as: open questions, directions to reproduce a bug, relevant error logs, etc.

E.g. To reproduce this bug run `just async_std test_basic`. You should see logs similar to the below:
`ERROR: This is an important error!`
validations:
required: false

- type: markdown
attributes:
value: |
### Complete the following items before submitting this issue:
* Label this issue appropriately. This form will automatically label issues with the `external` label. If you are submitting a bug report, please also add the `bug` label.
* Ensure this issue is titled correctly. The title should be in the form of [EXTERNAL] - Short task description.

Thank you for submitting an issue to HotShot!


8 changes: 8 additions & 0 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
name: Run Cargo Audit

on:
push:
branches:
- 'develop'
- 'main'
schedule:
- cron: '0 0 * * 1' # Run on Mondays
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
audit:
runs-on: ubuntu-latest
Expand Down
46 changes: 46 additions & 0 deletions .github/workflows/build-self-hosted.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Build, Lint, and Test (self-hosted)

on:
push:
branches:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
strategy:
matrix:
just_variants:
- async_std
#- tokio
runs-on: [self-hosted]
steps:
- uses: dtolnay/rust-toolchain@stable
name: Install Current Rust
with:
components: "clippy, rustfmt"

- uses: actions/checkout@v4
name: Checkout Repository

- uses: Swatinem/rust-cache@v2
name: Enable Rust Caching
with:
prefix-key: ${{ matrix.just_variants }}

- name: Run linting
run: |
just ${{ matrix.just_variants }} lint

- name: Build all crates in workspace
run: just ${{ matrix.just_variants }} build

- name: Unit and integration tests for all crates in workspace
run: |
just ${{ matrix.just_variants }} test
timeout-minutes: 60
env:
RUST_BACKTRACE: full
Loading
Loading