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

Testnet 23 #3903

Merged
merged 155 commits into from
Jun 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
155 commits
Select commit Hold shift + click to select a range
4290557
Add current and announced network versions in block headers
Eitu33 Apr 13, 2023
72999d1
Update block header serializer & deserializer
Eitu33 Apr 13, 2023
7a385fe
Header network version compatibility check
Eitu33 Apr 14, 2023
f6b79fb
Merge exports and worker
Eitu33 Apr 17, 2023
573802b
Inter todo list
Eitu33 Apr 17, 2023
b73f0fb
Use time as advance history keys
Eitu33 Apr 19, 2023
55121bf
Revert MipState history changes
Eitu33 Apr 19, 2023
5a2a3ee
Save activation time in ComponentState
Eitu33 Apr 20, 2023
a763a52
Add get_network_version_active_at
Eitu33 Apr 20, 2023
7c9ed4e
Fix compilation
Eitu33 Apr 20, 2023
7f20d8c
Update check_network_version_compatibility
Eitu33 Apr 24, 2023
a0ce549
Address V1 & V2
Eitu33 Apr 24, 2023
d36f242
Base AddressFactory
Eitu33 Apr 26, 2023
e3ba92f
Use address factory
Eitu33 Apr 27, 2023
483261f
PublicKey, KeyPair, and Signature versioning
Eitu33 Apr 27, 2023
c188840
Base for keypair factory
Eitu33 Apr 27, 2023
d721672
Use KeyPairFactory
Eitu33 Apr 27, 2023
947a3ed
Use public key version in UserAddress from_public_key
Eitu33 Apr 27, 2023
4550f9d
Fix tests compilation
Eitu33 Apr 28, 2023
519a5c7
Fix SignatureDeserializer buffer bug
Eitu33 Apr 28, 2023
b11a2ac
Fix bootstrap message deser error
Eitu33 Apr 28, 2023
7accbdd
Fix Signature from_bytes
Eitu33 Apr 28, 2023
15a446a
Fix the biggest Keypair issues
Eitu33 May 2, 2023
95c8cc9
Fix the majority of KP bugs and execution tests
Eitu33 May 3, 2023
6f16f0b
Fix remaining execution tests
Eitu33 May 3, 2023
851b3f4
Tmp ignore of 2 versioning tests
Eitu33 May 3, 2023
1662476
KeyPair, PublicKey and Signature improvements and doc tests
Eitu33 May 3, 2023
6ae90f5
First syd review update
Eitu33 May 3, 2023
b536fab
Address and KeyPair factories error handling
Eitu33 May 4, 2023
d4bf3a3
Fix ComponentState::Active serialization
May 4, 2023
1b0b5f2
Update todos
Eitu33 May 4, 2023
f4b5c25
Move byte array size handling to versioned from_bytes
Eitu33 May 4, 2023
356039b
Improve pubkey and signature deser and rename confusing const
Eitu33 May 4, 2023
c1ea7c1
Remove legacy todo
Eitu33 May 5, 2023
455691a
Update PublicKey ordering and test it
Eitu33 May 5, 2023
a5df614
Merge branch 'main' into testnet_23
AurelienFT May 5, 2023
b998d46
remove network and use testnet 23 protocol state
Eitu33 May 5, 2023
9a878ce
Add proper error result in MipStoreRaw::update_with(..) function (#3906)
sydhds May 5, 2023
e65c9be
Merge testnet 23 changes and fix conflicts
Eitu33 May 5, 2023
65d4507
Merge branch 'testnet_23' into block-header-net-versions
Eitu33 May 5, 2023
fea2b09
Document the motive behind duplicating checks when testing (#3907)
Ben-PH May 5, 2023
b75d148
Add block header compat checks and keypair versioned creation in the …
Eitu33 May 9, 2023
4e9bf6c
Update rust toolchain to 2023-05-04 (#3920)
sydhds May 9, 2023
7233d78
Implement get_ser_len in signature_impl, improve to_bytes, remove con…
Eitu33 May 9, 2023
d5a65c3
Move signature from_bytes
Eitu33 May 9, 2023
3b45fc7
Remove every PubKey and Signature size const occurences except for bo…
Eitu33 May 9, 2023
f22dca7
Remove a legacy file
Eitu33 May 9, 2023
c317805
Remove every occurence of pubkey size const
Eitu33 May 9, 2023
0dbfe0f
Merge branch 'main' into testnet_23
AurelienFT May 10, 2023
36460ed
Use cargo-machete to fuzzy-match unused dependencies (#3921)
Ben-PH May 10, 2023
9aec0d1
Warn the user if its node software is outdated (#3918)
sydhds May 11, 2023
2d1a0fe
Minor fix and test improvement
Eitu33 May 12, 2023
2f8ebfe
Dummy mip in massa-node
Eitu33 May 15, 2023
3bbdedb
Merge 23 and fix conflicts
Eitu33 May 15, 2023
895de15
Merge branch 'main' into testnet_23
AurelienFT May 15, 2023
35f3b46
Merge main
AurelienFT May 16, 2023
d825e8d
Use new peerid
AurelienFT May 16, 2023
862d1da
Feature/ver network restart 1 (#3947)
sydhds May 16, 2023
1e2cad5
Update peerid.
AurelienFT May 16, 2023
036323c
Format
AurelienFT May 16, 2023
e0ae9ea
Mock/pool complete (#3954)
Ben-PH May 17, 2023
731e000
Provide context in log when failing to send bootstrap err to client (…
Ben-PH May 17, 2023
2be7e96
Syncronise get_state, and manage cancellation internally (#3905)
Ben-PH May 17, 2023
8cb4066
Add grpc access to massa client (#3957)
sydhds May 17, 2023
3225678
Fix tests
Eitu33 May 17, 2023
99850d0
Feature/client versioning 1 (#3960)
sydhds May 17, 2023
6e73021
Fix execution tests
Eitu33 May 17, 2023
28ab026
Fix NodeID parsing issues
Eitu33 May 18, 2023
5d8c53f
Fix bad signature deser size
AurelienFT May 18, 2023
059a62f
Merge branch 'main' into testnet_23
AurelienFT May 22, 2023
5b0654f
Update cargo lock
AurelienFT May 22, 2023
f656dcd
Lift ctrlc init to `fn run` to escape loop-scope
Ben-PH May 22, 2023
09eb9ee
Merge branch 'testnet_23' into block-header-net-versions
AurelienFT May 22, 2023
d7f35d7
Format
AurelienFT May 22, 2023
9132b86
Labnet print
Eitu33 May 22, 2023
abf948d
Fix compil
Eitu33 May 22, 2023
9a7d9f7
Merge branch 'fix/desync-panic' into block-header-net-versions
Eitu33 May 22, 2023
3c50962
Remove ctrl c handler
Eitu33 May 22, 2023
48d807d
Fix bootstrap mip downgrade error
Eitu33 May 22, 2023
bf425dd
Fix warnings
Eitu33 May 22, 2023
a2e72ea
Fix clippy warnings
Eitu33 May 22, 2023
6307573
Fix a CI only clippy warning
Eitu33 May 22, 2023
5754c19
Clique computation test (#3973)
damip May 23, 2023
ff88bd7
Fix tests
Eitu33 May 23, 2023
4293d3b
Fix versioning test
Eitu33 May 23, 2023
39f5caa
merge testnet_23 and fix conflicts
Eitu33 May 23, 2023
f9d51bf
Merge pull request #3876 from massalabs/block-header-net-versions
Eitu33 May 23, 2023
cf9dcc8
Extra versioning logs
Eitu33 May 23, 2023
0e51272
Fix doc tests.
AurelienFT May 24, 2023
b63c8b7
Use schnellru instead of lru for Lru caching system
litchipi May 23, 2023
fe19c42
Review comments
litchipi May 24, 2023
22ce146
Use nanos instead of millis for timestamps
litchipi May 24, 2023
e720a8b
Uses MassaTime for timestamp in protocol worker
litchipi May 24, 2023
b5255bb
lint code
litchipi May 24, 2023
25b7c21
Fix versioning stats update
Eitu33 May 24, 2023
765fe8b
Fix new config from peernet. (#3979)
AurelienFT May 25, 2023
aab7f03
Create an example to reproduce the error
litchipi May 25, 2023
a138b93
protocol : use send_timeout in fallback_function (#3980)
modship May 25, 2023
6474ed2
Apply clippy fix
litchipi May 25, 2023
72c544f
Better mip stats serializer errors
Eitu33 May 25, 2023
165071b
Reduce versioning version threshold
Eitu33 May 25, 2023
5954e32
Improve error messages in versioning ser
Eitu33 May 25, 2023
72f5b82
Merge pull request #3976 from massalabs/timestamps_nanos
litchipi May 25, 2023
00028db
remove double print on periods_per_cycle in client (#3982)
modship May 25, 2023
ad1b10f
use try_send instead of send in protocol (#3983)
modship May 25, 2023
b175bab
Fix latest_announcements pop
Eitu33 May 25, 2023
c96cfaf
Fix versionned address limitation and add factory logs
Eitu33 May 25, 2023
b48edfc
Add IsCoherentError enum
May 25, 2023
f7ab516
Propagate error
May 25, 2023
9e5c747
avoid [] accessin protocol (#3984)
modship May 25, 2023
cff0c6a
Fix is_coherent_with(..) with the same threshold
May 25, 2023
15d912c
Changes from review
litchipi May 25, 2023
101fbad
Update unit test for update_with + Started & threshold != 0
May 25, 2023
1b35c2e
Merge pull request #3974 from massalabs/use_schnellru
litchipi May 25, 2023
8bb75d5
Minor corrections on consensus
litchipi May 26, 2023
817bdd6
Merge branch 'main' into testnet_23
AurelienFT May 26, 2023
30f7ffc
Merge pull request #3987 from massalabs/consensus_minor_corrections
litchipi May 26, 2023
14af0fa
Fix CI.
AurelienFT May 26, 2023
469086a
Update unpredictable state handling
Eitu33 May 26, 2023
ce73c0c
Update dummy MIP state
Eitu33 May 26, 2023
043eb49
change MassaTime::from to MassaTime::from_millis (#3986)
modship May 26, 2023
f2cbb9b
protocol pool channel capacity (#3989)
modship May 26, 2023
1841dcb
Improve missing version panic message and revert vote threshold value
Eitu33 May 26, 2023
21c15ae
Try to fix peernet
AurelienFT May 27, 2023
ae5e085
Constant base value (#3994)
AurelienFT May 29, 2023
6d06c42
Merge testnet 23 and fix conflicts
Eitu33 May 29, 2023
9f1e205
Fix compilation
AurelienFT May 29, 2023
7c76723
Fix tests
AurelienFT May 29, 2023
943be4b
Debug logs for post version desynchro diagnostic
Eitu33 May 29, 2023
09227d6
fix massa client without grpc (#3999)
modship May 30, 2023
cdf72c6
Update cache sync cache. (#4002)
AurelienFT May 30, 2023
686dd32
Revert debug logs
Eitu33 May 30, 2023
db5f88c
Cleanup versioning module opt logs
Eitu33 May 30, 2023
e92ad2d
Fix test
Eitu33 May 30, 2023
2e782bd
Merge branch 'testnet_23' into versioning-test-branch
Eitu33 May 30, 2023
977da45
Fix clippy warnings
Eitu33 May 30, 2023
74ae760
Removed unused versionned code
Eitu33 May 30, 2023
25a4ce1
Merge pull request #3993 from massalabs/versioning-test-branch
Eitu33 May 30, 2023
ecc6ea6
MipInfo is now determinist (#3981)
sydhds May 30, 2023
279933b
fix versions for determinist sensitive crates (#3990)
modship May 31, 2023
be4440e
add massa-xtask + task for package versions (#4005)
modship Jun 1, 2023
2e4efb0
Network restart followup (#3783) - Final state on disk
Leo-Besancon Jun 1, 2023
1fe22e4
Save block for the whole cycle without ops (#4007)
AurelienFT Jun 1, 2023
5e3295f
minor consensus corrections (#4013)
damip Jun 1, 2023
c627cb7
Use saturating_add/sub when updating mip store stats + update version…
sydhds Jun 1, 2023
2bc9873
Use keypair version to generate secret key in massa client (#4011)
sydhds Jun 1, 2023
687902b
Add #[test] for test_mip_store_stats
sydhds Jun 1, 2023
f950a89
Remove from index when marking as invalid. (#4015)
AurelienFT Jun 1, 2023
5bc7da6
Downtime simulator (#4017)
Leo-Besancon Jun 1, 2023
b8268ff
Change behaviour for bootstrap servers (#4021)
Leo-Besancon Jun 2, 2023
948d485
4012 remove dependency to chrono (#4020)
Leo-Besancon Jun 2, 2023
4b5ff41
Update all timestamps
AurelienFT Jun 2, 2023
34d9bda
Update config file
AurelienFT Jun 2, 2023
5ec3de5
Fix clippy warnings
AurelienFT Jun 2, 2023
fbd1950
Remove FactoryStrategy::Latest variant (#4028)
sydhds Jun 2, 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
2 changes: 2 additions & 0 deletions .cargo/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[alias]
xtask = "run --package massa-xtask --"
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2023-02-27
toolchain: nightly-2023-06-01
target: ${{ matrix.target }}
override: true
- uses: Swatinem/rust-cache@v2
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2023-02-27
toolchain: nightly-2023-06-01
components: rustfmt
override: true
- uses: Swatinem/rust-cache@v2
Expand All @@ -55,7 +55,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2023-02-27
toolchain: nightly-2023-06-01
- uses: Swatinem/rust-cache@v2
with:
shared-key: "check"
Expand All @@ -80,7 +80,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2023-02-27
toolchain: nightly-2023-06-01
components: clippy
override: true
- uses: Swatinem/rust-cache@v2
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2023-02-27
toolchain: nightly-2023-06-01
override: true
- uses: Swatinem/rust-cache@v2
with:
Expand Down Expand Up @@ -156,7 +156,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2023-02-27
toolchain: nightly-2023-06-01
components: rustfmt
override: true
- uses: actions/checkout@v3
Expand Down Expand Up @@ -191,7 +191,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2023-02-27
toolchain: nightly-2023-06-01
components: rustfmt
override: true
- uses: Swatinem/rust-cache@v2
Expand Down
Loading