-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bump libocr; add context #75
Conversation
5c91b33
to
3ae36ba
Compare
bfe843c
to
cee56f6
Compare
9c2109c
to
21f864a
Compare
d11cd36
to
fac5f8c
Compare
e2f9254
to
6ff2fe8
Compare
1abe360
to
1e4a7f6
Compare
1e4a7f6
to
8910244
Compare
|
getTs func() *httptest.Server | ||
getTs func(t *testing.T) *httptest.Server |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this change? I don't see the testing.T
used anywhere in these funcs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The default timeout
case (and a few others) use a require.NoError
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh I see, they use the top level t *testing.T
in the test func. I usually rename nested testing.T
to tt
but thats just preference.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmmm I think using a different name could be error prone, because the original t
is still in scope to be referenced accidentally. This happens with ctx and err often as well.
@@ -5,8 +5,8 @@ go 1.22.5 | |||
require ( | |||
github.com/deckarep/golang-set/v2 v2.6.0 | |||
github.com/smartcontractkit/chain-selectors v1.0.23 | |||
github.com/smartcontractkit/chainlink-common v0.2.3-0.20241008175210-167715aa8613 | |||
github.com/smartcontractkit/libocr v0.0.0-20240717100443-f6226e09bee7 | |||
github.com/smartcontractkit/chainlink-common v0.3.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Noice, semver!
Integration test will fail until smartcontractkit/chainlink#14011 is merged |
Is there a way to configure it to run against latest core like we do in the non-evm repos? |
https://smartcontract-it.atlassian.net/browse/BCF-2887
Requires:
Supports:
core ref: 045c76f80d7249d572353ae904acc640b0597eef