File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -327,6 +327,8 @@ async def sync(
327
327
publisher_program_signers ,
328
328
) = await self .sync_publisher_program (ref_publishers )
329
329
330
+ logger .debug (f"Syncing publisher program - { len (publisher_program_instructions )} instructions" )
331
+
330
332
if publisher_program_instructions :
331
333
instructions .extend (publisher_program_instructions )
332
334
if send_transactions :
Original file line number Diff line number Diff line change @@ -44,12 +44,14 @@ def initialize_publisher_program(
44
44
)
45
45
46
46
ix_data_layout = Struct (
47
+ "instruction_id" / Int8ul ,
47
48
"bump" / Int8ul ,
48
49
"authority" / Bytes (32 ),
49
50
)
50
51
51
52
ix_data = ix_data_layout .build (
52
53
dict (
54
+ instruction_id = 0 ,
53
55
bump = bump ,
54
56
authority = bytes (authority ),
55
57
)
@@ -132,13 +134,15 @@ def initialize_publisher_config(
132
134
)
133
135
134
136
ix_data_layout = Struct (
137
+ "instruction_id" / Int8ul ,
135
138
"config_bump" / Int8ul ,
136
139
"publisher_config_bump" / Int8ul ,
137
140
"publisher" / Bytes (32 ),
138
141
)
139
142
140
143
ix_data = ix_data_layout .build (
141
144
dict (
145
+ instruction_id = 2 ,
142
146
config_bump = config_bump ,
143
147
publisher_config_bump = publisher_config_bump ,
144
148
publisher = bytes (publisher_key ),
You can’t perform that action at this time.
0 commit comments