-
Notifications
You must be signed in to change notification settings - Fork 42
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: epoching to replace staking msg server #457
Merged
Merged
Changes from 3 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
84b4f79
chore: backport main to feat (#438)
RafilxTenfen b9ac09b
chore: modified to gentx to generate MsgWrappedCreateValidator (#435)
RafilxTenfen 685d96b
chore: backport main (#456)
RafilxTenfen e067fc4
chore: epoch handle staking msg server (#436)
RafilxTenfen e789f28
chore: pull main to feat 457 (#465)
RafilxTenfen 91b84ab
Merge branch 'main' of github.com:babylonlabs-io/babylon into feat/rm…
RafilxTenfen 8b746a0
fix: lint
RafilxTenfen 3423566
fix: changelog as improvement
RafilxTenfen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -167,6 +167,7 @@ mockgen_cmd=go run github.com/golang/mock/[email protected] | |
mocks: $(MOCKS_DIR) ## Generate mock objects for testing | ||
$(mockgen_cmd) -source=x/checkpointing/types/expected_keepers.go -package mocks -destination testutil/mocks/checkpointing_expected_keepers.go | ||
$(mockgen_cmd) -source=x/checkpointing/keeper/bls_signer.go -package mocks -destination testutil/mocks/bls_signer.go | ||
$(mockgen_cmd) -source=x/zoneconcierge/types/expected_keepers.go -package types -destination x/zoneconcierge/types/mocked_keepers.go | ||
$(mockgen_cmd) -source=x/btcstaking/types/expected_keepers.go -package types -destination x/btcstaking/types/mocked_keepers.go | ||
$(mockgen_cmd) -source=x/finality/types/expected_keepers.go -package types -destination x/finality/types/mocked_keepers.go | ||
$(mockgen_cmd) -source=x/incentive/types/expected_keepers.go -package types -destination x/incentive/types/mocked_keepers.go | ||
|
@@ -263,20 +264,20 @@ endif | |
test-e2e: build-docker-e2e test-e2e-cache | ||
|
||
test-e2e-cache: | ||
go test -mod=readonly -timeout=60m -v $(PACKAGES_E2E) --tags=e2e | ||
$(MAKE) test-e2e-cache-btc-timestamping | ||
$(MAKE) test-e2e-cache-btc-staking | ||
$(MAKE) clean-e2e | ||
$(MAKE) test-e2e-cache-btc-staking-pre-approval | ||
$(MAKE) test-e2e-cache-ibc-transfer | ||
# $(MAKE) test-e2e-cache-upgrade-v1 | ||
|
||
test-e2e-cache-ibc-transfer: | ||
go test -run TestIBCTranferTestSuite -mod=readonly -timeout=60m -v $(PACKAGES_E2E) --tags=e2e | ||
clean-e2e: | ||
docker container rm -f $(shell docker container ls -a -q) || true | ||
docker network prune -f || true | ||
|
||
test-e2e-cache-btc-timestamping: | ||
go test -run TestBTCTimestampingTestSuite -mod=readonly -timeout=60m -v $(PACKAGES_E2E) --tags=e2e | ||
|
||
test-e2e-cache-btc-timestamping-phase-2-hermes: | ||
go test -run TestBTCTimestampingPhase2HermesTestSuite -mod=readonly -timeout=60m -v $(PACKAGES_E2E) --tags=e2e | ||
|
||
test-e2e-cache-btc-timestamping-phase-2-rly: | ||
go test -run TestBTCTimestampingPhase2RlyTestSuite -mod=readonly -timeout=60m -v $(PACKAGES_E2E) --tags=e2e | ||
|
||
test-e2e-cache-btc-staking: | ||
go test -run TestBTCStakingTestSuite -mod=readonly -timeout=60m -v $(PACKAGES_E2E) --tags=e2e | ||
|
||
|
@@ -286,6 +287,9 @@ test-e2e-cache-btc-rewards: | |
test-e2e-cache-btc-staking-pre-approval: | ||
go test -run TestBTCStakingPreApprovalTestSuite -mod=readonly -timeout=60m -v $(PACKAGES_E2E) --tags=e2e | ||
|
||
test-e2e-cache-ibc-transfer: | ||
go test -run TestIBCTranferTestSuite -mod=readonly -timeout=60m -v $(PACKAGES_E2E) --tags=e2e | ||
|
||
test-e2e-cache-upgrade-v1: | ||
go test -run TestSoftwareUpgradeV1TestnetTestSuite -mod=readonly -timeout=60m -v $(PACKAGES_E2E) --tags=e2e | ||
|
||
|
@@ -442,7 +446,7 @@ build-cosmos-relayer-docker: ## Build Docker image for the Cosmos relayer | |
$(MAKE) -C contrib/images cosmos-relayer | ||
|
||
clean-docker-network: | ||
$(DOCKER) network rm ${dockerNetworkList} | ||
$(DOCKER) network rm ${dockerNetworkList} || true | ||
|
||
build-test-wasm: ## Build WASM bindings for testing | ||
$(DOCKER) run --rm -v "$(WASM_DIR)":/code \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm how to get rid of these?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure why it pop it up on this PR