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

[Tracking] Pre-release of the mainnet branch #3160

Draft
wants to merge 754 commits into
base: testnet3
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
754 commits
Select commit Hold shift + click to select a range
49a97ab
Merge pull request #3212 from niklaslong/chore/cleanup
howardwu Apr 12, 2024
ff93a40
Update MAX_EVENT_SIZE to 256mb
raychu86 Apr 12, 2024
bf0ada3
Merge branch 'mainnet-staging' into feat/sync-updates
howardwu Apr 12, 2024
3eb2d67
Merge pull request #3208 from AleoHQ/skip-aborted-transmissions
howardwu Apr 12, 2024
af0b74a
Merge pull request #3213 from AleoHQ/update-max-num-blocks
howardwu Apr 12, 2024
0148db2
Remove transmission minimum in proposal
raychu86 Apr 12, 2024
aae1e50
Update MAX_TRANSMISSIONS_TOLERANCE
raychu86 Apr 12, 2024
f42209e
Merge pull request #3164 from niklaslong/tests/gateway-no-noise
howardwu Apr 12, 2024
86b706e
Allow proposals with no transmissions
raychu86 Apr 12, 2024
f5051d0
Merge pull request #3214 from AleoHQ/feat/sync-updates
howardwu Apr 12, 2024
29cf16a
Bump snarkVM rev - d48f6fb
raychu86 Apr 13, 2024
5a3ed41
Merge bump/snarkVM-d48f6fb
raychu86 Apr 13, 2024
1c952d7
Reinsert transmission to worker after failure to create header or pro…
raychu86 Apr 13, 2024
b9c7f23
Use proper Network::ID in match cases
raychu86 Apr 13, 2024
a499325
Merge pull request #3211 from AleoHQ/worker-ping-updates
howardwu Apr 13, 2024
1577b7b
Merge branch 'mainnet-staging' into feat/testnetv0
howardwu Apr 13, 2024
51ae568
Fix flaky test
raychu86 Apr 13, 2024
ebfe993
Merge pull request #3199 from AleoHQ/feat/testnetv0
howardwu Apr 13, 2024
a1c1286
Bump snarkVM rev - 69c25a8
raychu86 Apr 14, 2024
58b10da
Add aborted transmissions ID to BFTMemoryService
raychu86 Apr 14, 2024
5a0e235
Add aborted transmissions ID to BFTPersistentStorage
raychu86 Apr 14, 2024
a497580
Update tests and add check that aborted transmisssion IDs exist in st…
raychu86 Apr 14, 2024
ff6161c
make standalone ledger func, counters atomic
miazn Apr 15, 2024
2ac4cea
Merge branch 'mainnet-staging' into feat/add-transaction-types
miazn Apr 15, 2024
ba9a7b6
nit
raychu86 Apr 15, 2024
7e6d229
Add transactions and solutions from the pending queue to the rest end…
raychu86 Apr 15, 2024
8f403d4
Add stateRoot endpoints
raychu86 Apr 15, 2024
51127d9
change to cfg_iter macro
miazn Apr 16, 2024
b69fef6
Reintroduce IS_SYNCING const generic
raychu86 Apr 16, 2024
fffaa67
Add get_delegators_for_validator
vicsn Apr 16, 2024
e7d4720
Nit log
raychu86 Apr 16, 2024
d9c3826
Update snarkVM rev - da3d78a
raychu86 Apr 16, 2024
dde9e17
Merge pull request #3217 from AleoHQ/feat/aborted-transmissions-map
howardwu Apr 16, 2024
e908b39
Update endpoint name
raychu86 Apr 16, 2024
c0af3fb
Rename getter functions
raychu86 Apr 16, 2024
d87fdec
nit
raychu86 Apr 16, 2024
1ac9997
add optional to cargo.toml
miazn Apr 16, 2024
1064bbb
make rayon install optional
miazn Apr 17, 2024
bf77e9c
Merge branch 'mainnet-staging' of https://github.com/AleoHQ/snarkOS i…
raychu86 Apr 17, 2024
06dec10
restructure metrics functions to metrics crate for optional dependencies
miazn Apr 18, 2024
7bbc708
Add seen_inbound_block_requests to cache
raychu86 Apr 18, 2024
276fc17
Add is_block_synced to Outbound
raychu86 Apr 18, 2024
e7b0e43
Do not peer refresh a sync peer
raychu86 Apr 18, 2024
4ae5926
Add is_block_synced to Outbound
raychu86 Apr 18, 2024
0eef8ed
Perform clone after seen_before check
raychu86 Apr 18, 2024
bdfb225
Do not process unconfirmed solution if node is syncing
raychu86 Apr 18, 2024
877bf7f
Verify the solution prior to broadcasting
raychu86 Apr 18, 2024
67a5fdd
Do not process unconfirmed transaction if node is syncing
raychu86 Apr 18, 2024
244fc00
Use tokio task for REST solution verification
raychu86 Apr 18, 2024
043b97e
Merge branch 'mainnet-staging' into feat/rest-endpoints
raychu86 Apr 18, 2024
cabf7b4
Update MAXIMUM_NUMBER_OF_BLOCKS to 5
raychu86 Apr 19, 2024
282d1c6
Merge branch 'mainnet-staging' into feat/add-transaction-types
miazn Apr 19, 2024
3a87e73
Merge pull request #3223 from AleoHQ/feat/no-syncing-peer-refresh
howardwu Apr 19, 2024
3c5bba1
Fix ordering
raychu86 Apr 19, 2024
cca3c44
Update ordering for find/blockHeight
raychu86 Apr 19, 2024
588c284
Merge pull request #3218 from AleoHQ/feat/rest-endpoints
howardwu Apr 19, 2024
06c874b
Bump snarkVM rev - 43abe1b
raychu86 Apr 19, 2024
e26d174
Update node/metrics/Cargo.toml
miazn Apr 19, 2024
98e2189
import reordering
miazn Apr 19, 2024
2e42c41
Cleanup
raychu86 Apr 19, 2024
02cc077
Merge pull request #3228 from AleoHQ/feat/sync-range
howardwu Apr 19, 2024
f38883f
Update node/metrics/src/lib.rs
howardwu Apr 19, 2024
f6176ac
Merge pull request #3216 from miazn/feat/add-transaction-types
howardwu Apr 19, 2024
999aa17
Add SYNCED metric
d0cd Apr 20, 2024
e94b8b0
Update SYNCED metric for validators
d0cd Apr 20, 2024
d9bd0db
Update metric to IS_SYNCED
d0cd Apr 22, 2024
8c983e0
Perform block advancement after quorum check
raychu86 Apr 22, 2024
da40a7b
Cleanup and add tracker for latest block
raychu86 Apr 23, 2024
14eadb4
Nit
raychu86 Apr 23, 2024
aebc090
nit comment
raychu86 Apr 23, 2024
e7e7c5a
Use last block response
raychu86 Apr 23, 2024
a95e6c7
Update logs and add check
raychu86 Apr 23, 2024
3769541
Use availability threshold
raychu86 Apr 23, 2024
88a70b9
Add is_linked checks during sync
raychu86 Apr 24, 2024
f464991
Clear latest block responses on faulty blocks
raychu86 Apr 24, 2024
455078c
Add logs
raychu86 Apr 24, 2024
eedbd31
nits
raychu86 Apr 24, 2024
6157b45
Merge pull request #3231 from AleoHQ/feat/sync-metrics
howardwu Apr 24, 2024
7d34635
Add is_block_synced checks to rest endpoints
raychu86 Apr 24, 2024
55c8a6e
nits
raychu86 Apr 24, 2024
a83a767
Merge pull request #3225 from AleoHQ/optimize/solution-processing
howardwu Apr 24, 2024
a83c4e4
Merge pull request #3233 from AleoHQ/feat/syncing-is-linked
howardwu Apr 24, 2024
d3f14a2
Merge branch 'mainnet-staging' into fix/check-validator-sync
raychu86 Apr 24, 2024
4669e3d
Bump snarkVM rev - aef07da
raychu86 Apr 24, 2024
040631f
Add tracker for num_blocks_behind
raychu86 Mar 14, 2024
baf3d10
Add num_blocks_behind to Outbound
raychu86 Apr 25, 2024
546773d
Add sync leniency for rest processing
raychu86 Apr 25, 2024
89a5f24
Update function documentation
raychu86 Apr 25, 2024
5c2804f
Use SYNC_LENIENCY in inbound processing
raychu86 Apr 25, 2024
08a40be
Fix check
raychu86 Apr 25, 2024
3095707
Add unit test for syncing is_linked blocks
raychu86 Apr 25, 2024
190e125
Merge pull request #3232 from AleoHQ/fix/check-validator-sync
howardwu Apr 26, 2024
9be1039
Merge pull request #3234 from AleoHQ/rest/sync-leniency
howardwu Apr 26, 2024
aa89be6
Merge branch 'mainnet-staging' into adjust-timeouts
raychu86 Apr 26, 2024
8426d35
Decrement counter
ghostant-1017 Apr 28, 2024
fe8fb4b
Resolve merge
raychu86 Apr 29, 2024
7c43fe2
Use read instead of write
raychu86 Apr 29, 2024
ad0d54c
Reduce instances of fetching current timestamp
raychu86 Apr 29, 2024
042c94d
feat: store current batch proposal to disk on shutdown
ljedrz Apr 2, 2024
535d63a
Merge pull request #3238 from ghostant-1017/fix/peer_response
howardwu Apr 29, 2024
b8a586d
Introduce dedicated SignedProposals object
raychu86 Apr 29, 2024
6088bc1
Minor fix
raychu86 Apr 29, 2024
8a1ab3b
nit
raychu86 Apr 29, 2024
ebb54d8
Merge branch 'mainnet-staging' into get_delegators_for_validator
raychu86 Apr 29, 2024
296020e
Update node/bft/src/helpers/pending.rs
raychu86 Apr 30, 2024
a39996d
Address comments
raychu86 Apr 30, 2024
964599b
Use singluar lock and remove collect
raychu86 Apr 30, 2024
f380d6f
Add checks for MAX_TRANSACTION_SIZE
niklaslong Apr 29, 2024
c0bb346
tests: add large execution transaction helper
niklaslong Apr 21, 2024
899bfb5
feat: check transaction length before decoding
niklaslong Apr 21, 2024
e3f7f3c
tests: proptest codec with unconfirmed transactions
niklaslong Apr 21, 2024
a92a0fe
ref: move byte length check into `Message`
niklaslong Apr 23, 2024
fe7cbfa
deps: update snarkVM rev
niklaslong Apr 29, 2024
79efabe
chore: update lock file
niklaslong Apr 29, 2024
ec4946d
ref: move message size check to `UnconfirmedTransaction`
niklaslong Apr 30, 2024
778030e
Resolve flaky test with sleep
raychu86 Apr 30, 2024
dc6a4f5
Introduce ProposalCache that is stored and loaded
raychu86 Apr 30, 2024
10a8bc2
Remove proposal expiration
raychu86 Apr 30, 2024
c1af74f
Nit
raychu86 Apr 30, 2024
72dc8d2
Add additional safety check
raychu86 Apr 30, 2024
bd5ea75
Merge branch 'mainnet-staging' into feat/store_proposals
raychu86 Apr 30, 2024
ceb5a81
ref: revert move message size check to `UnconfirmedTransaction`
niklaslong May 1, 2024
bf37794
ref: import ordering
niklaslong May 1, 2024
9208c5d
deps: update snarkVM rev
niklaslong May 1, 2024
96c756f
chore: update lock file
niklaslong May 1, 2024
5876dec
feat: check tx length in `ensure_transmission_is_well_formed`
niklaslong May 1, 2024
7aaf276
Address comments
raychu86 May 1, 2024
53eca2f
nit
raychu86 May 1, 2024
e4d8175
Add periodic round increments if quorum is met
raychu86 May 1, 2024
d3dc630
Store the latest storage round to ProposalCache
raychu86 May 2, 2024
600e863
Bump snarkVM rev - 57641ca
raychu86 May 2, 2024
c4e1c89
Merge pull request #3135 from AleoHQ/adjust-timeouts
howardwu May 2, 2024
a5a9c3a
Use propose lock for latest round
raychu86 May 2, 2024
011bb60
Add unit tests
raychu86 May 2, 2024
052b287
Update filename in dev instances
raychu86 May 2, 2024
9220bba
Merge branch 'mainnet-staging' into feat/store_proposals
raychu86 May 2, 2024
d038389
Add documentation
raychu86 May 2, 2024
c53f5fd
nits
raychu86 May 2, 2024
6b54869
Merge pull request #3239 from AleoHQ/feat/store_proposals
howardwu May 2, 2024
a2b887f
Disable transaction loop for production environments
raychu86 May 2, 2024
2b75824
ref: adjust the buffer size in `transaction_broadcast`
niklaslong May 2, 2024
8d3a58b
feat: limit rest body size to 512KiB
niklaslong May 1, 2024
edb846a
Update logs and add minor optimization
raychu86 May 2, 2024
99a8efc
Merge branch 'mainnet-staging' into get_delegators_for_validator
iamalwaysuncomfortable May 3, 2024
10305c5
Merge pull request #3244 from niklaslong/feat/rest-max-request-size
howardwu May 3, 2024
63489ca
Merge pull request #3246 from AleoHQ/update/logs
howardwu May 3, 2024
c28949a
Merge pull request #3245 from AleoHQ/dev-transaction-loop
howardwu May 3, 2024
b2bc20e
Merge branch 'mainnet-staging' into feat/transaction-byte-limit
howardwu May 3, 2024
2cd1b3b
Merge pull request #3229 from niklaslong/feat/transaction-byte-limit
howardwu May 3, 2024
913db14
Update block_sync.rs
howardwu May 3, 2024
fc340c6
Bump snarkVM rev - 5c57a48
raychu86 May 4, 2024
c34a5e6
Merge branch 'mainnet-staging' into get_delegators_for_validator
iamalwaysuncomfortable May 4, 2024
1c74880
Put delegator retrieval into a blocking task + return an error if the…
iamalwaysuncomfortable May 4, 2024
8a127c7
feat: dim logs on shutdown
joske Apr 25, 2024
c0c4b23
feat: add warning to wait until shutdown complete
joske Apr 25, 2024
abf19f6
fix: avoid lifetime annotations
joske Apr 30, 2024
1534c87
fix: review comments
joske Apr 30, 2024
f022ea8
chore: update lock file
joske Apr 30, 2024
dad784f
fix: improve shutdown warning
joske May 2, 2024
eae0034
Move proposal cache loading
raychu86 May 7, 2024
f24e9f6
Store and load the pending certificates
raychu86 May 7, 2024
6faa05a
Sync storage with ledger at bootup prior to loading proposal cache
raychu86 May 7, 2024
3df364e
add committee endpoint for specific block
miazn May 8, 2024
dd26919
Add --network to snarkos clean in devnet script
raychu86 May 8, 2024
4970677
Adds unit test for pending certificates
mdelle1 May 8, 2024
89a3b32
cargo fmt
raychu86 May 8, 2024
dfe074f
Remove usage of current commitee round if the round is in the future
raychu86 May 8, 2024
209d0c6
Bump snarkVM rev - 3ebe60c
raychu86 May 9, 2024
d6a441b
Merge pull request #3219 from AleoHQ/get_delegators_for_validator
howardwu May 9, 2024
ac1bf32
Resolve merge conflict
howardwu May 9, 2024
ec2d7fa
Merge pull request #3248 from miazn/feat/add-committee-block-endpoint
howardwu May 9, 2024
7ed91da
Add check for number of certificates
raychu86 May 9, 2024
9a6ac11
Merge pull request #3247 from AleoHQ/feat/store-pending-certificates
howardwu May 9, 2024
9a69a82
Merge branch 'mainnet-staging' into feat/dim_logs
howardwu May 9, 2024
05a3fa4
Add spawn_blocking around the get_blocks GET request
raychu86 May 9, 2024
75e57e4
Update shutdown message
howardwu May 9, 2024
8836506
Merge pull request #3235 from eqlabs/feat/dim_logs
howardwu May 9, 2024
c26f719
Merge pull request #3252 from AleoHQ/optimize/spawn-blocking-blocks
howardwu May 9, 2024
b1f8930
Merge branch 'mainnet-staging' into update/get_committee_for_round
raychu86 May 9, 2024
996b3ba
Add grace period before starting block sync loop
raychu86 May 10, 2024
3e09ad2
Merge pull request #3250 from AleoHQ/update/get_committee_for_round
howardwu May 10, 2024
6ac2fe5
Merge pull request #3249 from AleoHQ/fix/update-is-block-synced
howardwu May 10, 2024
6f8880f
perf: include json serialisation in the blocking task
niklaslong May 10, 2024
43a57b0
fix: clear cached validator requests on disconnect
niklaslong May 13, 2024
f1d9126
Add IS_SYNCING check for fetching certificates
raychu86 May 14, 2024
c20db62
Update log condition
raychu86 May 14, 2024
6369f10
Update is_block_synced if there are no requests/responses
raychu86 May 14, 2024
cd959aa
nit
raychu86 May 15, 2024
02cca26
modify CircleCI config to use our runners
zosorock May 15, 2024
0e043d4
adding another runner to CircleCI config
zosorock May 15, 2024
e002ef2
removing setup_remote_docker
zosorock May 15, 2024
877a14e
Fix tests
raychu86 May 15, 2024
0108710
Update .gitignore
raychu86 May 15, 2024
fd6fb7e
Send one request at a time to peers
raychu86 May 15, 2024
ac26050
bootstrap peers for Testnet Beta
zosorock May 16, 2024
5953961
update rev of matching branch
zosorock May 16, 2024
f3c1708
Use proper network selection in developer CLI
raychu86 May 16, 2024
cca69b2
Add cfg flags
raychu86 May 16, 2024
63c03ff
Merging fix/network-selection into feat/new-network
zosorock May 16, 2024
3023540
nit test
raychu86 May 16, 2024
b0ecd12
nit
raychu86 May 16, 2024
9e9c3ac
docs: move cache clear explanation to call site
niklaslong May 16, 2024
0ebab23
update snarkVM rev
zosorock May 16, 2024
e54c7ac
pull remote
zosorock May 16, 2024
cfa4521
Bump snarkVM rev - 140ff26
zosorock May 16, 2024
7866086
Downgrade Rust version to avoid CI issues
zosorock May 16, 2024
e00e52d
Update node/bft/src/helpers/cache.rs
raychu86 May 16, 2024
d41f2f2
Add network identifier separations
howardwu May 16, 2024
86d1f2c
Use direct network struct ID as reference
howardwu May 16, 2024
0b89605
Add unknown network ID message
howardwu May 16, 2024
0567314
Add unknown network ID message
howardwu May 16, 2024
01ea476
Merge pull request #3259 from AleoNet/feat/new-network
zosorock May 17, 2024
543db0c
Add network_id selection to .devnet scripts
raychu86 May 17, 2024
e7036de
Add network_id to analytics
raychu86 May 17, 2024
3d68ab3
Avoid unnecessary calculations in propose_batch
elderhammer May 20, 2024
968df00
Merge branch 'mainnet-staging' into fix/is-syncing-check
raychu86 May 20, 2024
644cf11
Cancel propose_batch when the current round is 0
elderhammer May 21, 2024
0e83743
Clear solutions queue and worker solutions on new epoch
raychu86 May 21, 2024
fed9416
Cannot skip proposal re-sending and round update
elderhammer May 22, 2024
d1e0480
Add necessary comments
elderhammer May 22, 2024
bb0a10c
Bump snarkVM rev - 895952f
raychu86 May 22, 2024
fd2b233
Add support for TestnetV1
raychu86 May 22, 2024
7683ad7
Bump snarkVM rev - 9493c43
raychu86 May 23, 2024
1688de7
Use CanaryV0
raychu86 May 23, 2024
2e56db5
Bump snarkVM rev - 13b3efa
raychu86 May 23, 2024
9cc67c9
Merge pull request #3253 from niklaslong/perf/rest
howardwu May 23, 2024
7ff06a8
Merge pull request #3254 from niklaslong/fix/cache
howardwu May 23, 2024
b55162b
Merge pull request #3256 from AleoNet/fix/is-syncing-check
howardwu May 23, 2024
6065ee2
Merge pull request #3257 from AleoNet/feat/bound-requests
howardwu May 23, 2024
757b20f
Bump snarkVM rev - 0bd71b5
raychu86 May 23, 2024
3d7b4d7
Merge pull request #3269 from AleoHQ/feat/testnetv1
howardwu May 23, 2024
286df20
Merge branch 'mainnet-staging' into update/devnet-scripts
raychu86 May 23, 2024
6868f37
Add support for canary
raychu86 May 23, 2024
b905d53
Merge pull request #3262 from AleoNet/update/devnet-scripts
howardwu May 23, 2024
7ae9d73
Merge pull request #3266 from AleoNet/optimize/clear-solutions
howardwu May 23, 2024
5010207
Merge pull request #3265 from elderhammer/perf/unnecessary_calculatio…
howardwu May 23, 2024
99592f4
Revert "Merge pull request #3266 from AleoNet/optimize/clear-solutions"
zosorock May 24, 2024
fa475e8
Revert "Merge pull request #3262 from AleoNet/update/devnet-scripts"
zosorock May 24, 2024
8c1bba8
Revert "Merge pull request #3269 from AleoHQ/feat/testnetv1"
zosorock May 24, 2024
01f1b86
Revert "Merge pull request #3257 from AleoNet/feat/bound-requests"
zosorock May 24, 2024
223a1b5
Revert "Merge pull request #3256 from AleoNet/fix/is-syncing-check"
zosorock May 24, 2024
0829e52
Revert "Merge pull request #3254 from niklaslong/fix/cache"
zosorock May 24, 2024
7dbaadd
Revert "Merge pull request #3253 from niklaslong/perf/rest"
zosorock May 24, 2024
d7097ba
Revert "Avoid unnecessary calculations in propose_batch"
zosorock May 24, 2024
07ef982
Merge pull request #3272 from AleoNet/revert-multiple-prs
apruden2008 May 24, 2024
339f724
Merge pull request #3273 from AleoNet/revert-3265-perf/unnecessary_ca…
apruden2008 May 24, 2024
2a93f55
Bump snarkVM rev - 393b8fb
zosorock May 24, 2024
23173fb
Merge pull request #3276 from AleoNet/update/testnetv0-genesis-target
zosorock May 25, 2024
1137c1f
Bump to mainnet snarkVM rev - fddd8b9
zosorock May 25, 2024
85bd2b3
Merge pull request #3277 from AleoNet/bump/testnetv0-genesis-target
zosorock May 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
89 changes: 44 additions & 45 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ commands:
default: snarkos-stable-cache
steps:
- run: set -e
- setup_remote_docker
- run:
name: Prepare environment and install dependencies
command: |
Expand Down Expand Up @@ -160,179 +159,179 @@ commands:
jobs:
integration:
docker:
- image: cimg/rust:1.74.1
resource_class: 2xlarge
- image: cimg/rust:1.76.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: anf/2xlarge
steps:
- run_serial_long:
workspace_member: .integration
cache_key: snarkos-integration-cache

