Skip to content

Commit

Permalink
fix: remove unknown cfg conditions (#588)
Browse files Browse the repository at this point in the history
  • Loading branch information
xJonathanLEI committed May 16, 2024
1 parent 43b2e8e commit 82bac8b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions starknet-accounts/tests/single_owner_account.rs
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ async fn can_execute_eth_transfer_invoke_v3_inner<P: Provider + Send + Sync>(
],
}])
.gas(200000)
.gas_price(100000000000000)
.gas_price(500000000000000)
.send()
.await
.unwrap();
Expand Down Expand Up @@ -602,7 +602,7 @@ async fn can_declare_cairo1_contract_v3_inner<P: Provider + Send + Sync>(
FieldElement::from_hex_be(&hashes.compiled_class_hash).unwrap(),
)
.gas(200000)
.gas_price(100000000000000)
.gas_price(500000000000000)
.send()
.await
.unwrap();
Expand Down
6 changes: 3 additions & 3 deletions starknet-core/src/types/codegen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down Expand Up @@ -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<T> = alloc::sync::Arc<T>;
#[cfg(not(all(not(no_rc), not(no_sync), target_has_atomic = "ptr")))]
#[cfg(not(target_has_atomic = "ptr"))]
pub type OwnedPtr<T> = alloc::boxed::Box<T>;

const QUERY_VERSION_OFFSET: FieldElement = FieldElement::from_mont([
Expand Down

0 comments on commit 82bac8b

Please sign in to comment.