-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
1 changeset CCIP deployment logic #16686
base: develop
Are you sure you want to change the base?
Conversation
AER Report: CI Coreaer_workflow , commit , Clean Go Tidy & Generate , Detect Changes , Scheduled Run Frequency , Core Tests (go_core_tests) , GolangCI Lint (deployment) , Core Tests (go_core_tests_integration) , Core Tests (go_core_fuzz) , Core Tests (go_core_race_tests) , test-scripts , Core Tests (go_core_ccip_deployment_tests) , lint , SonarQube Scan 1. Error return value is not checked: Golang Lint (deployment)Source of Error:deployment/ccip/changeset/v1_6/init_chain_e2e.go:136:11: Error return value is not checked (errcheck)
WriteFile("/Users/stackman/Desktop/chainlink-deployments/domains/ccip/staging-bix/addresses.json", addrs)
^ Suggested fix: Add error handling for the 2. Expect WriteFile permissions to be 0600 or less: Golang Lint (deployment)Source of Error:deployment/ccip/changeset/v1_6/init_chain_e2e.go:147:9: G306: Expect WriteFile permissions to be 0600 or less (gosec)
return os.WriteFile(path, b, 0644)
^ Suggested fix: Change the file permissions to 3. File is not properly formatted: Golang Lint (deployment)Source of Error:deployment/ccip/changeset/v1_6/init_chain_e2e.go:8:1: File is not properly formatted (goimports)
"github.com/smartcontractkit/ccip-owner-contracts/pkg/proposal/timelock"
^ Suggested fix: Run 4. fmt.Errorf call has arguments but no formatting directives: Golang Lint (deployment)Source of Error:deployment/ccip/changeset/v1_6/init_chain_e2e.go:79:50: printf: fmt.Errorf call has arguments but no formatting directives (govet)
return deployment.ChangesetOutput{}, fmt.Errorf("Error running DeployPrerequisiteChainContracts: ", err)
^ Suggested fix: Add appropriate formatting directives to the 5. fmt.Errorf call has arguments but no formatting directives: Golang Lint (deployment)Source of Error:deployment/ccip/changeset/v1_6/init_chain_e2e.go:96:50: printf: fmt.Errorf call has arguments but no formatting directives (govet)
return deployment.ChangesetOutput{}, fmt.Errorf("Error running DeployChainContractsChangeset: ", err)
^ Suggested fix: Add appropriate formatting directives to the 6. fmt.Errorf call has arguments but no formatting directives: Core Tests (go_core_ccip_deployment_tests)Source of Error:ccip/changeset/v1_6/init_chain_e2e.go:79:50: fmt.Errorf call has arguments but no formatting directives Suggested fix: Add appropriate formatting directives to the 7. fmt.Errorf call has arguments but no formatting directives: Core Tests (go_core_ccip_deployment_tests)Source of Error:ccip/changeset/v1_6/init_chain_e2e.go:96:50: fmt.Errorf call has arguments but no formatting directives Suggested fix: Add appropriate formatting directives to the AER Report: Operator UI CI ran successfully ✅ |
|
Requires
Supports