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 19 #3358

Merged
merged 84 commits into from
Feb 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
84 commits
Select commit Hold shift + click to select a range
676799a
Add version 19.
AurelienFT Jan 2, 2023
9fa854a
Update workflow.
AurelienFT Jan 2, 2023
7eab8b0
Merge branch 'testnet_18' into testnet_19
AurelienFT Jan 2, 2023
24f5272
Merge branch 'main' into testnet_19
AurelienFT Jan 2, 2023
65fcea9
Merge branch 'main' into testnet_19
AurelienFT Jan 4, 2023
e3c37c8
Add gas calibration check to the CI. (#3367)
AurelienFT Jan 5, 2023
99e4220
improve get_boot_state
Eitu33 Jan 6, 2023
60cd51d
remove endorsement sig verification check
Eitu33 Jan 6, 2023
e21b93e
Merge pull request #3378 from massalabs/fix-bootstrap-test-tools
Eitu33 Jan 6, 2023
94297f5
Testnet 19 bph wrapper rename (#3384)
Ben-PH Jan 9, 2023
436cbf4
Bump tokio from 1.23.0 to 1.23.1 (#3385)
dependabot[bot] Jan 9, 2023
a19786a
Update bootstrap pubkeys to be nodeid. (#3389)
AurelienFT Jan 9, 2023
c0d61fb
Fix roll sell. (#3392)
AurelienFT Jan 9, 2023
bb031fa
use runtime module separation to impl module caching in massa-execution
Eitu33 Jan 9, 2023
728b7e3
Bph time display (#3394)
Ben-PH Jan 9, 2023
1578485
Fix gas calibration check when used on branches with / (#3390)
AurelienFT Jan 9, 2023
480d75e
Add API V2 Http/WebSocket clients to Massa SDK (#3363)
aoudiamoncef Jan 10, 2023
98feda9
Added ipv6 bootstrap addresses (#3391)
Leo-Besancon Jan 11, 2023
5fb0c67
Add execute from final state for read only SC calls (#3383)
aoudiamoncef Jan 11, 2023
4a3a576
Added new commands (e.g. node_start_staking with address) (#3365)
Leo-Besancon Jan 12, 2023
a83fd23
use ModuleCache and remove wasmer dep
Eitu33 Jan 13, 2023
c7cfe29
update settings
Eitu33 Jan 13, 2023
c4db941
remove unused mutable refs
Eitu33 Jan 13, 2023
8424e66
Broadcast local operations (#3415)
aoudiamoncef Jan 16, 2023
82045c9
lru cache move to execution
Eitu33 Jan 16, 2023
f2a392f
start using LRU in exec
Eitu33 Jan 16, 2023
2923f99
Return state changes in read only calls (#3405)
aoudiamoncef Jan 17, 2023
38139c4
Add checks on object deserialisation (#3364)
Ben-PH Jan 17, 2023
f8c6c87
use the update runtime module
Eitu33 Jan 17, 2023
93953fe
Testnet 19 bootstrap timeout (#3431)
Ben-PH Jan 17, 2023
aba89bd
Update doctest import (#3440)
Ben-PH Jan 18, 2023
cb47fc8
use module cache in context and implement new interface func
Eitu33 Jan 18, 2023
9c271a4
remove unused mutable refs
Eitu33 Jan 18, 2023
c126247
handle errors
Eitu33 Jan 18, 2023
9d04fef
roll back error handling and improve it
Eitu33 Jan 18, 2023
4662da4
fix compilation
Eitu33 Jan 18, 2023
fcdc553
Save commit for bug fixing
Eitu33 Jan 18, 2023
daade3f
revert bugfix changes
Eitu33 Jan 19, 2023
d510cf4
Move BlockId into block_id.rs & BlockHeader into block_header.rs (#3447)
sydhds Jan 19, 2023
95ed2a9
refactor: improve is_final state exec param (#3451)
aoudiamoncef Jan 23, 2023
b8ef6c4
Datastore serde support (#3450)
aoudiamoncef Jan 23, 2023
7872333
Add some missing types to OpenRPC (#3460)
aoudiamoncef Jan 23, 2023
6e21283
use latest runtime updates
Eitu33 Jan 23, 2023
d0b63e4
use cached instance init costs
Eitu33 Jan 23, 2023
8192db2
init limit management and use last runtime updates
Eitu33 Jan 23, 2023
84994ae
3428 implement pagination in jsonrpc endpoints (#3461)
Leo-Besancon Jan 24, 2023
2e53c42
review updates
Eitu33 Jan 24, 2023
28b3d45
Merge branch 'testnet_19' into module-caching
Eitu33 Jan 24, 2023
e1e165a
Add info about key in LruMap
Jan 25, 2023
a83f4d8
fix execution test compilation failure
Eitu33 Jan 25, 2023
1ffb0aa
fix execution test compilation failure
Eitu33 Jan 25, 2023
a5ea9f4
fix SC deployment test
Eitu33 Jan 25, 2023
0ab4ace
Update `get_filtered_sc_output_event` error handling in Massa client…
aoudiamoncef Jan 25, 2023
cda2bbc
use testnet_19 runtime
Eitu33 Jan 26, 2023
b28bd1b
Fix gas calibration and clippy issues
Eitu33 Jan 26, 2023
2322fd5
update setup_test DL tag and commit new SCs
Eitu33 Jan 26, 2023
0fea042
merge parent and fix conflicts
Eitu33 Jan 26, 2023
ebd9db7
Fix local_execution & sc_datastore tests after latest SC updates
Eitu33 Jan 26, 2023
99b24b7
Fix gas costs verif job.
AurelienFT Jan 26, 2023
b474bc4
Merge pull request #3416 from massalabs/module-caching
Eitu33 Jan 26, 2023
0fbf2b8
refactor: add lazy error handling in get_block_slot_timestamp (#3473)
aoudiamoncef Jan 27, 2023
c4c588c
used hashed bytecode as keys
Eitu33 Jan 27, 2023
817a1ba
Merge pull request #3474 from massalabs/pre-hash-lru-map
Eitu33 Jan 27, 2023
d82fb66
feat: add rusty-hooks support
aoudiamoncef Jan 27, 2023
f5534e2
Merge #3477
bors[bot] Jan 30, 2023
b930694
Update all dependencies include sc-runtime to round gas costs (#3476)
AurelienFT Jan 30, 2023
7c41424
Update cargo
AurelienFT Jan 30, 2023
cc8a13e
update SCs
Eitu33 Jan 30, 2023
c4c155f
Bind to IPv6 addr. (#3463)
Leo-Besancon Jan 30, 2023
72a41b7
Provide context for Address dbg impl (#3482)
Ben-PH Jan 30, 2023
362dd2d
Add current/next slot timestamp to `get_status` (#3472)
aoudiamoncef Jan 31, 2023
dc6cda4
update setup_test.rs version
Eitu33 Jan 31, 2023
f5cb1bc
Update dependencies and increase block size
AurelienFT Feb 1, 2023
03776e5
Enhance transfer coins error messages (#3483)
aoudiamoncef Feb 1, 2023
fad42ae
ledger-db restructuring (#3441)
Ben-PH Feb 1, 2023
ae20e01
Merge pull request #3480 from massalabs/test-sc-using-as-25
Eitu33 Feb 1, 2023
73c81c5
Merge branch 'main' into testnet_19
AurelienFT Feb 1, 2023
b6e004b
Fix format issue.
AurelienFT Feb 1, 2023
4889d07
Update addresses.
AurelienFT Feb 1, 2023
7aa1d4c
Update genesis and end timestamp
AurelienFT Feb 1, 2023
9c10fa5
Update sc-runtime
AurelienFT Feb 1, 2023
b70f2ec
Update sc-runtime in massa-exeuction-exports.
AurelienFT Feb 1, 2023
f88519d
Update toolchain
AurelienFT Feb 1, 2023
f7dec64
Fix gas costs and failed check.
AurelienFT Feb 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 @@ -41,7 +41,7 @@ jobs:
platform: arm64
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: "recursive"
- uses: actions-rs/toolchain@v1
Expand Down
47 changes: 42 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
sanity:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: "recursive"
- uses: actions-rs/toolchain@v1
Expand All @@ -45,7 +45,7 @@ jobs:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: "recursive"
- uses: actions-rs/toolchain@v1
Expand All @@ -66,7 +66,7 @@ jobs:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: "recursive"
- uses: actions-rs/toolchain@v1
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
- macOS-latest
- windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: "recursive"
- uses: actions-rs/toolchain@v1
Expand All @@ -124,10 +124,47 @@ jobs:
steps:
- run: exit 0

# Maybe launch it only in testnet branches
gas-costs-check:
if: github.ref != 'refs/heads/staging'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: "recursive"
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2022-12-24
components: rustfmt
override: true
- uses: actions/checkout@v3
with:
repository: massalabs/gas-calibration
path: gas-calibration
ref: main
- uses: actions/checkout@v3
with:
repository: massalabs/massa-as-sdk
path: massa-as-sdk
ref: main
# 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 &&
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 &&
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
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: "recursive"
- uses: actions-rs/toolchain@v1
Expand Down
6 changes: 6 additions & 0 deletions .rusty-hook.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Generate git hooks run: cargo install rusty-hook && rusty-hook init
[hooks]
pre-commit= "cargo check && cargo fmt -- --check && cargo clippy -- -A clippy::uninlined-format-args"

[logging]
verbose = true
Loading