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 1,051 commits into
base: testnet3
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1051 commits
Select commit Hold shift + click to select a range
29ed225
Adds a restrictions ID check into handshake protocols
howardwu Jun 8, 2024
3603f9c
WIP
d0cd Jun 8, 2024
c46e7e4
Remove incomplete new unit test
vicsn Jun 8, 2024
5a7677c
Update new Solution API in test
vicsn Jun 7, 2024
67238c6
Update tests to take into account new request redundancy
vicsn Jun 8, 2024
e266827
Revert "Revert "Merge pull request #3254 from niklaslong/fix/cache""
vicsn Jun 8, 2024
686ead1
Merge remote-tracking branch 'hq/feat/optional-rest-ip' into fix-bft-…
Meshiest Jun 8, 2024
1b5e740
Update handshake.rs
howardwu Jun 8, 2024
b530cbd
Fix and cleanup
d0cd Jun 9, 2024
696407c
Cleanup
d0cd Jun 10, 2024
3fec1d8
Cleanup error
d0cd Jun 10, 2024
62bfb92
Introduce rotate-external-peers flag
vicsn Jun 10, 2024
579507e
Hotfix: add default restrictions id to tests
vicsn Jun 10, 2024
5e4235f
Fix tests
vicsn Jun 10, 2024
0774ee1
Update gitignore
d0cd Jun 10, 2024
1491411
Update CircleCI resource classes
zosorock Jun 10, 2024
ff10008
Merge pull request #3308 from zosorock/upd/ci
zosorock Jun 10, 2024
372f8cd
Merge pull request #3295 from ProvableHQ/fix/is-syncing-check
zosorock Jun 11, 2024
0d903fe
Merge pull request #3298 from ProvableHQ/perf/rest
zosorock Jun 11, 2024
e0aff72
Merge pull request #3300 from ProvableHQ/update_test_for_solution_api…
zosorock Jun 11, 2024
ef5307c
Merge pull request #3301 from ProvableHQ/feat/bound-requests
zosorock Jun 11, 2024
b0335f6
Merge pull request #3302 from ProvableHQ/optimize/clear-solutions
zosorock Jun 11, 2024
c3078a1
Merge pull request #3296 from ProvableHQ/update/devnet-scripts
zosorock Jun 11, 2024
23abf12
Merge pull request #3303 from ProvableHQ/fix/sync-cleanup
zosorock Jun 11, 2024
db28e57
Merge pull request #3304 from ProvableHQ/fix/big-block-deser
zosorock Jun 11, 2024
6fc8cd2
Merge pull request #3305 from ProvableHQ/fix/cache
zosorock Jun 11, 2024
2891dae
Merge pull request #3306 from ProvableHQ/feat/restrictions-list
zosorock Jun 11, 2024
cd73c74
Merge pull request #3271 from monadicus/fix-bft-bind
zosorock Jun 11, 2024
3ed6ec6
Update snarkVM rev to latest AleoNet/mainnet-staging
vicsn Jun 11, 2024
523899c
Remove newly introduced broken and incomplete test
vicsn Jun 11, 2024
d7f0951
Merge remote-tracking branch 'foundation/mainnet-staging' into feat/l…
d0cd Jun 11, 2024
60a3364
Update dep
d0cd Jun 12, 2024
e17d1a8
Remove history from devnet script
d0cd Jun 12, 2024
5e1524d
Update snarkVM rev
vicsn Jun 12, 2024
cf83035
Merge pull request #3309 from ProvableHQ/fix_tests
zosorock Jun 12, 2024
efd5ef0
Ensure clients request peers from bootstrap peers
vicsn Jun 13, 2024
d03ba82
Use updates
d0cd Jun 13, 2024
fdb8fbe
Update rev
d0cd Jun 13, 2024
18adb8c
Update rev
d0cd Jun 14, 2024
059ec2a
Update Cargo.lock
d0cd Jun 14, 2024
96c8433
Merge remote-tracking branch 'foundation/mainnet-staging' into feat/l…
d0cd Jun 14, 2024
505601a
fix(tcp): fix outbound tcp requests not respecting --node
Meshiest Jun 15, 2024
115d0f5
CI resource class changes
zosorock Jun 17, 2024
5d095ed
resource adjustments
zosorock Jun 17, 2024
c4d725f
Merge pull request #3310 from ProvableHQ/feat/log-credits-mappings
apruden2008 Jun 17, 2024
5e9b0f1
image url update and ci fix
zosorock Jun 17, 2024
2f7f799
Only rotate external peers every ~10 heartbeats
vicsn Jun 18, 2024
3b231e1
CI resource adjustment
zosorock Jun 18, 2024
ea19910
Update node/router/src/heartbeat.rs
vicsn Jun 19, 2024
67b11b4
fix(sync): fix client sync mutex deadlock and client block request stall
Meshiest Jun 19, 2024
fea092c
Merge pull request #3321 from monadicus/fix-client-stall
zosorock Jun 21, 2024
5d4de02
Merge pull request #3318 from monadicus/fix-tcp-connect-bind
zosorock Jun 21, 2024
b66d41e
mediumnize all of them!
zosorock Jun 21, 2024
1dcda54
updating links
zosorock Jun 22, 2024
2e551cf
resizing resources
zosorock Jun 22, 2024
5c7c900
Merge branch 'mainnet-staging' into fix/readme-header-img
zosorock Jun 22, 2024
47cf2b5
fine-tune resource class
zosorock Jun 22, 2024
3978495
resource adjustment
zosorock Jun 23, 2024
dab8a07
modify runner
zosorock Jun 23, 2024
2830993
Merge pull request #3323 from AleoNet/fix/readme-header-img
zosorock Jun 23, 2024
44ae011
snarkVM rev bump for Canary v0.3.0 release
zosorock Jun 23, 2024
09aa62b
Merge pull request #3325 from AleoNet/canary/v0.3.0
zosorock Jun 23, 2024
3579199
Fix
d0cd Jun 24, 2024
94318f5
Use large resource for node-router CI
d0cd Jun 24, 2024
5be228b
fix: clear seen_outbound_block_requests on peer disconnect
ljedrz Jun 25, 2024
3afc00a
fix: delay the promotion of the peer from connecting to connected
ljedrz Jun 25, 2024
54e4074
logs: remove a redundant log on connection success
ljedrz Jun 25, 2024
1a5a2d5
bump snarkVM rev to d170a9f
zosorock Jun 26, 2024
bd45fc7
Merge pull request #3333 from zosorock/testnet-beta/v0.3.0
zosorock Jun 26, 2024
2fc1eb5
Merge remote-tracking branch 'aleonet/mainnet-staging' into fix/snark…
vicsn Jun 26, 2024
878624d
Merge pull request #3329 from ProvableHQ/fix/snarkvm-history-rev
zosorock Jun 26, 2024
b6a8d3d
fix incorrect usage of Ordering::Relaxed
JakkuSakura Jun 29, 2024
7ea2222
update README formatting
kpandl Jul 1, 2024
a72232b
fix typo
kpandl Jul 1, 2024
197cfb1
update README - add or larger preferred
kpandl Jul 1, 2024
1befdf4
chore: fmt
niklaslong Jul 2, 2024
b2cdb23
Update AleoHQ/snarkOS to AleoNet/snarkOS
raychu86 Jul 2, 2024
7119f27
fix: empty error when using wrong network
joske Jul 3, 2024
6835dc6
Remove deprecated rest endpoints
raychu86 Jul 3, 2024
c5c6016
Add CDN support for different networks
raychu86 Jul 3, 2024
1304869
fix: self-update
joske Jul 3, 2024
7eac67f
Do not disconnect from peer if you're syncing with them
vicsn Jul 4, 2024
ba10135
Add additional check
raychu86 Jul 4, 2024
988f8ec
validators as peers
kpandl Jul 5, 2024
4a1b4e6
double quotes
kpandl Jul 5, 2024
b183b26
Merge branch 'mainnet-staging' into mainnet-staging
kpandl Jul 5, 2024
0f7e5b0
Update Cargo.lock
vicsn Jul 9, 2024
08e3b50
Limit amount of transactions and solutions which can be verified in p…
vicsn Jul 9, 2024
eecf2f1
add configurable metrics listening cli option
HarukaMa Jul 10, 2024
9049f3e
Introduce separate queue for executions to 200x throughput
vicsn Jul 11, 2024
799f157
Use spawn_blocking for long-lasting tasks
vicsn Jul 11, 2024
f28cc8a
Fix spelling of new flag
vicsn Jul 12, 2024
ed8d4df
Add GET get_mapping_values
raychu86 Jul 16, 2024
a83a69e
Wrap call around blocking task
raychu86 Jul 16, 2024
87f3bbd
nit
raychu86 Jul 17, 2024
0388e68
Add Json serialization into blocking task
raychu86 Jul 17, 2024
64a0352
Merge branch 'mainnet-staging' into improve_bootstrap_peering
vicsn Jul 18, 2024
67c5b43
WIP: add checksum
vicsn Jul 19, 2024
24be9f6
Update snarkVM rev - f48330b
raychu86 Jul 20, 2024
53979da
Add transmission checksum enforcements
raychu86 Jul 20, 2024
cd04770
Fix tests
raychu86 Jul 20, 2024
c5a266e
Update logs to include checksum
raychu86 Jul 20, 2024
49c739a
Fix tests
raychu86 Jul 20, 2024
52bc2a0
nit
raychu86 Jul 20, 2024
11b6ddb
update peers handling for outer clients
kpandl Jul 22, 2024
ec41c92
nit: Dim checksum logs
raychu86 Jul 22, 2024
3badf93
Bump snarkVM rev - 653cc1b
raychu86 Jul 24, 2024
97a902f
Wrap devnet script client generation to not start a client when total…
vicsn Jul 25, 2024
b3f5795
Correct comment
vicsn Jul 25, 2024
0d801db
fix: cache block requests in gateway
niklaslong Jul 25, 2024
6576f25
ref: match instead of else if
niklaslong Jul 25, 2024
64e58a0
Ensure ID uniquness in leader commit
raychu86 Jul 25, 2024
9f76888
Bump snarkVM rev - 68f4f31
raychu86 Jul 30, 2024
b0a80c3
Merge pull request #3367 from ProvableHQ/fix/transmission-checksum
zosorock Jul 30, 2024
4b0b65b
Updating snarkVM rev and bumping versions
zosorock Jul 31, 2024
cde921f
update rev for rest api server
zosorock Jul 31, 2024
23baf50
Merge pull request #3371 from zosorock/canary/v0.4.0
zosorock Jul 31, 2024
72bf838
Merge remote-tracking branch 'aleonet/mainnet-staging' into improve_b…
vicsn Aug 1, 2024
628c6e9
fix: review comment
joske Aug 1, 2024
180eab4
comments about quorum threshold changed from (2f + 1) to (N - f)
bendyarm Aug 5, 2024
92b4b12
Updating rev for Canary v0.4.1
zosorock Aug 5, 2024
329283c
Fix version in test
raychu86 Aug 5, 2024
38703df
Update Cargo.lock
raychu86 Aug 5, 2024
60e4deb
Merge pull request #3374 from zosorock/canary/v0.4.1
zosorock Aug 5, 2024
ede4581
Bumping snarkVM rev for Testnet v0.4.0
zosorock Aug 6, 2024
838da0d
Merge pull request #3375 from zosorock/testnet-beta/v0.4.0
zosorock Aug 6, 2024
f810042
Update Cargo.lock
raychu86 Aug 6, 2024
2251052
Merge pull request #3376 from ProvableHQ/chore/cargo
zosorock Aug 6, 2024
4e4d80e
Merge branch 'mainnet-staging' into improve_bootstrap_peering
vicsn Aug 6, 2024
b803800
feat: test targets
joske Aug 7, 2024
25631ef
fix: only allow the test_targets feature in --dev mode
joske Aug 13, 2024
a682043
Remove --seed flag from account sign command
Meshiest Aug 14, 2024
d16948d
Updating rev for Canary v0.4.2
zkxuerb Aug 27, 2024
acac196
Bumped Event and Message versions
zkxuerb Aug 27, 2024
58d9d8d
Update test
raychu86 Aug 27, 2024
805bade
Merge pull request #3385 from AleoNet/canary/v0.4.2
aleojohn Aug 27, 2024
8141829
fix: error log interpolation
niklaslong Sep 2, 2024
12cf232
adding Mainnet bootstrap peers
zosorock Sep 4, 2024
1febd00
use tx cache
kpandl Sep 2, 2024
30c8e85
updating commit rev for Mainnet Beta v0.1.0
zosorock Sep 4, 2024
fa67af2
nit
raychu86 Sep 4, 2024
0cc6fe3
Merge pull request #3393 from zosorock/mainnet-beta/v0.1.0
zosorock Sep 4, 2024
8974655
Update license headers
raychu86 Sep 6, 2024
3c66e9e
Merge mainnet-staging
raychu86 Sep 9, 2024
e5779a1
lint: clippy fix
Meshiest Sep 10, 2024
88de83c
lint: clippy fix
Meshiest Sep 10, 2024
f3060c7
update docs, mutex instead of rwlock, reduce duplicate code
kpandl Sep 10, 2024
53cd2a4
Merge pull request #3396 from ProvableHQ/update-license
aleojohn Sep 10, 2024
66c9b78
Merge pull request #3348 from ProvableHQ/feat/enable-cdn
aleojohn Sep 10, 2024
09e3d2f
Merge pull request #3342 from ProvableHQ/chore/repo-reference
zosorock Sep 10, 2024
9da1bbc
Merge pull request #3382 from monadicus/fix-account-sign-seed
zosorock Sep 10, 2024
500a1e0
use deadline instead of sleep in node-router tests
kpandl Sep 10, 2024
5f27392
updating cdn url
zosorock Sep 11, 2024
c725f62
updating snarkVM rev for Canary v0.4.3
zosorock Sep 11, 2024
a05b3b4
Merge pull request #3398 from zosorock/upd/cdn-url
zosorock Sep 11, 2024
facc278
update lock file
zosorock Sep 11, 2024
2349f3e
Merge pull request #3399 from zosorock/canary/v0.4.3
zosorock Sep 11, 2024
bbd10c1
remove duplicate code, bring back contains_transmission
kpandl Sep 12, 2024
bdc713e
remove test deadline duration to 1 second
kpandl Sep 12, 2024
3766649
Merge branch 'mainnet-staging' into cache_transmissions
kpandl Sep 12, 2024
01e8bf6
Update snarkVM version - v1.0.0
raychu86 Sep 18, 2024
e9f8561
chore(snarkos): bump version for new release
raychu86 Sep 18, 2024
df69d69
Merge branch 'mainnet-staging' into fix/later_connected_mark2
raychu86 Sep 24, 2024
06adca7
Update node/src/client/router.rs
vicsn Sep 26, 2024
6c3eced
Remove Cargo.lock
vicsn Sep 26, 2024
7bb6d20
Merge remote-tracking branch 'aleonet/mainnet-staging' into max_concu…
vicsn Sep 26, 2024
ab9284b
Use dev_id to prevent db lock contention during dev genesis creation
vicsn Sep 28, 2024
5d8e17b
Use rusttls for cdn requests
raychu86 Sep 30, 2024
e0da22f
Update Scan to support different networks
raychu86 Sep 30, 2024
554eef0
Add data to dev genesis block identifier to reduce the chance of misa…
vicsn Sep 30, 2024
f8805ad
Use style_edition instead of version in .rustfmt.toml and apply new c…
d0cd Oct 1, 2024
123633d
Improve logging of tx verification for clients
vicsn Oct 3, 2024
9dccba4
Also disconnect peers when we're synced
vicsn Oct 3, 2024
035e34b
Merge pull request #5 from AleoNet/update/mainnet-staging
zkxuerb Oct 8, 2024
6ecb5b7
Merge pull request #16 from ProvableHQ/fmt/v3.0.0
d0cd Oct 10, 2024
c8cde54
adds banned peers list
zkxuerb Oct 14, 2024
d69ce13
bans peers for not responding to requests and spamming connections
zkxuerb Oct 14, 2024
d8f4fd8
Merge pull request #3401 from ProvableHQ/v3.0.0
zosorock Oct 15, 2024
906093d
Update Rust version in configs
d0cd Oct 15, 2024
c64b49b
Address clippy
d0cd Oct 15, 2024
14c0826
Update cache keys
d0cd Oct 15, 2024
647d379
Update cache_key naming convention
d0cd Oct 15, 2024
3a44561
Update README.md with Open File Limit recommendation
zkxuerb Oct 15, 2024
288aa1f
Revert "Update README.md with Open File Limit recommendation"
zkxuerb Oct 15, 2024
abcd950
adds open file limit recommendation
zkxuerb Oct 15, 2024
01774e7
Merge pull request #3413 from ProvableHQ/update/rust-version+clippy
zosorock Oct 17, 2024
1121eb7
Merge pull request #3373 from bendyarm/mainnet-staging
zosorock Oct 18, 2024
7efad80
Merge pull request #3391 from niklaslong/fix/error-msg
zosorock Oct 18, 2024
01c0cd4
Merge pull request #3368 from ProvableHQ/no_more_superfluous_clients
zosorock Oct 18, 2024
fb06556
Merge pull request #3351 from kpandl/mainnet-staging
zosorock Oct 18, 2024
1ea3358
handle could not construct NonZeroUsize case
kpandl Oct 21, 2024
9e9d3b1
Merge branch 'mainnet-staging' into cache_transmissions
kpandl Oct 21, 2024
38d0973
Merge pull request #3307 from ProvableHQ/improve_bootstrap_peering
zosorock Oct 22, 2024
411940b
Merge pull request #3330 from ljedrz/fix/3326
zosorock Oct 22, 2024
27d9a98
Merge pull request #3337 from JakkuSakura/fix-atomic-ordering
zosorock Oct 22, 2024
617584b
Merge pull request #3345 from eqlabs/fix/empty_error
zosorock Oct 22, 2024
1ba879f
Merge pull request #3347 from ProvableHQ/chore/remove-deprecated-endp…
zosorock Oct 22, 2024
d190415
Merge pull request #3360 from HarukaMa/configurable-metrics
zosorock Oct 22, 2024
dae2509
Merge pull request #3365 from ProvableHQ/feat/get_mapping_values
zosorock Oct 22, 2024
2cb5444
Merge pull request #3369 from niklaslong/fix/3324-block-request-cache
zosorock Oct 22, 2024
a6a0fe4
Merge remote-tracking branch 'aleonet/staging' into fix/later_connect…
vicsn Oct 22, 2024
b4544aa
Remove unused import
vicsn Oct 22, 2024
f598e72
updating snarkVM rev for Canary v0.4.4 and Cargo lock
zosorock Oct 22, 2024
ba2ce9a
Merge pull request #3419 from zosorock/canary/v0.4.4
zosorock Oct 22, 2024
6c57179
Periodically process the unconfirmed transactions in the memory pool
vicsn Oct 23, 2024
58c33ec
Periodically process the unconfirmed solutions in the memory pool
vicsn Oct 23, 2024
53fa9a7
Fix rps
fulltimemike Sep 24, 2024
e0d1bed
Undo rust version bump
fulltimemike Sep 25, 2024
5013044
Rebase off aleoNet/staging and fix fmt
fulltimemike Oct 23, 2024
fc2905f
undo rust version change
fulltimemike Oct 23, 2024
bd63d83
removes exponential ban and ban on re connect
zkxuerb Oct 21, 2024
846244d
remove connection attempt timestamp check
zkxuerb Oct 23, 2024
b0b89c3
merged changes to handle banning peers
zkxuerb Oct 24, 2024
63464a5
Merge pull request #3414 from AleoNet/docs/add-open-file-limit
zosorock Oct 26, 2024
c7ccc4f
Merge pull request #3408 from ProvableHQ/fix/cdn
zosorock Oct 26, 2024
b544b7a
Merge pull request #3405 from demox-labs/rps-fix
zosorock Oct 26, 2024
0e42776
Merge pull request #3395 from ProvableHQ/cache_transmissions
zosorock Oct 26, 2024
6598df5
Merge remote-tracking branch 'aleonet/staging' into feat/test-targets
vicsn Oct 29, 2024
9d8d126
updating snarkVM rev for Canary v1.1.2 and lock file
alzger Oct 30, 2024
04eea6b
Merge pull request #3426 from alzger/canary/v1.1.2
zosorock Oct 30, 2024
5dae385
Merge remote-tracking branch 'aleonet/staging' into feat/test-targets
vicsn Oct 31, 2024
2bdc60b
resolved nits
zkxuerb Nov 1, 2024
de730ac
Merge pull request #3407 from ProvableHQ/prevent_dev_lock_contention
alzger Nov 1, 2024
466ffc1
Merge pull request #3424 from ProvableHQ/feat/test-targets
alzger Nov 1, 2024
40a2459
Merge pull request #3418 from ProvableHQ/fix/later_connected_mark2
alzger Nov 1, 2024
8ccfa82
feat: add private-key-file flag to snarkos developer execute command
zkxuerb Nov 1, 2024
8fb29c4
Merge pull request #3429 from zkxuerb/feat/execute-pk-file
alzger Nov 5, 2024
ddd0f90
updating snarkVM rev for Canary v1.1.3 and lock file
alzger Nov 6, 2024
c6de459
Merge pull request #3431 from alzger/canary/v1.1.3
alzger Nov 6, 2024
ba70c75
Merge branch 'staging' into feat/banned-peers
zkxuerb Nov 12, 2024
e19efc3
Merge remote-tracking branch 'aleonet/staging' into max_concurrent_de…
vicsn Nov 12, 2024
5adb31b
Merge pull request #3422 from zkxuerb/feat/banned-peers
zosorock Nov 12, 2024
aab8a83
Merge pull request #3358 from ProvableHQ/max_concurrent_deploy_verifi…
zosorock Nov 12, 2024
01b5d0f
Merge pull request #3421 from ProvableHQ/process_mempool_periodically
zosorock Nov 13, 2024
075049f
remove test feature from cfg
zkxuerb Nov 13, 2024
7211246
Merge pull request #3435 from zkxuerb/fix/clippy-cfg-test
zosorock Nov 13, 2024
db6a5cb
updating snarkVM rev for Canary v1.1.4 and lock file
zosorock Nov 13, 2024
6cce476
Merge pull request #3436 from zosorock/canary/v1.1.4
zosorock Nov 13, 2024
e4f8ccb
Merge remote-tracking branch 'aleonet/staging' into document_dev_gene…
vicsn Nov 19, 2024
bf21db2
Merge pull request #3409 from ProvableHQ/document_dev_genesis_block
zosorock Nov 19, 2024
cdc9e17
updating snarkVM rev for Canary v1.2.1 and lock file
zosorock Nov 20, 2024
376c6a5
Merge pull request #3445 from zosorock/canary/v1.2.1
zosorock Nov 20, 2024
c41b339
[hotfix] updating snarkVM rev for Canary v1.2.2 and lock file
zosorock Nov 21, 2024
ba41197
Merge pull request #3446 from zosorock/canary/v1.2.2
zosorock Nov 21, 2024
9391cff
Update release.yaml permissions
raychu86 Nov 26, 2024
b94eb47
Merge pull request #3448 from ProvableHQ/fix/release-action
zosorock Nov 26, 2024
25643de
Update action versions
raychu86 Dec 3, 2024
84d8ab0
Update snarkVM version
raychu86 Dec 3, 2024
cbe59de
chore(snarkos): bump version for new release
raychu86 Dec 3, 2024
d7b8c16
Merge pull request #3453 from ProvableHQ/mainnet-release
zosorock Dec 3, 2024
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
152 changes: 83 additions & 69 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
version: 2.1

