Skip to content

Commit c0a2c0e

Browse files
authored
chore(deps): bump sdk, now with native usd (#57)
* chore(deps): bump sdk, now with native usd * chore: 0.9.0 * chore: disabling example as we don't have a tnet for now * chore: shut up clippy
1 parent 3645b1a commit c0a2c0e

File tree

4 files changed

+15
-363
lines changed

4 files changed

+15
-363
lines changed

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name = "init4-bin-base"
44
description = "Internal utilities for binaries produced by the init4 team"
55
keywords = ["init4", "bin", "base"]
66

7-
version = "0.8.0"
7+
version = "0.9.0"
88
edition = "2021"
99
rust-version = "1.81"
1010
authors = ["init4", "James Prestwich"]
@@ -16,8 +16,8 @@ repository = "https://github.com/init4tech/bin-base"
1616
init4-from-env-derive = "0.1.0"
1717

1818
# Signet
19-
signet-constants = { version = "0.7.0" }
20-
signet-tx-cache = { version = "0.7.0", optional = true }
19+
signet-constants = { version = "0.8.0" }
20+
signet-tx-cache = { version = "0.8.0", optional = true }
2121

2222
# Tracing
2323
tracing = "0.1.40"

examples/tx_cache.rs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1-
use init4_bin_base::{
2-
perms::tx_cache::BuilderTxCache, perms::OAuthConfig, utils::from_env::FromEnv,
3-
};
4-
use signet_tx_cache::client::TxCache;
1+
// use init4_bin_base::{
2+
// perms::tx_cache::BuilderTxCache, perms::OAuthConfig, utils::from_env::FromEnv,
3+
// };
4+
// use signet_tx_cache::client::TxCache;
55

66
#[tokio::main]
77
async fn main() -> eyre::Result<()> {
8-
let cfg = OAuthConfig::from_env()?;
9-
let authenticator = cfg.authenticator();
10-
let token = authenticator.token();
8+
// let cfg = OAuthConfig::from_env()?;
9+
// let authenticator = cfg.authenticator();
10+
// let token = authenticator.token();
1111

12-
let _jh = authenticator.spawn();
12+
// let _jh = authenticator.spawn();
1313

14-
tokio::time::sleep(std::time::Duration::from_secs(5)).await;
14+
// tokio::time::sleep(std::time::Duration::from_secs(5)).await;
1515

16-
let tx_cache = BuilderTxCache::new(TxCache::pecorino(), token);
16+
// let tx_cache = BuilderTxCache::new(TxCache::pecorino(), token);
1717

18-
let bundles = tx_cache.get_bundles().await?;
18+
// let bundles = tx_cache.get_bundles().await?;
1919

20-
println!("Bundles: {bundles:#?}");
20+
// println!("Bundles: {bundles:#?}");
2121

2222
Ok(())
2323
}

src/lib.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@ pub mod utils {
2828
/// [`FromEnvVar`]: from_env::FromEnvVar
2929
pub mod from_env;
3030

31-
#[cfg(feature = "alloy")]
32-
/// SignetConstants variables FromEnv
33-
pub mod constants_from_env;
34-
3531
/// Prometheus metrics utilities.
3632
pub mod metrics;
3733

0 commit comments

Comments
 (0)