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

Cii 49 create common transaction #192

Closed
wants to merge 262 commits into from

Conversation

evelinemolnar
Copy link
Contributor

No description provided.

CostinCarabas and others added 30 commits August 14, 2023 00:29
Allow MultiversX SC Calls via Bridge
# Conflicts:
#	bridged-tokens-wrapper/Cargo.toml
#	bridged-tokens-wrapper/meta/Cargo.toml
#	bridged-tokens-wrapper/wasm/Cargo.lock
#	bridged-tokens-wrapper/wasm/Cargo.toml
#	bridged-tokens-wrapper/wasm/src/lib.rs
#	common/eth-address/Cargo.toml
#	common/fee-estimator-module/Cargo.toml
#	common/max-bridged-amount-module/Cargo.toml
#	common/token-module/Cargo.toml
#	common/transaction/Cargo.toml
#	common/tx-batch-module/Cargo.toml
#	esdt-safe/Cargo.toml
#	esdt-safe/meta/Cargo.toml
#	esdt-safe/wasm/Cargo.toml
#	esdt-safe/wasm/src/lib.rs
#	multi-transfer-esdt/Cargo.toml
#	multi-transfer-esdt/meta/Cargo.toml
#	multi-transfer-esdt/wasm/Cargo.lock
#	multi-transfer-esdt/wasm/Cargo.toml
#	multi-transfer-esdt/wasm/src/lib.rs
#	multisig/Cargo.toml
#	multisig/meta/Cargo.toml
#	multisig/wasm/Cargo.lock
#	multisig/wasm/Cargo.toml
#	multisig/wasm/src/lib.rs
…urn-or-locking

# Conflicts:
#	bridged-tokens-wrapper/Cargo.toml
#	bridged-tokens-wrapper/meta/Cargo.toml
#	bridged-tokens-wrapper/wasm/Cargo.lock
#	bridged-tokens-wrapper/wasm/Cargo.toml
#	common/eth-address/Cargo.toml
#	common/fee-estimator-module/Cargo.toml
#	common/max-bridged-amount-module/Cargo.toml
#	common/token-module/Cargo.toml
#	common/transaction/Cargo.toml
#	common/tx-batch-module/Cargo.toml
#	esdt-safe/Cargo.toml
#	esdt-safe/meta/Cargo.toml
#	esdt-safe/wasm/Cargo.toml
#	esdt-safe/wasm/src/lib.rs
#	multi-transfer-esdt/Cargo.toml
#	multi-transfer-esdt/meta/Cargo.toml
#	multi-transfer-esdt/wasm/Cargo.lock
#	multi-transfer-esdt/wasm/Cargo.toml
#	multi-transfer-esdt/wasm/src/lib.rs
#	multisig/Cargo.toml
#	multisig/meta/Cargo.toml
#	multisig/wasm/Cargo.lock
#	multisig/wasm/Cargo.toml
#	multisig/wasm/src/lib.rs
CostinCarabas and others added 26 commits August 9, 2024 18:14
If too many or too few arguments, handle error
Handle wrong call_data and finish execute gracefully
batch_transfer_esdt_token manual eth tx decode
…ets-update

add pause unpause proxy & snippets update
…-of-managedvec

Use MultiValueEncoded instead of ManagedVec
multisig: propose now receives a MultiValueEncoded<EthTxAsMultiValue>
Copy link

Coverage Summary

Totals

Count Covered %
Lines 8388 3864 46.07
Regions 1453 699 48.11
Functions 811 352 43.40
Instantiations 4520 971 21.48

Files

