-
Notifications
You must be signed in to change notification settings - Fork 22
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
fix: merge main to base #281
base: base/consumer-chain-support
Are you sure you want to change the base?
Changes from all commits
934e142
627a8d0
608038c
74baa4c
8080c4c
dfa7e25
9232072
2f0b1c8
e694b2c
80f6eb0
5af9109
cee934b
d56d0f8
2dbba5a
1ee2769
4092953
3f8aa01
5118dc5
c02f046
0573858
4e105a3
fc280b8
3de6fd8
cb1c05e
4341881
ab8df8b
a5f022f
e052ab3
81531dc
fd05973
5dff674
207880d
3117772
ac1c2de
022bb68
86626fc
0fca54e
b4cd6ac
36f1f9d
965510a
5a267ce
8fd17f7
dd94b92
6565301
807263a
ee15a86
7d7f4f8
bdf768e
a358d7b
9dea909
40cad01
8bc31e6
27349c9
a0e8f8a
cdbd96c
69c755f
768bec3
c0600dc
0c0b494
e305548
552573d
08ec9ab
d8506b6
4f702d6
df2b89b
f86f73b
e995884
70df36f
7140c9e
e05927e
cb9e0d5
709e2c2
0cf7d59
41ccf67
818f36f
d2bf472
996ec25
edc7f68
d7059e0
d2258c0
419645b
5f8d43a
d2dbb04
eccbe16
5e68a2e
0c97c12
afb436f
78d98ed
30d2a1a
ec66593
904ac20
d506aa9
46c75a4
16adc56
9568dd0
5a372e8
548f278
e1e768a
1c678fd
2765ab0
8dc751d
bc7cc1e
873b8dd
d20bbac
74913c6
5f1332c
3a8caaa
81c3288
0126bb0
eff5ab7
f2b7587
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Adapted from https://github.com/marketplace/actions/backporting | ||
# | ||
# Usage: | ||
# - Let's say you want to backport a pull request on a branch named `production`. | ||
# - Then label it with `backport production`. | ||
# - That's it! When the pull request gets merged, it will be backported to | ||
# the `production` branch. If the pull request cannot be backported, a comment | ||
# explaining why will automatically be posted. | ||
# | ||
# Note: multiple backport labels can be added. For example, if a pull request | ||
# has the labels `backport staging` and `backport production` it will be | ||
# backported to both branches: `staging` and `production`. | ||
name: Backport | ||
on: | ||
pull_request_target: | ||
types: | ||
- closed | ||
- labeled | ||
|
||
jobs: | ||
backport: | ||
name: Backport | ||
runs-on: ubuntu-latest | ||
# Only react to merged PRs for security reasons. | ||
# See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target. | ||
if: > | ||
github.event.pull_request.merged | ||
&& ( | ||
github.event.action == 'closed' | ||
|| ( | ||
github.event.action == 'labeled' | ||
&& contains(github.event.label.name, 'backport') | ||
) | ||
) | ||
steps: | ||
- uses: tibdex/backport@v2 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
Comment on lines
+22
to
+38
Check warning Code scanning / CodeQL Workflow does not contain permissions Medium
Actions Job or Workflow does not set permissions
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: Changelog Reminder | ||
on: | ||
pull_request: | ||
types: [assigned, opened, synchronize, reopened, labeled, unlabeled] | ||
branches: | ||
- main | ||
|
||
jobs: | ||
changelog_reminder: | ||
uses: babylonlabs-io/.github/.github/workflows/[email protected] | ||
secrets: inherit | ||
Comment on lines
+10
to
+11
Check warning Code scanning / CodeQL Workflow does not contain permissions Medium
Actions Job or Workflow does not set permissions
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: goreleaser | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
release: | ||
uses: babylonlabs-io/.github/.github/workflows/[email protected] | ||
secrets: inherit | ||
Comment on lines
+10
to
+11
Check warning Code scanning / CodeQL Workflow does not contain permissions Medium
Actions Job or Workflow does not set permissions
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,5 +29,6 @@ devnet-data/ | |
main | ||
tmp/ | ||
build/ | ||
dist/ | ||
|
||
*.swp |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,86 @@ | ||
run: | ||
build-tags: | ||
build-tags: | ||
- e2e_op | ||
- e2e_babylon | ||
- e2e_bcd | ||
- e2e_wasmd | ||
timeout: 5m | ||
|
||
linters: | ||
disable-all: true | ||
enable: | ||
- asasalint | ||
- asciicheck | ||
- bidichk | ||
- bodyclose | ||
- containedctx | ||
- contextcheck | ||
- decorder | ||
- dogsled | ||
- durationcheck | ||
- errcheck | ||
- errchkjson | ||
- errname | ||
- errorlint | ||
- exhaustive | ||
- forbidigo | ||
- forcetypeassert | ||
- goconst | ||
- gocritic | ||
- gocyclo | ||
- goheader | ||
- gomodguard | ||
- goprintffuncname | ||
- gosimple | ||
- govet | ||
- grouper | ||
- importas | ||
- ineffassign | ||
- loggercheck | ||
- maintidx | ||
- makezero | ||
- misspell | ||
- nakedret | ||
- nilerr | ||
- nlreturn | ||
- noctx | ||
- nonamedreturns | ||
- nosprintfhostport | ||
- paralleltest | ||
- reassign | ||
- revive | ||
- rowserrcheck | ||
- sqlclosecheck | ||
- staticcheck | ||
- stylecheck | ||
- tenv | ||
- testableexamples | ||
- tparallel | ||
- typecheck | ||
- unconvert | ||
- unparam | ||
- usestdlibvars | ||
- unused | ||
- wastedassign | ||
- whitespace | ||
# - wrapcheck # we really should be using this, lax for now todo(lazar): unlax at somepoint, good practice | ||
|
||
issues: | ||
max-same-issues: 0 | ||
# Default: https://golangci-lint.run/usage/false-positives/#default-exclusions | ||
exclude-dirs: | ||
- e2etest | ||
- itest | ||
exclude-rules: | ||
# Exclude some linters from running on tests files. | ||
- path: _test\.go | ||
linters: | ||
- gocyclo | ||
- errcheck | ||
- dupl | ||
- gosec | ||
- nonamedreturns | ||
- unparam | ||
- path-except: _test\.go | ||
linters: | ||
- forbidigo |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
project_name: finality-provider | ||
|
||
builds: | ||
- id: fpd-linux-amd64 | ||
main: ./finality-provider/cmd/fpd/main.go | ||
binary: fpd | ||
hooks: | ||
pre: | ||
- wget https://github.com/CosmWasm/wasmvm/releases/download/{{ .Env.COSMWASM_VERSION }}/libwasmvm_muslc.x86_64.a -O /usr/lib/libwasmvm_muslc.x86_64.a | ||
goos: | ||
- linux | ||
goarch: | ||
- amd64 | ||
env: | ||
- GO111MODULE=on | ||
flags: | ||
- -mod=readonly | ||
- -trimpath | ||
tags: | ||
- netgo | ||
- osusergo | ||
|
||
- id: eotsd-linux-amd64 | ||
main: ./eotsmanager/cmd/eotsd/main.go | ||
binary: eotsd | ||
hooks: | ||
pre: | ||
- wget https://github.com/CosmWasm/wasmvm/releases/download/{{ .Env.COSMWASM_VERSION }}/libwasmvm_muslc.x86_64.a -O /usr/lib/libwasmvm_muslc.x86_64.a | ||
goos: | ||
- linux | ||
goarch: | ||
- amd64 | ||
env: | ||
- GO111MODULE=on | ||
flags: | ||
- -mod=readonly | ||
- -trimpath | ||
tags: | ||
- netgo | ||
- osusergo | ||
|
||
archives: | ||
- id: zipped | ||
builds: | ||
- fpd-linux-amd64 | ||
- eotsd-linux-amd64 | ||
name_template: "{{.ProjectName}}-{{ .Version }}-{{ .Os }}-{{ .Arch }}" | ||
format: tar.gz | ||
files: | ||
- none* | ||
- id: binaries | ||
builds: | ||
- fpd-linux-amd64 | ||
- eotsd-linux-amd64 | ||
name_template: "{{.ProjectName}}-{{ .Version }}-{{ .Os }}-{{ .Arch }}" | ||
format: binary | ||
files: | ||
- none* | ||
|
||
checksum: | ||
name_template: "{{ .ProjectName }}_{{ .Version }}_checksums.txt" | ||
algorithm: sha256 | ||
|
||
release: | ||
github: | ||
owner: babylonlabs-io | ||
name: finality-provider | ||
|
||
# Docs: https://goreleaser.com/customization/changelog/ | ||
changelog: | ||
disable: true | ||
|
||
dist: dist |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# LND < 0.17.0 issue, not fixing | ||
CVE-2024-27304 | ||
GHSA-7jwh-3vrq-q3m8 | ||
CVE-2024-27289 | ||
CVE-2024-38359 |
Check warning
Code scanning / CodeQL
Unpinned tag for a non-immutable Action in workflow Medium