Skip to content

Commit

Permalink
fix: use versioned superchain bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
clabby committed Jun 21, 2024
1 parent d8de339 commit 8194be5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/primitives/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ alloy-eips.workspace = true
op-alloy-consensus.workspace = true

# Superchain Registry
superchain-primitives = { git = "https://github.com/ethereum-optimism/superchain-registry", branch = "refcell/versioned-alloy", default-features = false }
superchain-primitives = { version = "0.1", default-features = false }

# Alloy Types
alloy-sol-types = { version = "0.7.6", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion examples/trusted-sync/src/validation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ impl OnlineValidator {
// Don't hydrate the block so we only get a list of transaction hashes.
let block = self
.provider
.get_block(tag.into(), BlockTransactionsKind::Full)
.get_block(tag.into(), BlockTransactionsKind::Hashes)
.await
.map_err(|e| anyhow::anyhow!(e))?
.ok_or(anyhow::anyhow!("Block not found"))?;
Expand Down

0 comments on commit 8194be5

Please sign in to comment.