Skip to content

Commit

Permalink
Merge pull request #4 from base-org/gpo-test-update
Browse files Browse the repository at this point in the history
GasPriceOracle Test Update
  • Loading branch information
angel-ding-cb authored Mar 15, 2024
2 parents 3d6c240 + e56dc31 commit 69923a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions op-e2e/gas_price_oracle_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func TestGasPriceOracle(t *testing.T) {
costIntercept int32 = -27_321_890
)

inputs := []interface{}{costIntercept, costFastlzCoef, costTxSizeCoef, baseFeeScalar, blobFeeScalar, sequenceNumber}
inputs := []interface{}{baseFeeScalar, blobFeeScalar, sequenceNumber}
payload, err := inputsToHex(inputs)
assert.NoError(t, err)

Expand All @@ -76,7 +76,7 @@ func TestGasPriceOracle(t *testing.T) {
Balance: big.NewInt(0),
Storage: map[common.Hash]common.Hash{
common.HexToHash("0x1"): common.HexToHash("0x01"), // l1BaseFee 1
common.HexToHash("0x3"): common.HexToHash(hex.EncodeToString(byteResult)), // all constants
common.HexToHash("0x3"): common.HexToHash(hex.EncodeToString(byteResult)), // all other constants
common.HexToHash("0x7"): common.HexToHash("0x01"), // l1BlobBaseFee 1

},
Expand Down

0 comments on commit 69923a7

Please sign in to comment.