snarkos:
docker:
- image: cimg/rust:1.74.1
resource_class: 2xlarge
- image: cimg/rust:1.76.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: anf/2xlarge
steps:
- run_serial:
workspace_member: .
cache_key: snarkos-stable-cache

account:
docker:
- image: cimg/rust:1.74.1
resource_class: xlarge
- image: cimg/rust:1.76.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: anf/xlarge
steps:
- run_serial:
workspace_member: account
cache_key: snarkos-account-cache

cli:
docker:
- image: cimg/rust:1.74.1
resource_class: xlarge
- image: cimg/rust:1.76.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: anf/xlarge
steps:
- run_serial:
workspace_member: cli
cache_key: snarkos-cli-cache

display:
docker:
- image: cimg/rust:1.74.1
resource_class: xlarge
- image: cimg/rust:1.76.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: anf/xlarge
steps:
- run_serial:
workspace_member: display
cache_key: snarkos-display-cache

node:
docker:
- image: cimg/rust:1.74.1
resource_class: 2xlarge
- image: cimg/rust:1.76.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: anf/2xlarge
steps:
- run_serial:
workspace_member: node
cache_key: snarkos-node-cache

node-bft:
docker:
- image: cimg/rust:1.74.1
resource_class: 2xlarge
- image: cimg/rust:1.76.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: anf/2xlarge
steps:
- run_serial:
workspace_member: node/bft
cache_key: snarkos-node-bft-cache

