Skip to content

Commit 72dee34

Browse files
Merge branch master into feat/mdrop
2 parents 5746824 + 3c74a99 commit 72dee34

File tree

496 files changed

+18323
-2678
lines changed

Some content is hidden

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

496 files changed

+18323
-2678
lines changed

.claude.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Claude Guidelines for mx-sdk-rs
2+
3+
## Auto-Generated Files — Do Not Edit
4+
5+
Never modify files that begin with `// Code generated`. These are auto-generated by the build system and will be overwritten.
6+
7+
This applies especially to:
8+
9+
- **Proxy files** (`*_proxy.rs`) — generated with: `sc-meta all proxy`
10+
- **Wasm crate contents** (`*/wasm/src/lib.rs`, `*/wasm/Cargo.toml`) — generated by the multiversx-sc build system, with: `sc-meta all build`
11+
12+
If a change is needed in an auto-generated file, modify the source it is generated from (e.g. the smart contract trait or `sc-config.toml`) and regenerate:

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,13 @@ contracts/**/output*/
1313
data/**/Cargo.lock
1414
framework/**/Cargo.lock
1515
sdk/**/Cargo.lock
16-
tools/**/Cargo.lock
1716
vm/**/Cargo.lock
1817
chain/wasmer-prod/Cargo.lock
1918

19+
# Their own workspaces, need their Cargo.lock
20+
!contracts/feature-tests/gas-tests/Cargo.lock
21+
!chain/wasmer-prod/Cargo.lock
22+
2023
# Coverage outputs
2124
*.profraw
2225
*.profdata
@@ -37,6 +40,7 @@ my-vm-tests.sh
3740
quick.sh
3841
template-test
3942
install-debugger-test
43+
.DS_Store
4044

4145
# Zip output with example wasm binaries
4246
examples-wasm.zip

CHANGELOG.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,26 @@ And crate group being released requires all crate groups downstream to be releas
5757

5858
## Version history
5959

60+
### [sc 0.65.1, chain 0.22.1, sdk 0.15.1] - 2026-03-25
61+
- `sc-meta` improvements:
62+
- `sc-meta wallet new --shard <id>` flag: generates a new wallet whose address belongs to the given shard;
63+
- `sc-meta all proxy`
64+
- Better crate path handling;
65+
- `--verbose` flag: prints each proxy file path as it is generated.
66+
- `sc-meta test-gen` generates `.insert_ghost_accounts()` call in test setup (only used in internal tests).
67+
- SDK:
68+
- Accept trailing slash in gateway URL (automatically normalized);
69+
- Fixed a transaction decode issue in `sdk/core`;
70+
- Test wallets provided for each shard, including a function that returns the wallet for that `ShardId`.
71+
- Chain core: new `ShardId` type and `ShardConfig` infrastructure:
72+
- `ShardId` represents a shard identifier, with special values for metachain;
73+
- `ShardConfig` encodes the shard structure of the network (number of shards, address distribution);
74+
- Functionality to get the shard of an `Address`;
75+
- Utility for checking whether an address is of a system SC.
76+
- Base framework improvements:
77+
- `ManagedArgBuffer` implements `ManagedVecItem`.
78+
- `Display` trait implemented by `BigInt`, `BigUint`, `NonZeroBigUint`, `Payment` and `EsdtTokenPayment`.
79+
6080

6181
### [sc 0.65.0, codec 0.25.0, chain 0.22.0, sdk 0.15.0, scenario-format 0.26.0] - 2026-02-27
6282
- VM:
@@ -871,7 +891,7 @@ First pre-release of the unified syntax. Syntax not yet stabilized, should only
871891
- build post-processing: `wasm2wat`, imports via `wasm-objdump`.
872892
- Support for the new async call system (promises):
873893
- new APIs;
874-
- a new flavor of callbacks (`#[promises-callback]`);
894+
- a new flavor of callbacks (`#[promises_callback]`);
875895
- callback optimizations.
876896
- `elrond-codec` refactor: removed `TopEncodeNoErr`, `NestedEncodeNoErr` and `TypeInfo`
877897
- System SC proxy: added support for `controlChanges` endpoint and transfer create role (from community).

Cargo.lock

Lines changed: 59 additions & 45 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ members = [
126126
"contracts/feature-tests/big-float-features",
127127
"contracts/feature-tests/big-float-features/meta",
128128
"contracts/feature-tests/composability",
129-
"contracts/feature-tests/composability/interact",
130129
"contracts/feature-tests/composability/builtin-func-features",
131130
"contracts/feature-tests/composability/builtin-func-features/meta",
132131
"contracts/feature-tests/composability/esdt-contract-pair",
@@ -143,14 +142,16 @@ members = [
143142
"contracts/feature-tests/composability/forwarder-interactor",
144143
"contracts/feature-tests/composability/forwarder-legacy",
145144
"contracts/feature-tests/composability/forwarder-legacy/meta",
146-
"contracts/feature-tests/composability/forwarder-queue",
147-
"contracts/feature-tests/composability/forwarder-queue/meta",
148145
"contracts/feature-tests/composability/forwarder-blind",
149146
"contracts/feature-tests/composability/forwarder-blind/meta",
147+
"contracts/feature-tests/composability/forwarder-blind/dex-interactor",
150148
"contracts/feature-tests/composability/forwarder-raw",
151149
"contracts/feature-tests/composability/forwarder-raw/meta",
152150
"contracts/feature-tests/composability/local-esdt-and-nft",
153151
"contracts/feature-tests/composability/local-esdt-and-nft/meta",
152+
"contracts/feature-tests/composability/mesh-interactor",
153+
"contracts/feature-tests/composability/mesh-node",
154+
"contracts/feature-tests/composability/mesh-node/meta",
154155
"contracts/feature-tests/composability/proxy-test-first",
155156
"contracts/feature-tests/composability/proxy-test-first/meta",
156157
"contracts/feature-tests/composability/proxy-test-second",

chain/core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "multiversx-chain-core"
3-
version = "0.22.0"
3+
version = "0.22.1"
44
edition = "2024"
55

66
authors = [

chain/core/src/types.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ mod h256;
77
mod heap_address;
88
mod heap_h256;
99
mod shard_config;
10+
mod shard_id;
1011
mod time;
1112

1213
pub use address::Address;
@@ -17,5 +18,6 @@ pub use flags::*;
1718
pub use h256::H256;
1819
pub use heap_address::HeapAddress;
1920
pub use heap_h256::HeapH256;
20-
pub use shard_config::{ShardConfig, ShardId};
21+
pub use shard_config::ShardConfig;
22+
pub use shard_id::ShardId;
2123
pub use time::*;

0 commit comments

Comments
 (0)