Skip to content

Starknet 0.14.0 migration#21

Merged
byteZorvin merged 9 commits intomainfrom
starknet-0.14.0
Nov 21, 2025
Merged

Starknet 0.14.0 migration#21
byteZorvin merged 9 commits intomainfrom
starknet-0.14.0

Conversation

@byteZorvin
Copy link
Copy Markdown
Member

No description provided.

Copy link
Copy Markdown
Contributor

@apoorvsadana apoorvsadana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

notes to myself, will fix these.

Comment thread crates/handlers/starknet/src/lib.rs Outdated
l1_gas: ResourceBounds {
max_amount: 0,
max_price_per_unit: 0,
max_amount: 10000,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

send resource bounds in params

Comment thread crates/rpc/src/starknet/errors.rs Outdated
Comment on lines +189 to +201
StarknetError::EntrypointNotFound => StarknetRpcApiError::ContractError,
StarknetError::StorageProofNotSupported => StarknetRpcApiError::UnimplementedMethod,
StarknetError::ReplacementTransactionUnderpriced => {
StarknetRpcApiError::InsufficientMaxFee
}
StarknetError::FeeBelowMinimum => StarknetRpcApiError::InsufficientMaxFee,
StarknetError::InvalidSubscriptionId => {
StarknetRpcApiError::InvalidContinuationToken
}
StarknetError::TooManyAddressesInFilter => StarknetRpcApiError::TooManyKeysInFilter,
StarknetError::TooManyBlocksBack => StarknetRpcApiError::ErrUnexpectedError {
data: "Too many blocks back".to_string(),
},
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix error types

Comment thread js-scripts/src/account.ts Outdated
Comment on lines +101 to +110
max_amount: BigInt(10000),
max_price_per_unit: BigInt(1),
},
l1_data_gas: {
max_amount: BigInt(10000),
max_price_per_unit: BigInt(1),
},
l2_gas: {
max_amount: "0",
max_price_per_unit: "0",
max_amount: BigInt(10000000),
max_price_per_unit: BigInt(2214382549775320),
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove hardcoding

@byteZorvin
Copy link
Copy Markdown
Member Author

lgtm !

@byteZorvin byteZorvin merged commit 68d0667 into main Nov 21, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants