Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
88 commits
Select commit Hold shift + click to select a range
821170d
Init testnet 20
AurelienFT Feb 1, 2023
636c1c5
Merge branch 'main' into testnet_20
AurelienFT Feb 2, 2023
fd8bb40
Merge branch 'main' into testnet_20
AurelienFT Feb 2, 2023
9cfdd6a
Unignore pool tests
Ben-PH Feb 1, 2023
56e1dd3
Improve test-failure information
Ben-PH Feb 1, 2023
a3fb651
Track down the error point.
Ben-PH Feb 1, 2023
406962d
implements `get_next_block_best_parents` + `get_largest_stakers` meth…
modship Feb 3, 2023
f4e9e0c
Disgusting hack that breaks everything but passes this test.
Ben-PH Feb 3, 2023
8038b2c
Get it working with fewer disgusting hacks
Ben-PH Feb 3, 2023
37ea245
Reinstate the storage cleanup panic
Ben-PH Feb 3, 2023
58cee90
Init storage only once
Ben-PH Feb 3, 2023
b9184e4
Encapsulate user/sc address split in an enum (#3475)
Ben-PH Feb 6, 2023
2593a24
Reinstate and self-review
Ben-PH Feb 6, 2023
ea59909
Merge pull request #3486 from massalabs/benph/reinstate-pool-tests
Eitu33 Feb 7, 2023
4e7301a
Test/block serializer args 1 (#3462)
sydhds Feb 7, 2023
7eb5d50
Update sandbox version (#3492)
sydhds Feb 8, 2023
c8eeacd
draft init
Feb 9, 2023
ddbd41b
Add doc-test with testing feature to CI steps (#3502)
Ben-PH Feb 10, 2023
24521e5
lowercase initial_vesting.json for deserialize
Feb 10, 2023
6d53f1a
update initial_vesting.json for add START / END period
Feb 10, 2023
81bf5ed
Fix small typos in CLI (#3495)
aoudiamoncef Feb 10, 2023
ad1f62b
Improve integration of deadlocks detector (#3556)
aoudiamoncef Feb 13, 2023
58cacec
feat: add bootstrap banning client message
aoudiamoncef Feb 8, 2023
f874ed0
fix: reset whitelist config file
aoudiamoncef Feb 8, 2023
de7c22e
fix: skip check whether IP is allowed
aoudiamoncef Feb 9, 2023
962f49e
Add code line to help for vesting changes
AurelienFT Feb 13, 2023
8224831
update initial_vesting.json
Feb 10, 2023
668a498
refactor: improve server binder usage
aoudiamoncef Feb 13, 2023
e3b7c7d
Load the initial_vesting.json into PreHashMap<Address,Vec<VestingRang…
Feb 13, 2023
31cd782
use values_mut() instead of borrow_mut()
Feb 13, 2023
72fc6f5
refactor: switch to if let else version
aoudiamoncef Feb 13, 2023
9167f2b
refactor: small format
aoudiamoncef Feb 13, 2023
d552a3a
refactor: scope test macro
aoudiamoncef Feb 13, 2023
ea95031
fix: silent the compiler even in test mode
aoudiamoncef Feb 14, 2023
aecfe3a
Propose refactor init
AurelienFT Feb 14, 2023
ddd6727
Merge pull request #3511 from massalabs/feature/improve-bootsrap-error
Eitu33 Feb 14, 2023
856d3c8
Update packages
AurelienFT Feb 14, 2023
8809837
Add `sha256_hash` ABI (#3498)
aoudiamoncef Feb 14, 2023
16f3cd2
Merge branch 'main' into testnet_20
AurelienFT Feb 15, 2023
91e7e68
Update unit test version.
AurelienFT Feb 15, 2023
e6008b9
Fix doctest
AurelienFT Feb 15, 2023
e90b7a8
control roll_buy and transfer_coins with vesting
Feb 15, 2023
a6f1e42
Bump serial_test to 1.0 && serde_qs to 0.11 (#3566)
sydhds Feb 15, 2023
5424a61
Fix check args in CLI (#3557)
aoudiamoncef Feb 15, 2023
ae89dee
gas calibration testnet_20
Massembler Feb 16, 2023
114bead
Fix bootstrap retry (#3576)
AurelienFT Feb 16, 2023
740bc62
Fix
Eitu33 Feb 16, 2023
fd0350a
Merge pull request #3579 from massalabs/fix/bootstrap-server-deser-er…
Eitu33 Feb 16, 2023
e5f5295
rework load initial_vesting.json / buy_rolls / transfer_coins
Feb 16, 2023
611fb2c
Tidy up and restructure of pool unit-tests (#3507)
Ben-PH Feb 16, 2023
b9f31d6
fix CI
Feb 16, 2023
3ead62b
Merge branch 'testnet_20' into initial_vesting
Feb 16, 2023
fde0971
fix clippy
Feb 16, 2023
26f0d31
pass the current block as parameter
Feb 17, 2023
af18dd0
Test(vesting) : add test for buy_rolls && transfer_coins
Feb 17, 2023
f8da638
Remove dead links from readme (#3585)
aoudiamoncef Feb 17, 2023
d3ffe1e
Test(vesting) : tag get_initials_vesting mock to feature "testing"
Feb 20, 2023
30550a5
Test(vesting) : add #[allow(dead_code)] to get_initials_vesting
Feb 20, 2023
91aadd3
Fix max op not taken in account (#3587)
AurelienFT Feb 20, 2023
27c2795
Fix get call coins. (#3580)
AurelienFT Feb 21, 2023
3202113
fix(vesting) : use new adress format for initial_vesting.json example
Feb 21, 2023
9d7619a
Refactor(vesting) : make some improvement
Feb 21, 2023
ef78535
Refactor(vesting) : remove slot in transfer_coins + rework deferred_c…
Feb 22, 2023
1673340
Ipv4 only network - listen on windows (#3590)
Leo-Besancon Feb 22, 2023
d0c3420
Merge branch 'testnet_20' into initial_vesting
Feb 22, 2023
19ee9c4
fix(test) : fix test_get_call_coins
Feb 22, 2023
5460c49
fix(vesting) : max_rolls verification
Feb 22, 2023
4df8f98
vesting : update initial_vesting file
Feb 22, 2023
5b56fa8
Merge pull request #3549 from massalabs/initial_vesting
modship Feb 23, 2023
972ca78
Update the hash function to rust bytearray (#3601)
AurelienFT Feb 23, 2023
8e12fc3
Add operation execution status to get_operations command
Feb 13, 2023
69b2600
2660 Add a rust representation of disk ledger keys (#3455)
thomas-senechal Feb 23, 2023
1453cd5
Fix tests pool failing (#3602)
AurelienFT Feb 23, 2023
298cbb7
Fix initial vesting (#3606)
modship Feb 24, 2023
ea95721
Update packages
AurelienFT Feb 24, 2023
e5c2a37
doc: replace playground terme (#3588)
aoudiamoncef Feb 24, 2023
441b667
Add version bytes for ledger persistancy (#3603)
Leo-Besancon Feb 24, 2023
691e343
Benph/bootstrap thread migration (#3554)
Ben-PH Feb 27, 2023
251be15
Merge branch 'main' into testnet_20
AurelienFT Feb 27, 2023
f8c9b83
Merge branch 'main' into testnet_20
AurelienFT Feb 27, 2023
a85df5e
Uncomment block propagation to consensus.
AurelienFT Feb 27, 2023
848aab6
Refactor(bootstrap_list) : improve log (#3615)
modship Feb 27, 2023
c9424ec
fix(bootstrap) : sigint (#3618)
modship Feb 28, 2023
eb8105c
Setup timestamps and tweak some gas costs to be able to test txps wit…
AurelienFT Mar 1, 2023
a53b39e
Update toolchain
AurelienFT Mar 1, 2023
9cc3d2d
Update cd
AurelienFT Mar 1, 2023
b42693c
Update massa-sc-runtime
AurelienFT Mar 1, 2023
1cf75b0
Keep gas-costs-check removed.
AurelienFT Mar 1, 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: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2022-12-24
toolchain: nightly-2023-02-27
target: ${{ matrix.target }}
override: true
- uses: Swatinem/rust-cache@v2
Expand Down
30 changes: 17 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2022-12-24
toolchain: nightly-2023-02-27
components: rustfmt
override: true
- uses: Swatinem/rust-cache@v2
Expand All @@ -38,7 +38,7 @@ jobs:
with:
command: fmt
args: --all -- --check

check:
if: github.ref != 'refs/heads/staging'
needs: sanity
Expand All @@ -51,7 +51,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2022-12-24
toolchain: nightly-2023-02-27
- uses: Swatinem/rust-cache@v2
with:
shared-key: "check"
Expand All @@ -72,7 +72,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2022-12-24
toolchain: nightly-2023-02-27
components: clippy
override: true
- uses: Swatinem/rust-cache@v2
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2022-12-24
toolchain: nightly-2023-02-27
override: true
- uses: Swatinem/rust-cache@v2
with:
Expand All @@ -117,6 +117,10 @@ jobs:
with:
command: nextest
args: run --features testing --retries 10
- uses: actions-rs/cargo@v1
with:
command: test
args: --features testing --doc

build: # quick hack because bors wrongly detect matrix jobs status
needs: full
Expand All @@ -128,14 +132,14 @@ jobs:
gas-costs-check:
if: github.ref != 'refs/heads/staging' && github.ref != 'refs/heads/main'
runs-on: ubuntu-latest
steps:
steps:
- uses: actions/checkout@v3
with:
submodules: "recursive"
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2022-12-24
toolchain: nightly-2023-02-27
components: rustfmt
override: true
- uses: actions/checkout@v3
Expand All @@ -151,15 +155,15 @@ jobs:
# Replace the branch in the dependencies in gas-calibration project by the current branch
# Special case for massa-sc-runtime: we use the branch referenced in the Cargo.toml of massa-execution-worker.
- name: "Use the current branch as dependency for gas-calibration"
run: >
cd gas-calibration &&
sed -i 's!main!${{ github.head_ref || github.ref_name }}!g' Cargo.toml &&
run: >
cd gas-calibration &&
sed -i 's!main!${{ github.head_ref || github.ref_name }}!g' Cargo.toml &&
sed -i 's!massa-sc-runtime = { git = "https://github.com/massalabs/massa-sc-runtime", features = \["gas_calibration"\] }!'"$(cat ../massa-execution-worker/Cargo.toml | grep 'massalabs/massa-sc-runtime' | sed 's!/!\\/!g' | sed 's!}!, features = ["gas_calibration"]}!g' )"'!g' Cargo.toml
#- name: "Launch gas-calibration with one SC per ABI in massa-as-sdk to see if there is an ABI missing"
# run: >
# cd gas-calibration &&
# cd gas-calibration &&
# cargo run -r -- --nb-scs-by-abi=1 --as-sdk-env-path=../massa-as-sdk/assembly/env/env.ts --only-generate


doc:
runs-on: ubuntu-latest
Expand All @@ -170,7 +174,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2022-12-24
toolchain: nightly-2023-02-27
components: rustfmt
override: true
- uses: Swatinem/rust-cache@v2
Expand Down
Loading