-
Notifications
You must be signed in to change notification settings - Fork 106
feat: scenarios #392
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
feat: scenarios #392
Conversation
# Conflicts: # crates/core/src/rpc/full.rs
17cf86e to
95333ce
Compare
413f40e to
bd48ff4
Compare
| lookup.add_collection(metadata); | ||
| gql_schema.replace(new_dynamic_schema(lookup.clone())); | ||
|
|
||
| let console_url = format!("{}/accounts", config.studio_url.clone()); |
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.
Hmm, don't know if I love /accounts, cause we could still be indexing events
| /// IDL for the account structure - defines all available fields and types | ||
| pub idl: Idl, | ||
| /// How to determine the account address | ||
| pub address: AccountAddress, |
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.
This AccountAddress type seems unnecessary to me - what am I missing? I'd think it could just be address.
The protocol with this IDL will be deployed to an address, and the accounts it generates will have their PDA derivations defined in the IDL.
I'm not sure of protocols themselves being deployed to PDAs.
crates/core/src/surfnet/locker.rs
Outdated
| ) -> SurfpoolResult<KeyedProfileResult> { | ||
| let signature = transaction.signatures[0]; | ||
|
|
||
| // Can we avoid this write? |
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.
| // Can we avoid this write? |
How? Notify subscribers sooner?
No description provided.