Add LoaderInstruction::InvokeMain (#5116)
* Remove unreachable, untested runtime check * tx_data -> ix_data * Add LoaderInstruction::InvokeMain * Add test and allow loaders to be registered statically. * Fix clippy error
This commit is contained in:
@ -18,6 +18,11 @@ pub enum LoaderInstruction {
|
||||
///
|
||||
/// The transaction must be signed by key[0]
|
||||
Finalize,
|
||||
|
||||
/// Invoke the "main" entrypoint with the given data.
|
||||
///
|
||||
/// * key[0] - an executable account
|
||||
InvokeMain { data: Vec<u8> },
|
||||
}
|
||||
|
||||
pub fn write(
|
||||
|
Reference in New Issue
Block a user