parameters:
medium:
type: string
default: medium
large:
type: string
default: large
xlarge:
type: string
default: xlarge
twoxlarge:
type: string
default: aleonet/2xlarge

orbs:
windows: circleci/windows@5.0

Expand Down Expand Up @@ -46,10 +60,9 @@ commands:
parameters:
cache_key:
type: string
default: snarkos-stable-cache
default: v3.0.0-rust-1.81.0-snarkos-stable-cache
steps:
- run: set -e
- setup_remote_docker
- run:
name: Prepare environment and install dependencies
command: |
Expand All @@ -75,7 +88,7 @@ commands:
parameters:
cache_key:
type: string
default: snarkos-stable-cache
default: v3.0.0-rust-1.81.0-snarkos-stable-cache
steps:
- run: (sccache -s||true)
- run: set +e
Expand Down Expand Up @@ -160,207 +173,207 @@ commands:
jobs:
integration:
docker:
- image: cimg/rust:1.74.1
resource_class: 2xlarge
- image: cimg/rust:1.81.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: << pipeline.parameters.medium >>
steps:
- run_serial_long:
workspace_member: .integration
cache_key: snarkos-integration-cache
cache_key: v3.0.0-rust-1.81.0-integration-cache

snarkos:
docker:
- image: cimg/rust:1.74.1
resource_class: 2xlarge
- image: cimg/rust:1.81.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: << pipeline.parameters.large >>
steps:
- run_serial:
workspace_member: .
cache_key: snarkos-stable-cache
cache_key: v3.0.0-rust-1.81.0-stable-cache

