Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: restructure part3 fix examples #1792

Merged
merged 7 commits into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fmt
  • Loading branch information
rakita committed Sep 20, 2024
commit cbd508f40a0fcb39ca31f95dca0baa05207a9299
2 changes: 1 addition & 1 deletion Cargo.lock

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

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ members = [
"examples/uniswap_get_reserves",
"examples/uniswap_v2_usdc_swap",
#"examples/custom_opcodes",

#example-block-traces,example-contract-deployment,example-database-components,example-database-ref,example-uniswap-get-reserves,example-uniswap-v2-usdc-swap
]

[workspace.dependencies]
Expand Down
4 changes: 2 additions & 2 deletions examples/block_traces/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@

use alloy_eips::{BlockId, BlockNumberOrTag};
use alloy_provider::{network::primitives::BlockTransactions, Provider, ProviderBuilder};
use indicatif::ProgressBar;
use database::{AlloyDB, CacheDB, StateBuilder};
use indicatif::ProgressBar;
use inspector::{inspector_handle_register, inspectors::TracerEip3155};
use revm::{
use revm::{
primitives::{TxKind, B256, U256},
specification::eip2930::AccessListItem,
wiring::EthereumWiring,
Expand Down
2 changes: 1 addition & 1 deletion examples/database_ref/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "example-db-by-ref"
name = "example-database-ref"
version = "0.0.0"
publish = false
authors.workspace = true
Expand Down