From ffd131da16ec47f3e0de1e5aa311a260e6726571 Mon Sep 17 00:00:00 2001 From: Gilad Chase Date: Thu, 11 Jul 2024 17:17:39 +0300 Subject: [PATCH] refactor: rename invoke generator deploy support is coming soon --- crates/mempool_test_utils/src/starknet_api_test_utils.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/mempool_test_utils/src/starknet_api_test_utils.rs b/crates/mempool_test_utils/src/starknet_api_test_utils.rs index 278cf93aa..1598687d6 100644 --- a/crates/mempool_test_utils/src/starknet_api_test_utils.rs +++ b/crates/mempool_test_utils/src/starknet_api_test_utils.rs @@ -116,7 +116,7 @@ pub fn invoke_tx(cairo_version: CairoVersion) -> RPCTransaction { MultiAccountTransactionGenerator::new_for_account_contracts([default_account]) .account_with_id(0) - .generate_default() + .generate_default_invoke() } // TODO: when moving this to Starknet API crate, move this const into a module alongside @@ -183,7 +183,7 @@ pub struct AccountTransactionGenerator<'a> { impl<'a> AccountTransactionGenerator<'a> { /// Generate a valid `RPCTransaction` with default parameters. - pub fn generate_default(&mut self) -> RPCTransaction { + pub fn generate_default_invoke(&mut self) -> RPCTransaction { let invoke_args = invoke_tx_args!( sender_address: self.sender_address(), resource_bounds: executable_resource_bounds_mapping(),