Skip to content
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.

feat: L1 gas price is configurable in the RuntimeConfig #1392

Conversation

tdelabro
Copy link
Collaborator

Lucas needs it for keep-starknet-strange/snos#68

It make sure that the value used in execution block context and the one in the block header are the same

@tdelabro tdelabro force-pushed the harmonize-gas-price-uses-in-runtime branch from 569d2f8 to ae95084 Compare January 22, 2024 16:59
Copy link
Collaborator

@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.

Is this a temporary solution for now because ideally we would need to fetch this data?

@tdelabro
Copy link
Collaborator Author

Is this a temporary solution for now because ideally, we would need to fetch this data?

Yes. The next step is to have it be an "inherent", set by the block producer based on fetching data and computing a moving average.

@tdelabro tdelabro merged commit 36698fe into keep-starknet-strange:main Jan 22, 2024
12 checks passed
@tdelabro tdelabro deleted the harmonize-gas-price-uses-in-runtime branch January 22, 2024 22:48
@github-actions github-actions bot locked and limited conversation to collaborators Jan 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants