Skip to content

Conversation

@lgalabru
Copy link
Member

No description provided.

lookup.add_collection(metadata);
gql_schema.replace(new_dynamic_schema(lookup.clone()));

let console_url = format!("{}/accounts", config.studio_url.clone());
Copy link
Member

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,
Copy link
Member

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.

) -> SurfpoolResult<KeyedProfileResult> {
let signature = transaction.signatures[0];

// Can we avoid this write?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// Can we avoid this write?

How? Notify subscribers sooner?

@lgalabru lgalabru merged commit 3b506c1 into main Oct 29, 2025
3 checks passed
@lgalabru lgalabru deleted the feat/scenarios branch November 3, 2025 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants