diff --git a/Cargo.lock b/Cargo.lock index 3fc0c696..36147301 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1364,7 +1364,7 @@ checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" [[package]] name = "heimdall" -version = "0.4.0" +version = "0.4.1" dependencies = [ "backtrace", "clap", @@ -1389,7 +1389,7 @@ dependencies = [ [[package]] name = "heimdall-cache" -version = "0.4.0" +version = "0.4.1" dependencies = [ "bincode", "clap", @@ -1400,7 +1400,7 @@ dependencies = [ [[package]] name = "heimdall-common" -version = "0.4.0" +version = "0.4.1" dependencies = [ "clap", "clap-verbosity-flag", @@ -1419,7 +1419,7 @@ dependencies = [ [[package]] name = "heimdall-config" -version = "0.4.0" +version = "0.4.1" dependencies = [ "clap", "clap-verbosity-flag", diff --git a/cache/Cargo.toml b/cache/Cargo.toml index b4de7c0b..a8a6ca8f 100644 --- a/cache/Cargo.toml +++ b/cache/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "heimdall-cache" -version = "0.4.0" +version = "0.4.1" edition = "2021" license = "MIT" readme = "README.md" diff --git a/common/Cargo.toml b/common/Cargo.toml index cfc1f799..9d4c7079 100644 --- a/common/Cargo.toml +++ b/common/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "heimdall-common" -version = "0.4.0" +version = "0.4.1" edition = "2021" license = "MIT" readme = "README.md" diff --git a/common/src/resources/transpose.rs b/common/src/resources/transpose.rs index 55f1d484..f6490b4b 100644 --- a/common/src/resources/transpose.rs +++ b/common/src/resources/transpose.rs @@ -72,6 +72,7 @@ fn _call_transpose(query: String, api_key: &String, logger: &Logger) -> Option tx, None => { logger.error("failed to get contract creation transaction. Is the target a contract address?"); @@ -132,7 +136,7 @@ pub fn dump(args: DumpArgs) { } // fetch transactions - let transaction_list = get_transaction_list(&args.target, &args.transpose_api_key, (&args.from_block, &args.to_block), &logger); + let transaction_list = get_transaction_list(&args.chain, &args.target, &args.transpose_api_key, (&args.from_block, &args.to_block), &logger); // convert to vec of Transaction for transaction in transaction_list { diff --git a/heimdall/src/dump/structures/dump_state.rs b/heimdall/src/dump/structures/dump_state.rs index 8f1fefc1..380d1d60 100644 --- a/heimdall/src/dump/structures/dump_state.rs +++ b/heimdall/src/dump/structures/dump_state.rs @@ -32,6 +32,7 @@ impl DumpState { from_block: 0, to_block: 9999999999, no_tui: false, + chain: String::from("ethereum"), }, scroll_index: 0, selection_size: 1,