account:
docker:
- image: cimg/rust:1.74.1
resource_class: xlarge
- image: cimg/rust:1.81.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: << pipeline.parameters.medium >>
steps:
- run_serial:
workspace_member: account
cache_key: snarkos-account-cache
cache_key: v3.0.0-rust-1.81.0-account-cache

cli:
docker:
- image: cimg/rust:1.74.1
resource_class: xlarge
- image: cimg/rust:1.81.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: << pipeline.parameters.xlarge >>
steps:
- run_serial:
workspace_member: cli
cache_key: snarkos-cli-cache
cache_key: v3.0.0-rust-1.81.0-cli-cache

display:
docker:
- image: cimg/rust:1.74.1
resource_class: xlarge
- image: cimg/rust:1.81.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: << pipeline.parameters.medium >>
steps:
- run_serial:
workspace_member: display
cache_key: snarkos-display-cache
cache_key: v3.0.0-rust-1.81.0-display-cache

node:
docker:
- image: cimg/rust:1.74.1
resource_class: 2xlarge
- image: cimg/rust:1.81.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: << pipeline.parameters.twoxlarge >>
steps:
- run_serial:
workspace_member: node
cache_key: snarkos-node-cache
cache_key: v3.0.0-rust-1.81.0-node-cache

node-bft:
docker:
- image: cimg/rust:1.74.1
resource_class: 2xlarge
- image: cimg/rust:1.81.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: << pipeline.parameters.twoxlarge >>
steps:
- run_serial:
workspace_member: node/bft
cache_key: snarkos-node-bft-cache
cache_key: v3.0.0-rust-1.81.0-node-bft-cache

