-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add basefee as kakarot storage slot (#774)
* feat: add basefee as kakarot storage slot * fix: fix gas price * fix ci
- Loading branch information
Showing
7 changed files
with
15 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule kakarot
updated
51 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,5 @@ | ||
use lazy_static::lazy_static; | ||
|
||
lazy_static! { | ||
pub static ref MAX_FEE: u64 = 100_000_000_000_000_000u64; | ||
/// Since Kakarot does not have a fee market, the base fee | ||
/// per gas should currently be the Starknet gas price. | ||
/// Since this field is not present in the Starknet | ||
/// block header, we arbitrarily set it to 100 Gwei. | ||
pub static ref BASE_FEE_PER_GAS: u64 = 100_000_000_000; | ||
pub static ref MAX_PRIORITY_FEE_PER_GAS: u64 = 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters