diff --git a/integration-tests/deployment/ccip/view/noncemanager.go b/integration-tests/deployment/ccip/view/noncemanager.go index b8898ca84d1..b7036b0e7b8 100644 --- a/integration-tests/deployment/ccip/view/noncemanager.go +++ b/integration-tests/deployment/ccip/view/noncemanager.go @@ -14,7 +14,7 @@ func (nm NonceManager) Address() common.Address { return common.HexToAddress(nm.Contract.Address) } -func NonceManagerSnapshot(nm NonceManagerGetter) (NonceManager, error) { +func NonceManagerSnapshot(nm NonceManagerReader) (NonceManager, error) { authorizedCallers, err := nm.GetAllAuthorizedCallers(nil) if err != nil { return NonceManager{}, err @@ -33,7 +33,7 @@ func NonceManagerSnapshot(nm NonceManagerGetter) (NonceManager, error) { }, nil } -type NonceManagerGetter interface { +type NonceManagerReader interface { GetAllAuthorizedCallers(opts *bind.CallOpts) ([]common.Address, error) TypeAndVersion(opts *bind.CallOpts) (string, error) Address() common.Address diff --git a/integration-tests/deployment/ccip/view/tokenadminregistry.go b/integration-tests/deployment/ccip/view/tokenadminregistry.go index 6f33da1e688..a0ae702d9f5 100644 --- a/integration-tests/deployment/ccip/view/tokenadminregistry.go +++ b/integration-tests/deployment/ccip/view/tokenadminregistry.go @@ -14,7 +14,7 @@ func (ta TokenAdminRegistry) Address() common.Address { return common.HexToAddress(ta.Contract.Address) } -func TokenAdminRegistrySnapshot(taContract TokenAdminRegistryGetter) (TokenAdminRegistry, error) { +func TokenAdminRegistrySnapshot(taContract TokenAdminRegistryReader) (TokenAdminRegistry, error) { tokens, err := taContract.GetAllConfiguredTokens(nil, 0, 10) if err != nil { return TokenAdminRegistry{}, err @@ -32,7 +32,7 @@ func TokenAdminRegistrySnapshot(taContract TokenAdminRegistryGetter) (TokenAdmin }, nil } -type TokenAdminRegistryGetter interface { +type TokenAdminRegistryReader interface { GetAllConfiguredTokens(opts *bind.CallOpts, startIndex uint64, maxCount uint64) ([]common.Address, error) TypeAndVersion(opts *bind.CallOpts) (string, error) Address() common.Address