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

feat(rpc/v08): add l1_data_gas to v3 transaction resource bounds #2385

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

kkovaacs
Copy link
Contributor

This is a partial implementation: since we don't really use these new values other than passing those on to the Starknet gateway when submitting new transactions the new field is not added to the ResourceBounds type in the common crate.

We'll have to do that once these values need to be stored in storage and used in the P2P protocol when adding proper support for Starknet 0.13.4. I've added issue #2384 as a follow-up for this in the hope that we'll have a clearer picture around the expectations for this new field once we get there.

Closes: #2379

This is a partial implementation: since we don't _really_ use these
new values other than passing those on to the Starknet gateway when
submitting new transactions the new field is not added to the
`ResourceBounds` type in the common crate.

We'll have to do that once these values need to be stored in storage
and used in the P2P protocol when adding proper support for Starknet
0.13.4.

Closes: #2379
@kkovaacs kkovaacs requested a review from a team as a code owner November 15, 2024 14:23
Copy link
Contributor

@t00ts t00ts left a comment

Choose a reason for hiding this comment

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

LGTM!

@kkovaacs kkovaacs merged commit 0451be8 into main Nov 19, 2024
6 of 7 checks passed
@kkovaacs kkovaacs deleted the krisztian/add-l1-data-gas-resource-bounds branch November 19, 2024 15:53
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.

JSON-RPC 0.8.0: add l1_data_gas to RESOURCE_BOUNDS_MAPPING
3 participants