Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Convert to mapping #22

Merged
merged 12 commits into from
Nov 26, 2021
Merged

Convert to mapping #22

merged 12 commits into from
Nov 26, 2021

Conversation

forgetso
Copy link
Member

Coverage Badge

Modifies storage so that Providers, Dapps and Operators are stored as Vectors of known keys and Mappings

Everything else is stored as a Mapping only (e.g. captcha solution commitments, captcha_data, dapp_users)

A forked version of ink was required for this work. Requires following feature request before moving back to main release:

use-ink/ink#1042

@forgetso forgetso merged commit e7af8e8 into master Nov 26, 2021
@forgetso forgetso linked an issue Nov 26, 2021 that may be closed by this pull request
@forgetso forgetso deleted the convert_to_mapping branch December 20, 2021 19:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reduce contract size by switching to Map instead of Hashmap
1 participant