load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( name = "chainlink", srcs = [ "generate.go", "generated.go", ], importpath = "github.com/divergencetech/ethier/tests/thirdparty/chainlink", visibility = ["//visibility:public"], deps = [ "@com_github_ethereum_go_ethereum//:go-ethereum", "@com_github_ethereum_go_ethereum//accounts/abi", "@com_github_ethereum_go_ethereum//accounts/abi/bind", "@com_github_ethereum_go_ethereum//common", "@com_github_ethereum_go_ethereum//core/types", "@com_github_ethereum_go_ethereum//event", ], ) go_test( name = "chainlink_test", srcs = ["chainlink_test.go"], embed = [":chainlink"], deps = [ "//ethtest", "//ethtest/chainlinktest", "//ethtest/chainlinktest/chainlinktestabi", "@com_github_ethereum_go_ethereum//accounts/abi/bind", "@com_github_ethereum_go_ethereum//common", "@com_github_ethereum_go_ethereum//core/types", "@com_github_ethereum_go_ethereum//crypto", "@com_github_h_fam_errdiff//:go_default_library", ], )