Skip to content

Commit

Permalink
fix: rename gethcommon -> common
Browse files Browse the repository at this point in the history
  • Loading branch information
MegaRedHand committed Feb 12, 2025
1 parent a8b84d3 commit 33b47e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions chainio/clients/avsregistry/reader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ func TestReaderMethods(t *testing.T) {
})

t.Run("Get operatorPubkeyHash", func(t *testing.T) {
operatorAddress := gethcommon.HexToAddress(testutils.ANVIL_FIRST_ADDRESS)
operatorAddress := common.HexToAddress(testutils.ANVIL_FIRST_ADDRESS)
operatorId, err := chainReader.GetOperatorId(&bind.CallOpts{}, operatorAddress)
require.NoError(t, err)

Expand All @@ -506,7 +506,7 @@ func TestReaderMethods(t *testing.T) {
})

t.Run("Get operatorPubkeyHash from operatorId", func(t *testing.T) {
operatorAddressActual := gethcommon.HexToAddress(testutils.ANVIL_FIRST_ADDRESS)
operatorAddressActual := common.HexToAddress(testutils.ANVIL_FIRST_ADDRESS)

operatorId, err := chainReader.GetOperatorId(&bind.CallOpts{}, operatorAddressActual)
require.NoError(t, err)
Expand All @@ -517,7 +517,7 @@ func TestReaderMethods(t *testing.T) {
})

t.Run("Get operator bls pubkey", func(t *testing.T) {
operatorAddress := gethcommon.HexToAddress(testutils.ANVIL_FIRST_ADDRESS)
operatorAddress := common.HexToAddress(testutils.ANVIL_FIRST_ADDRESS)

pubKey, err := chainReader.GetPubkeyFromOperatorAddress(
&bind.CallOpts{},
Expand Down

0 comments on commit 33b47e1

Please sign in to comment.