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

liquiditypool module unit test #63

Merged
merged 16 commits into from
Jun 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
11 changes: 11 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ PROJECTNAME=$(shell basename "$(PWD)")
HTTPS_GIT := https://github.com/sunriselayer/sunrise.git
PACKAGE_NAME := github.com/sunriselayer/sunrise
GOLANG_CROSS_VERSION ?= v1.21.4
MOCKS_DIR = $(CURDIR)/test/mocks

# process linker flags
ldflags = -X github.com/cosmos/cosmos-sdk/version.Name=surise-app \
Expand Down Expand Up @@ -190,3 +191,13 @@ prebuilt-binary:
ghcr.io/goreleaser/goreleaser-cross:${GOLANG_CROSS_VERSION} \
release --clean
.PHONY: prebuilt-binary


#? mocks: Generate mock file
mocks: $(MOCKS_DIR)
@go install github.com/golang/mock/mockgen@v1.6.0
sh ./scripts/mockgen.sh
.PHONY: mocks

$(MOCKS_DIR):
mkdir -p $(MOCKS_DIR)
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ sunrised tx blob pay-for-blob 0x00010203040506070809 0x48656c6c6f2c20576f726c642
--chain-id private \
--from validator \
--keyring-backend test \
--fees 21000uvrise \
--fees 21000urise \
--yes
```

Expand Down
Loading
Loading