Rename erc20 to token-program
Everything it uses already had that name, just the crate was never renamed.
This commit is contained in:
parent
7c4473e0aa
commit
c53c351759
|
@ -2072,18 +2072,6 @@ dependencies = [
|
||||||
"tokio-codec 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"tokio-codec 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "solana-erc20"
|
|
||||||
version = "0.12.0"
|
|
||||||
dependencies = [
|
|
||||||
"bincode 1.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
||||||
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
||||||
"serde 1.0.88 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
||||||
"serde_derive 1.0.88 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
||||||
"solana-logger 0.12.0",
|
|
||||||
"solana-sdk 0.12.0",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "solana-failure"
|
name = "solana-failure"
|
||||||
version = "0.12.0"
|
version = "0.12.0"
|
||||||
|
@ -2323,6 +2311,18 @@ dependencies = [
|
||||||
"solana-sdk 0.12.0",
|
"solana-sdk 0.12.0",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "solana-token-program"
|
||||||
|
version = "0.12.0"
|
||||||
|
dependencies = [
|
||||||
|
"bincode 1.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"serde 1.0.88 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"serde_derive 1.0.88 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"solana-logger 0.12.0",
|
||||||
|
"solana-sdk 0.12.0",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "solana-upload-perf"
|
name = "solana-upload-perf"
|
||||||
version = "0.12.0"
|
version = "0.12.0"
|
||||||
|
|
|
@ -99,7 +99,7 @@ members = [
|
||||||
"programs",
|
"programs",
|
||||||
"programs/native/bpf_loader",
|
"programs/native/bpf_loader",
|
||||||
"programs/native/budget",
|
"programs/native/budget",
|
||||||
"programs/native/erc20",
|
"programs/native/token",
|
||||||
"programs/native/failure",
|
"programs/native/failure",
|
||||||
"programs/native/native_loader",
|
"programs/native/native_loader",
|
||||||
"programs/native/noop",
|
"programs/native/noop",
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
[package]
|
[package]
|
||||||
name = "solana-erc20"
|
name = "solana-token-program"
|
||||||
version = "0.12.0"
|
version = "0.12.0"
|
||||||
description = "Solana reference erc20 program"
|
description = "Solana token program implementing the ERC20 interface"
|
||||||
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
||||||
repository = "https://github.com/solana-labs/solana"
|
repository = "https://github.com/solana-labs/solana"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
|
@ -17,6 +17,6 @@ solana-logger = { path = "../../../logger", version = "0.12.0" }
|
||||||
solana-sdk = { path = "../../../sdk", version = "0.12.0" }
|
solana-sdk = { path = "../../../sdk", version = "0.12.0" }
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "solana_erc20"
|
name = "solana_token_program"
|
||||||
crate-type = ["cdylib"]
|
crate-type = ["cdylib"]
|
||||||
|
|
|
@ -261,7 +261,7 @@ impl Bank {
|
||||||
self.add_native_program("solana_storage_program", &storage_program::id());
|
self.add_native_program("solana_storage_program", &storage_program::id());
|
||||||
self.add_native_program("solana_bpf_loader", &bpf_loader::id());
|
self.add_native_program("solana_bpf_loader", &bpf_loader::id());
|
||||||
self.add_native_program("solana_budget_program", &budget_program::id());
|
self.add_native_program("solana_budget_program", &budget_program::id());
|
||||||
self.add_native_program("solana_erc20", &token_program::id());
|
self.add_native_program("solana_token_program", &token_program::id());
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Return the last entry ID registered.
|
/// Return the last entry ID registered.
|
||||||
|
|
Loading…
Reference in New Issue