Skip to content

Commit

Permalink
Rename _DAEMON networks to LOCAL_
Browse files Browse the repository at this point in the history
  • Loading branch information
adairrr committed Nov 17, 2022
1 parent e0737de commit 5a993bb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion boot-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "boot-core"
version.workspace = true
version = "0.1.2"
authors.workspace = true
edition.workspace = true
license.workspace = true
Expand Down
4 changes: 2 additions & 2 deletions boot-core/examples/cw20.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use boot_core::networks::juno::JUNO_DAEMON;
use boot_core::networks::juno::LOCAL_JUNO;

use boot_core::instantiate_daemon_env;

Expand All @@ -8,7 +8,7 @@ use boot_cw_plus::{Cw20, CW20_BASE};

pub fn script() -> anyhow::Result<()> {
// First we upload, instantiate and interact with a real chain
let network = JUNO_DAEMON;
let network = LOCAL_JUNO;
let (_, _sender, chain) = instantiate_daemon_env(network)?;
let token = Cw20::new(CW20_BASE, &chain);
// token.upload()?;
Expand Down
2 changes: 1 addition & 1 deletion boot-core/src/networks/juno.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pub const JUNO_1: NetworkInfo = NetworkInfo {
fcd_url: None,
};

pub const JUNO_DAEMON: NetworkInfo = NetworkInfo {
pub const LOCAL_JUNO: NetworkInfo = NetworkInfo {
kind: NetworkKind::Local,
id: "testing",
gas_denom: "ustake",
Expand Down
2 changes: 1 addition & 1 deletion boot-core/src/networks/osmosis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pub const OSMO_4: NetworkInfo = NetworkInfo {
// fcd_url: None,
// };

pub const OSMO_DAEMON: NetworkInfo = NetworkInfo {
pub const LOCAL_OSMO: NetworkInfo = NetworkInfo {
kind: NetworkKind::Local,
id: "localosmosis",
gas_denom: "uosmo",
Expand Down

0 comments on commit 5a993bb

Please sign in to comment.