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

Merge master -> feat/symbolic #1667

Merged
merged 112 commits into from
May 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
112 commits
Select commit Hold shift + click to select a range
29078f1
unified syntas - added inlines
andrei-marinica Apr 15, 2024
d94ae8f
unified syntax - inlines & code deduplication
andrei-marinica Apr 16, 2024
95db7a2
migration of sc-meta all snippets to unified
mihaicalinluca May 8, 2024
b9c36b1
fixed new lints
andrei-marinica May 9, 2024
0717152
Stable Rust: GitHub Actions & toolchain
andrei-marinica May 9, 2024
294261d
disable contract size report on nightly actions
laurci May 10, 2024
b3ebe61
disable contract size report on nightly actions
laurci May 10, 2024
8d8abb1
disable contract size report on nightly actions
laurci May 10, 2024
1e6a8e6
disable contract size report on nightly actions
laurci May 10, 2024
2fbe6ba
ReturnsResultUnmanaged for query and call functions
mihaicalinluca May 12, 2024
747afd5
use stable version of sc-actions
laurci May 13, 2024
8d0715a
implement from conversion for MultiValueN
BiancaIalangi May 13, 2024
8bbca64
clippy fix - unknown_lints
andrei-marinica May 13, 2024
526d319
Merge pull request #1616 from multiversx/stable-toolchain
andrei-marinica May 13, 2024
6da405b
clipply fix
andrei-marinica May 13, 2024
93f53ad
rustfmt.toml fix
andrei-marinica May 13, 2024
1b6ab0d
cargo update
andrei-marinica May 13, 2024
c8b5323
typo in type_name_rust
andrei-marinica May 13, 2024
17553e0
composability interact migration
mihaicalinluca May 13, 2024
2e62417
Merge branch 'master' into composability-interact
mihaicalinluca May 13, 2024
c1299d0
add changes from review - unmanaged type
BiancaIalangi May 13, 2024
de13520
Merge branch 'master' into type-abi-from-multivaluen
BiancaIalangi May 13, 2024
863cc34
Merge pull request #1625 from multiversx/type-abi-from-multivaluen
andrei-marinica May 14, 2024
b0cb594
Merge branch 'master' into new-clippy
andrei-marinica May 14, 2024
3ffec5c
Merge pull request #1626 from multiversx/new-clippy
andrei-marinica May 14, 2024
62365e5
Merge branch 'master' into composability-interact
mihaicalinluca May 14, 2024
d565af1
Merge branch 'master' into unified-shrink
andrei-marinica May 14, 2024
25acc26
Merge pull request #1565 from multiversx/unified-shrink
andrei-marinica May 14, 2024
bdefe36
sc-config proxy - add variant
BiancaIalangi May 14, 2024
99d7d4e
sc-config proxy - add contract_abi in proxy generator structure and a…
BiancaIalangi May 15, 2024
62658b6
Merge branch 'master' into proxy-config-variant
BiancaIalangi May 15, 2024
29304aa
fixed memory leak on boxed bytes
gfusee May 15, 2024
0a20676
Merge pull request #1628 from multiversx/proxy-config-variant
andrei-marinica May 15, 2024
faf4fea
Merge branch 'master' into hotfix/boxed_bytes_leak
andrei-marinica May 15, 2024
35f4b6f
Merge pull request #1629 from gfusee/hotfix/boxed_bytes_leak
andrei-marinica May 15, 2024
ad178ce
ManagedVecItem - larger payloads
andrei-marinica May 15, 2024
eb291be
ManagedVecItem - payload macro generator tool
andrei-marinica May 15, 2024
92d8d82
Merge pull request #1630 from multiversx/mvi-large
BiancaIalangi May 15, 2024
16cb49f
Merge branch 'master' into sc-meta-snippets
andrei-marinica May 15, 2024
d4fe93a
Merge pull request #1613 from multiversx/sc-meta-snippets
andrei-marinica May 16, 2024
1c955a8
sc 0.50.1
andrei-marinica May 16, 2024
2ea77b9
Cargo.lock upgrade
andrei-marinica May 16, 2024
7c30447
Merge pull request #1631 from multiversx/release-50-1
andrei-marinica May 16, 2024
122e383
removed jitter from interact transaction fetch
mihaicalinluca May 16, 2024
0165a32
fixed sc config auto overwrite issue, fixed proxy gen not happening i…
mihaicalinluca May 17, 2024
40fceec
upgrade to unified syntax
BiancaIalangi May 17, 2024
bbbc23d
merge origin/master
mihaicalinluca May 17, 2024
0a024a9
add missing explicit gas limit
mihaicalinluca May 20, 2024
ed42bb3
update forgotten dependency
mihaicalinluca May 20, 2024
bed7468
Merge pull request #1632 from multiversx/interactor-no-rand
mihaicalinluca May 20, 2024
66f50e9
Merge branch 'master' into composability-interact
mihaicalinluca May 20, 2024
16f4a5b
Merge branch 'master' into sc-meta-snippets-fixes
mihaicalinluca May 20, 2024
05d7a44
Merge branch 'master' into transfer-role-unified
BiancaIalangi May 20, 2024
5a41da5
Merge pull request #1627 from multiversx/composability-interact
andrei-marinica May 20, 2024
bef1623
Merge branch 'master' into transfer-role-unified
andrei-marinica May 20, 2024
d2a30ba
Merge pull request #1634 from multiversx/transfer-role-unified
andrei-marinica May 20, 2024
bbbf77e
TypeAbi Unmanaged, removed trait bound, more impls
andrei-marinica May 20, 2024
c2c05f3
cargo fmt
andrei-marinica May 20, 2024
cc41380
build fix
andrei-marinica May 20, 2024
1874e76
Merge branch 'master' into sc-meta-snippets-fixes
mihaicalinluca May 20, 2024
fa616d3
Merge pull request #1635 from multiversx/unmanaged-fix
andrei-marinica May 20, 2024
1e30e7d
unified syntax - interactor env rename
andrei-marinica May 20, 2024
f1dc57e
cargo fmt
andrei-marinica May 20, 2024
312c161
Merge pull request #1636 from multiversx/interactor-env-rename
andrei-marinica May 20, 2024
edc446f
implemented Clone for Egld when possible
gfusee May 20, 2024
828b155
Merge pull request #1638 from gfusee/feature/egld_struct_clone
andrei-marinica May 21, 2024
3085774
Removed set_current_dir_from_workspace from tests
andrei-marinica May 22, 2024
34a3f2a
added tests for unordered set mapper read from address
mihaicalinluca May 22, 2024
1ec2ff4
Deprecated set_current_dir_from_workspace
andrei-marinica May 22, 2024
9872070
Merge pull request #1640 from multiversx/unordered-mapper-from-addres…
mihaicalinluca May 22, 2024
6623019
Merge branch 'master' into remove-set-current-dir
andrei-marinica May 22, 2024
27635af
Merge pull request #1639 from multiversx/remove-set-current-dir
andrei-marinica May 22, 2024
0f9e252
Crypto Zombies renames & small fixes
alyn509 May 23, 2024
804e72d
impl upgrade in scenario env
mihaicalinluca May 23, 2024
6ed9826
sc-meta all proxy --compare impl
mihaicalinluca May 23, 2024
539a5e0
Merge pull request #1643 from multiversx/sc-meta-compare-signed
andrei-marinica May 23, 2024
54502a4
Merge branch 'master' into upgrade-in-tests
andrei-marinica May 23, 2024
dbee715
Merge pull request #1642 from multiversx/upgrade-in-tests
andrei-marinica May 23, 2024
cce72df
Merge branch 'master' into renames-crypto-zombies
andrei-marinica May 23, 2024
fa76fc9
proxy update
andrei-marinica May 23, 2024
a4eab37
Merge pull request #1641 from multiversx/renames-crypto-zombies
andrei-marinica May 23, 2024
759b41f
renamed files in forwarder & forwarder-legacy
andrei-marinica May 23, 2024
b57b45c
renamed filed in promises-features
andrei-marinica May 23, 2024
23f4129
fmt
andrei-marinica May 23, 2024
08ac2fa
Merge pull request #1645 from multiversx/rename-fwd-files
andrei-marinica May 23, 2024
c6095a1
cleanup
andrei-marinica May 22, 2024
9ea13d5
unified syntax - diagnostic::on_unimplemented
andrei-marinica May 23, 2024
734c797
github action - update nightly
andrei-marinica May 23, 2024
75b312b
warn fix
andrei-marinica May 23, 2024
099e888
unified syntax - register_promise unsafe warning trick
andrei-marinica May 23, 2024
bf7db0b
Merge pull request #1644 from multiversx/diagnostics-on-unimplemented
andrei-marinica May 24, 2024
d487d62
deprecated legacy methods async_call and async_call_promise
andrei-marinica May 23, 2024
4570ca2
fmt
andrei-marinica May 24, 2024
3752387
Merge pull request #1646 from multiversx/deprecate-async-call
andrei-marinica May 24, 2024
8b88f82
Merge branch 'master' into sc-meta-snippets-fixes
andrei-marinica May 24, 2024
128d2d4
Merge pull request #1633 from multiversx/sc-meta-snippets-fixes
andrei-marinica May 24, 2024
4cc7be8
sc 0.50.2
andrei-marinica May 24, 2024
f26c854
Cargo.lock update
andrei-marinica May 24, 2024
fa37055
removed hardcoded version in snippets
mihaicalinluca May 24, 2024
bf227f3
merge origin/master
mihaicalinluca May 24, 2024
33c9748
unified llr
BiancaIalangi May 24, 2024
4b34c45
Merge pull request #1647 from multiversx/release-50-2
andrei-marinica May 24, 2024
dff1218
dependency fix/update
andrei-marinica May 25, 2024
8fab5c1
sc 0.50.3
andrei-marinica May 25, 2024
5db5e25
Cargo.lock update
andrei-marinica May 25, 2024
c2aab74
Merge pull request #1651 from multiversx/release-50-3
andrei-marinica May 27, 2024
40ae22a
Merge branch 'master' into llr-unified
andrei-marinica May 27, 2024
18b63e6
Merge pull request #1649 from multiversx/llr-unified
andrei-marinica May 27, 2024
33aa4e3
Merge branch 'master' into snippets-version
andrei-marinica May 27, 2024
866428a
snippet gen version fix
andrei-marinica May 27, 2024
a9f22d0
Merge pull request #1648 from multiversx/snippets-version
andrei-marinica May 27, 2024
bf89a20
Merge branch 'master' into feat/symbolic
andrei-marinica May 31, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
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/[email protected]
with:
rust-toolchain: nightly-2024-05-22
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/[email protected]
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/[email protected]
Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/proxy-compare.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: CI

on:
push:
branches:
- master
pull_request:

jobs:
proxy_compare:
name: Proxy compare - newly generated vs present in file tree
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Install rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
default: true
toolchain: stable
target: wasm32-unknown-unknown

- name: Install prerequisites
run: |
cargo install --path framework/meta

- name: Run proxy compare
run: |
cd contracts
sc-meta all proxy --compare
2 changes: 1 addition & 1 deletion .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
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
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,27 @@ 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.3] - 2024-05-25
- Dependency update and fix. There was an issue with the `zip` dependency in sc-meta.

## [sc 0.50.2] - 2024-05-24
- Unified transaction syntax:
- Better compilation error messages for malformed transactions;
- Deprecated methods `async_call` and `async_call_promises`, which are kept for backwards compatibility, but causing confusion among developers;
- Contract upgrade available in tests.
- `sc-meta` proxy compare option, which checks that proxies are up to date. Useful for CI.
- `TypeAbi` - removed `Unmanaged` associated type trait bounds, and implemented it for more types.
- Removed jitter from interactor transaction fetch.
- Fixed an issue in the snippets generator.

## [sc 0.50.1] - 2024-05-16
- `sc-meta all snippets` generates unified syntax.
- Proxy generator can reference multi-contract variant.
- Fixes:
- `BoxedBytes` - fixed memory leak.
- `ManagedVecItem` - allowing larger payloads (up to 128 bytes).

## [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.
Expand Down
Loading
Loading