mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-08 23:18:15 -05:00
Replace Roughtime With Timeutils Across Prysm (#7301)
* remove roughtime * change all references * rename Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
This commit is contained in:
@@ -67,22 +67,6 @@
|
||||
"proto/.*": "Excluding protobuf objects for now"
|
||||
}
|
||||
},
|
||||
"roughtime": {
|
||||
"only_files": {
|
||||
"beacon-chain/.*": "",
|
||||
"shared/.*": "",
|
||||
"validator/.*": ""
|
||||
},
|
||||
"exclude_files": {
|
||||
".*/.*_test\\.go": "Tests are OK to use time.Now()",
|
||||
"shared/version/version\\.go": "Used for printing build time",
|
||||
"shared/roughtime/roughtime\\.go": "Required to bootstrap roughtime",
|
||||
"beacon-chain/blockchain/testing/*": "Test-only package",
|
||||
"beacon-chain/p2p/sender\\.go": "Libp2p uses time.Now and this file sets a time based deadline in such a way that roughtime cannot be used",
|
||||
"beacon-chain/sync/deadlines\\.go": "Libp2p uses time.Now and this file sets a time based deadline in such a way that roughtime cannot be used",
|
||||
"shared/grpcutils/grpcutils\\.go": "Uses time.Now() for gRPC duration logging"
|
||||
}
|
||||
},
|
||||
"errcheck": {
|
||||
"exclude_files": {
|
||||
"external/.*": "Third party code",
|
||||
|
||||
Reference in New Issue
Block a user