Rename dynamic_program.rs to native_loader.rs
This commit is contained in:
@@ -8,7 +8,7 @@ use bincode::serialize;
|
||||
use budget_program::BudgetState;
|
||||
use budget_transaction::BudgetTransaction;
|
||||
use counter::Counter;
|
||||
use dynamic_program;
|
||||
use native_loader;
|
||||
use entry::Entry;
|
||||
use hash::{hash, Hash};
|
||||
use itertools::Itertools;
|
||||
@@ -608,7 +608,7 @@ impl Bank {
|
||||
|
||||
let mut program_id = tx.program_ids[instruction_index];
|
||||
loop {
|
||||
if dynamic_program::check_id(&program_id) {
|
||||
if native_loader::check_id(&program_id) {
|
||||
// at the root of the chain, ready to dispatch
|
||||
break;
|
||||
}
|
||||
@@ -647,7 +647,7 @@ impl Bank {
|
||||
}).collect();
|
||||
keyed_accounts.append(&mut keyed_accounts2);
|
||||
|
||||
if !dynamic_program::process_transaction(
|
||||
if !native_loader::process_transaction(
|
||||
&mut keyed_accounts,
|
||||
&tx.instructions[instruction_index].userdata,
|
||||
) {
|
||||
|
@@ -24,7 +24,6 @@ pub mod client;
|
||||
pub mod cluster_info;
|
||||
pub mod budget_program;
|
||||
pub mod drone;
|
||||
pub mod dynamic_program;
|
||||
pub mod entry;
|
||||
pub mod entry_writer;
|
||||
#[cfg(feature = "erasure")]
|
||||
@@ -38,6 +37,7 @@ pub mod loader_transaction;
|
||||
pub mod logger;
|
||||
pub mod metrics;
|
||||
pub mod mint;
|
||||
pub mod native_loader;
|
||||
pub mod ncp;
|
||||
pub mod netutil;
|
||||
pub mod packet;
|
||||
|
Reference in New Issue
Block a user