node-bft-events:
docker:
- image: cimg/rust:1.74.1
resource_class: 2xlarge
- image: cimg/rust:1.76.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: anf/2xlarge
steps:
- run_serial:
workspace_member: node/bft/events
cache_key: snarkos-node-bft-events-cache

node-bft-ledger-service:
docker:
- image: cimg/rust:1.74.1
resource_class: xlarge
- image: cimg/rust:1.76.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: anf/xlarge
steps:
- run_serial:
workspace_member: node/bft/ledger-service
cache_key: snarkos-node-bft-ledger-service-cache

node-bft-storage-service:
docker:
- image: cimg/rust:1.74.1
resource_class: xlarge
- image: cimg/rust:1.76.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: anf/xlarge
steps:
- run_serial:
workspace_member: node/bft/storage-service
cache_key: snarkos-node-bft-storage-service-cache

node-cdn:
docker:
- image: cimg/rust:1.74.1
resource_class: xlarge
- image: cimg/rust:1.76.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: anf/xlarge
steps:
- run_serial:
workspace_member: node/cdn
cache_key: snarkos-node-cdn-cache

node-consensus:
docker:
- image: cimg/rust:1.74.1
resource_class: 2xlarge
- image: cimg/rust:1.76.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: anf/2xlarge
steps:
- run_serial:
workspace_member: node/consensus
cache_key: snarkos-node-consensus-cache

