Skip to content

Commit

Permalink
Make feeEstimateToV0_7 private
Browse files Browse the repository at this point in the history
  • Loading branch information
AnkushinDaniil committed Dec 24, 2024
1 parent 1d1d2a9 commit 5faca91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rpc/estimate_fee_pkg_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

func TestFeeEstimateToV0_7(t *testing.T) {
t.Run("empty", func(t *testing.T) {
assert.Equal(t, FeeEstimateV0_7{}, FeeEstimateToV0_7(FeeEstimate{}))
assert.Equal(t, FeeEstimateV0_7{}, feeEstimateToV0_7(FeeEstimate{}))
})

t.Run("full", func(t *testing.T) {
Expand All @@ -29,7 +29,7 @@ func TestFeeEstimateToV0_7(t *testing.T) {
OverallFee: overallFee,
Unit: &unit,
},
FeeEstimateToV0_7(FeeEstimate{
feeEstimateToV0_7(FeeEstimate{
L1GasConsumed: gasConsumed,
L1GasPrice: gasPrice,
L2GasConsumed: new(felt.Felt).SetUint64(6),
Expand Down

0 comments on commit 5faca91

Please sign in to comment.