Skip to content

Commit 07b7da2

Browse files
merge master
2 parents db1df15 + e00bc22 commit 07b7da2

678 files changed

Lines changed: 9000 additions & 14520 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/actions-nightly.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

.github/workflows/actions.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ jobs:
1616
name: Contracts
1717
uses: multiversx/mx-sc-actions/.github/workflows/contracts.yml@v4.2.2
1818
with:
19-
rust-toolchain: 1.82
19+
rust-toolchain: 1.85
2020
path-to-sc-meta: framework/meta
21-
mx-scenario-go-version: v3.0.0
21+
mx-scenario-go-version: v4.0.0
2222
enable-interactor-tests: true
2323
coverage-args: --ignore-filename-regex='meta/src' --ignore-filename-regex='wasm-adapter' --ignore-filename-regex='benchmarks/' --ignore-filename-regex='tests/' --output ./coverage.md
2424
secrets:

.github/workflows/lldb-formatter-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions-rs/toolchain@v1
1717
with:
1818
default: true
19-
toolchain: 1.82
19+
toolchain: 1.85
2020

2121
- name: Download vscode-lldb
2222
uses: robinraju/release-downloader@v1.5
@@ -28,8 +28,8 @@ jobs:
2828
- name: Setup vscode-lldb
2929
run: |
3030
unzip codelldb-linux-x64.vsix -d vscode-lldb
31-
mkdir -p $HOME/.vscode/extensions/vadimcn.vscode-lldb-1.11.1/
32-
mv vscode-lldb/extension/* $HOME/.vscode/extensions/vadimcn.vscode-lldb-1.11.1/
31+
mkdir -p $HOME/.vscode/extensions/vadimcn.vscode-lldb-1.11.3/
32+
mv vscode-lldb/extension/* $HOME/.vscode/extensions/vadimcn.vscode-lldb-1.11.3/
3333
3434
- name: Run the rust tests
3535
run: |

.github/workflows/plotter-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Install rust
2222
uses: actions-rust-lang/setup-rust-toolchain@v1
2323
with:
24-
toolchain: 1.82
24+
toolchain: 1.85
2525
target: wasm32-unknown-unknown
2626

2727
- name: Prerequisites

.github/workflows/proxy-compare.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ jobs:
1717
- name: Install rust
1818
uses: actions-rust-lang/setup-rust-toolchain@v1
1919
with:
20-
default: true
21-
toolchain: 1.82
20+
toolchain: 1.85
2221
target: wasm32-unknown-unknown
2322

2423
- name: Install prerequisites

.github/workflows/template-test-current.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,14 @@ jobs:
2121
- name: Install rust
2222
uses: actions-rust-lang/setup-rust-toolchain@v1
2323
with:
24-
default: true
25-
toolchain: 1.82
24+
toolchain: 1.85
2625
target: wasm32-unknown-unknown
2726

2827
- name: Install prerequisites
2928
run: |
3029
cargo install wasm-opt
3130
cargo install --path framework/meta
32-
sc-meta install mx-scenario-go --tag v3.0.0
31+
sc-meta install mx-scenario-go --tag v4.0.0
3332
3433
which wasm-opt
3534
which mx-scenario-go

.github/workflows/template-test-released.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,14 @@ jobs:
2121
- name: Install rust
2222
uses: actions-rust-lang/setup-rust-toolchain@v1
2323
with:
24-
default: true
25-
toolchain: 1.82
24+
toolchain: 1.85
2625
target: wasm32-unknown-unknown
2726

2827
- name: Install prerequisites
2928
run: |
3029
cargo install wasm-opt
3130
cargo install --path framework/meta
32-
sc-meta install mx-scenario-go --tag v3.0.0
31+
sc-meta install mx-scenario-go --tag v4.0.0
3332
3433
which wasm-opt
3534
which mx-scenario-go

.github/workflows/windows.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Windows CI
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
9+
permissions:
10+
checks: write
11+
pull-requests: write
12+
13+
jobs:
14+
windows_build_and_test:
15+
name: Build and test on Windows
16+
runs-on: windows-latest
17+
steps:
18+
- name: Checkout code
19+
uses: actions/checkout@v3
20+
21+
- name: Install Rust
22+
uses: actions-rust-lang/setup-rust-toolchain@v1
23+
with:
24+
toolchain: stable
25+
target: wasm32-unknown-unknown
26+
27+
- name: Install sc-meta
28+
run: cargo install multiversx-sc-meta
29+
30+
- name: Run sc-meta commands
31+
run: |
32+
cd contracts/feature-tests/basic-features
33+
sc-meta all build
34+
sc-meta all proxy
35+
sc-meta all snippets
36+
sc-meta test
37+
cd ../
38+
sc-meta new --template empty --name windows-template-test-sc

CHANGELOG.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,38 @@ They are:
3232
- `multiversx-sdk-http`
3333
- `multiversx-sdk-dapp`
3434

35+
## [sc 0.57.0, codec 0.22.0, chain 0.14.0, sdk 0.9.0, scenario-format 0.23.1] - 2025-03-11
36+
- Newer compiler support:
37+
- Dropped support for Rust compiler versions older than 1.83.
38+
- Support and optimizations for using Rust 1.85.
39+
- `sc-meta`:
40+
- Windows support.
41+
- Removed the concept of a "main" contract configuration.
42+
- Using `typenum`/`generic-array` instead of const generics/macros for:
43+
- ManagedVec payloads;
44+
- ManagedDecimal const decimals.
45+
- ManagedDecimal - more arithmetic operator implementations for combinations of const + var decimals.
46+
- ManagedVecItem can now be derived for enums with fields.
47+
- Codec and ABI support for bitflags.
48+
- Storage mappers:
49+
- New storage mapper: `TimelockMapper`;
50+
- Renamed source type and object.
51+
- `ESDTTransferRole`:
52+
- Reintroduced role after being accidentally dropped;
53+
- Added a `token_has_transfer_role` method for checking if it is set on a token, as a workaround until Barnard release.
54+
- Unified syntax - result handler for back transfers, which resets previous back transfers (`ReturnsBackTransfersReset`).
55+
- SDK:
56+
- Chain simulator - set state overwrite support;
57+
- `Wallet` `get_shard` method.
58+
- Debugger - improved mandos error messages.
59+
- Dependencies upgraded.
60+
61+
62+
## [sc 0.56.1, chain 0.13.1, sdk 0.8.2] - 2025-02-06
63+
- Allow setting gas for callback for direct transfers.
64+
- NestedEncode for interaction types: TestAddress, TestScAddress and TestTokenIdentifier.
65+
- Bugfix: pretty representation for ManagedAddress when debugging.
66+
- Upgrade dependency: ruplacer.
3567

3668
## [sc 0.56.0, chain 0.13.0, sdk 0.8.1] - 2025-01-23
3769
- Rust VM support for readonly sync calls.

0 commit comments

Comments
 (0)