@@ -64,7 +64,7 @@ pub fn delegate(_attr: TokenStream, item: TokenStream) -> TokenStream {
6464 new_fields. push ( quote ! {
6565 /// CHECK: The buffer account
6666 #[ account(
67- mut , seeds = [ ephemeral_rollups_sdk:: consts :: BUFFER , #field_name. key( ) . as_ref( ) ] ,
67+ mut , seeds = [ ephemeral_rollups_sdk:: pda :: DELEGATE_BUFFER_TAG , #field_name. key( ) . as_ref( ) ] ,
6868 bump, seeds:: program = crate :: id( )
6969 ) ]
7070 pub #buffer_field: AccountInfo <' info>,
@@ -73,7 +73,7 @@ pub fn delegate(_attr: TokenStream, item: TokenStream) -> TokenStream {
7373 new_fields. push ( quote ! {
7474 /// CHECK: The delegation record account
7575 #[ account(
76- mut , seeds = [ ephemeral_rollups_sdk:: consts :: DELEGATION_RECORD , #field_name. key( ) . as_ref( ) ] ,
76+ mut , seeds = [ ephemeral_rollups_sdk:: pda :: DELEGATION_RECORD_TAG , #field_name. key( ) . as_ref( ) ] ,
7777 bump, seeds:: program = delegation_program. key( )
7878 ) ]
7979 pub #delegation_record_field: AccountInfo <' info>,
@@ -82,7 +82,7 @@ pub fn delegate(_attr: TokenStream, item: TokenStream) -> TokenStream {
8282 new_fields. push ( quote ! {
8383 /// CHECK: The delegation metadata account
8484 #[ account(
85- mut , seeds = [ ephemeral_rollups_sdk:: consts :: DELEGATION_METADATA , #field_name. key( ) . as_ref( ) ] ,
85+ mut , seeds = [ ephemeral_rollups_sdk:: pda :: DELEGATION_METADATA_TAG , #field_name. key( ) . as_ref( ) ] ,
8686 bump, seeds:: program = delegation_program. key( )
8787 ) ]
8888 pub #delegation_metadata_field: AccountInfo <' info>,
0 commit comments