Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove unknown cfg conditions #588

Merged
merged 1 commit into from
May 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading