Skip to content

Commit

Permalink
Fix rebase issues
Browse files Browse the repository at this point in the history
  • Loading branch information
AnkushinDaniil committed Jan 10, 2025
1 parent 0a8237c commit f9d30a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions core/block.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,8 @@ func post0134Hash(b *Block, stateDiff *StateDiff) (*felt.Felt, *BlockCommitments

pricesHash := gasPricesHash(
GasPrice{
PriceInFri: b.GasPriceSTRK,
PriceInWei: b.GasPrice,
PriceInFri: b.L1GasPriceSTRK,
PriceInWei: b.L1GasPriceETH,
},
*b.L1DataGasPrice,
*b.L2GasPrice,
Expand Down
1 change: 0 additions & 1 deletion starknet/block.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ type Block struct {
L2GasPrice *GasPrice `json:"l2_gas_price"`
L1DAMode L1DAMode `json:"l1_da_mode"`
L1DataGasPrice *GasPrice `json:"l1_data_gas_price"`
L2GasPrice *GasPrice `json:"l2_gas_price"`

// TODO we can remove the GasPrice method and the GasPriceLegacy field
// once v0.13 lands on mainnet. In the meantime, we include both to support
Expand Down

0 comments on commit f9d30a2

Please sign in to comment.