Skip to content
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

feat(x/epochs): upstream osmosis epoch module #19697

Merged
merged 48 commits into from
Apr 4, 2024
Merged
Show file tree
Hide file tree
Changes from 40 commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
106de38
scaffold
hieuvubk Mar 7, 2024
c97fbcd
add to simapp
hieuvubk Mar 8, 2024
b0779a4
add autocli
hieuvubk Mar 8, 2024
cf1bb3f
fix query test
hieuvubk Mar 8, 2024
be9f85f
set up epochs module
hieuvubk Mar 11, 2024
6a5f9b4
Merge branch 'main' into decentrio/upstream_epochs
hieuvubk Mar 12, 2024
6e2ce21
lint
hieuvubk Mar 12, 2024
8dfe5ca
Merge branch 'decentrio/upstream_epochs' of https://github.com/decent…
hieuvubk Mar 12, 2024
d0fb2c9
unused codec in module.go
hieuvubk Mar 12, 2024
267a925
remove yaml
hieuvubk Mar 12, 2024
97aaa7f
add to app v2
hieuvubk Mar 12, 2024
499904d
helper funcs
hieuvubk Mar 12, 2024
2004b90
fix
hieuvubk Mar 12, 2024
320c4c0
update changelog
hieuvubk Mar 12, 2024
66dc256
epochs event
hieuvubk Mar 12, 2024
1aa9602
spell fix
hieuvubk Mar 12, 2024
60de253
fix lint
hieuvubk Mar 12, 2024
76827ce
Update x/epochs/README.md
hieuvubk Mar 13, 2024
5c4c593
refactor hooks
hieuvubk Mar 14, 2024
51a7039
unused
hieuvubk Mar 14, 2024
ed2c119
merge main
hieuvubk Mar 14, 2024
55eb6c7
set hooks
hieuvubk Mar 14, 2024
a1a0c81
fix tests
hieuvubk Mar 14, 2024
dbf46d8
return directly
hieuvubk Mar 15, 2024
5f4f8d9
Merge branch 'main' into decentrio/upstream_epochs
hieuvubk Mar 15, 2024
6f9d19a
rename
hieuvubk Mar 15, 2024
234927a
handle hooks with branch service
hieuvubk Mar 15, 2024
f995fa8
merge main
hieuvubk Mar 18, 2024
2d511ee
update testutils
hieuvubk Mar 19, 2024
259e7d6
remove env in hooks
hieuvubk Mar 19, 2024
b6085f2
lint
hieuvubk Mar 19, 2024
d8a34e9
rename
hieuvubk Mar 19, 2024
97b795f
Update x/epochs/autocli.go
hieuvubk Mar 23, 2024
43c332d
Update x/epochs/keeper/epoch.go
hieuvubk Mar 23, 2024
2c4ca09
Update x/epochs/autocli.go
hieuvubk Mar 23, 2024
f4b67eb
use walk instead
hieuvubk Mar 23, 2024
1bf46ba
Merge branch 'decentrio/upstream_epochs' of https://github.com/decent…
hieuvubk Mar 23, 2024
e0cb398
unused & spell fix
hieuvubk Mar 23, 2024
ef21944
clean up
hieuvubk Mar 28, 2024
5826baf
Merge branch 'main' into decentrio/upstream_epochs
hieuvubk Mar 28, 2024
c3f50e6
Merge branch 'main' into decentrio/upstream_epochs
hieuvubk Mar 30, 2024
cb194dd
bump proto
hieuvubk Mar 30, 2024
dc76d28
revert RegisterInterfaces
hieuvubk Mar 30, 2024
e5a5459
lint
hieuvubk Mar 30, 2024
7088941
fix
hieuvubk Mar 30, 2024
68b013b
Merge branch 'main' into decentrio/upstream_epochs
hieuvubk Apr 3, 2024
4f44139
test go mod
hieuvubk Apr 3, 2024
8b171c5
Merge branch 'main' into decentrio/upstream_epochs
hieuvubk Apr 4, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,15 @@ updates:
labels:
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "/x/epochs"
schedule:
interval: weekly
day: wednesday
time: "03:15"
labels:
- "A:automerge"
- dependencies

# Dependencies should be up to date on release branch
- package-ecosystem: gomod
Expand Down
2 changes: 2 additions & 0 deletions .github/pr_labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@
- x/tx/**/*
"C:x/upgrade":
- x/upgrade/**/*
"C:x/epochs":
- x/epochs/**/*
"Type: ADR":
- docs/architecture/**/*
"Type: Build":
Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1222,3 +1222,34 @@ jobs:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
with:
projectBaseDir: x/mint/

test-x-epochs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.22"
check-latest: true
cache: true
cache-dependency-path: x/epochs/go.sum
- uses: technote-space/[email protected]
id: git_diff
with:
PATTERNS: |
x/epochs/**/*.go
x/epochs/go.mod
x/epochs/go.sum
- name: tests
if: env.GIT_DIFF
run: |
cd x/epochs
go test -mod=readonly -timeout 30m -coverprofile=coverage.out -covermode=atomic -tags='norace ledger test_ledger_mock' ./...
- name: sonarcloud
if: ${{ env.GIT_DIFF && !github.event.pull_request.draft && env.SONAR_TOKEN != null }}
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
with:
projectBaseDir: x/epochs/
Loading
Loading