Expand
File Lines Regions Functions Instantiations
/home/runner/.cargo/git/checkouts/mx-contracts-rs-13011bd47afef959/d91bbff/contracts/crowdfunding-esdt/src/crowdfunding_esdt.rs 51.56% 57.14% 77.78% 64.00%
/home/runner/.cargo/git/checkouts/mx-contracts-rs-13011bd47afef959/d91bbff/contracts/crowdfunding-esdt/src/crowdfunding_esdt_proxy.rs 100.00% 100.00% 100.00% 100.00%
/bridge-proxy/meta/src/main.rs 0.00% 0.00% 0.00% 0.00%
/bridge-proxy/src/bridge-proxy.rs 54.17% 59.57% 60.00% 21.56%
/bridge-proxy/src/bridge_proxy_contract_proxy.rs 53.85% 50.00% 50.00% 50.00%
/bridge-proxy/src/bridged_tokens_wrapper.rs 0.00% 0.00% 0.00% 0.00%
/bridge-proxy/src/bridged_tokens_wrapper_proxy.rs 27.04% 27.27% 27.27% 21.43%
/bridge-proxy/src/config.rs 89.47% 72.73% 100.00% 26.04%
/bridge-proxy/tests/bridge_proxy_blackbox_test.rs 96.43% 88.89% 88.89% 88.89%
/bridged-tokens-wrapper/meta/src/main.rs 0.00% 0.00% 0.00% 0.00%
/bridged-tokens-wrapper/src/dfp_big_uint.rs 100.00% 100.00% 100.00% 20.00%
/bridged-tokens-wrapper/src/esdt_safe_proxy.rs 0.00% 0.00% 0.00% 0.00%
/bridged-tokens-wrapper/src/events.rs 0.00% 0.00% 0.00% 0.00%
/bridged-tokens-wrapper/src/lib.rs 33.16% 44.90% 45.00% 12.59%
/bridged-tokens-wrapper/tests/dfp_big_uint_test.rs 100.00% 100.00% 100.00% 100.00%
/bridged-tokens-wrapper/tests/scenario_go_test.rs 100.00% 100.00% 100.00% 100.00%
/common/eth-address/src/lib.rs 57.14% 58.82% 75.00% 44.32%
/common/fee-estimator-module/src/lib.rs 95.12% 87.50% 90.00% 17.24%
/common/fee-estimator-module/src/price_aggregator_proxy.rs 6.14% 4.76% 6.67% 5.26%
/common/max-bridged-amount-module/src/lib.rs 100.00% 87.50% 100.00% 14.56%
/common/token-module/src/lib.rs 77.94% 70.15% 77.78% 20.56%
/common/transaction/src/lib.rs 44.00% 43.75% 57.14% 21.30%
/common/transaction/src/transaction_status.rs 83.33% 66.67% 83.33% 29.79%
/common/tx-batch-module/src/batch_status.rs 33.33% 25.00% 33.33% 7.14%
/common/tx-batch-module/src/lib.rs 81.25% 72.60% 87.50% 17.89%
/common/tx-batch-module/src/tx_batch_mapper.rs 92.54% 89.66% 100.00% 32.50%
/esdt-safe/meta/src/main.rs 0.00% 0.00% 0.00% 0.00%
/esdt-safe/src/lib.rs 48.91% 38.76% 62.07% 17.98%
/esdt-safe/tests/esdt_safe_scenario_rs_test.rs 100.00% 100.00% 100.00% 100.00%
/esdt-safe/tests/scenario_go_test.rs 100.00% 100.00% 100.00% 100.00%
/multi-transfer-esdt/meta/src/main.rs 0.00% 0.00% 0.00% 0.00%
/multi-transfer-esdt/src/bridge_proxy_contract_proxy.rs 10.77% 14.29% 14.29% 18.18%
/multi-transfer-esdt/src/bridged_tokens_wrapper_proxy.rs 11.16% 18.18% 18.18% 31.58%
/multi-transfer-esdt/src/esdt_safe_proxy.rs 14.81% 13.04% 13.04% 14.29%
/multi-transfer-esdt/src/lib.rs 66.67% 67.31% 76.92% 28.43%
/multi-transfer-esdt/src/multi_transfer_proxy.rs 37.32% 38.10% 38.10% 40.00%
/multi-transfer-esdt/tests/multi_transfer_blackbox_test.rs 100.00% 100.00% 100.00% 100.00%
/multi-transfer-esdt/tests/multi_transfer_esdt_scenario_rs_test.rs 57.14% 30.00% 30.00% 30.00%
/multi-transfer-esdt/tests/scenario_go_test.rs 30.00% 30.00% 30.00% 30.00%
/multisig/meta/src/main.rs 0.00% 0.00% 0.00% 0.00%
/multisig/src/action.rs 25.00% 22.22% 33.33% 30.77%
/multisig/src/bridge_proxy_contract_proxy.rs 0.00% 0.00% 0.00% 0.00%
/multisig/src/esdt_safe_proxy.rs 26.30% 23.91% 23.91% 13.79%
/multisig/src/events.rs 100.00% 66.67% 100.00% 14.29%
/multisig/src/lib.rs 77.78% 75.00% 87.50% 32.50%
/multisig/src/multi_transfer_esdt_proxy.rs 20.10% 23.81% 23.81% 14.63%
/multisig/src/multisig_general.rs 80.00% 65.38% 75.00% 30.77%
/multisig/src/multisig_proxy.rs 16.95% 13.04% 15.19% 14.74%
/multisig/src/queries.rs 64.52% 61.76% 57.89% 15.79%
/multisig/src/setup.rs 28.03% 34.09% 27.59% 7.49%
/multisig/src/storage.rs 100.00% 66.67% 100.00% 27.41%
/multisig/src/user_role.rs 83.33% 72.73% 75.00% 41.67%
/multisig/src/util.rs 94.44% 84.38% 100.00% 44.12%
/multisig/tests/multisig_blackbox_test.rs 100.00% 100.00% 100.00% 100.00%
/multisig/tests/multisig_scenario_rs_test.rs 82.69% 72.73% 72.73% 72.73%
/multisig/tests/scenario_go_test.rs 70.00% 70.00% 70.00% 70.00%
/test-caller/meta/src/main.rs 0.00% 0.00% 0.00% 0.00%
/test-caller/src/test-caller.rs 0.00% 0.00% 0.00% 0.00%

Copy link

Contract comparison - from 1909bcb to 572773d
⚠️ Warning: Could not download the report for the base branch. Displaying only the report for the current branch. ⚠️

Path                                                                                             size                  has-allocator                     has-format
mx-bridge-eth-sc-rs
- bridge-proxy/bridge-proxy.wasm 12161 No No
- bridged-tokens-wrapper/bridged-tokens-wrapper.wasm 8960 No No
- esdt-safe/esdt-safe.wasm 23933 No No
- multi-transfer-esdt/multi-transfer-esdt.wasm 16662 No No
- multisig/multisig.wasm 27959 No No
- test-caller/test-caller.wasm 3238 No No

@dragos-rebegea dragos-rebegea deleted the CII-49-create-common-transaction branch August 22, 2024 07:08
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.

7 participants