node-bft-events:
docker:
- image: cimg/rust:1.74.1
resource_class: 2xlarge
- image: cimg/rust:1.81.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: << pipeline.parameters.medium >>
steps:
- run_serial:
workspace_member: node/bft/events
cache_key: snarkos-node-bft-events-cache
cache_key: v3.0.0-rust-1.81.0-node-bft-events-cache

node-bft-ledger-service:
docker:
- image: cimg/rust:1.74.1
resource_class: xlarge
- image: cimg/rust:1.81.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: << pipeline.parameters.medium >>
steps:
- run_serial:
workspace_member: node/bft/ledger-service
cache_key: snarkos-node-bft-ledger-service-cache
cache_key: v3.0.0-rust-1.81.0-node-bft-ledger-service-cache

node-bft-storage-service:
docker:
- image: cimg/rust:1.74.1
resource_class: xlarge
- image: cimg/rust:1.81.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: << pipeline.parameters.medium >>
steps:
- run_serial:
workspace_member: node/bft/storage-service
cache_key: snarkos-node-bft-storage-service-cache
cache_key: v3.0.0-rust-1.81.0-node-bft-storage-service-cache

node-cdn:
docker:
- image: cimg/rust:1.74.1
resource_class: xlarge
- image: cimg/rust:1.81.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: << pipeline.parameters.medium >>
steps:
- run_serial:
workspace_member: node/cdn
cache_key: snarkos-node-cdn-cache
cache_key: v3.0.0-rust-1.81.0-node-cdn-cache

