fix(network): adjust PoolDistr & ProtocolParam structs used for state queries (#551)

Signed-off-by: Pedro Sánchez Terraf <sterraf@users.noreply.github.com>
This commit is contained in:
Pedro Sánchez Terraf 2024-12-14 16:32:12 -03:00 committed by GitHub
parent 227b5781a9
commit 9747be3095
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 33 additions and 35 deletions

View file

@ -14,7 +14,6 @@ use pallas::{
crypto::hash::Hash,
};
use tracing::info;
use hex::FromHex;
async fn do_localstate_query(client: &mut NodeClient) {
let client = client.statequery();
@ -114,8 +113,8 @@ async fn do_localstate_query(client: &mut NodeClient) {
async fn do_chainsync(client: &mut NodeClient) {
let known_points = vec![Point::Specific(
43847831u64,
hex::decode("15b9eeee849dd6386d3770b0745e0450190f7560e5159b1b3ab13b14b2684a45").unwrap(),
77110778u64,
hex::decode("18e6eeaa592c42113280ba47a0829355e6bed1c9ce67cce4be502d6031d0679a").unwrap(),
)];
let (point, _) = client