package predeploys

import (
	"testing"

	"github.com/ethereum/go-ethereum/core"
	"github.com/stretchr/testify/require"
)

func TestGethAddresses(t *testing.T) {
	// We test if the addresses in geth match those in op-bindings, to avoid an import-cycle:
	// we import geth in the monorepo, and do not want to import op-bindings into geth.
	require.Equal(t, GasPriceOracleAddr, core.OVM_GasPriceOracleAddr)
	require.Equal(t, L1BlockAddr, core.L1BlockAddr)
}
