Skip to content

Commit

Permalink
chore(cardano-chain-follower): Remove read task in favor of spawning …
Browse files Browse the repository at this point in the history
…read block and read block range futures
  • Loading branch information
FelipeRosa committed Mar 15, 2024
1 parent 9187191 commit 51d5f66
Show file tree
Hide file tree
Showing 6 changed files with 162 additions and 315 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ async fn main() -> Result<(), Box<dyn Error>> {
110_908_236,
hex::decode("ad3798a1db2b6097c71f35609399e4b2ff834f0f45939803d563bf9d660df2f2")?,
))
.read()
.await?;

let block = data.decode()?;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ async fn main() -> Result<(), Box<dyn Error>> {
49_075_418,
hex::decode("bdb5ce7788850c30342794f252b1d955086862e8f7cb90a32a8f560b693ca78a")?,
))
.read()
.await?;

let block = data.decode()?;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ async fn main() -> Result<(), Box<dyn Error>> {
hex::decode("16e97a73e866280582ee1201a5e1815993978eede956af1869b0733bedc131f2")?,
),
)
.read()
.await?;

let mut total_txs = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ async fn main() -> Result<(), Box<dyn Error>> {
hex::decode("b7639b523f320643236ab0fc04b7fd381dedd42c8d6b6433b5965a5062411396")?,
),
)
.read()
.await?;

for data in data_vec {
Expand Down

0 comments on commit 51d5f66

Please sign in to comment.