node-consensus:
docker:
- image: cimg/rust:1.74.1
resource_class: 2xlarge
- image: cimg/rust:1.81.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: << pipeline.parameters.medium >>
steps:
- run_serial:
workspace_member: node/consensus
cache_key: snarkos-node-consensus-cache
cache_key: v3.0.0-rust-1.81.0-node-consensus-cache

node-rest:
docker:
- image: cimg/rust:1.74.1
resource_class: xlarge
- image: cimg/rust:1.81.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: << pipeline.parameters.medium >>
steps:
- run_serial:
workspace_member: node/rest
cache_key: snarkos-node-rest-cache
cache_key: v3.0.0-rust-1.81.0-node-rest-cache

node-router:
docker:
- image: cimg/rust:1.74.1
resource_class: xlarge
- image: cimg/rust:1.81.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: << pipeline.parameters.large >>
steps:
- run_serial:
workspace_member: node/router
cache_key: snarkos-node-router-cache
cache_key: v3.0.0-rust-1.81.0-node-router-cache

node-router-messages:
docker:
- image: cimg/rust:1.74.1
resource_class: xlarge
- image: cimg/rust:1.81.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: << pipeline.parameters.medium >>
steps:
- run_serial:
workspace_member: node/router/messages
cache_key: snarkos-node-router-messages-cache
cache_key: v3.0.0-rust-1.81.0-node-router-messages-cache

