Rename loaders
This commit is contained in:
@ -110,8 +110,8 @@ tokio-codec = "0.1"
|
|||||||
untrusted = "0.6.2"
|
untrusted = "0.6.2"
|
||||||
move_funds = { path = "programs/native/move_funds" }
|
move_funds = { path = "programs/native/move_funds" }
|
||||||
noop = { path = "programs/native/noop" }
|
noop = { path = "programs/native/noop" }
|
||||||
sobpf = { path = "programs/native/sobpf" }
|
bpf_loader = { path = "programs/native/bpf_loader" }
|
||||||
solua = { path = "programs/native/solua" }
|
lua_loader = { path = "programs/native/lua_loader" }
|
||||||
|
|
||||||
[[bench]]
|
[[bench]]
|
||||||
name = "bank"
|
name = "bank"
|
||||||
@ -138,7 +138,7 @@ members = [
|
|||||||
"common",
|
"common",
|
||||||
"programs/native/move_funds",
|
"programs/native/move_funds",
|
||||||
"programs/native/noop",
|
"programs/native/noop",
|
||||||
"programs/native/sobpf",
|
"programs/native/bpf_loader",
|
||||||
"programs/native/solua",
|
"programs/native/lua_loader",
|
||||||
"programs/bpf/noop_rust",
|
"programs/bpf/noop_rust",
|
||||||
]
|
]
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "sobpf"
|
name = "bpf_loader"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
||||||
|
|
||||||
@ -15,6 +15,6 @@ serde_derive = "1.0.27"
|
|||||||
solana_program_interface = { path = "../../../common" }
|
solana_program_interface = { path = "../../../common" }
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "sobpf"
|
name = "bpf_loader"
|
||||||
crate-type = ["cdylib"]
|
crate-type = ["cdylib"]
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "solua"
|
name = "lua_loader"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
||||||
|
|
||||||
@ -15,6 +15,6 @@ solana_program_interface = { path = "../../../common" }
|
|||||||
bincode = "1.0.0"
|
bincode = "1.0.0"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "solua"
|
name = "lua_loader"
|
||||||
crate-type = ["cdylib"]
|
crate-type = ["cdylib"]
|
||||||
|
|
@ -100,7 +100,7 @@ fn test_transaction_load_lua() {
|
|||||||
);
|
);
|
||||||
check_tx_results(&bank, &tx, bank.process_transactions(&vec![tx.clone()]));
|
check_tx_results(&bank, &tx, bank.process_transactions(&vec![tx.clone()]));
|
||||||
|
|
||||||
let name = String::from("solua");
|
let name = String::from("lua_loader");
|
||||||
let tx = Transaction::write(
|
let tx = Transaction::write(
|
||||||
&loader,
|
&loader,
|
||||||
native_loader::id(),
|
native_loader::id(),
|
||||||
@ -197,7 +197,7 @@ fn test_transaction_load_bpf() {
|
|||||||
);
|
);
|
||||||
check_tx_results(&bank, &tx, bank.process_transactions(&vec![tx.clone()]));
|
check_tx_results(&bank, &tx, bank.process_transactions(&vec![tx.clone()]));
|
||||||
|
|
||||||
let name = String::from("sobpf");
|
let name = String::from("bpf_loader");
|
||||||
let tx = Transaction::write(
|
let tx = Transaction::write(
|
||||||
&loader,
|
&loader,
|
||||||
native_loader::id(),
|
native_loader::id(),
|
||||||
|
Reference in New Issue
Block a user