-
Notifications
You must be signed in to change notification settings - Fork 294
feat: Add l1_gas_price and starknet_version to block and pending block headers #1303
Comments
This issue is related to a task under #1291 |
Taking this one |
1 field to be removed from this issue:
2 new field to be added to this issue:
Description: Details the resources used by the VM during transaction execution, including various computational and memory metrics. Type: Object Properties:
Required Fields:
Description: Represents the hash of the message as it appears on the L1 core contract. Type: String, formatted as a hexadecimal number. Pattern: The hash should match the format |
Those can be find under |
Would like to research on the |
There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale. |
closing this issue since it has been implemented in v0.5.1 already |
Feature Request
Add l1_gas_price and starknet_version to block and pending block headers
This issue aims to implement
l1_gas_price
andstarknet_version
toBLOCK_HEADER
andPENDING_BLOCK_HEADER
Based on the following specs: https://github.com/starkware-libs/starknet-specs/blob/v0.6.0-rc5/api/starknet_api_openrpc.json#L1375
l1_gas_price
Element:components/schemas/RESOURCE_PRICE
check herestarknet_version
Element:string
. The implementation must validate that the version string adheres to the SemVer format. If no version is specified an empty string should be returned like"starknet_version":""
Exepected behavior
exemple with in
starknet_getBlockWithTxHashes
for Starknet mainnet on block: 40000The text was updated successfully, but these errors were encountered: