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

Unified syntax prototype #1255

Merged
merged 14 commits into from
Feb 5, 2024
Merged

Unified syntax prototype #1255

merged 14 commits into from
Feb 5, 2024

Conversation

andrei-marinica
Copy link
Contributor

@andrei-marinica andrei-marinica commented Nov 1, 2023

Unified syntax core ideas: the Tx universal object with its generics, the mechanism for setting sender, recipient, payments, payload, an attempt at callback (likely to be changed), plus a proof of concept for a blackbox test.

This is very preliminary work, everything here is subject to later changes.

@andrei-marinica andrei-marinica changed the base branch from master to rc/v0.44 November 1, 2023 19:18
@andrei-marinica andrei-marinica changed the base branch from rc/v0.44 to deps-cleanup November 5, 2023 00:39
Base automatically changed from deps-cleanup to rc/v0.45 November 6, 2023 14:19
Copy link

github-actions bot commented Nov 10, 2023

Contract comparison - from aab2ab7 to df6d99c

Path                                                                                             size                  has-allocator                     has-format
mx-sdk-rs/contracts/benchmarks
- large-storage/large-storage.wasm 2931 No No
- send-tx-repeat/send-tx-repeat.wasm 904 No No
- str-repeat/str-repeat.wasm 2144 No No
mx-sdk-rs/contracts/benchmarks/mappers
- linked-list-repeat/linked-list-repeat.wasm 7259 No No
- map-repeat/map-repeat.wasm 8120 No No
- queue-repeat/queue-repeat.wasm 6536 No No
- set-repeat/set-repeat.wasm 7964 No No
- single-value-repeat/single-value-repeat.wasm 5113 No No
- vec-repeat/vec-repeat.wasm 5908 No No
mx-sdk-rs/contracts/core
- price-aggregator/multiversx-price-aggregator-sc.wasm 20740 No No
- wegld-swap/multiversx-wegld-swap-sc.wasm 4405 No No
mx-sdk-rs/contracts/examples
- adder/adder.wasm 696 No No
- bonding-curve-contract/bonding-curve-contract.wasm 15812 ➡️ 15876 🔴 No No
- check-pause/check-pause.wasm 1229 No No
- crowdfunding-esdt/crowdfunding-esdt.wasm 3599 No No
- crypto-bubbles/crypto-bubbles.wasm 2361 No No
- crypto-zombies/crypto-zombies.wasm 10941 ➡️ 11052 🔴 No No
- digital-cash/digital-cash.wasm 10876 No No
- empty/empty.wasm 231 No No
- esdt-transfer-with-fee/esdt-transfer-with-fee.wasm 8890 No No
- factorial/factorial.wasm 576 No No
- fractional-nfts/fractional-nfts.wasm 8741 ➡️ 8803 🔴 No No
- lottery-esdt/lottery-esdt.wasm 11433 No No
- multisig
- - multisig.wasm 15315 ➡️ 15390 🔴 No No
- - multisig-full.wasm 17306 ➡️ 17379 🔴 No No
- - multisig-view.wasm 7692 No No
- nft-minter/nft-minter.wasm 10353 ➡️ 10413 🔴 No No
- nft-storage-prepay/nft-storage-prepay.wasm 2299 No No
- nft-subscription/nft-subscription.wasm 8533 ➡️ 8539 🔴 No No
- ping-pong-egld/ping-pong-egld.wasm 6704 No No
- proxy-pause/proxy-pause.wasm 5681 No No
- rewards-distribution/rewards-distribution.wasm 11322 ➡️ 11572 🔴 No No
- seed-nft-minter/seed-nft-minter.wasm 15416 ➡️ 15421 🔴 No No
- token-release/token-release.wasm 8498 No No
mx-sdk-rs/contracts/examples/crypto-kitties
- kitty-auction/kitty-auction.wasm 11066 ➡️ 11206 🔴 No No
- kitty-genetic-alg/kitty-genetic-alg.wasm 3583 No No
- kitty-ownership/kitty-ownership.wasm 14011 ➡️ 14113 🔴 No No
mx-sdk-rs/contracts/examples/order-book
- factory/order-book-factory.wasm 5014 No No
- pair/order-book-pair.wasm 16325 No No
mx-sdk-rs/contracts/feature-tests
- abi-tester
- - abi-tester.wasm 7749 No No
- - abi-tester-ev.wasm 757 No No
- alloc-features/alloc-features.wasm 19530 No Yes
- basic-features
- - basic-features.wasm 61664 ➡️ 61611 🟢 No No
- - basic-features-storage-bytes.wasm 538 No No
- big-float-features/big-float-features.wasm 5154 No No
- esdt-system-sc-mock/esdt-system-sc-mock.wasm 4945 ➡️ 3459 🟢 No No
- formatted-message-features/formatted-message-features.wasm 4430 No No
- managed-map-features/managed-map-features.wasm 1230 No No
- multi-contract-features
- - multi-contract-alt-impl.wasm 360 No No
- - multi-contract-example-feature.wasm 677 No No
- - multi-contract-features.wasm 678 No No
- - multi-contract-features-view.wasm 1115 No No
- panic-message-features/panic-message-features.wasm 3363 No Yes
- payable-features/payable-features.wasm 5112 No No
- rust-snippets-generator-test/rust-snippets-generator-test.wasm 5756 No No
- rust-testing-framework-tester/rust-testing-framework-tester.wasm 8355 No No
- use-module
- - use-module.wasm 33971 ➡️ 33978 🔴 No Yes
- - use-module-view.wasm 733 No No
mx-sdk-rs/contracts/feature-tests/composability
- builtin-func-features/builtin-func-features.wasm 2487 ➡️ 2564 🔴 No No
- forwarder/forwarder.wasm 29825 ➡️ 29981 🔴 No No
- forwarder-queue
- - forwarder-queue.wasm 12006 ➡️ 12070 🔴 No No
- - forwarder-queue-promises.wasm 12952 ➡️ 13015 🔴 No No
- forwarder-raw
- - forwarder-raw.wasm 14990 ➡️ 15036 🔴 No No
- - forwarder-raw-init-async-call.wasm 4466 ➡️ 4528 🔴 No No
- - forwarder-raw-init-sync-call.wasm 4314 No No
- local-esdt-and-nft/local-esdt-and-nft.wasm 12756 ➡️ 11802 🟢 No No
- promises-features/promises-features.wasm 12521 No No
- proxy-test-first/proxy-test-first.wasm 6937 ➡️ 7009 🔴 No No
- proxy-test-second/proxy-test-second.wasm 1945 No No
- recursive-caller/recursive-caller.wasm 6194 ➡️ 6305 🔴 No No
- transfer-role-features/transfer-role-features.wasm 9136 ➡️ 9221 🔴 No No
- vault
- - vault.wasm 7537 ➡️ 7511 🟢 No No
- - vault-promises.wasm 8129 ➡️ 8233 🔴 No No
- - vault-upgrade.wasm 700 No No
mx-sdk-rs/contracts/feature-tests/composability/esdt-contract-pair
- first-contract/first-contract.wasm 2723 No No
- second-contract/second-contract.wasm 1355 No No
mx-sdk-rs/contracts/feature-tests/composability/execute-on-dest-esdt-issue-callback
- child/child.wasm 4921 ➡️ 4996 🔴 No No
- parent/parent.wasm 1858 No No
mx-sdk-rs/contracts/feature-tests/erc-style-contracts
- crowdfunding-erc20/crowdfunding-erc20.wasm 6328 ➡️ 6441 🔴 No No
- erc1155/erc1155.wasm 13052 ➡️ 13158 🔴 No No
- erc1155-marketplace/erc1155-marketplace.wasm 12093 ➡️ 12170 🔴 No No
- erc1155-user-mock/erc1155-user-mock.wasm 1369 No No
- erc20/erc20.wasm 2129 No No
- erc721/erc721.wasm 2459 No No
- lottery-erc20/lottery-erc20.wasm 13593 ➡️ 13711 🔴 No No

Base automatically changed from rc/v0.45 to master November 24, 2023 09:23
@andrei-marinica andrei-marinica changed the title Unified syntax [WIP] Unified syntax prototype Nov 27, 2023
@andrei-marinica andrei-marinica marked this pull request as ready for review November 27, 2023 16:35
@andrei-marinica andrei-marinica changed the base branch from master to feat/unified November 27, 2023 16:35
@andrei-marinica andrei-marinica merged commit 6dd65e4 into feat/unified Feb 5, 2024
7 checks passed
@andrei-marinica andrei-marinica deleted the unified branch February 5, 2024 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants