You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BudgetProgram and StorageProgram have overlapping program_id's and the rest are sequential from 0.
Instead, any built-in program that is not intended to stay in the bank could be moved to a larger number to give room for the addition of newer built-ins that are intended to stay.
I would propose:
SystemProgram: 0
NativeLoader: 1
BpfLoader: 2
Seems like a nice cleanup to do at a low pri. There's a minor SDK impact so in some ways just doing it like now would be nice
jackcmay
changed the title
Build-in programs have overlapping ids and temporary programs are in same id namespace
Built-in programs have overlapping ids and temporary programs are in same id namespace
Oct 24, 2018
BudgetProgram and StorageProgram have overlapping program_id's and the rest are sequential from 0.
Instead, any built-in program that is not intended to stay in the bank could be moved to a larger number to give room for the addition of newer built-ins that are intended to stay.
I would propose:
SystemProgram: 0
NativeLoader: 1
BpfLoader: 2
BudgetState: 256
StorageProgram: 257
TokenProgram: 258
TicTacToeProgram: 259
TicTacToeDashboardProgram: 260
(BudgetState, StorageProgram, and TokenProgram could live in the lower id space as 3, 4, 5 respectively).
The text was updated successfully, but these errors were encountered: