Skip to content

Commit

Permalink
Merge branch 'master' into unified-shrink
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-marinica committed May 14, 2024
2 parents d94ae8f + 3ffec5c commit d565af1
Show file tree
Hide file tree
Showing 892 changed files with 18,338 additions and 9,633 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/actions-nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: CI

on:
push:
branches:
- master
pull_request:
workflow_dispatch:

permissions:
checks: write
pull-requests: write

jobs:
contracts:
name: Contracts (nightly)
uses: multiversx/mx-sc-actions/.github/workflows/contracts.yml@v3.2.0
with:
rust-toolchain: nightly-2023-12-11
path-to-sc-meta: framework/meta
enable-contracts-size-report: false
mx-scenario-go-version: v2.1.0-alpha
coverage-args: --ignore-filename-regex='meta/src' --ignore-filename-regex='wasm-adapter' --ignore-filename-regex='benchmarks/' --ignore-filename-regex='tests/' --output ./coverage.md
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
name: Contracts
uses: multiversx/mx-sc-actions/.github/workflows/contracts.yml@v3.1.0
with:
rust-toolchain: nightly-2023-12-11
rust-toolchain: stable
path-to-sc-meta: framework/meta
mx-scenario-go-version: v2.1.0-alpha
coverage-args: --ignore-filename-regex='meta/src' --ignore-filename-regex='wasm-adapter' --ignore-filename-regex='benchmarks/' --ignore-filename-regex='tests/' --output ./coverage.md
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lldb-formatter-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
default: true
toolchain: nightly-2023-12-11
toolchain: stable

- name: Download vscode-lldb
uses: robinraju/release-downloader@v1.5
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/release-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
default: true
toolchain: nightly-2023-12-11
toolchain: stable
target: wasm32-unknown-unknown

- name: Setup the PATH variable
Expand Down Expand Up @@ -54,4 +54,3 @@ jobs:
file: ./examples-wasm.zip
asset_name: examples-wasm.zip
overwrite: true
body: "This is my release text"
2 changes: 1 addition & 1 deletion .github/workflows/template-test-current.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
default: true
toolchain: nightly-2023-12-11
toolchain: stable
target: wasm32-unknown-unknown

- name: Install prerequisites
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/template-test-released.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
default: true
toolchain: nightly-2023-12-11
toolchain: stable
target: wasm32-unknown-unknown

- name: Install prerequisites
Expand Down
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
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,30 @@ 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.50.0, codec 0.19.0, vm 0.8.4, sdk 0.4.1] - 2024-05-10
- Framework now runs on **stable** Rust. All unstable features were removed. The most important changes enabling this:
- `CodecFrom` completely removed, `TypeAbiFrom` was used instead since 0.49.0.
- `ManagedVecItem` payload redesigned.
- Contract panic message mechanism improved.
- Unified syntax:
- `NotPayable` marker type in proxies, which prevents callers to add payment to a non-payable endpoint.

## [sc 0.49.0, codec 0.18.8, sdk 0.4.0] - 2024-05-07
- Unified transaction syntax
- new syntax for sending transactions from contracts
- new syntax for integration tests: tx, set state, check state, etc.
- new syntax for interactors
- new proxies, generated from sc-meta
- support for upgrade in new proxies
- Improved interactor tx result polling performance.

## [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.

Expand Down
Loading

0 comments on commit d565af1

Please sign in to comment.