ink
ink copied to clipboard
test: call runtime nfts example
Adds an example of how to use xcm_execute to call into the runtime with taking nfts as an example.
I found two limitations:
- no good error handling because how xcm works, we would need to create a query response to retrieve the error, for this we need the xcm precompile to be upgraded.
- not possible to query information the runtime
🦑 📈 ink! Example Contracts ‒ Changes Report 📉 🦑
These are the results when building the integration-tests/* contracts from this branch and comparing them to ink! master:
Show overview
Using the ABI denoted in the contract manifest.
| Contract | Upstream Size (kB) | PR Size (kB) | Diff (kB) | Diff (%) | Change |
|---|---|---|---|---|---|
| ./integration-tests/all-abi/events | 18.411 | 18.411 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/internal/builtin-precompiles | 4.491 | 4.491 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/internal/call-builder-return-value | 9.161 | 9.161 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/internal/data-hostfns | 1.147 | 1.147 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/internal/e2e-runtime-only-backend | 2.202 | 2.202 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/internal/gas-hostfns | 1.197 | 1.197 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/internal/lang-err/call-builder | 8.193 | 8.193 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/internal/lang-err/call-builder-delegate | 3.6 | 3.6 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/internal/lang-err/constructors-return-value | 2.442 | 2.442 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/internal/lang-err/contract-ref | 6.732 | 6.732 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/internal/lang-err/integration-flipper | 2.059 | 2.059 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/internal/mapping | 10.628 | 10.628 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/internal/misc-evm-getters-hostfns | 3.596 | 3.596 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/internal/misc-hostfns | 2.206 | 2.206 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/internal/mother | 15.034 | 15.034 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/internal/overflow-safety | 1.311 | 1.311 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/internal/own-code-hash | 3.373 | 3.373 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/internal/sr25519-verification | 0.853 | 0.853 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/internal/static-buffer | 3.003 | 3.003 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/internal/storage-types | 16.782 | 16.782 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/internal/system-precompile | 2.314 | 2.314 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/assets-precompile | 16.942 | 16.942 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/bytes | 4.847 | 4.847 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/complex-storage-structures | 4.858 | 4.858 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/conditional-compilation | 1.727 | 1.727 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/contract-invocation | 7.952 | 7.952 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/contract-invocation/contract1 | 2.081 | 2.081 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/contract-invocation/contract2 | 1.996 | 1.996 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/contract-invocation/virtual_contract | 4.406 | 4.406 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/contract-invocation/virtual_contract_ver1 | 1.954 | 1.954 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/contract-invocation/virtual_contract_ver2 | 1.966 | 1.966 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/contract-storage | 7.624 | 7.624 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/contract-terminate | 1.551 | 1.551 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/contract-transfer | 2.736 | 2.736 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/contract-xcm | 28.63 | 28.63 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/cross-contract-calls | 3.613 | 3.613 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/cross-contract-calls-advanced | 8.456 | 8.456 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/cross-contract-calls-advanced/other-contract | 1.775 | 1.775 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/cross-contract-calls/other-contract | 1.775 | 1.775 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/custom-allocator | 3.275 | 3.275 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/custom-environment | 2.726 | 2.726 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/debugging-strategies | 4.427 | 4.427 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/dns | 10.126 | 10.126 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/e2e-call-runtime | 1.563 | 1.563 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/erc1155 | 20.782 | 20.782 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/erc20 | 10.461 | 10.461 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/erc721 | 12.038 | 12.038 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/events | 8.455 | 8.455 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/fallible-setter | 2.632 | 2.632 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/flipper | 1.775 | 1.775 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/fuzz-testing | 1.762 | 1.762 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/incrementer | 1.288 | 1.288 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/lazyvec | 5.724 | 5.724 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/multi-contract-caller | 11.768 | 11.768 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/multi-contract-caller/accumulator | 1.134 | 1.134 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/multi-contract-caller/adder | 3.089 | 3.089 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/multi-contract-caller/subber | 3.093 | 3.093 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/multisig | 27.547 | 27.547 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/payment-channel | 7.444 | 7.444 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/precompile-demo | 6.627 | 6.627 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/runtime-call-contract | 1.778 | 1.778 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/trait-dyn-cross-contract-calls | 3.953 | 3.953 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/trait-dyn-cross-contract-calls/contracts/incrementer | 1.799 | 1.799 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/trait-erc20 | 10.857 | 10.857 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/trait-flipper | 1.728 | 1.728 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/trait-incrementer | 1.87 | 1.87 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/upgradeable-contracts/delegator | 6.487 | 6.487 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/upgradeable-contracts/delegator/delegatee | 2.996 | 2.996 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/upgradeable-contracts/delegator/delegatee2 | 2.996 | 2.996 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/upgradeable-contracts/set-code-hash | 1.723 | 1.723 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/upgradeable-contracts/set-code-hash-migration | 1.723 | 1.723 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/upgradeable-contracts/set-code-hash-migration/migration | 1.877 | 1.877 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/upgradeable-contracts/set-code-hash-migration/updated-incrementer | 1.901 | 1.901 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/upgradeable-contracts/set-code-hash/updated-incrementer | 1.675 | 1.675 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/wildcard-selector | 2.948 | 2.948 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/solidity-abi/events | 11.812 | 11.812 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/solidity-abi/sol-cross-contract | 4.492 | 4.492 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/solidity-abi/sol-cross-contract/other-contract-sol | 2.138 | 2.138 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/solidity-abi/sol-encoding | 2.063 | 2.063 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/solidity-abi/solidity-calls-flipper | 7.074 | 7.074 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/solidity-abi/trait-dyn-cross-contract-calls | 5.672 | 5.672 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/solidity-abi/trait-dyn-cross-contract-calls/contracts/incrementer | 1.651 | 1.651 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/solidity-abi/trait-flipper | 1.389 | 1.389 | 0 | 0% | :heavy_minus_sign: |
Show diagram
gantt
dateFormat x
axisFormat x
section
./integration-tests/all-abi/events : a5, 0, 0
v5 default abi - 0 kb : a1, 0, 0
master default abi - 18411 kb : a1, 0, 18411
pr default abi - 18411 kb : a1, 0, 18411
pr sol abi - 18411 kb : a2, 0, 18411
pr all abi - 18411 kb : a3, 0, 18411
#nbsp; : a4, 0, 0
section
./integration-tests/internal/builtin-precompiles : a5, 0, 0
v5 default abi - 0 kb : a1, 0, 0
master default abi - 4491 kb : a1, 0, 4491
pr default abi - 4491 kb : a1, 0, 4491
pr sol abi - 6083 kb : a2, 0, 6083
pr all abi - 7445 kb : a3, 0, 7445
#nbsp; : a4, 0, 0
section
./integration-tests/internal/call-builder-return-value : a5, 0, 0
v5 default abi - 8924 kb : a1, 0, 8924
master default abi - 9161 kb : a1, 0, 9161
pr default abi - 9161 kb : a1, 0, 9161
pr sol abi - 0 kb : a2, 0, 0
pr all abi - 0 kb : a3, 0, 0
#nbsp; : a4, 0, 0
section
./integration-tests/internal/data-hostfns : a5, 0, 0
v5 default abi - 0 kb : a1, 0, 0
master default abi - 1147 kb : a1, 0, 1147
pr default abi - 1147 kb : a1, 0, 1147
pr sol abi - 1253 kb : a2, 0, 1253
pr all abi - 1613 kb : a3, 0, 1613
#nbsp; : a4, 0, 0
section
./integration-tests/internal/e2e-runtime-only-backend : a5, 0, 0
v5 default abi - 1925 kb : a1, 0, 1925
master default abi - 2202 kb : a1, 0, 2202
pr default abi - 2202 kb : a1, 0, 2202
pr sol abi - 0 kb : a2, 0, 0
pr all abi - 0 kb : a3, 0, 0
#nbsp; : a4, 0, 0
section
./integration-tests/internal/gas-hostfns : a5, 0, 0
v5 default abi - 0 kb : a1, 0, 0
master default abi - 1197 kb : a1, 0, 1197
pr default abi - 1197 kb : a1, 0, 1197
pr sol abi - 1307 kb : a2, 0, 1307
pr all abi - 1758 kb : a3, 0, 1758
#nbsp; : a4, 0, 0
section
./integration-tests/internal/lang-err/call-builder : a5, 0, 0
v5 default abi - 2612 kb : a1, 0, 2612
master default abi - 8193 kb : a1, 0, 8193
pr default abi - 8193 kb : a1, 0, 8193
pr sol abi - 0 kb : a2, 0, 0
pr all abi - 0 kb : a3, 0, 0
#nbsp; : a4, 0, 0
section
./integration-tests/internal/lang-err/call-builder-delegate : a5, 0, 0
v5 default abi - 2612 kb : a1, 0, 2612
master default abi - 3600 kb : a1, 0, 3600
pr default abi - 3600 kb : a1, 0, 3600
pr sol abi - 0 kb : a2, 0, 0
pr all abi - 0 kb : a3, 0, 0
#nbsp; : a4, 0, 0
section
./integration-tests/internal/lang-err/constructors-return-value : a5, 0, 0
v5 default abi - 2011 kb : a1, 0, 2011
master default abi - 2442 kb : a1, 0, 2442
pr default abi - 2442 kb : a1, 0, 2442
pr sol abi - 0 kb : a2, 0, 0
pr all abi - 0 kb : a3, 0, 0
#nbsp; : a4, 0, 0
section
./integration-tests/internal/lang-err/contract-ref : a5, 0, 0
v5 default abi - 5087 kb : a1, 0, 5087
master default abi - 6732 kb : a1, 0, 6732
pr default abi - 6732 kb : a1, 0, 6732
pr sol abi - 0 kb : a2, 0, 0
pr all abi - 0 kb : a3, 0, 0
#nbsp; : a4, 0, 0
section
./integration-tests/internal/lang-err/integration-flipper : a5, 0, 0
v5 default abi - 1910 kb : a1, 0, 1910
master default abi - 2059 kb : a1, 0, 2059
pr default abi - 2059 kb : a1, 0, 2059
pr sol abi - 0 kb : a2, 0, 0
pr all abi - 0 kb : a3, 0, 0
#nbsp; : a4, 0, 0
section
./integration-tests/internal/mapping : a5, 0, 0
v5 default abi - 0 kb : a1, 0, 0
master default abi - 10628 kb : a1, 0, 10628
pr default abi - 10628 kb : a1, 0, 10628
pr sol abi - 0 kb : a2, 0, 0
pr all abi - 0 kb : a3, 0, 0
#nbsp; : a4, 0, 0
section
./integration-tests/internal/misc-evm-getters-hostfns : a5, 0, 0
v5 default abi - 0 kb : a1, 0, 0
master default abi - 3596 kb : a1, 0, 3596
pr default abi - 3596 kb : a1, 0, 3596
pr sol abi - 3224 kb : a2, 0, 3224
pr all abi - 5051 kb : a3, 0, 5051
#nbsp; : a4, 0, 0
section
./integration-tests/internal/misc-hostfns : a5, 0, 0
v5 default abi - 0 kb : a1, 0, 0
master default abi - 2206 kb : a1, 0, 2206
pr default abi - 2206 kb : a1, 0, 2206
pr sol abi - 2131 kb : a2, 0, 2131
pr all abi - 2332 kb : a3, 0, 2332
#nbsp; : a4, 0, 0
section
./integration-tests/internal/mother : a5, 0, 0
v5 default abi - 12681 kb : a1, 0, 12681
master default abi - 15034 kb : a1, 0, 15034
pr default abi - 15034 kb : a1, 0, 15034
pr sol abi - 0 kb : a2, 0, 0
pr all abi - 0 kb : a3, 0, 0
#nbsp; : a4, 0, 0
section
./integration-tests/internal/overflow-safety : a5, 0, 0
v5 default abi - 0 kb : a1, 0, 0
master default abi - 1311 kb : a1, 0, 1311
pr default abi - 1311 kb : a1, 0, 1311
pr sol abi - 2173 kb : a2, 0, 2173
pr all abi - 2671 kb : a3, 0, 2671
#nbsp; : a4, 0, 0
section
./integration-tests/internal/own-code-hash : a5, 0, 0
v5 default abi - 0 kb : a1, 0, 0
master default abi - 3373 kb : a1, 0, 3373
pr default abi - 3373 kb : a1, 0, 3373
pr sol abi - 2951 kb : a2, 0, 2951
pr all abi - 4056 kb : a3, 0, 4056
#nbsp; : a4, 0, 0
section
./integration-tests/internal/sr25519-verification : a5, 0, 0
v5 default abi - 1082 kb : a1, 0, 1082
master default abi - 853 kb : a1, 0, 853
pr default abi - 853 kb : a1, 0, 853
pr sol abi - 777 kb : a2, 0, 777
pr all abi - 980 kb : a3, 0, 980
#nbsp; : a4, 0, 0
section
./integration-tests/internal/static-buffer : a5, 0, 0
v5 default abi - 0 kb : a1, 0, 0
master default abi - 3003 kb : a1, 0, 3003
pr default abi - 3003 kb : a1, 0, 3003
pr sol abi - 0 kb : a2, 0, 0
pr all abi - 0 kb : a3, 0, 0
#nbsp; : a4, 0, 0
section
./integration-tests/internal/storage-types : a5, 0, 0
v5 default abi - 11369 kb : a1, 0, 11369
master default abi - 16782 kb : a1, 0, 16782
pr default abi - 16782 kb : a1, 0, 16782
pr sol abi - 0 kb : a2, 0, 0
pr all abi - 0 kb : a3, 0, 0
#nbsp; : a4, 0, 0
section
./integration-tests/internal/system-precompile : a5, 0, 0
v5 default abi - 0 kb : a1, 0, 0
master default abi - 2314 kb : a1, 0, 2314
pr default abi - 2314 kb : a1, 0, 2314
pr sol abi - 2243 kb : a2, 0, 2243
pr all abi - 2772 kb : a3, 0, 2772
#nbsp; : a4, 0, 0
section
./integration-tests/public/assets-precompile : a5, 0, 0
v5 default abi - 0 kb : a1, 0, 0
master default abi - 16942 kb : a1, 0, 16942
pr default abi - 16942 kb : a1, 0, 16942
pr sol abi - 0 kb : a2, 0, 0
pr all abi - 0 kb : a3, 0, 0
#nbsp; : a4, 0, 0
section
./integration-tests/public/bytes : a5, 0, 0
v5 default abi - 0 kb : a1, 0, 0
master default abi - 4847 kb : a1, 0, 4847
pr default abi - 4847 kb : a1, 0, 4847
pr sol abi - 4847 kb : a2, 0, 4847
pr all abi - 7535 kb : a3, 0, 7535
#nbsp; : a4, 0, 0
section
./integration-tests/public/complex-storage-structures : a5, 0, 0
v5 default abi - 0 kb : a1, 0, 0
master default abi - 4858 kb : a1, 0, 4858
pr default abi - 4858 kb : a1, 0, 4858
pr sol abi - 7500 kb : a2, 0, 7500
pr all abi - 9141 kb : a3, 0, 9141
#nbsp; : a4, 0, 0
section
./integration-tests/public/conditional-compilation : a5, 0, 0
v5 default abi - 1460 kb : a1, 0, 1460
master default abi - 1727 kb : a1, 0, 1727
pr default abi - 1727 kb : a1, 0, 1727
pr sol abi - 0 kb : a2, 0, 0
pr all abi - 0 kb : a3, 0, 0
#nbsp; : a4, 0, 0
section
./integration-tests/public/contract-invocation : a5, 0, 0
v5 default abi - 0 kb : a1, 0, 0
master default abi - 7952 kb : a1, 0, 7952
pr default abi - 7952 kb : a1, 0, 7952
pr sol abi - 8741 kb : a2, 0, 8741
pr all abi - 11824 kb : a3, 0, 11824
#nbsp; : a4, 0, 0
section
./integration-tests/public/contract-invocation/contract1 : a5, 0, 0
v5 default abi - 0 kb : a1, 0, 0
master default abi - 2081 kb : a1, 0, 2081
pr default abi - 2081 kb : a1, 0, 2081
pr sol abi - 2138 kb : a2, 0, 2138
pr all abi - 2892 kb : a3, 0, 2892
#nbsp; : a4, 0, 0
section
./integration-tests/public/contract-invocation/contract2 : a5, 0, 0
v5 default abi - 0 kb : a1, 0, 0
master default abi - 1996 kb : a1, 0, 1996
pr default abi - 1996 kb : a1, 0, 1996
pr sol abi - 2102 kb : a2, 0, 2102
pr all abi - 2784 kb : a3, 0, 2784
#nbsp; : a4, 0, 0
section
./integration-tests/public/contract-invocation/virtual_contract : a5, 0, 0
v5 default abi - 0 kb : a1, 0, 0
master default abi - 4406 kb : a1, 0, 4406
pr default abi - 4406 kb : a1, 0, 4406
pr sol abi - 5538 kb : a2, 0, 5538
pr all abi - 6443 kb : a3, 0, 6443
#nbsp; : a4, 0, 0
section
./integration-tests/public/contract-invocation/virtual_contract_ver1 : a5, 0, 0
v5 default abi - 0 kb : a1, 0, 0
master default abi - 1954 kb : a1, 0, 1954
pr default abi - 1954 kb : a1, 0, 1954
pr sol abi - 2127 kb : a2, 0, 2127
pr all abi - 2521 kb : a3, 0, 2521
#nbsp; : a4, 0, 0
section
./integration-tests/public/contract-invocation/virtual_contract_ver2 : a5, 0, 0
v5 default abi - 0 kb : a1, 0, 0
master default abi - 1966 kb : a1, 0, 1966
pr default abi - 1966 kb : a1, 0, 1966
pr sol abi - 2139 kb : a2, 0, 2139
pr all abi - 2547 kb : a3, 0, 2547
#nbsp; : a4, 0, 0
section
./integration-tests/public/contract-storage : a5, 0, 0
v5 default abi - 7459 kb : a1, 0, 7459
master default abi - 7624 kb : a1, 0, 7624
pr default abi - 7624 kb : a1, 0, 7624
pr sol abi - 0 kb : a2, 0, 0
pr all abi - 0 kb : a3, 0, 0
#nbsp; : a4, 0, 0
section
./integration-tests/public/contract-terminate : a5, 0, 0
v5 default abi - 1314 kb : a1, 0, 1314
master default abi - 1551 kb : a1, 0, 1551
pr default abi - 1551 kb : a1, 0, 1551
pr sol abi - 1517 kb : a2, 0, 1517
pr all abi - 1646 kb : a3, 0, 1646
#nbsp; : a4, 0, 0
section
./integration-tests/public/contract-transfer : a5, 0, 0
v5 default abi - 1520 kb : a1, 0, 1520
master default abi - 2736 kb : a1, 0, 2736
pr default abi - 2736 kb : a1, 0, 2736
pr sol abi - 0 kb : a2, 0, 0
pr all abi - 3120 kb : a3, 0, 3120
#nbsp; : a4, 0, 0
section
./integration-tests/public/contract-xcm : a5, 0, 0
v5 default abi - 18805 kb : a1, 0, 18805
master default abi - 28630 kb : a1, 0, 28630
pr default abi - 28630 kb : a1, 0, 28630
pr sol abi - 0 kb : a2, 0, 0
pr all abi - 0 kb : a3, 0, 0
#nbsp; : a4, 0, 0
section
./integration-tests/public/cross-contract-calls : a5, 0, 0
v5 default abi - 7471 kb : a1, 0, 7471
master default abi - 3613 kb : a1, 0, 3613
pr default abi - 3613 kb : a1, 0, 3613
pr sol abi - 3650 kb : a2, 0, 3650
pr all abi - 3948 kb : a3, 0, 3948
#nbsp; : a4, 0, 0
section
./integration-tests/public/cross-contract-calls-advanced : a5, 0, 0
v5 default abi - 7471 kb : a1, 0, 7471
master default abi - 8456 kb : a1, 0, 8456
pr default abi - 8456 kb : a1, 0, 8456
pr sol abi - 0 kb : a2, 0, 0
pr all abi - 0 kb : a3, 0, 0
#nbsp; : a4, 0, 0
section
./integration-tests/public/cross-contract-calls-advanced/other-contract : a5, 0, 0
v5 default abi - 1591 kb : a1, 0, 1591
master default abi - 1775 kb : a1, 0, 1775
pr default abi - 1775 kb : a1, 0, 1775
pr sol abi - 1550 kb : a2, 0, 1550
pr all abi - 2361 kb : a3, 0, 2361
#nbsp; : a4, 0, 0
section
./integration-tests/public/cross-contract-calls/other-contract : a5, 0, 0
v5 default abi - 0 kb : a1, 0, 0
master default abi - 1775 kb : a1, 0, 1775
pr default abi - 1775 kb : a1, 0, 1775
pr sol abi - 1550 kb : a2, 0, 1550
pr all abi - 2361 kb : a3, 0, 2361
#nbsp; : a4, 0, 0
section
./integration-tests/public/custom-allocator : a5, 0, 0
v5 default abi - 7993 kb : a1, 0, 7993
master default abi - 3275 kb : a1, 0, 3275
pr default abi - 3275 kb : a1, 0, 3275
pr sol abi - 0 kb : a2, 0, 0
pr all abi - 0 kb : a3, 0, 0
#nbsp; : a4, 0, 0
section
./integration-tests/public/custom-environment : a5, 0, 0
v5 default abi - 2062 kb : a1, 0, 2062
master default abi - 2726 kb : a1, 0, 2726
pr default abi - 2726 kb : a1, 0, 2726
pr sol abi - 1738 kb : a2, 0, 1738
pr all abi - 3168 kb : a3, 0, 3168
#nbsp; : a4, 0, 0
section
./integration-tests/public/debugging-strategies : a5, 0, 0
v5 default abi - 0 kb : a1, 0, 0
master default abi - 4427 kb : a1, 0, 4427
pr default abi - 4427 kb : a1, 0, 4427
pr sol abi - 4200 kb : a2, 0, 4200
pr all abi - 5290 kb : a3, 0, 5290
#nbsp; : a4, 0, 0
section
./integration-tests/public/dns : a5, 0, 0
v5 default abi - 7142 kb : a1, 0, 7142
master default abi - 10126 kb : a1, 0, 10126
pr default abi - 10126 kb : a1, 0, 10126
pr sol abi - 10407 kb : a2, 0, 10407
pr all abi - 14248 kb : a3, 0, 14248
#nbsp; : a4, 0, 0
section
./integration-tests/public/e2e-call-runtime : a5, 0, 0
v5 default abi - 1182 kb : a1, 0, 1182
master default abi - 1563 kb : a1, 0, 1563
pr default abi - 1563 kb : a1, 0, 1563
pr sol abi - 1436 kb : a2, 0, 1436
pr all abi - 2048 kb : a3, 0, 2048
#nbsp; : a4, 0, 0
section
./integration-tests/public/erc1155 : a5, 0, 0
v5 default abi - 14566 kb : a1, 0, 14566
master default abi - 20782 kb : a1, 0, 20782
pr default abi - 20782 kb : a1, 0, 20782
pr sol abi - 0 kb : a2, 0, 0
pr all abi - 35551 kb : a3, 0, 35551
#nbsp; : a4, 0, 0
section
./integration-tests/public/erc20 : a5, 0, 0
v5 default abi - 6993 kb : a1, 0, 6993
master default abi - 10461 kb : a1, 0, 10461
pr default abi - 10461 kb : a1, 0, 10461
pr sol abi - 12478 kb : a2, 0, 12478
pr all abi - 17296 kb : a3, 0, 17296
#nbsp; : a4, 0, 0
section
./integration-tests/public/erc721 : a5, 0, 0
v5 default abi - 9754 kb : a1, 0, 9754
master default abi - 12038 kb : a1, 0, 12038
pr default abi - 12038 kb : a1, 0, 12038
pr sol abi - 15001 kb : a2, 0, 15001
pr all abi - 20631 kb : a3, 0, 20631
#nbsp; : a4, 0, 0
section
./integration-tests/public/events : a5, 0, 0
v5 default abi - 4955 kb : a1, 0, 4955
master default abi - 8455 kb : a1, 0, 8455
pr default abi - 8455 kb : a1, 0, 8455
pr sol abi - 12531 kb : a2, 0, 12531
pr all abi - 17686 kb : a3, 0, 17686
#nbsp; : a4, 0, 0
section
./integration-tests/public/fallible-setter : a5, 0, 0
v5 default abi - 0 kb : a1, 0, 0
master default abi - 2632 kb : a1, 0, 2632
pr default abi - 2632 kb : a1, 0, 2632
pr sol abi - 2632 kb : a2, 0, 2632
pr all abi - 3172 kb : a3, 0, 3172
#nbsp; : a4, 0, 0
section
./integration-tests/public/flipper : a5, 0, 0
v5 default abi - 1701 kb : a1, 0, 1701
master default abi - 1775 kb : a1, 0, 1775
pr default abi - 1775 kb : a1, 0, 1775
pr sol abi - 1550 kb : a2, 0, 1550
pr all abi - 2361 kb : a3, 0, 2361
#nbsp; : a4, 0, 0
section
./integration-tests/public/fuzz-testing : a5, 0, 0
v5 default abi - 0 kb : a1, 0, 0
master default abi - 1762 kb : a1, 0, 1762
pr default abi - 1762 kb : a1, 0, 1762
pr sol abi - 0 kb : a2, 0, 0
pr all abi - 0 kb : a3, 0, 0
#nbsp; : a4, 0, 0
section
./integration-tests/public/incrementer : a5, 0, 0
v5 default abi - 1538 kb : a1, 0, 1538
master default abi - 1288 kb : a1, 0, 1288
pr default abi - 1288 kb : a1, 0, 1288
pr sol abi - 0 kb : a2, 0, 0
pr all abi - 0 kb : a3, 0, 0
#nbsp; : a4, 0, 0
section
./integration-tests/public/lazyvec : a5, 0, 0
v5 default abi - 5103 kb : a1, 0, 5103
master default abi - 5724 kb : a1, 0, 5724
pr default abi - 5724 kb : a1, 0, 5724
pr sol abi - 0 kb : a2, 0, 0
pr all abi - 0 kb : a3, 0, 0
#nbsp; : a4, 0, 0
section
./integration-tests/public/multi-contract-caller : a5, 0, 0
v5 default abi - 6420 kb : a1, 0, 6420
master default abi - 11768 kb : a1, 0, 11768
pr default abi - 11768 kb : a1, 0, 11768
pr sol abi - 13757 kb : a2, 0, 13757
pr all abi - 12820 kb : a3, 0, 12820
#nbsp; : a4, 0, 0
section
./integration-tests/public/multi-contract-caller/accumulator : a5, 0, 0
v5 default abi - 1363 kb : a1, 0, 1363
master default abi - 1134 kb : a1, 0, 1134
pr default abi - 1134 kb : a1, 0, 1134
pr sol abi - 1455 kb : a2, 0, 1455
pr all abi - 2013 kb : a3, 0, 2013
#nbsp; : a4, 0, 0
section
./integration-tests/public/multi-contract-caller/adder : a5, 0, 0
v5 default abi - 1733 kb : a1, 0, 1733
master default abi - 3089 kb : a1, 0, 3089
pr default abi - 3089 kb : a1, 0, 3089
pr sol abi - 3202 kb : a2, 0, 3202
pr all abi - 3368 kb : a3, 0, 3368
#nbsp; : a4, 0, 0
section
./integration-tests/public/multi-contract-caller/subber : a5, 0, 0
v5 default abi - 1751 kb : a1, 0, 1751
master default abi - 3093 kb : a1, 0, 3093
pr default abi - 3093 kb : a1, 0, 3093
pr sol abi - 3208 kb : a2, 0, 3208
pr all abi - 3381 kb : a3, 0, 3381
#nbsp; : a4, 0, 0
section
./integration-tests/public/multisig : a5, 0, 0
v5 default abi - 21135 kb : a1, 0, 21135
master default abi - 27547 kb : a1, 0, 27547
pr default abi - 27547 kb : a1, 0, 27547
pr sol abi - 0 kb : a2, 0, 0
pr all abi - 0 kb : a3, 0, 0
#nbsp; : a4, 0, 0
section
./integration-tests/public/payment-channel : a5, 0, 0
v5 default abi - 5720 kb : a1, 0, 5720
master default abi - 7444 kb : a1, 0, 7444
pr default abi - 7444 kb : a1, 0, 7444
pr sol abi - 11255 kb : a2, 0, 11255
pr all abi - 14879 kb : a3, 0, 14879
#nbsp; : a4, 0, 0
section
./integration-tests/public/precompile-demo : a5, 0, 0
v5 default abi - 0 kb : a1, 0, 0
master default abi - 6627 kb : a1, 0, 6627
pr default abi - 6627 kb : a1, 0, 6627
pr sol abi - 8317 kb : a2, 0, 8317
pr all abi - 9580 kb : a3, 0, 9580
#nbsp; : a4, 0, 0
section
./integration-tests/public/runtime-call-contract : a5, 0, 0
v5 default abi - 1592 kb : a1, 0, 1592
master default abi - 1778 kb : a1, 0, 1778
pr default abi - 1778 kb : a1, 0, 1778
pr sol abi - 1550 kb : a2, 0, 1550
pr all abi - 2366 kb : a3, 0, 2366
#nbsp; : a4, 0, 0
section
./integration-tests/public/trait-dyn-cross-contract-calls : a5, 0, 0
v5 default abi - 2808 kb : a1, 0, 2808
master default abi - 3953 kb : a1, 0, 3953
pr default abi - 3953 kb : a1, 0, 3953
pr sol abi - 5672 kb : a2, 0, 5672
pr all abi - 4380 kb : a3, 0, 4380
#nbsp; : a4, 0, 0
section
./integration-tests/public/trait-dyn-cross-contract-calls/contracts/incrementer : a5, 0, 0
v5 default abi - 1571 kb : a1, 0, 1571
master default abi - 1799 kb : a1, 0, 1799
pr default abi - 1799 kb : a1, 0, 1799
pr sol abi - 1651 kb : a2, 0, 1651
pr all abi - 2448 kb : a3, 0, 2448
#nbsp; : a4, 0, 0
section
./integration-tests/public/trait-erc20 : a5, 0, 0
v5 default abi - 7286 kb : a1, 0, 7286
master default abi - 10857 kb : a1, 0, 10857
pr default abi - 10857 kb : a1, 0, 10857
pr sol abi - 12574 kb : a2, 0, 12574
pr all abi - 17587 kb : a3, 0, 17587
#nbsp; : a4, 0, 0
section
./integration-tests/public/trait-flipper : a5, 0, 0
v5 default abi - 1460 kb : a1, 0, 1460
master default abi - 1728 kb : a1, 0, 1728
pr default abi - 1728 kb : a1, 0, 1728
pr sol abi - 1389 kb : a2, 0, 1389
pr all abi - 2128 kb : a3, 0, 2128
#nbsp; : a4, 0, 0
section
./integration-tests/public/trait-incrementer : a5, 0, 0
v5 default abi - 1630 kb : a1, 0, 1630
master default abi - 1870 kb : a1, 0, 1870
pr default abi - 1870 kb : a1, 0, 1870
pr sol abi - 1820 kb : a2, 0, 1820
pr all abi - 2702 kb : a3, 0, 2702
#nbsp; : a4, 0, 0
section
./integration-tests/public/upgradeable-contracts/delegator : a5, 0, 0
v5 default abi - 3869 kb : a1, 0, 3869
master default abi - 6487 kb : a1, 0, 6487
pr default abi - 6487 kb : a1, 0, 6487
pr sol abi - 9015 kb : a2, 0, 9015
pr all abi - 10942 kb : a3, 0, 10942
#nbsp; : a4, 0, 0
section
./integration-tests/public/upgradeable-contracts/delegator/delegatee : a5, 0, 0
v5 default abi - 1652 kb : a1, 0, 1652
master default abi - 2996 kb : a1, 0, 2996
pr default abi - 2996 kb : a1, 0, 2996
pr sol abi - 2491 kb : a2, 0, 2491
pr all abi - 3284 kb : a3, 0, 3284
#nbsp; : a4, 0, 0
section
./integration-tests/public/upgradeable-contracts/delegator/delegatee2 : a5, 0, 0
v5 default abi - 1652 kb : a1, 0, 1652
master default abi - 2996 kb : a1, 0, 2996
pr default abi - 2996 kb : a1, 0, 2996
pr sol abi - 2491 kb : a2, 0, 2491
pr all abi - 3285 kb : a3, 0, 3285
#nbsp; : a4, 0, 0
section
./integration-tests/public/upgradeable-contracts/set-code-hash : a5, 0, 0
v5 default abi - 1740 kb : a1, 0, 1740
master default abi - 1723 kb : a1, 0, 1723
pr default abi - 1723 kb : a1, 0, 1723
pr sol abi - 2035 kb : a2, 0, 2035
pr all abi - 2642 kb : a3, 0, 2642
#nbsp; : a4, 0, 0
section
./integration-tests/public/upgradeable-contracts/set-code-hash-migration : a5, 0, 0
v5 default abi - 1740 kb : a1, 0, 1740
master default abi - 1723 kb : a1, 0, 1723
pr default abi - 1723 kb : a1, 0, 1723
pr sol abi - 2035 kb : a2, 0, 2035
pr all abi - 2642 kb : a3, 0, 2642
#nbsp; : a4, 0, 0
section
./integration-tests/public/upgradeable-contracts/set-code-hash-migration/migration : a5, 0, 0
v5 default abi - 1302 kb : a1, 0, 1302
master default abi - 1877 kb : a1, 0, 1877
pr default abi - 1877 kb : a1, 0, 1877
pr sol abi - 2616 kb : a2, 0, 2616
pr all abi - 2584 kb : a3, 0, 2584
#nbsp; : a4, 0, 0
section
./integration-tests/public/upgradeable-contracts/set-code-hash-migration/updated-incrementer : a5, 0, 0
v5 default abi - 1930 kb : a1, 0, 1930
master default abi - 1901 kb : a1, 0, 1901
pr default abi - 1901 kb : a1, 0, 1901
pr sol abi - 2600 kb : a2, 0, 2600
pr all abi - 3098 kb : a3, 0, 3098
#nbsp; : a4, 0, 0
section
./integration-tests/public/upgradeable-contracts/set-code-hash/updated-incrementer : a5, 0, 0
v5 default abi - 1717 kb : a1, 0, 1717
master default abi - 1675 kb : a1, 0, 1675
pr default abi - 1675 kb : a1, 0, 1675
pr sol abi - 2024 kb : a2, 0, 2024
pr all abi - 2581 kb : a3, 0, 2581
#nbsp; : a4, 0, 0
section
./integration-tests/public/wildcard-selector : a5, 0, 0
v5 default abi - 3234 kb : a1, 0, 3234
master default abi - 2948 kb : a1, 0, 2948
pr default abi - 2948 kb : a1, 0, 2948
pr sol abi - 0 kb : a2, 0, 0
pr all abi - 5211 kb : a3, 0, 5211
#nbsp; : a4, 0, 0
section
./integration-tests/solidity-abi/events : a5, 0, 0
v5 default abi - 0 kb : a1, 0, 0
master default abi - 11812 kb : a1, 0, 11812
pr default abi - 11812 kb : a1, 0, 11812
pr sol abi - 0 kb : a2, 0, 0
pr all abi - 0 kb : a3, 0, 0
#nbsp; : a4, 0, 0
section
./integration-tests/solidity-abi/sol-cross-contract : a5, 0, 0
v5 default abi - 0 kb : a1, 0, 0
master default abi - 4492 kb : a1, 0, 4492
pr default abi - 4492 kb : a1, 0, 4492
pr sol abi - 0 kb : a2, 0, 0
pr all abi - 0 kb : a3, 0, 0
#nbsp; : a4, 0, 0
section
./integration-tests/solidity-abi/sol-cross-contract/other-contract-sol : a5, 0, 0
v5 default abi - 0 kb : a1, 0, 0
master default abi - 2138 kb : a1, 0, 2138
pr default abi - 2138 kb : a1, 0, 2138
pr sol abi - 0 kb : a2, 0, 0
pr all abi - 0 kb : a3, 0, 0
#nbsp; : a4, 0, 0
section
./integration-tests/solidity-abi/sol-encoding : a5, 0, 0
v5 default abi - 0 kb : a1, 0, 0
master default abi - 2063 kb : a1, 0, 2063
pr default abi - 2063 kb : a1, 0, 2063
pr sol abi - 0 kb : a2, 0, 0
pr all abi - 0 kb : a3, 0, 0
#nbsp; : a4, 0, 0
section
./integration-tests/solidity-abi/solidity-calls-flipper : a5, 0, 0
v5 default abi - 0 kb : a1, 0, 0
master default abi - 7074 kb : a1, 0, 7074
pr default abi - 7074 kb : a1, 0, 7074
pr sol abi - 0 kb : a2, 0, 0
pr all abi - 0 kb : a3, 0, 0
#nbsp; : a4, 0, 0
section
./integration-tests/solidity-abi/trait-dyn-cross-contract-calls : a5, 0, 0
v5 default abi - 0 kb : a1, 0, 0
master default abi - 5672 kb : a1, 0, 5672
pr default abi - 5672 kb : a1, 0, 5672
pr sol abi - 0 kb : a2, 0, 0
pr all abi - 0 kb : a3, 0, 0
#nbsp; : a4, 0, 0
section
./integration-tests/solidity-abi/trait-dyn-cross-contract-calls/contracts/incrementer : a5, 0, 0
v5 default abi - 0 kb : a1, 0, 0
master default abi - 1651 kb : a1, 0, 1651
pr default abi - 1651 kb : a1, 0, 1651
pr sol abi - 0 kb : a2, 0, 0
pr all abi - 0 kb : a3, 0, 0
#nbsp; : a4, 0, 0
section
./integration-tests/solidity-abi/trait-flipper : a5, 0, 0
v5 default abi - 0 kb : a1, 0, 0
master default abi - 1389 kb : a1, 0, 1389
pr default abi - 1389 kb : a1, 0, 1389
pr sol abi - 0 kb : a2, 0, 0
pr all abi - 0 kb : a3, 0, 0
#nbsp; : a4, 0, 0
Show contract sizes: ink! vs Solidity ABI
The following table shows how the contract sizes on this branch change when choosing the Solidity ABI instead of the ink! ABI.
| Contract | Upstream Size (kB) | PR Size (kB) | Diff (kB) | Diff (%) | Change |
|---|---|---|---|---|---|
| ./integration-tests/all-abi/events | 18.411 | 18.411 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/internal/builtin-precompiles | 4.491 | 6.083 | 1.592 | 35% | :chart_with_upwards_trend: |
| ./integration-tests/internal/data-hostfns | 1.147 | 1.253 | 0.106 | 9% | :chart_with_upwards_trend: |
| ./integration-tests/internal/gas-hostfns | 1.197 | 1.307 | 0.11 | 9% | :chart_with_upwards_trend: |
| ./integration-tests/internal/misc-evm-getters-hostfns | 3.596 | 3.224 | -0.372 | -9% | :chart_with_downwards_trend: |
| ./integration-tests/internal/misc-hostfns | 2.206 | 2.131 | -0.075 | -2% | :chart_with_downwards_trend: |
| ./integration-tests/internal/overflow-safety | 1.311 | 2.173 | 0.862 | 66% | :chart_with_upwards_trend: |
| ./integration-tests/internal/own-code-hash | 3.373 | 2.951 | -0.422 | -12% | :chart_with_downwards_trend: |
| ./integration-tests/internal/sr25519-verification | 0.853 | 0.777 | -0.076 | -8% | :chart_with_downwards_trend: |
| ./integration-tests/internal/system-precompile | 2.314 | 2.243 | -0.071 | -2% | :chart_with_downwards_trend: |
| ./integration-tests/public/bytes | 4.847 | 4.847 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/complex-storage-structures | 4.858 | 7.5 | 2.642 | 54% | :chart_with_upwards_trend: |
| ./integration-tests/public/contract-invocation | 7.952 | 8.741 | 0.789 | 10% | :chart_with_upwards_trend: |
| ./integration-tests/public/contract-invocation/contract1 | 2.081 | 2.138 | 0.057 | 3% | :chart_with_upwards_trend: |
| ./integration-tests/public/contract-invocation/contract2 | 1.996 | 2.102 | 0.106 | 5% | :chart_with_upwards_trend: |
| ./integration-tests/public/contract-invocation/virtual_contract | 4.406 | 5.538 | 1.132 | 26% | :chart_with_upwards_trend: |
| ./integration-tests/public/contract-invocation/virtual_contract_ver1 | 1.954 | 2.127 | 0.173 | 9% | :chart_with_upwards_trend: |
| ./integration-tests/public/contract-invocation/virtual_contract_ver2 | 1.966 | 2.139 | 0.173 | 9% | :chart_with_upwards_trend: |
| ./integration-tests/public/contract-terminate | 1.551 | 1.517 | -0.034 | -1% | :chart_with_downwards_trend: |
| ./integration-tests/public/cross-contract-calls | 3.613 | 3.65 | 0.037 | 1% | :chart_with_upwards_trend: |
| ./integration-tests/public/cross-contract-calls-advanced/other-contract | 1.775 | 1.55 | -0.225 | -12% | :chart_with_downwards_trend: |
| ./integration-tests/public/cross-contract-calls/other-contract | 1.775 | 1.55 | -0.225 | -12% | :chart_with_downwards_trend: |
| ./integration-tests/public/custom-environment | 2.726 | 1.738 | -0.988 | -35% | :chart_with_downwards_trend: |
| ./integration-tests/public/debugging-strategies | 4.427 | 4.2 | -0.227 | -4% | :chart_with_downwards_trend: |
| ./integration-tests/public/dns | 10.126 | 10.407 | 0.281 | 3% | :chart_with_upwards_trend: |
| ./integration-tests/public/e2e-call-runtime | 1.563 | 1.436 | -0.127 | -7% | :chart_with_downwards_trend: |
| ./integration-tests/public/erc20 | 10.461 | 12.478 | 2.017 | 19% | :chart_with_upwards_trend: |
| ./integration-tests/public/erc721 | 12.038 | 15.001 | 2.963 | 25% | :chart_with_upwards_trend: |
| ./integration-tests/public/events | 8.455 | 12.531 | 4.076 | 48% | :chart_with_upwards_trend: |
| ./integration-tests/public/fallible-setter | 2.632 | 2.632 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/public/flipper | 1.775 | 1.55 | -0.225 | -12% | :chart_with_downwards_trend: |
| ./integration-tests/public/multi-contract-caller | 11.768 | 13.757 | 1.989 | 17% | :chart_with_upwards_trend: |
| ./integration-tests/public/multi-contract-caller/accumulator | 1.134 | 1.455 | 0.321 | 28% | :chart_with_upwards_trend: |
| ./integration-tests/public/multi-contract-caller/adder | 3.089 | 3.202 | 0.113 | 4% | :chart_with_upwards_trend: |
| ./integration-tests/public/multi-contract-caller/subber | 3.093 | 3.208 | 0.115 | 4% | :chart_with_upwards_trend: |
| ./integration-tests/public/nfts-call-runtime | 26.044 | 27.835 | 1.791 | 7% | :chart_with_upwards_trend: |
| ./integration-tests/public/payment-channel | 7.444 | 11.255 | 3.811 | 51% | :chart_with_upwards_trend: |
| ./integration-tests/public/precompile-demo | 6.627 | 8.317 | 1.69 | 26% | :chart_with_upwards_trend: |
| ./integration-tests/public/runtime-call-contract | 1.778 | 1.55 | -0.228 | -12% | :chart_with_downwards_trend: |
| ./integration-tests/public/trait-dyn-cross-contract-calls | 3.953 | 5.672 | 1.719 | 43% | :chart_with_upwards_trend: |
| ./integration-tests/public/trait-dyn-cross-contract-calls/contracts/incrementer | 1.799 | 1.651 | -0.148 | -7% | :chart_with_downwards_trend: |
| ./integration-tests/public/trait-erc20 | 10.857 | 12.574 | 1.717 | 16% | :chart_with_upwards_trend: |
| ./integration-tests/public/trait-flipper | 1.728 | 1.389 | -0.339 | -19% | :chart_with_downwards_trend: |
| ./integration-tests/public/trait-incrementer | 1.87 | 1.82 | -0.05 | -2% | :chart_with_downwards_trend: |
| ./integration-tests/public/upgradeable-contracts/delegator | 6.487 | 9.015 | 2.528 | 39% | :chart_with_upwards_trend: |
| ./integration-tests/public/upgradeable-contracts/delegator/delegatee | 2.996 | 2.491 | -0.505 | -16% | :chart_with_downwards_trend: |
| ./integration-tests/public/upgradeable-contracts/delegator/delegatee2 | 2.996 | 2.491 | -0.505 | -16% | :chart_with_downwards_trend: |
| ./integration-tests/public/upgradeable-contracts/set-code-hash | 1.723 | 2.035 | 0.312 | 18% | :chart_with_upwards_trend: |
| ./integration-tests/public/upgradeable-contracts/set-code-hash-migration | 1.723 | 2.035 | 0.312 | 18% | :chart_with_upwards_trend: |
| ./integration-tests/public/upgradeable-contracts/set-code-hash-migration/migration | 1.877 | 2.616 | 0.739 | 39% | :chart_with_upwards_trend: |
| ./integration-tests/public/upgradeable-contracts/set-code-hash-migration/updated-incrementer | 1.901 | 2.6 | 0.699 | 37% | :chart_with_upwards_trend: |
| ./integration-tests/public/upgradeable-contracts/set-code-hash/updated-incrementer | 1.675 | 2.024 | 0.349 | 21% | :chart_with_upwards_trend: |
Show contract sizes: ink! vs all ABI
The following table shows how the contract sizes on this branch change when choosing the all ABI instead of the ink! ABI.
| Contract | Upstream Size (kB) | PR Size (kB) | Diff (kB) | Diff (%) | Change |
|---|---|---|---|---|---|
| ./integration-tests/all-abi/events | 18.411 | 18.411 | 0 | 0% | :heavy_minus_sign: |
| ./integration-tests/internal/builtin-precompiles | 4.491 | 7.445 | 2.954 | 66% | :chart_with_upwards_trend: |
| ./integration-tests/internal/data-hostfns | 1.147 | 1.613 | 0.466 | 41% | :chart_with_upwards_trend: |
| ./integration-tests/internal/gas-hostfns | 1.197 | 1.758 | 0.561 | 47% | :chart_with_upwards_trend: |
| ./integration-tests/internal/misc-evm-getters-hostfns | 3.596 | 5.051 | 1.455 | 40% | :chart_with_upwards_trend: |
| ./integration-tests/internal/misc-hostfns | 2.206 | 2.332 | 0.126 | 6% | :chart_with_upwards_trend: |
| ./integration-tests/internal/overflow-safety | 1.311 | 2.671 | 1.36 | 104% | :chart_with_upwards_trend: |
| ./integration-tests/internal/own-code-hash | 3.373 | 4.056 | 0.683 | 20% | :chart_with_upwards_trend: |
| ./integration-tests/internal/sr25519-verification | 0.853 | 0.98 | 0.127 | 15% | :chart_with_upwards_trend: |
| ./integration-tests/internal/system-precompile | 2.314 | 2.772 | 0.458 | 20% | :chart_with_upwards_trend: |
| ./integration-tests/public/bytes | 4.847 | 7.535 | 2.688 | 55% | :chart_with_upwards_trend: |
| ./integration-tests/public/complex-storage-structures | 4.858 | 9.141 | 4.283 | 88% | :chart_with_upwards_trend: |
| ./integration-tests/public/contract-invocation | 7.952 | 11.824 | 3.872 | 49% | :chart_with_upwards_trend: |
| ./integration-tests/public/contract-invocation/contract1 | 2.081 | 2.892 | 0.811 | 39% | :chart_with_upwards_trend: |
| ./integration-tests/public/contract-invocation/contract2 | 1.996 | 2.784 | 0.788 | 39% | :chart_with_upwards_trend: |
| ./integration-tests/public/contract-invocation/virtual_contract | 4.406 | 6.443 | 2.037 | 46% | :chart_with_upwards_trend: |
| ./integration-tests/public/contract-invocation/virtual_contract_ver1 | 1.954 | 2.521 | 0.567 | 29% | :chart_with_upwards_trend: |
| ./integration-tests/public/contract-invocation/virtual_contract_ver2 | 1.966 | 2.547 | 0.581 | 30% | :chart_with_upwards_trend: |
| ./integration-tests/public/contract-terminate | 1.551 | 1.646 | 0.095 | 6% | :chart_with_upwards_trend: |
| ./integration-tests/public/contract-transfer | 2.736 | 3.12 | 0.384 | 14% | :chart_with_upwards_trend: |
| ./integration-tests/public/cross-contract-calls | 3.613 | 3.948 | 0.335 | 9% | :chart_with_upwards_trend: |
| ./integration-tests/public/cross-contract-calls-advanced/other-contract | 1.775 | 2.361 | 0.586 | 33% | :chart_with_upwards_trend: |
| ./integration-tests/public/cross-contract-calls/other-contract | 1.775 | 2.361 | 0.586 | 33% | :chart_with_upwards_trend: |
| ./integration-tests/public/custom-environment | 2.726 | 3.168 | 0.442 | 16% | :chart_with_upwards_trend: |
| ./integration-tests/public/debugging-strategies | 4.427 | 5.29 | 0.863 | 19% | :chart_with_upwards_trend: |
| ./integration-tests/public/dns | 10.126 | 14.248 | 4.122 | 41% | :chart_with_upwards_trend: |
| ./integration-tests/public/e2e-call-runtime | 1.563 | 2.048 | 0.485 | 31% | :chart_with_upwards_trend: |
| ./integration-tests/public/erc1155 | 20.782 | 35.551 | 14.769 | 71% | :chart_with_upwards_trend: |
| ./integration-tests/public/erc20 | 10.461 | 17.296 | 6.835 | 65% | :chart_with_upwards_trend: |
| ./integration-tests/public/erc721 | 12.038 | 20.631 | 8.593 | 71% | :chart_with_upwards_trend: |
| ./integration-tests/public/events | 8.455 | 17.686 | 9.231 | 109% | :chart_with_upwards_trend: |
| ./integration-tests/public/fallible-setter | 2.632 | 3.172 | 0.54 | 21% | :chart_with_upwards_trend: |
| ./integration-tests/public/flipper | 1.775 | 2.361 | 0.586 | 33% | :chart_with_upwards_trend: |
| ./integration-tests/public/multi-contract-caller | 11.768 | 12.82 | 1.052 | 9% | :chart_with_upwards_trend: |
| ./integration-tests/public/multi-contract-caller/accumulator | 1.134 | 2.013 | 0.879 | 78% | :chart_with_upwards_trend: |
| ./integration-tests/public/multi-contract-caller/adder | 3.089 | 3.368 | 0.279 | 9% | :chart_with_upwards_trend: |
| ./integration-tests/public/multi-contract-caller/subber | 3.093 | 3.381 | 0.288 | 9% | :chart_with_upwards_trend: |
| ./integration-tests/public/nfts-call-runtime | 26.044 | 31.979 | 5.935 | 23% | :chart_with_upwards_trend: |
| ./integration-tests/public/payment-channel | 7.444 | 14.879 | 7.435 | 100% | :chart_with_upwards_trend: |
| ./integration-tests/public/precompile-demo | 6.627 | 9.58 | 2.953 | 45% | :chart_with_upwards_trend: |
| ./integration-tests/public/runtime-call-contract | 1.778 | 2.366 | 0.588 | 33% | :chart_with_upwards_trend: |
| ./integration-tests/public/trait-dyn-cross-contract-calls | 3.953 | 4.38 | 0.427 | 11% | :chart_with_upwards_trend: |
| ./integration-tests/public/trait-dyn-cross-contract-calls/contracts/incrementer | 1.799 | 2.448 | 0.649 | 36% | :chart_with_upwards_trend: |
| ./integration-tests/public/trait-erc20 | 10.857 | 17.587 | 6.73 | 62% | :chart_with_upwards_trend: |
| ./integration-tests/public/trait-flipper | 1.728 | 2.128 | 0.4 | 23% | :chart_with_upwards_trend: |
| ./integration-tests/public/trait-incrementer | 1.87 | 2.702 | 0.832 | 44% | :chart_with_upwards_trend: |
| ./integration-tests/public/upgradeable-contracts/delegator | 6.487 | 10.942 | 4.455 | 69% | :chart_with_upwards_trend: |
| ./integration-tests/public/upgradeable-contracts/delegator/delegatee | 2.996 | 3.284 | 0.288 | 10% | :chart_with_upwards_trend: |
| ./integration-tests/public/upgradeable-contracts/delegator/delegatee2 | 2.996 | 3.285 | 0.289 | 10% | :chart_with_upwards_trend: |
| ./integration-tests/public/upgradeable-contracts/set-code-hash | 1.723 | 2.642 | 0.919 | 53% | :chart_with_upwards_trend: |
| ./integration-tests/public/upgradeable-contracts/set-code-hash-migration | 1.723 | 2.642 | 0.919 | 53% | :chart_with_upwards_trend: |
| ./integration-tests/public/upgradeable-contracts/set-code-hash-migration/migration | 1.877 | 2.584 | 0.707 | 38% | :chart_with_upwards_trend: |
| ./integration-tests/public/upgradeable-contracts/set-code-hash-migration/updated-incrementer | 1.901 | 3.098 | 1.197 | 63% | :chart_with_upwards_trend: |
| ./integration-tests/public/upgradeable-contracts/set-code-hash/updated-incrementer | 1.675 | 2.581 | 0.906 | 54% | :chart_with_upwards_trend: |
| ./integration-tests/public/wildcard-selector | 2.948 | 5.211 | 2.263 | 77% | :chart_with_upwards_trend: |
Link to the run | Last update: Fri Dec 12 15:27:09 CET 2025