Skip to content

Commit

Permalink
fixing ethereuma and astar test clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
ManojJiSharma committed Dec 12, 2023
1 parent 7c0090e commit 977765f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions chains/astar/server/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ mod tests {
}

#[tokio::test]
#[allow(clippy::needless_raw_string_hashes)]
async fn test_smart_contract() -> Result<()> {
let config = rosetta_config_astar::config("dev")?;

Expand Down Expand Up @@ -326,6 +327,7 @@ mod tests {
}

#[tokio::test]
#[allow(clippy::needless_raw_string_hashes)]
async fn test_smart_contract_view() -> Result<()> {
let config = rosetta_config_astar::config("dev")?;
let faucet = 100 * u128::pow(10, config.currency_decimals);
Expand Down
2 changes: 2 additions & 0 deletions chains/ethereum/server/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ mod tests {
}

#[tokio::test]
#[allow(clippy::needless_raw_string_hashes)]
async fn test_smart_contract() -> Result<()> {
let config = rosetta_config_ethereum::config("dev")?;

Expand Down Expand Up @@ -304,6 +305,7 @@ mod tests {
}

#[tokio::test]
#[allow(clippy::needless_raw_string_hashes)]
async fn test_smart_contract_view() -> Result<()> {
let config = rosetta_config_ethereum::config("dev")?;

Expand Down
2 changes: 1 addition & 1 deletion rosetta-client/src/tx_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ impl GenericTransactionBuilder {
Ok(match (self, params, metadata) {
(
Self::Astar(tx),
GenericMetadataParams::Astar(params),
GenericMetadataParams::Astar(params),
GenericMetadata::Astar(metadata),
) => tx.create_and_sign(config, &params.0, &metadata.0, secret_key),
(
Expand Down

0 comments on commit 977765f

Please sign in to comment.