Skip to content

Commit

Permalink
Revert "Rename solana-runtime to sealevel (solana-labs#6239)" (solana…
Browse files Browse the repository at this point in the history
…-labs#6247)

This reverts commit 2e92143.
  • Loading branch information
garious authored Oct 5, 2019
1 parent 5ef012b commit fb39bd4
Show file tree
Hide file tree
Showing 38 changed files with 106 additions and 135 deletions.
69 changes: 31 additions & 38 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ members = [
"programs/vest_api",
"programs/vote_api",
"programs/vote_program",
"sealevel",
"replicator",
"runtime",
"sdk",
Expand Down
File renamed without changes.
34 changes: 33 additions & 1 deletion runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,40 @@ homepage = "https://solana.com/"
edition = "2018"

[dependencies]
sealevel = { path = "../sealevel", version = "0.20.0" }
bincode = "1.2.0"
bv = { version = "0.11.0", features = ["serde"] }
byteorder = "1.3.2"
fnv = "1.0.6"
fs_extra = "1.1.0"
lazy_static = "1.4.0"
libc = "0.2.62"
libloading = "0.5.2"
log = "0.4.8"
memmap = "0.6.2"
rand = "0.6.5"
rayon = "1.2.0"
serde = { version = "1.0.101", features = ["rc"] }
serde_derive = "1.0.101"
serde_json = "1.0.41"
solana-logger = { path = "../logger", version = "0.20.0" }
solana-measure = { path = "../measure", version = "0.20.0" }
solana-metrics = { path = "../metrics", version = "0.20.0" }
solana-bpf-loader-api = { path = "../programs/bpf_loader_api", version = "0.20.0" }
solana-bpf-loader-program = { path = "../programs/bpf_loader_program", version = "0.20.0" }
solana-sdk = { path = "../sdk", version = "0.20.0" }
solana-stake-api = { path = "../programs/stake_api", version = "0.20.0" }
solana-stake-program = { path = "../programs/stake_program", version = "0.20.0" }
solana-storage-api = { path = "../programs/storage_api", version = "0.20.0" }
solana-vote-api = { path = "../programs/vote_api", version = "0.20.0" }
solana-vote-program = { path = "../programs/vote_program", version = "0.20.0" }
sys-info = "0.5.8"
tempfile = "3.1.0"
solana-rayon-threadlimit = { path = "../rayon-threadlimit", version = "0.20.0" }
itertools = "0.8.0"

[lib]
crate-type = ["lib"]
name = "solana_runtime"

[dev-dependencies]
solana-noop-program = { path = "../programs/noop_program", version = "0.20.0" }
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file removed runtime/lib.rs
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
44 changes: 39 additions & 5 deletions runtime/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,39 @@
pub use sealevel::{
accounts, accounts_db, accounts_index, append_vec, bank, bank_client, bloom, epoch_schedule,
genesis_utils, loader_utils, message_processor, rent_collector, stakes, status_cache,
storage_utils, transaction_batch, transaction_utils,
};
pub mod accounts;
pub mod accounts_db;
pub mod accounts_index;
pub mod append_vec;
pub mod bank;
pub mod bank_client;
mod blockhash_queue;
pub mod bloom;
pub mod epoch_schedule;
pub mod genesis_utils;
pub mod loader_utils;
pub mod message_processor;
mod native_loader;
pub mod rent_collector;
mod serde_utils;
pub mod stakes;
pub mod status_cache;
pub mod storage_utils;
mod system_instruction_processor;
pub mod transaction_batch;
pub mod transaction_utils;

#[macro_use]
extern crate solana_metrics;

#[macro_use]
extern crate solana_vote_program;

#[macro_use]
extern crate solana_stake_program;

#[macro_use]
extern crate solana_bpf_loader_program;

#[macro_use]
extern crate serde_derive;

extern crate fs_extra;
extern crate tempfile;
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions sealevel/tests/noop.rs → runtime/tests/noop.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use sealevel::bank::Bank;
use sealevel::bank_client::BankClient;
use sealevel::loader_utils::create_invoke_instruction;
use solana_runtime::bank::Bank;
use solana_runtime::bank_client::BankClient;
use solana_runtime::loader_utils::create_invoke_instruction;
use solana_sdk::client::SyncClient;
use solana_sdk::genesis_block::create_genesis_block;
use solana_sdk::pubkey::Pubkey;
Expand Down
48 changes: 0 additions & 48 deletions sealevel/Cargo.toml

This file was deleted.

39 changes: 0 additions & 39 deletions sealevel/src/lib.rs

This file was deleted.

0 comments on commit fb39bd4

Please sign in to comment.