Skip to content

Commit

Permalink
refactor chainio clients (#73)
Browse files Browse the repository at this point in the history
* dockerized our fork of abigen that generates interfaces and adapted generate-bindings to use it

* refactored el reader/writer/subscriber and got rid of elChainClient

* fixed eigenpod bindings bug

* got rid of erc20 and avsregistry clients

* updated constructor.go and added local constructors for elcontracts

* fixed linter errors

* fixed linting error
linter doesn't accept indirect reference to eigenmetrics.. quite stupid

* refactored chainio/clients module

* added comment for GetStrategyAndUnderlyingERC20Token

* updated comment about waiting for receipts inside fcts

* made builder constructor take a signer instead of building one from hex key string

* updated elreader to use callopts instead of context
also fixed some bugs in mock gen

* changed avsreader to take callopts as arg instead of context

* fix linter issue

* deleted unneeded file

* added validation for BuildAll's config
  • Loading branch information
samlaf authored Dec 8, 2023
1 parent 8daba1f commit 513ad35
Show file tree
Hide file tree
Showing 46 changed files with 2,259 additions and 1,684 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ mocks: ## generates mocks
go generate ./...

tests: ## runs all tests
go test ./... -covermode=atomic
go test ./... -covermode=atomic -timeout=30s

tests-cover: ## run all tests with test coverge
go test ./... -coverprofile=coverage.out -covermode=atomic -v -count=1
Expand Down
219 changes: 0 additions & 219 deletions chainio/clients/avs_registry_contracts_client.go

This file was deleted.

Loading

0 comments on commit 513ad35

Please sign in to comment.