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

Fix typos #1

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ Options:

Content Options:
-b, --blocks <BLOCKS>... Block numbers, see syntax below
--timestamps <TIMESTAMPS>... Timestamp numbers in unix, overriden by blocks
--timestamps <TIMESTAMPS>... Timestamp numbers in unix, overridden by blocks
-t, --txs <TXS>... Transaction hashes, see syntax below
-a, --align Align chunk boundaries to regular intervals,
e.g. (1000 2000 3000), not (1106 2106 3106)
Expand Down
2 changes: 1 addition & 1 deletion crates/cli/src/remember.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ pub(crate) fn load_remembered_command(cryo_dir: PathBuf) -> Result<RememberedCom
let mut file = File::open(path)
.map_err(|_| ParseError::ParseError("either 1) specify datasets to collect or 2) specify a command to remember with --remember".to_string()))?;
file.read_to_string(&mut contents)
.map_err(|_| ParseError::ParseError("could not read rememebered file".to_string()))?;
.map_err(|_| ParseError::ParseError("could not read remembered file".to_string()))?;
let remembered: RememberedCommand = serde_json::from_str(&contents)
.map_err(|_| ParseError::ParseError("could not deserialize remembered file".to_string()))?;
Ok(remembered)
Expand Down
2 changes: 1 addition & 1 deletion examples/uniswap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# This script is
# - idempotent: run the script as many times as you want, the data will be fine
# - interuptable: you can interrupt the script whenever you want, the data will be fine
# - incremental: only missing data is collected. re-runing the script does not re-collect data
# - incremental: only missing data is collected. re-running the script does not re-collect data

# uniswap v2 pools
cryo logs \
Expand Down