-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Rename DA oracle consts to be more descriptive #14743
Conversation
Below is an analysis created by an LLM. Be mindful of hallucinations and verify accuracy. WF: CI Core#f0c928b1. HTTP 503 Service Temporarily Unavailable error during push request:[Flakey Test Detection]Source of Error:
Why: The error occurred because the server handling the push request was temporarily unable to handle the request, possibly due to maintenance or overload. Suggested fix: Retry the operation after some time or investigate server status and load to ensure it can handle incoming requests. |
4528a9b
to
3d38239
Compare
3d38239
to
f0c928b
Compare
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.
What is the purpose of creating an entirely new package? This needs to be justified, and then if it makes sense we need to find a non-redundant name.
If you are finding it hard to think of a non-redundant name, consider that is a sign that you have isolated too little in a package on it's own.
@jmank88 This PR was motivated by @matYang's comment here: #14710 (comment) The update to I agree that referencing the oracle type with the toml package |
Idiomatic Go names do not use underscores, so |
|
4a8cbf2
f0c928b
to
4a8cbf2
Compare
AER Report: CI Core ran successfully ✅AER Report: Operator UI CI ran successfully ✅ |
4a8cbf2
to
38910fe
Compare
OracleAddress *types.EIP55Address | ||
CustomGasPriceCalldata string | ||
} | ||
|
||
type OracleType string | ||
type DAOracleType string |
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.
cc @jmank88 I also updated this to DAOracleType
to be more descriptive since it will continue to live in the toml
package, and we won't be violating: https://go.dev/doc/effective_go#names
Quality Gate passedIssues Measures |
toml.OPStack
,toml.Arbitrum
looked and felt a little odd (see feedback here)Creates a new packagedaoracle
and moves the DA oracle config over so we can now reference them asdaoracle.OPStack
, etc