Skip to content

Commit

Permalink
Merge pull request #1415 from multiversx/feat/unified
Browse files Browse the repository at this point in the history
feat: unified syntax
  • Loading branch information
andrei-marinica authored May 7, 2024
2 parents 25bc450 + a88159f commit 5929064
Show file tree
Hide file tree
Showing 944 changed files with 30,203 additions and 7,715 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
# The root Cargo.lock is kept for dependabot.
contracts/**/Cargo.lock
!contracts/**/wasm*/Cargo.lock
contracts/**/output*/
data/**/Cargo.lock
framework/**/Cargo.lock
sdk/**/Cargo.lock
Expand Down
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,29 @@ They are:
- `multiversx-chain-scenario-format`, in short `scenario-format`, scenario JSON serializer/deserializer, 1 crate.
- `multiversx-sdk`, in short `sdk`, allows communication with the chain(s), 1 crate.


## [sc 0.48.1, codec 0.18.7] - 2024-04-30
- Simplified decoding of small numbers (i64/u64).
- Manual reset of the `StaticApi`, in order to free memory for long-running tasks.

## [sc 0.49.0-alpha.4, sdk 0.4.0-alpha.4] - 2024-04-23
Fourth pre-release, contains many interactor improvements, including improved tx polling.

## [sc 0.49.0-alpha.3] - 2024-04-13
Third pre-release of the unified syntax, includes backwards compatibility fixes and testing set state/check state.

## [sc 0.49.0-alpha.2] - 2024-04-09
Second pre-release of the unified syntax. Most features done, including fully featured interactors.
Still missing: set state/check state in tests.

## [sc 0.48.0] - 2024-04-09
- When serializing to a managed buffer, static buffer caching is disabled by default.
- `sc-meta:` - installers for wasm32 target and wasm-opt.
- Integrated traits for token management: `FixedSupplyToken`, `Mergeable`.

## [sc 0.48.0-alpha.1] - 2024-03-27 (actually alpha release of 0.49.0)
First pre-release of the unified syntax. Syntax not yet stabilized, should only be used for experimenting with various smart contracts.

## [sc 0.47.8] - 2024-03-22
- Test coverage functionality in sc-meta.
- Removed deprecation from legacy whitebox testing framework, since it is still used extensively.
Expand Down
58 changes: 45 additions & 13 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 6 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ members = [
"contracts/feature-tests/composability/execute-on-dest-esdt-issue-callback/child/meta",
"contracts/feature-tests/composability/forwarder",
"contracts/feature-tests/composability/forwarder/meta",
"contracts/feature-tests/composability/forwarder-legacy",
"contracts/feature-tests/composability/forwarder-legacy/meta",
"contracts/feature-tests/composability/forwarder-queue",
"contracts/feature-tests/composability/forwarder-queue/meta",
"contracts/feature-tests/composability/forwarder-raw",
Expand Down Expand Up @@ -159,6 +161,8 @@ members = [
"contracts/feature-tests/erc-style-contracts/lottery-erc20/meta",
"contracts/feature-tests/esdt-system-sc-mock",
"contracts/feature-tests/esdt-system-sc-mock/meta",
"contracts/feature-tests/exchange-features",
"contracts/feature-tests/exchange-features/meta",
"contracts/feature-tests/formatted-message-features",
"contracts/feature-tests/formatted-message-features/meta",
"contracts/feature-tests/managed-map-features",
Expand All @@ -173,9 +177,8 @@ members = [
"contracts/feature-tests/rust-snippets-generator-test/meta",
"contracts/feature-tests/rust-testing-framework-tester",
"contracts/feature-tests/rust-testing-framework-tester/meta",
"contracts/feature-tests/scenario-tester",
"contracts/feature-tests/scenario-tester/meta",
"contracts/feature-tests/use-module",
"contracts/feature-tests/use-module/meta",
"contracts/feature-tests/exchange-features",
"contracts/feature-tests/exchange-features/meta",

]
4 changes: 2 additions & 2 deletions contracts/benchmarks/large-storage/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ publish = false
path = "src/large_storage.rs"

[dependencies.multiversx-sc]
version = "0.48.1"
version = "0.49.0-alpha.4"
path = "../../../framework/base"

[dev-dependencies.multiversx-sc-scenario]
version = "0.48.1"
version = "0.49.0-alpha.4"
path = "../../../framework/scenario"
2 changes: 1 addition & 1 deletion contracts/benchmarks/large-storage/meta/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ publish = false
path = ".."

[dependencies.multiversx-sc-meta]
version = "0.48.1"
version = "0.49.0-alpha.4"
path = "../../../../framework/meta"
default-features = false
6 changes: 3 additions & 3 deletions contracts/benchmarks/large-storage/wasm/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion contracts/benchmarks/large-storage/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ overflow-checks = false
path = ".."

[dependencies.multiversx-sc-wasm-adapter]
version = "0.48.1"
version = "0.49.0-alpha.4"
path = "../../../../framework/wasm-adapter"

[workspace]
Expand Down
4 changes: 2 additions & 2 deletions contracts/benchmarks/mappers/benchmark-common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ publish = false
path = "src/lib.rs"

[dependencies.multiversx-sc]
version = "0.48.1"
version = "0.49.0-alpha.4"
path = "../../../../framework/base"

[dev-dependencies.multiversx-sc-scenario]
version = "0.48.1"
version = "0.49.0-alpha.4"
path = "../../../../framework/scenario"
4 changes: 2 additions & 2 deletions contracts/benchmarks/mappers/linked-list-repeat/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ path = "../benchmark-common"


[dependencies.multiversx-sc]
version = "0.48.1"
version = "0.49.0-alpha.4"
path = "../../../../framework/base"

[dev-dependencies.multiversx-sc-scenario]
version = "0.48.1"
version = "0.49.0-alpha.4"
path = "../../../../framework/scenario"
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ publish = false
path = ".."

[dependencies.multiversx-sc-meta]
version = "0.48.1"
version = "0.49.0-alpha.4"
path = "../../../../../framework/meta"
default-features = false
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#![allow(deprecated)] // TODO: unified syntax

use benchmark_common::ExampleStruct;
use linked_list_repeat::ProxyTrait;
use multiversx_sc::types::{MultiValueEncoded, TokenIdentifier};
use multiversx_sc_scenario::{api::StaticApi, scenario_model::*, *};
use multiversx_sc_scenario::imports::*;

const WASM_PATH_EXPR: &str = "mxsc:output/linked-list-repeat.mxsc.json";

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ overflow-checks = false
path = ".."

[dependencies.multiversx-sc-wasm-adapter]
version = "0.48.1"
version = "0.49.0-alpha.4"
path = "../../../../../framework/wasm-adapter"

[workspace]
Expand Down
Loading

0 comments on commit 5929064

Please sign in to comment.