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

Pass large environmental ink! types by reference #949

Open
6 tasks
Tracked by #9354
Robbepop opened this issue Oct 6, 2021 · 1 comment
Open
6 tasks
Tracked by #9354

Pass large environmental ink! types by reference #949

Robbepop opened this issue Oct 6, 2021 · 1 comment
Labels
A-ink_storage [ink_storage] Work Item B-enhancement New feature or request P-high High priority issue.

Comments

@Robbepop
Copy link
Collaborator

Robbepop commented Oct 6, 2021

Below is a list of isolated actionable items that may reduce the Wasm file size of certain ink! smart contracts if applied correctly and thoroughly throughout the ink! codebase and codegen.

If you want to tackle one or multiple of these tasks please open a PR with a link to this issue and reply in this thread so that we can link back.

Todo List

@Robbepop Robbepop added A-ink_storage [ink_storage] Work Item B-enhancement New feature or request P-high High priority issue. labels Oct 6, 2021
@Robbepop Robbepop changed the title Wasm file size reduction: Library Components Pass large environmental ink! types by reference Oct 6, 2021
@Robbepop
Copy link
Collaborator Author

I began working on:

Make ink_env::CallBuilder API use references as inputs to big environmental types such as AccountId.

However, it is a bit unfortunate to work on it before #665 has been merged since most of the work for the ink! codegen has to be redone there. I am not done entirely but already see some improvements for the Delegator example contract.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-ink_storage [ink_storage] Work Item B-enhancement New feature or request P-high High priority issue.
Projects
None yet
Development

No branches or pull requests

1 participant