LiteSVM / litesvm

Apache License 2.0
68 stars 11 forks source link

Rename store_program to add_program #23

Closed kevinheavey closed 5 months ago

kevinheavey commented 5 months ago

Thoughts? It sounds more normal to me

Aursen commented 5 months ago

For this one, I don't want to store_program the normal way to load program. It's better to use deploy_program to have a real chain loading mechanism

kevinheavey commented 5 months ago

I often want to add programs I don't have the keys for though (e.g other people's programs). store_program gives a way to avoid the runtime's ownership checks and just put those programs at their expected address