diff --git a/examples/block-download/src/main.rs b/examples/block-download/src/main.rs index 90c1bbbd..f8fc2357 100644 --- a/examples/block-download/src/main.rs +++ b/examples/block-download/src/main.rs @@ -1,7 +1,7 @@ use pallas::network::{ miniprotocols::{ handshake::{n2n::VersionTable, Initiator}, - run_agent, Point, MAINNET_MAGIC, + run_agent, Point, TESTNET_MAGIC, }, multiplexer::{bearers::Bearer, StdPlexer}, }; @@ -22,7 +22,7 @@ impl Observer for BlockPrinter { fn main() { env_logger::init(); - let bearer = Bearer::connect_tcp("relays-new.cardano-mainnet.iohk.io:3001").unwrap(); + let bearer = Bearer::connect_tcp("relays-new.cardano-testnet.iohkdev.io:3001").unwrap(); let mut plexer = StdPlexer::new(bearer); let mut channel0 = plexer.use_channel(0).into(); @@ -31,18 +31,18 @@ fn main() { plexer.muxer.spawn(); plexer.demuxer.spawn(); - let versions = VersionTable::v4_and_above(MAINNET_MAGIC); + let versions = VersionTable::v4_and_above(TESTNET_MAGIC); let _last = run_agent(Initiator::initial(versions), &mut channel0).unwrap(); let range = ( Point::Specific( - 97, - hex::decode("cf7fa60bbd210273d79fa48d11ab1d141242af32b231cc40ce3411230a8d3c61") + 63528597, + hex::decode("3f3d81c7b88f0fa28867541c5fea8794125cccf6d6c9ee0037a1dbb064130dfd") .unwrap(), ), Point::Specific( - 99, - hex::decode("a52cca923a67326ea9c409e958a17a77990be72f3607625ec5b3d456202e223e") + 63528597, + hex::decode("3f3d81c7b88f0fa28867541c5fea8794125cccf6d6c9ee0037a1dbb064130dfd") .unwrap(), ), ); diff --git a/pallas-addresses/Cargo.toml b/pallas-addresses/Cargo.toml index d88cba4d..93ae93e3 100644 --- a/pallas-addresses/Cargo.toml +++ b/pallas-addresses/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "pallas-addresses" description = "Ergonomic library to work with different Cardano addresses" -version = "0.13.0" +version = "0.13.1" edition = "2021" repository = "https://github.com/txpipe/pallas" homepage = "https://github.com/txpipe/pallas" diff --git a/pallas-codec/Cargo.toml b/pallas-codec/Cargo.toml index 297b7961..b2140a63 100644 --- a/pallas-codec/Cargo.toml +++ b/pallas-codec/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "pallas-codec" description = "Pallas common CBOR encoding interface and utilities" -version = "0.13.0" +version = "0.13.1" edition = "2021" repository = "https://github.com/txpipe/pallas" homepage = "https://github.com/txpipe/pallas" diff --git a/pallas-crypto/Cargo.toml b/pallas-crypto/Cargo.toml index 7d383afc..b5f9319c 100644 --- a/pallas-crypto/Cargo.toml +++ b/pallas-crypto/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "pallas-crypto" description = "Cryptographic primitives for Cardano" -version = "0.13.0" +version = "0.13.1" edition = "2021" repository = "https://github.com/txpipe/pallas" homepage = "https://github.com/txpipe/pallas" diff --git a/pallas-miniprotocols/Cargo.toml b/pallas-miniprotocols/Cargo.toml index a48c974d..71ebea8d 100644 --- a/pallas-miniprotocols/Cargo.toml +++ b/pallas-miniprotocols/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "pallas-miniprotocols" description = "Implementation of the Ouroboros network mini-protocols state-machines" -version = "0.13.0" +version = "0.13.1" edition = "2021" repository = "https://github.com/txpipe/pallas" homepage = "https://github.com/txpipe/pallas" diff --git a/pallas-multiplexer/Cargo.toml b/pallas-multiplexer/Cargo.toml index a0024d3a..0468a7c4 100644 --- a/pallas-multiplexer/Cargo.toml +++ b/pallas-multiplexer/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "pallas-multiplexer" description = "Multithreaded Ouroboros multiplexer implementation using mpsc channels" -version = "0.13.0" +version = "0.13.1" edition = "2021" repository = "https://github.com/txpipe/pallas" homepage = "https://github.com/txpipe/pallas" diff --git a/pallas-primitives/Cargo.toml b/pallas-primitives/Cargo.toml index 106c3ef7..bf864073 100644 --- a/pallas-primitives/Cargo.toml +++ b/pallas-primitives/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "pallas-primitives" description = "Ledger primitives and cbor codec for the different Cardano eras" -version = "0.13.0" +version = "0.13.1" edition = "2021" repository = "https://github.com/txpipe/pallas" homepage = "https://github.com/txpipe/pallas" diff --git a/pallas-traverse/Cargo.toml b/pallas-traverse/Cargo.toml index 23223cd5..269bced7 100644 --- a/pallas-traverse/Cargo.toml +++ b/pallas-traverse/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "pallas-traverse" description = "Utilities to traverse over multi-era block data" -version = "0.13.0" +version = "0.13.1" edition = "2021" repository = "https://github.com/txpipe/pallas" homepage = "https://github.com/txpipe/pallas" diff --git a/pallas/Cargo.toml b/pallas/Cargo.toml index 96b0b50a..7c72d53a 100644 --- a/pallas/Cargo.toml +++ b/pallas/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "pallas" description = "Rust-native building blocks for the Cardano blockchain ecosystem." -version = "0.13.0" +version = "0.13.1" edition = "2021" repository = "https://github.com/txpipe/pallas" homepage = "https://github.com/txpipe/pallas"