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

custom encode/decode #168

Closed
wants to merge 14 commits into from
Closed

custom encode/decode #168

wants to merge 14 commits into from

Conversation

dorin-iancu
Copy link
Contributor

@dorin-iancu dorin-iancu commented Feb 27, 2024

Custom encode/decode for the CallData struct.

Endpoint and args len is u8 instead of u32.
Gas limit is u32 instead of u64.

Other misc changes:

  • upgraded to latest framework version
  • changed edition from 2018 to 2021
  • cleaned up the init of set_if_empty and the upgrade method.
  • made the first batch ID a constant
  • deleted old blackbox test

Copy link

github-actions bot commented Feb 27, 2024

Contract comparison - from 7acf6fc to 9d331c2

Path                                                                                             size                  has-allocator                     has-format
mx-bridge-eth-sc-rs
- bridge-proxy/bridge-proxy.wasm 14005 ➡️ 15160 🔴 No No
- bridged-tokens-wrapper/bridged-tokens-wrapper.wasm 8777 ➡️ 8657 🟢 No No
- esdt-safe/esdt-safe.wasm 21412 ➡️ 21392 🟢 No No
- multi-transfer-esdt/multi-transfer-esdt.wasm 19293 ➡️ 19659 🔴 No No
- multisig/multisig.wasm 31244 ➡️ 31842 🔴 No No

@dorin-iancu dorin-iancu marked this pull request as ready for review February 28, 2024 12:43
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.

2 participants