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

For v3.2 release #673

Merged
merged 641 commits into from
Aug 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
641 commits
Select commit Hold shift + click to select a range
438064c
fix: disable keeper
Senna46 Jul 21, 2023
a28289b
Merge pull request #640 from UnUniFi/feat/update_for_strategy_contracts
Senna46 Jul 21, 2023
11ec141
Merge branch 'newDevelop' of https://github.com/UnUniFi/chain into di…
Senna46 Jul 21, 2023
3589bf8
fix: v3.1
Senna46 Jul 21, 2023
8a4e5c0
fix: disable store key
Senna46 Jul 21, 2023
81570fa
fix: upgrade name
Senna46 Jul 21, 2023
17a9f46
fix: test disable
Senna46 Jul 21, 2023
3a936bd
Merge pull request #643 from UnUniFi/disable-module
Senna46 Jul 21, 2023
74cba74
chore: pob order & delete unused code
Senna46 Jul 21, 2023
3ff0c90
feat: enable module
Senna46 Jul 25, 2023
c3fe962
feat: pool
Senna46 Jul 25, 2023
e6b4cbf
fix: cli
Senna46 Jul 25, 2023
7b86fc0
feat: wip test
Senna46 Jul 25, 2023
3b0a94c
Merge pull request #639 from UnUniFi/derivatives
Senna46 Jul 26, 2023
d5fabb7
Merge branch 'newDevelop' of https://github.com/UnUniFi/chain into de…
Senna46 Jul 26, 2023
aee9197
feat: liquidation pool
Senna46 Jul 26, 2023
e81baf2
feat: license
kimurayu45z Jul 26, 2023
973426f
Create LICENSE
kimurayu45z Jul 26, 2023
7a8ea8c
chore: rename
kimurayu45z Jul 26, 2023
0c2d053
Merge pull request #644 from UnUniFi/license
Senna46 Jul 26, 2023
2c575b1
feat: enable backed loan
Senna46 Jul 26, 2023
ca2d77b
fix: except test derivatives
Senna46 Jul 26, 2023
efb8f0b
Merge pull request #645 from UnUniFi/derivatives-enable
Senna46 Jul 26, 2023
d2d466b
feat: lpt fix
Senna46 Jul 26, 2023
dde112f
feat: withdraw test
Senna46 Jul 26, 2023
e916225
feat: enable test
Senna46 Jul 26, 2023
5a76228
fix: lpt test
Senna46 Jul 26, 2023
1f9af81
fix: #625 bug
Senna46 Jul 27, 2023
57a805d
fix: validateMsg
Senna46 Jul 27, 2023
be742c1
fix: position test
Senna46 Jul 27, 2023
4dc845b
fix: initial lpt
Senna46 Jul 27, 2023
aab3726
feat: integrationtest
Senna46 Jul 27, 2023
cab14dd
fix: ci
Senna46 Jul 27, 2023
4caeec6
feat: add param
Senna46 Jul 27, 2023
634791b
feat: 8 hour to param time
Senna46 Jul 27, 2023
4a00bab
fix: ci
Senna46 Jul 27, 2023
a61170d
feat: init
Senna46 Jul 27, 2023
8b7824c
fix: cli
Senna46 Jul 27, 2023
f996143
fix: 03 test
Senna46 Jul 27, 2023
73c03e8
feat: levy test
Senna46 Jul 27, 2023
b05d8fc
fix: integration test
Senna46 Jul 27, 2023
9254411
fix: msg levy
Senna46 Jul 27, 2023
993ba78
chore: cli arg
Senna46 Jul 27, 2023
1ff1452
feat: module account
Senna46 Jul 28, 2023
129fcf5
fix: auto levy & liquidation from module account
Senna46 Jul 28, 2023
aa166e6
fix: test
Senna46 Jul 28, 2023
8fa802c
chore: unused code
Senna46 Jul 28, 2023
235c6e5
fix: available asset in pool
Senna46 Jul 28, 2023
bd8d854
fix: error refactor
Senna46 Jul 28, 2023
16ef174
feat: 2 integration test
Senna46 Jul 28, 2023
d6f8c8b
feat: integration test & reserve token fix
Senna46 Jul 28, 2023
62eaf7a
chore: comment
Senna46 Jul 28, 2023
22ba331
feat: derivatives integration test spec
Senna46 Jul 28, 2023
6145ded
feat: comment
Senna46 Jul 28, 2023
4998bbf
hooks injection
taiki1frsh Jul 31, 2023
dee1626
arrange the content order and remove dust
taiki1frsh Jul 31, 2023
6ab0ff6
Merge pull request #647 from UnUniFi/derivatives-fix&test
Senna46 Jul 31, 2023
0e6a67d
Merge pull request #648 from UnUniFi/levy-time-params
Senna46 Jul 31, 2023
ebc3fb9
fix: recipient
Senna46 Jul 31, 2023
3ed59ba
Merge pull request #649 from UnUniFi/feature/inject-hooks-in-nftbacke…
Senna46 Jul 31, 2023
cc67d40
feat: proto
Senna46 Jul 31, 2023
2768ad4
feat: test init
Senna46 Jul 31, 2023
2eebf17
feat: proto margin
Senna46 Jul 31, 2023
cc02949
feat: key
Senna46 Jul 31, 2023
e436f28
feat: pending Position
Senna46 Jul 31, 2023
15a4fa6
feat: nft factory keeper
Senna46 Jul 31, 2023
817a5c9
feat: nft keeper
Senna46 Jul 31, 2023
e022d31
feat: position nft
Senna46 Jul 31, 2023
cb02369
fix: keeper
Senna46 Aug 1, 2023
a45720f
fix: ante
Senna46 Aug 1, 2023
1570867
fix:app
Senna46 Aug 1, 2023
b328b5e
chore: wasm order
Senna46 Aug 1, 2023
00a9d7c
feta: register
Senna46 Aug 1, 2023
d5bde19
feat: script
Senna46 Aug 1, 2023
eca2882
fix: appModuleBasic
Senna46 Aug 1, 2023
3c12a39
feat: proto
Senna46 Aug 1, 2023
f0a0917
revert: nft proto
Senna46 Aug 1, 2023
5c7fc58
Merge branch 'newDevelop' of https://github.com/UnUniFi/chain into nf…
Senna46 Aug 1, 2023
c803d30
chore: nft module name
Senna46 Aug 1, 2023
3314610
feat: app refactor
Senna46 Aug 1, 2023
5a2984c
add: check test
Senna46 Aug 1, 2023
9ba341e
Merge branch 'nft-transfer-disable' into skip-pob
Senna46 Aug 1, 2023
79e502a
chore: syntax
Senna46 Aug 1, 2023
728cc94
Merge pull request #641 from UnUniFi/nft-transfer-disable
Senna46 Aug 1, 2023
a5f0f02
fix: ci
Senna46 Aug 1, 2023
198053a
fix: pending-position
Senna46 Aug 1, 2023
3a13322
feat: burn nft
Senna46 Aug 1, 2023
ded218e
feat: open position
Senna46 Aug 1, 2023
c063aee
chore: func name
Senna46 Aug 1, 2023
dcc04a5
remove margin
Senna46 Aug 1, 2023
bca144a
Merge branch 'newDevelop' of https://github.com/UnUniFi/chain into po…
Senna46 Aug 1, 2023
ef56f67
feat: close position nft
Senna46 Aug 1, 2023
75cb721
fix: close position
Senna46 Aug 1, 2023
cab0162
addressPosition query
Senna46 Aug 1, 2023
48dc6ed
feat: wip close position
Senna46 Aug 1, 2023
745ecc2
add manager
Senna46 Aug 1, 2023
8ce084b
func fix & error
Senna46 Aug 1, 2023
79c0d0b
add nft data
Senna46 Aug 1, 2023
08f4edc
chore: comment
Senna46 Aug 1, 2023
e30e3a5
feat: close position token transfer
Senna46 Aug 1, 2023
e21e7b5
fix: proto
Senna46 Aug 1, 2023
5d5aaec
chore: somefix
Senna46 Aug 2, 2023
fb49dfe
Merge pull request #642 from UnUniFi/skip-pob
Senna46 Aug 2, 2023
d8b7cf6
feat: swagger
Senna46 Aug 2, 2023
b691a8f
feat: close position
Senna46 Aug 2, 2023
b65f91a
aggregator mint/redeem amount manual parse
jununifi Aug 3, 2023
6a06422
Merge pull request #652 from UnUniFi/aggregator/query_parser_fix
jununifi Aug 3, 2023
3a807ee
fix: test init
Senna46 Aug 6, 2023
53e1a67
separate future&option
Senna46 Aug 6, 2023
b66b319
fix: nft manage
Senna46 Aug 6, 2023
ac544e7
fix: module order
Senna46 Aug 6, 2023
3e8b158
feat: add debug & test position nft
Senna46 Aug 6, 2023
1fb03c5
Merge branch 'newDevelop' of https://github.com/UnUniFi/chain into po…
Senna46 Aug 6, 2023
7fd2c77
fix: fix & add margin test
Senna46 Aug 6, 2023
59c1d05
feat: integration test
Senna46 Aug 6, 2023
2f21580
fix: proto address=>opener_address
Senna46 Aug 6, 2023
4d4b7ea
fix: close position sender
Senna46 Aug 6, 2023
2256a05
fix: position opener
Senna46 Aug 6, 2023
349989f
remove: eventhook
kimurayu45z Aug 6, 2023
f5b03ea
fix: pending token & nft send
Senna46 Aug 6, 2023
948efe6
feat: integration test
Senna46 Aug 6, 2023
527bc86
fix: query nft exist but position not exist
Senna46 Aug 6, 2023
3758c0b
feat: query proto
Senna46 Aug 6, 2023
c25cdeb
fix: query proto
Senna46 Aug 6, 2023
9c30526
feat: query
Senna46 Aug 6, 2023
accebc3
feat: swagger
Senna46 Aug 6, 2023
6a8ee37
feat: add to cli
Senna46 Aug 6, 2023
3807ec1
Merge pull request #650 from UnUniFi/position-nft
kimurayu45z Aug 7, 2023
ad0403e
feat: rename yieldaggregator submodules
kimurayu45z Aug 7, 2023
e60dec7
Merge branch 'newDevelop' of https://github.com/UnUniFi/chain into di…
kimurayu45z Aug 7, 2023
90cf005
feat: nfttransfer hyphen
kimurayu45z Aug 7, 2023
5397768
feat: organize app directory
kimurayu45z Aug 7, 2023
13620ae
feat: app directory
kimurayu45z Aug 7, 2023
4d981b9
feat: delete old files
kimurayu45z Aug 7, 2023
713a6cc
fix: typo
kimurayu45z Aug 7, 2023
45b337e
feat: comment out nftbacked loan memo
kimurayu45z Aug 7, 2023
cc40d34
feat: restore eventhook
kimurayu45z Aug 7, 2023
11f74ab
feat: ecosystem incentive ante
kimurayu45z Aug 7, 2023
3c8309a
feat: ante nft listing
kimurayu45z Aug 7, 2023
08129d6
feat: wasm eventhook
kimurayu45z Aug 7, 2023
16851ec
Update Makefile
kimurayu45z Aug 7, 2023
dfca764
feat: eventhook
kimurayu45z Aug 8, 2023
fabf64d
feat: create vault response
kimurayu45z Aug 8, 2023
cbef0d1
feat: iya authority
kimurayu45z Aug 8, 2023
8cd7bcf
Merge pull request #657 from UnUniFi/KimuraYu45z-patch-1
kimurayu45z Aug 8, 2023
a48a38b
Merge branch 'newDevelop' of https://github.com/UnUniFi/chain into di…
kimurayu45z Aug 8, 2023
b6f775f
Merge branch 'directory' of https://github.com/UnUniFi/chain into eco…
kimurayu45z Aug 8, 2023
bf3d0ee
feat: remove recipient container
kimurayu45z Aug 8, 2023
e893b14
feat: txhandler
kimurayu45z Aug 8, 2023
0de280e
feat: proto
Senna46 Aug 8, 2023
35fe5c4
fix: name & type
Senna46 Aug 8, 2023
d12c7a4
fix: function name
Senna46 Aug 8, 2023
3b7bd43
chore
Senna46 Aug 8, 2023
83b7974
fix: hook
Senna46 Aug 8, 2023
af79b0a
feat: package
Senna46 Aug 8, 2023
ee10889
feat: module
Senna46 Aug 8, 2023
30d378b
feat: keeper
Senna46 Aug 8, 2023
572c263
fix: listing commission rate proto
Senna46 Aug 8, 2023
a8556f1
fix: commission rate
Senna46 Aug 8, 2023
5483a3e
add keeper
Senna46 Aug 8, 2023
e3d159b
handler v3.2
Senna46 Aug 8, 2023
05b3dbb
Merge branch 'directory' of https://github.com/UnUniFi/chain into eco…
Senna46 Aug 8, 2023
813499e
fix: json package
Senna46 Aug 8, 2023
9217651
Merge pull request #653 from UnUniFi/directory
kimurayu45z Aug 8, 2023
8cc14e4
Merge branch 'newDevelop' of https://github.com/UnUniFi/chain into ev…
kimurayu45z Aug 8, 2023
f47099e
Merge branch 'newDevelop' of https://github.com/UnUniFi/chain into ec…
kimurayu45z Aug 8, 2023
8ea8cfb
Merge branch 'ecosystemi' of https://github.com/UnUniFi/chain into ec…
kimurayu45z Aug 8, 2023
737fece
Merge branch 'newDevelop' of https://github.com/UnUniFi/chain into iy…
kimurayu45z Aug 8, 2023
7540609
Merge pull request #656 from UnUniFi/eventhook2
kimurayu45z Aug 8, 2023
58dcc5b
Merge pull request #658 from UnUniFi/iya-resp
kimurayu45z Aug 8, 2023
96591e9
fix: proto
Senna46 Aug 8, 2023
3573883
delete some cli
Senna46 Aug 8, 2023
9f6136e
Merge branch 'ecosystemi' of https://github.com/UnUniFi/chain into ec…
Senna46 Aug 8, 2023
d6e107b
Merge pull request #659 from UnUniFi/backedloan-refactor
kimurayu45z Aug 8, 2023
85bde72
Merge branch 'newDevelop' of https://github.com/UnUniFi/chain into up…
Senna46 Aug 8, 2023
e0c62db
app.go upgrades
Senna46 Aug 8, 2023
1ce2679
fix: test
Senna46 Aug 8, 2023
6fcc2fd
Merge pull request #654 from UnUniFi/ecosystemi
Senna46 Aug 8, 2023
b62c232
fix: disable module
Senna46 Aug 8, 2023
74f1f44
fix: ci
Senna46 Aug 8, 2023
cafad49
feat: wip nftfactory
kimurayu45z Aug 9, 2023
a85debd
fix: migration position
Senna46 Aug 9, 2023
046b0e6
feat: nftfactory
kimurayu45z Aug 10, 2023
e89020f
delete nftfactory keeper from derivatives
Senna46 Aug 10, 2023
f96ad1b
fix: nft mint & burn
Senna46 Aug 10, 2023
5680073
fix: keeper
Senna46 Aug 10, 2023
c652ed6
fix: ci
Senna46 Aug 10, 2023
9eba53f
integration test
Senna46 Aug 10, 2023
3ce8dc4
Merge pull request #664 from UnUniFi/derivatives-nftkeeper
kimurayu45z Aug 10, 2023
4619f40
feat: nftfactory
kimurayu45z Aug 11, 2023
0acb411
feat: rename nftbackedloan
kimurayu45z Aug 11, 2023
a300004
feat: rename nftbackedloan
kimurayu45z Aug 11, 2023
ac3bb83
feat: ecosystem test
kimurayu45z Aug 11, 2023
7467d7e
Merge branch 'nftbackedloan2' of https://github.com/UnUniFi/chain int…
kimurayu45z Aug 11, 2023
b525ff1
Merge pull request #666 from UnUniFi/nftbl3
kimurayu45z Aug 11, 2023
ba57257
feat: rename nftbackedloan
kimurayu45z Aug 11, 2023
fa557b6
Merge pull request #667 from UnUniFi/nftbl3
kimurayu45z Aug 11, 2023
ee4432f
chore: comments
kimurayu45z Aug 12, 2023
c5b7202
Merge pull request #665 from UnUniFi/nftbackedloan2
kimurayu45z Aug 12, 2023
80591a2
Merge pull request #668 from UnUniFi/iya
kimurayu45z Aug 12, 2023
e9f2bcc
feat: update iya
kimurayu45z Aug 12, 2023
c520b27
chore: fix conflict
kimurayu45z Aug 12, 2023
ddf63a9
fix: conflict
kimurayu45z Aug 12, 2023
2f60bf0
feat: wip cli
kimurayu45z Aug 12, 2023
1e4c771
feat: iya-feecollector
kimurayu45z Aug 12, 2023
079c098
feat: wip tx cli
kimurayu45z Aug 13, 2023
a62a2dd
feat: wip nftfactory
kimurayu45z Aug 13, 2023
4e2e341
feat: nftfactory
kimurayu45z Aug 14, 2023
c0194e6
feat: nftfactory
kimurayu45z Aug 14, 2023
060ea39
feat: remove depend nftfactory
Senna46 Aug 14, 2023
faa2945
nft keeper authlity
Senna46 Aug 14, 2023
479d33f
fix: flag
Senna46 Aug 14, 2023
9d0448f
test setup
Senna46 Aug 14, 2023
78f5ca0
fix: authority gov module
Senna46 Aug 14, 2023
51be537
fix: init
Senna46 Aug 14, 2023
078f4bf
fix: init fee controller
Senna46 Aug 14, 2023
a3afccc
cli doc
Senna46 Aug 14, 2023
5103225
test01
Senna46 Aug 14, 2023
49bcd31
fix: update class bug
Senna46 Aug 14, 2023
db6e34e
fix: query
Senna46 Aug 14, 2023
4126688
integration test
Senna46 Aug 14, 2023
4a97731
add collector address
Senna46 Aug 14, 2023
0dbd12e
fix: params
Senna46 Aug 14, 2023
d5c513b
Merge pull request #663 from UnUniFi/nftfactory
kimurayu45z Aug 14, 2023
13d7087
Merge branch 'newDevelop' of https://github.com/UnUniFi/chain into up…
Senna46 Aug 14, 2023
4b68261
faet: nftfactory update params
kimurayu45z Aug 14, 2023
194cf88
chore: codec register
kimurayu45z Aug 14, 2023
1641d23
factory param no fee
Senna46 Aug 14, 2023
f07f5a0
disable backedloan
Senna46 Aug 14, 2023
2313ec6
feat: msg update params
kimurayu45z Aug 14, 2023
0176bb9
fix: ci
Senna46 Aug 14, 2023
41dd951
- Remove pending CLI commands for UpdateParams and RegisterStrategy
jununifi Aug 14, 2023
cd42bbb
Merge pull request #669 from UnUniFi/iya-feecollector
kimurayu45z Aug 14, 2023
0cb074d
Merge pull request #671 from UnUniFi/nftf-params
kimurayu45z Aug 14, 2023
17ae084
fix: key
Senna46 Aug 14, 2023
3bec7b8
Merge branch 'newDevelop' of https://github.com/UnUniFi/chain into up…
Senna46 Aug 14, 2023
de17538
revert v3
Senna46 Aug 14, 2023
d57727a
upgrade v3.2
Senna46 Aug 14, 2023
c325c18
feat: upgrade 3.2
Senna46 Aug 14, 2023
58facec
fix: module name
Senna46 Aug 14, 2023
4ef7c2c
param get
Senna46 Aug 14, 2023
52abbbc
chore typo
Senna46 Aug 14, 2023
b5ea07c
revert module name
Senna46 Aug 14, 2023
c0c0ca5
iya upgrade does not work
Senna46 Aug 14, 2023
943e028
maybe work rc7
Senna46 Aug 14, 2023
8333138
delete3.3
Senna46 Aug 14, 2023
5030428
Merge pull request #672 from UnUniFi/ibc-hook
Senna46 Aug 15, 2023
4989e50
Merge branch 'newDevelop' of https://github.com/UnUniFi/chain into up…
Senna46 Aug 15, 2023
b6bd53e
ibc-hook upgrade
Senna46 Aug 15, 2023
a879ef8
Merge pull request #660 from UnUniFi/upgrade3.2-backedloan
Senna46 Aug 15, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: 1.18
go-version: 1.19
env:
GOOS: ${{ matrix.targetos }}
GOARCH: ${{ matrix.arch }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ jobs:
run: go build -v ./...

- name: Test
run: go test -v `go list ./... | grep -v -E 'deprecated/|x/derivatives/|x/ecosystemincentive/|x/nftbackedloan/|x/nftfactory/|x/pricefeed/|x/yieldaggregator/'`
run: go test -v `go list ./... | grep -v -E 'x/nftbackedloan/|x/derivatives/|x/pricefeed/|x/ecosystemincentive/'`
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ docs/node_modules
docs/.vuepress/dist
data
docker-build/*
cmd/ununifid/__debug_bin
5 changes: 2 additions & 3 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"golang.go",
"zxh404.vscode-proto3",
"eamodio.gitlens",
"TabNine.tabnine-vscode",
"streetsidesoftware.code-spell-checker",
"streetsidesoftware.code-spell-checker"
]
}
}
7 changes: 3 additions & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"editor.detectIndentation": false,
"editor.formatOnSave": true,
"cSpell.enabled": true,
"tabnine.experimentalAutoImports": true,
"go.lintTool": "golangci-lint",
"go.formatTool": "goimports",
"go.useLanguageServer": true,
Expand All @@ -26,7 +25,7 @@
},
"files.eol": "\n",
"[proto3]": {
"editor.defaultFormatter": "xaver.clang-format"
"editor.defaultFormatter": "zxh404.vscode-proto3"
},
"clang-format.style": "{BasedOnStyle: Google, IndentWidth: 2, ColumnLimit: 120, AlignConsecutiveAssignments: true, AlignConsecutiveDeclarations: true, SpacesInSquareBrackets: true}",
}
"clang-format.style": "{BasedOnStyle: Google, IndentWidth: 2, ColumnLimit: 120, AlignConsecutiveAssignments: true, AlignConsecutiveDeclarations: true, SpacesInSquareBrackets: true}"
}
674 changes: 674 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

303 changes: 102 additions & 201 deletions LICENSE.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ endif
PACKAGES_SIMTEST=$(shell go list ./... | grep '/simulation')
LEDGER_ENABLED ?= true
SDK_PACK := $(shell go list -m github.com/cosmos/cosmos-sdk | sed 's/ /\@/g')
TM_VERSION := $(shell go list -m github.com/tendermint/tendermint | sed 's:.* ::') # grab everything after the space in "github.com/tendermint/tendermint v0.34.7"
TM_VERSION := $(shell go list -m github.com/cometbft/cometbft | sed 's:.* ::') # grab everything after the space in "github.com/cometbft/cometbft v0.34.7"
DOCKER := $(shell which docker)
BUILDDIR ?= $(CURDIR)/build
TEST_DOCKER_REPO=jackzampolin/ununifitest
Expand Down Expand Up @@ -66,7 +66,7 @@ ldflags = -X github.com/cosmos/cosmos-sdk/version.Name=ununifi \
-X github.com/cosmos/cosmos-sdk/version.Version=$(VERSION) \
-X github.com/cosmos/cosmos-sdk/version.Commit=$(COMMIT) \
-X "github.com/cosmos/cosmos-sdk/version.BuildTags=$(build_tags_comma_sep)" \
-X github.com/tendermint/tendermint/version.TMCoreSemVer=$(TM_VERSION)
-X github.com/cometbft/cometbft/version.TMCoreSemVer=$(TM_VERSION)

ifeq (cleveldb,$(findstring cleveldb,$(JPYX_BUILD_OPTIONS)))
ldflags += -X github.com/cosmos/cosmos-sdk/types.DBBackend=cleveldb
Expand Down
14 changes: 14 additions & 0 deletions app/ante.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ import (

wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper"
wasmTypes "github.com/CosmWasm/wasmd/x/wasm/types"

builderante "github.com/skip-mev/pob/x/builder/ante"
builderkeeper "github.com/skip-mev/pob/x/builder/keeper"

ecosystemincentiveante "github.com/UnUniFi/chain/x/ecosystemincentive/ante"
ecosystemincentivekeeper "github.com/UnUniFi/chain/x/ecosystemincentive/keeper"
)

// HandlerOptions extend the SDK's AnteHandler options by requiring the IBC
Expand All @@ -21,6 +27,12 @@ type HandlerOptions struct {
IBCKeeper *keeper.Keeper
WasmConfig *wasmTypes.WasmConfig
TXCounterStoreKey storetypes.StoreKey

BuilderKeeper builderkeeper.Keeper
TxEncoder sdk.TxEncoder
Mempool builderante.Mempool

EcosystemincentiveKeeper ecosystemincentivekeeper.Keeper
}

func NewAnteHandler(options HandlerOptions) (sdk.AnteHandler, error) {
Expand Down Expand Up @@ -55,7 +67,9 @@ func NewAnteHandler(options HandlerOptions) (sdk.AnteHandler, error) {
ante.NewSigGasConsumeDecorator(options.AccountKeeper, options.SigGasConsumer),
ante.NewSigVerificationDecorator(options.AccountKeeper, options.SignModeHandler),
ante.NewIncrementSequenceDecorator(options.AccountKeeper),
ecosystemincentiveante.NewFrontendIncentiveDecorator(options.EcosystemincentiveKeeper),
ibcante.NewRedundantRelayDecorator(options.IBCKeeper),
builderante.NewBuilderDecorator(options.BuilderKeeper, options.TxEncoder, options.Mempool),
}

return sdk.ChainAnteDecorators(anteDecorators...), nil
Expand Down
Loading
Loading