node-sync:
docker:
- image: cimg/rust:1.74.1
resource_class: xlarge
- image: cimg/rust:1.81.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: << pipeline.parameters.xlarge >>
steps:
- run_serial:
workspace_member: node/sync
cache_key: snarkos-node-sync-cache
cache_key: v3.0.0-rust-1.81.0-node-sync-cache

node-sync-communication-service:
docker:
- image: cimg/rust:1.74.1
resource_class: xlarge
- image: cimg/rust:1.81.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: << pipeline.parameters.medium >>
steps:
- run_serial:
workspace_member: node/sync/communication-service
cache_key: snarkos-node-sync-communication-service-cache
cache_key: v3.0.0-rust-1.81.0-node-sync-communication-service-cache

node-sync-locators:
docker:
- image: cimg/rust:1.74.1
resource_class: xlarge
- image: cimg/rust:1.81.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: << pipeline.parameters.medium >>
steps:
- run_serial:
workspace_member: node/sync/locators
cache_key: snarkos-node-sync-locators-cache
cache_key: v3.0.0-rust-1.81.0-node-sync-locators-cache

node-tcp:
docker:
- image: cimg/rust:1.74.1
resource_class: xlarge
- image: cimg/rust:1.81.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: << pipeline.parameters.medium >>
steps:
- run_serial:
workspace_member: node/tcp
cache_key: snarkos-node-tcp-cache
cache_key: v3.0.0-rust-1.81.0-node-tcp-cache