node-rest:
docker:
- image: cimg/rust:1.74.1
resource_class: xlarge
- image: cimg/rust:1.76.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: anf/xlarge
steps:
- run_serial:
workspace_member: node/rest
cache_key: snarkos-node-rest-cache

node-router:
docker:
- image: cimg/rust:1.74.1
resource_class: xlarge
- image: cimg/rust:1.76.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: anf/xlarge
steps:
- run_serial:
workspace_member: node/router
cache_key: snarkos-node-router-cache

node-router-messages:
docker:
- image: cimg/rust:1.74.1
resource_class: xlarge
- image: cimg/rust:1.76.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: anf/xlarge
steps:
- run_serial:
workspace_member: node/router/messages
cache_key: snarkos-node-router-messages-cache

node-sync:
docker:
- image: cimg/rust:1.74.1
resource_class: xlarge
- image: cimg/rust:1.76.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: anf/xlarge
steps:
- run_serial:
workspace_member: node/sync
cache_key: snarkos-node-sync-cache

node-sync-communication-service:
docker:
- image: cimg/rust:1.74.1
resource_class: xlarge
- image: cimg/rust:1.76.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: anf/xlarge
steps:
- run_serial:
workspace_member: node/sync/communication-service
cache_key: snarkos-node-sync-communication-service-cache

node-sync-locators:
docker:
- image: cimg/rust:1.74.1
resource_class: xlarge
- image: cimg/rust:1.76.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: anf/xlarge
steps:
- run_serial:
workspace_member: node/sync/locators
cache_key: snarkos-node-sync-locators-cache

node-tcp:
docker:
- image: cimg/rust:1.74.1
resource_class: xlarge
- image: cimg/rust:1.76.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: anf/xlarge
steps:
- run_serial:
workspace_member: node/tcp
cache_key: snarkos-node-tcp-cache

check-fmt:
docker:
- image: cimg/rust:1.74.1
resource_class: xlarge
- image: cimg/rust:1.76.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: anf/xlarge
steps:
- checkout
- install_rust_nightly
Expand All @@ -347,8 +346,8 @@ jobs:

check-clippy:
docker:
- image: cimg/rust:1.74.1
resource_class: 2xlarge
- image: cimg/rust:1.76.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: anf/2xlarge
steps:
- checkout
- setup_environment:
Expand Down Expand Up @@ -420,6 +419,6 @@ workflows:
filters:
branches:
only:
- testnet3
- mainnet
jobs:
- integration
- integration