-
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
Aptos (combined branch) #13716
base: develop
Are you sure you want to change the base?
Aptos (combined branch) #13716
Conversation
plugin := env.NewPlugin("aptos") | ||
loopKs := &keystore.AptosLooppSigner{Aptos: ks} |
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.
Perhaps all this can be moved into InitAptos?
return flat | ||
} | ||
|
||
const triggerID = "[email protected]" |
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.
I like having this merged as an example trigger. I only wish it could go to common but it can't because of EVM dep :( Maybe we should create a special sub-directory with example capabilities and move on-demand trigger there as well...? @cedric-cordenier thoughts?
@@ -206,6 +207,13 @@ func NewApplication(opts ApplicationOpts) (Application, error) { | |||
opts.CapabilitiesRegistry = capabilities.NewRegistry(globalLogger) | |||
} | |||
|
|||
// Use a recurring trigger with mock data for testing purposes |
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.
Testing where? Can it be under some flag? It doesn't seem right to always add it.
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.
I'll move this inside the mock_trigger.go
, that way it's only used if the capability is used
1a2e235
to
b730639
Compare
9abfa6f
to
c4351e3
Compare
b2923aa
to
5fcb275
Compare
c4351e3
to
2caac81
Compare
5fcb275
to
8a5a6d4
Compare
2caac81
to
01aec7a
Compare
e9b4b43
to
0930f22
Compare
01aec7a
to
5e26147
Compare
e255623
to
b73c5ff
Compare
b73c5ff
to
491a121
Compare
6453f9f
to
0bf0cc1
Compare
0bf0cc1
to
bf14593
Compare
2e13052
to
407c01e
Compare
I see you updated files related to
|
AER Report: CI Coreaer_workflow , commit , Detect Changes , Clean Go Tidy & Generate , Scheduled Run Frequency , Find New Flaky Tests In Root Project / Find Tests To Run , lint , Core Tests (go_core_tests) , Core Tests (go_core_tests_integration) , Core Tests (go_core_ccip_deployment_tests) , Find New Flaky Tests In Deployment Project , Core Tests (go_core_race_tests) , Core Tests (go_core_fuzz) , Find New Flaky Tests In Root Project / Run Tests , Find New Flaky Tests In Root Project / Report , Flakey Test Detection , SonarQube Scan 1. Integer overflow conversion int -> uint8:[Golang Lint]Source of Error:core/capabilities/streams/mock_trigger.go:76:20: G115: integer overflow conversion int -> uint8 (gosec)
bytes[31] = uint8(i + 1)
^ Suggested fix: Ensure that the 2. Integer overflow conversion int64 -> uint32:[Golang Lint]Source of Error:core/capabilities/streams/mock_trigger.go:143:29: G115: integer overflow conversion int64 -> uint32 (gosec)
Timestamp: uint32(timestamp),
^
core/capabilities/streams/mock_trigger.go:144:29: G115: integer overflow conversion int64 -> uint32 (gosec)
ValidFromTimestamp: uint32(timestamp),
^
core/capabilities/streams/mock_trigger.go:149:29: G115: integer overflow conversion int64 -> uint32 (gosec)
ExpiresAt: uint32(timestamp + 1000000),
^ Suggested fix: Ensure that the 3. Integer overflow conversion int -> uint32:[Golang Lint]Source of Error:core/capabilities/streams/mock_trigger.go:186:94: G115: integer overflow conversion int -> uint32 (gosec)
reportCtx := ocrTypes.ReportContext{ReportTimestamp: ocrTypes.ReportTimestamp{Epoch: uint32(baseTimestamp + j)}}
^ Suggested fix: Ensure that the 4. Replace
|
855eced
to
ea18df1
Compare
Quality Gate failedFailed conditions See analysis details on SonarQube Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
…v/test (#14560) * Add ARG MODE to plugins/chainlink.Dockerfile to enable Beholder in dev/test * Adjusting make scripts to accept build tags with TAG var * Testing out new build args --------- Co-authored-by: Sergei Drugalev <[email protected]> Co-authored-by: Damjan Smickovski <[email protected]>
ea18df1
to
752d706
Compare
Contains #14076, #14078 and staged changes