diff --git a/starknet-accounts/tests/single_owner_account.rs b/starknet-accounts/tests/single_owner_account.rs index 2de0ad85..87b9cea8 100644 --- a/starknet-accounts/tests/single_owner_account.rs +++ b/starknet-accounts/tests/single_owner_account.rs @@ -398,7 +398,7 @@ async fn can_execute_eth_transfer_invoke_v3_inner( ], }]) .gas(200000) - .gas_price(100000000000000) + .gas_price(500000000000000) .send() .await .unwrap(); @@ -602,7 +602,7 @@ async fn can_declare_cairo1_contract_v3_inner( FieldElement::from_hex_be(&hashes.compiled_class_hash).unwrap(), ) .gas(200000) - .gas_price(100000000000000) + .gas_price(500000000000000) .send() .await .unwrap(); diff --git a/starknet-core/src/types/codegen.rs b/starknet-core/src/types/codegen.rs index b2647da9..b10d4976 100644 --- a/starknet-core/src/types/codegen.rs +++ b/starknet-core/src/types/codegen.rs @@ -3,7 +3,7 @@ // https://github.com/xJonathanLEI/starknet-jsonrpc-codegen // Code generated with version: -// https://github.com/xJonathanLEI/starknet-jsonrpc-codegen#1dd2923818eb6ac2a44e685af25ab9d0b9fa4413 +// https://github.com/xJonathanLEI/starknet-jsonrpc-codegen#2fc8455d3720039015a9abf014c27ea3ca24bd25 // These types are ignored from code generation. Implement them manually: // - `RECEIPT_BLOCK` @@ -33,9 +33,9 @@ use crate::serde::byte_array::base64; use super::{serde_impls::NumAsHex, *}; -#[cfg(all(not(no_rc), not(no_sync), target_has_atomic = "ptr"))] +#[cfg(target_has_atomic = "ptr")] pub type OwnedPtr = alloc::sync::Arc; -#[cfg(not(all(not(no_rc), not(no_sync), target_has_atomic = "ptr")))] +#[cfg(not(target_has_atomic = "ptr"))] pub type OwnedPtr = alloc::boxed::Box; const QUERY_VERSION_OFFSET: FieldElement = FieldElement::from_mont([