check-fmt:
docker:
- image: cimg/rust:1.74.1
resource_class: xlarge
- image: cimg/rust:1.81.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: << pipeline.parameters.medium >>
steps:
- checkout
- install_rust_nightly
- setup_environment:
cache_key: snarkos-fmt-cache
cache_key: v3.0.0-rust-1.81.0-fmt-cache
- run:
name: Check style
no_output_timeout: 35m
command: cargo +nightly fmt --all -- --check
- clear_environment:
cache_key: snarkos-fmt-cache
cache_key: v3.0.0-rust-1.81.0-fmt-cache

check-clippy:
docker:
- image: cimg/rust:1.74.1
resource_class: 2xlarge
- image: cimg/rust:1.81.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
resource_class: << pipeline.parameters.medium >>
steps:
- checkout
- setup_environment:
cache_key: snarkos-clippy-cache
cache_key: v3.0.0-rust-1.81.0-clippy-cache
- run:
name: Check lint
no_output_timeout: 35m
command: |
cargo clippy --workspace --all-targets -- -D warnings
cargo clippy --workspace --all-targets --all-features -- -D warnings
- clear_environment:
cache_key: snarkos-clippy-cache
cache_key: v3.0.0-rust-1.81.0-clippy-cache

verify-windows:
executor:
Expand Down Expand Up @@ -420,6 +433,7 @@ workflows:
filters:
branches:
only:
- testnet3
- mainnet
jobs:
- integration

Loading
Loading