-
Notifications
You must be signed in to change notification settings - Fork 17
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
Allow funds to be transferred to module on instantiation #65
Allow funds to be transferred to module on instantiation #65
Conversation
Deploying with Cloudflare Pages
|
@@ -286,14 +304,15 @@ impl ModuleConfiguration { | |||
|
|||
pub fn from_storage(storage: &dyn Storage, module: &ModuleInfo) -> Self { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are at least 3 load operations for a single module. Can we combine their information into a single data store so we only have to load once?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, changed storage to have distinct map for "default" items for module config as well!
See the title
Checklist