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: adding upgrade handler v6.7-rc1 for canon-4 #2616

Merged
merged 2 commits into from
Nov 1, 2024

Conversation

gsk967
Copy link
Collaborator

@gsk967 gsk967 commented Oct 30, 2024

Description

adding upgrade handler v6.7-rc1 for canon-4


Author Checklist

All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.

I have...

  • included the correct type prefix in the PR title
  • added ! to the type prefix if API or client breaking change
  • added appropriate labels to the PR
  • targeted the correct branch (see PR Targeting)
  • provided a link to the relevant issue or specification
  • added a changelog entry to CHANGELOG.md
  • included comments for documenting Go code
  • updated the relevant documentation or specification
  • reviewed "Files changed" and left comments if necessary
  • confirmed all CI checks have passed

Reviewers Checklist

All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.

I have...

  • confirmed the correct type prefix in the PR title
  • confirmed all author checklist items have been addressed
  • reviewed state machine logic
  • reviewed API design and naming
  • reviewed documentation is accurate
  • reviewed tests and test coverage
  • manually tested (if applicable)

Summary by CodeRabbit

  • New Features
    • Introduced a new upgrade handler for version v6.7-rc1, enhancing the upgrade process.
  • Bug Fixes
    • Updated comments to clarify the purpose of the existing handler for version v6.6RC1 for the testnet network.

@gsk967 gsk967 requested a review from a team as a code owner October 30, 2024 07:38
Copy link

codecov bot commented Oct 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 62.01%. Comparing base (7f05ad4) to head (3325dde).
Report is 544 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##             main    #2616       +/-   ##
===========================================
- Coverage   75.38%   62.01%   -13.38%     
===========================================
  Files         100      275      +175     
  Lines        8025    19629    +11604     
===========================================
+ Hits         6050    12172     +6122     
- Misses       1589     6685     +5096     
- Partials      386      772      +386     
Files with missing lines Coverage Δ
app/upgrades.go 44.37% <100.00%> (ø)

... and 215 files with indirect coverage changes

Copy link
Contributor

coderabbitai bot commented Oct 30, 2024

Walkthrough

The changes introduce a new upgrade handler for version v6.7-rc1 in the RegisterUpgradeHandlers method of the UmeeApp class located in app/upgrades.go. This new handler is registered after the existing handler for v6.6RC1, which has been commented to specify its relevance to the testnet network. The overall structure and logic of the upgrade registration process remain unchanged, with no modifications to existing method signatures or public entities.

Changes

File Change Summary
app/upgrades.go Added a new upgrade handler for version v6.7-rc1 in RegisterUpgradeHandlers. Existing handler for v6.6RC1 commented for testnet relevance.

Possibly related PRs

Poem

🐇 In the meadow, upgrades bloom,
A new handler joins the room.
Version six point seven's here,
With each change, we cheer and cheer!
The testnet's path, now clear and bright,
Hopping forward, all feels right! 🌼


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Outside diff range and nitpick comments (2)
app/upgrades.go (2)

57-58: Consider standardizing version naming convention.

The version format v6.7-rc1 differs from the previous version v6.6RC1. Consider maintaining consistency in version naming conventions across upgrades.

Apply this diff to standardize the version format:

-	app.registerUpgrade("v6.7-rc1", upgradeInfo, nil, nil, nil)
+	app.registerUpgrade("v6.7RC1", upgradeInfo, nil, nil, nil)

57-58: Enhance documentation for testnet upgrade.

While the comment indicates this is a testnet-only upgrade, consider adding more context about the purpose and scope of this upgrade for better maintainability.

Apply this diff to improve documentation:

-	// this upgrade is only for testnet (canon-4) network
+	// v6.7RC1: Testnet-only upgrade for canon-4 network
+	// This upgrade handler performs module migrations without any store upgrades
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Files that changed from the base of the PR and between b02d130 and 3325dde.

📒 Files selected for processing (1)
  • app/upgrades.go (1 hunks)
🔇 Additional comments (1)
app/upgrades.go (1)

58-58: Verify upgrade handler registration.

The upgrade handler is registered with all nil parameters, indicating no store changes. Let's verify this is intentional and that no other upgrade handlers reference this version.

✅ Verification successful

Let me check the implementation of the previous RC upgrade to ensure consistency.


Registration of v6.7-rc1 upgrade handler with nil parameters is correct

The implementation is intentional and consistent with the codebase:

  • The code comment explicitly states this upgrade is "only for testnet (canon-4) network"
  • Unlike v6.6RC1 which required parameter updates, this testnet-only upgrade doesn't need any store migrations or parameter changes, hence the nil handlers
  • No other references to v6.7-rc1 were found in the codebase, confirming this is the only registration point
🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify that v6.7-rc1 is not referenced elsewhere in the codebase
# and that this is consistent with other RC upgrades

# Check for any other references to v6.7-rc1 or v6.7RC1
echo "Checking for other references to v6.7-rc1..."
rg -i "v6.7.?rc1" --type go

# Compare with previous RC upgrade implementations
echo "Checking implementation patterns of previous RC upgrades..."
rg "registerUpgrade.*RC\d" --type go

Length of output: 520


Script:

#!/bin/bash
# Check the implementation of the previous RC upgrade (6.6RC1)
echo "Checking implementation of 6.6RC1 upgrade..."
rg -A 10 "registerUpgrade6_6RC1" --type go

Length of output: 1096

@gsk967
Copy link
Collaborator Author

gsk967 commented Nov 1, 2024

I tested locally e2e

umee [sai/canon_v6_7_rc1_upgrade●] $ make test-e2e
# @DOCKER_BUILDKIT=1 docker build -t umee-network/umeed-e2e -f contrib/images/umee.e2e.dockerfile --build-arg EXPERIMENTAL=true .
go test ./tests/e2e/... -mod=readonly -timeout 30m -race -v -tags='"e2e experimental"'
# github.com/umee-network/umee/v6/tests/e2e.test
ld: warning: '/private/var/folders/gp/t7gg4bs95wg9r4x641d14lm40000gn/T/go-link-1765110150/000024.o' has malformed LC_DYSYMTAB, expected 98 undefined symbols to start at index 1626, found 95 undefined symbols starting at index 1626
?   	github.com/umee-network/umee/v6/tests/e2e/setup	[no test files]
=== RUN   TestE2ETestSuite
    setup.go:77: setting up e2e integration test suite...
    setup.go:104: starting e2e infrastructure; chain-id: chain-ELNbxX; datadir: /var/folders/gp/t7gg4bs95wg9r4x641d14lm40000gn/T/umee-e2e-testnet-3424353421
    setup.go:210: modifying genesis file; validator_0 config: /var/folders/gp/t7gg4bs95wg9r4x641d14lm40000gn/T/umee-e2e-testnet-3424353421/chain-ELNbxX/umee0/config/genesis.json
    setup.go:302: creating genesis txs
    setup.go:332: writing updated genesis file to each validator
    setup.go:389: starting Umee validator containers...
    setup.go:422: started Umee validator container: 956182460c362fcca3360cd4f579ffa1be63dc7d4ed84ca77e01fbce8131c1be
    setup.go:422: started Umee validator container: 72865f72c326dc4eb2d224fd8f4081fb7afff2e8d303b3017fe7c92cbdb88737
    setup.go:422: started Umee validator container: 47828ddcac752c4ebe70bcf51f2973e843418827a8bf9aaed690509a2640da5b
    setup.go:119: Delegating from test account 0 to validators
    utils.go:335: expected sequence number: 1 , got: 0
    utils.go:335: expected sequence number: 2 , got: 0
    price-feeder.go:26: starting price-feeder container...
    price-feeder.go:68: Price feeder endpoint not available Get "http://localhost:7171/api/v1/prices": read tcp 127.0.0.1:51916->127.0.0.1:7171: read: connection reset by peer
    price-feeder.go:121: started price-feeder container: bfba3fcea05ce87e5850d06a871c6246a46b9f622165f1d55aee1c376ccc7480
    gaia.go:56: starting Gaia network container...
    gaia.go:129: ✅ Started Gaia network container: 28ff434ea1757a4660d517fedbb6a441666b9cfcc3e2284f04b72e7a5bddf1c1
    ibc.go:20: starting Hermes relayer container...
    ibc.go:71: ℹ️ Waiting for ibc channel creation...
    ibc.go:74: We are waiting for channel creation...
    ibc.go:74: We are waiting for channel creation...
    ibc.go:74: We are waiting for channel creation...
    ibc.go:74: We are waiting for channel creation...
    ibc.go:74: We are waiting for channel creation...
    ibc.go:74: We are waiting for channel creation...
    utils.go:305: ✅ Channels state is  : STATE_INIT
    ibc.go:74: We are waiting for channel creation...
    utils.go:305: ✅ Channels state is  : STATE_OPEN
    utils.go:307: ✅ Channels are created among the chains : channel-0
    ibc.go:77: ✅ IBC Channel is created among the the chains
    ibc.go:117: ✅ Started Hermes relayer container: b185e19c97be078e7aba893aea2a290478d2d2142c11010c7680809eefd8ac51
    setup.go:132: Setup Complete
=== RUN   TestE2ETestSuite/TestAllPrices
=== RUN   TestE2ETestSuite/TestIBCTokenTransfer
=== RUN   TestE2ETestSuite/TestIBCTokenTransfer/send_stake_to_umee
    utils.go:98: exec cmd on hermes : hermes tx ft-transfer --dst-chain chain-ELNbxX --src-chain test-gaia-chain --src-port transfer --src-channel channel-0 --amount 3300000000 --denom=stake --timeout-height-offset=3000 --receiver=umee1p97mkl94cvqduvcal4qcres4ew7k4ka85nlkwv
=== RUN   TestE2ETestSuite/TestIBCTokenTransfer/ibc_transfer_quota
    utils.go:98: exec cmd on hermes : hermes tx ft-transfer --dst-chain chain-ELNbxX --src-chain test-gaia-chain --src-port transfer --src-channel channel-0 --amount 118708455 --denom=uatom --timeout-height-offset=3000
    utils.go:61: sending 137181708777uumee from chain-ELNbxX to test-gaia-chain,  (expectedErr: quota transfer exceeded)
    utils.go:98: exec cmd on hermes : hermes tx ft-transfer --dst-chain test-gaia-chain --src-chain chain-ELNbxX --src-port transfer --src-channel channel-0 --amount 137181708777 --denom=uumee --timeout-height-offset=3000
    utils.go:61: sending 137181708777uumee from chain-ELNbxX to test-gaia-chain,  (expectedErr: recipient address must not exceed 2048 bytes)
    utils.go:98: exec cmd on hermes : hermes tx ft-transfer --dst-chain test-gaia-chain --src-chain chain-ELNbxX --src-port transfer --src-channel channel-0 --amount 137181708777 --denom=uumee --timeout-height-offset=3000 --receiver=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
    utils.go:61: sending 26115860ibc/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2 from chain-ELNbxX to test-gaia-chain, uatom from umee to gaia (expectedErr: quota transfer exceeded)
    utils.go:98: exec cmd on hermes : hermes tx ft-transfer --dst-chain test-gaia-chain --src-chain chain-ELNbxX --src-port transfer --src-channel channel-0 --amount 26115860 --denom=ibc/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2 --timeout-height-offset=3000
    utils.go:98: exec cmd on hermes : hermes tx ft-transfer --dst-chain test-gaia-chain --src-chain chain-ELNbxX --src-port transfer --src-channel channel-0 --amount 112239579909 --denom=uumee --timeout-height-offset=3000
    e2e_ibc_test.go:47: exchangeRate total price  89.999999994560778053 outflow value 89.999999994560778053
    utils.go:61: sending 9496676ibc/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2 from chain-ELNbxX to test-gaia-chain, below token quota but not total quota (expectedErr: quota transfer exceeded)
    utils.go:98: exec cmd on hermes : hermes tx ft-transfer --dst-chain test-gaia-chain --src-chain chain-ELNbxX --src-port transfer --src-channel channel-0 --amount 9496676 --denom=ibc/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2 --timeout-height-offset=3000
    utils.go:98: exec cmd on hermes : hermes tx ft-transfer --dst-chain test-gaia-chain --src-chain chain-ELNbxX --src-port transfer --src-channel channel-0 --amount 1187085 --denom=ibc/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2 --timeout-height-offset=3000
    e2e_ibc_test.go:47: exchangeRate total price  5.000757469445190758 outflow value 5.000757469445190758
    utils.go:98: exec cmd on hermes : hermes tx ft-transfer --dst-chain chain-ELNbxX --src-chain test-gaia-chain --src-port transfer --src-channel channel-0 --amount 56119789954 --denom=ibc/9F53D255F5320A4BE124FF20C29D46406E126CE8A09B00CA8D3CFF7905119728 --timeout-height-offset=3000
    utils.go:98: exec cmd on hermes : hermes tx ft-transfer --dst-chain chain-ELNbxX --src-chain test-gaia-chain --src-port transfer --src-channel channel-0 --amount 56119789955 --denom=ibc/9F53D255F5320A4BE124FF20C29D46406E126CE8A09B00CA8D3CFF7905119728 --timeout-height-offset=3000
=== RUN   TestE2ETestSuite/TestIBCTokenTransfer/ibc_transfer_quota/ibc_transfer_with_memo
    e2e_ibc_memo_test.go:19: total supply : 100000000000ibc/223420B0E8CF9CC47BCAB816AB3A20AE162EED27C1177F4B2BC270C83E11AD8D,117521370ibc/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2,3300000000ibc/C053D637CCA2A2BA030E2C5EE1B28A16F71CCB0E45E8BE52766DC1B241B77878,100000000000photon,3100004278054uumee
    e2e_ibc_memo_test.go:21: total balance of IBC ATOM : 117521370
    utils.go:98: exec cmd on hermes : hermes tx ft-transfer --dst-chain chain-ELNbxX --src-chain test-gaia-chain --src-port transfer --src-channel channel-0 --amount 118708455 --denom=uatom --timeout-height-offset=3000 --receiver=umee1yesmdu06f7strl67kjvg2w7t5kacc97taczr47 --memo={"messages":[{"@type":"/umee.leverage.v1.MsgCollateralize","borrower":"umee1yesmdu06f7strl67kjvg2w7t5kacc97taczr47","asset":{"denom":"ibc/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2","amount":"118708455"}}],"fallback_addr":"umee1mjk79fjjgpplak5wq838w0yd982gzkyf3qjpef"}
    utils.go:98: exec cmd on hermes : hermes tx ft-transfer --dst-chain chain-ELNbxX --src-chain test-gaia-chain --src-port transfer --src-channel channel-0 --amount 118708455 --denom=uatom --timeout-height-offset=3000 --receiver=umee1yesmdu06f7strl67kjvg2w7t5kacc97taczr47 --memo={"messages":[{"@type":"/umee.leverage.v1.MsgCollateralize","borrower":"umee1yesmdu06f7strl67kjvg2w7t5kacc97taczr47","asset":{"denom":"ibc/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2","amount":"118708455"}}],"fallback_addr":""}
    utils.go:98: exec cmd on hermes : hermes tx ft-transfer --dst-chain chain-ELNbxX --src-chain test-gaia-chain --src-port transfer --src-channel channel-0 --amount 118708455 --denom=uatom --timeout-height-offset=3000 --receiver=umee1yesmdu06f7strl67kjvg2w7t5kacc97taczr47 --memo={"messages":[{"@type":"/umee.leverage.v1.MsgSupplyCollateral","supplier":"umee1yesmdu06f7strl67kjvg2w7t5kacc97taczr47","asset":{"denom":"ibc/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2","amount":"118708455"}}],"fallback_addr":""}
=== NAME  TestE2ETestSuite/TestIBCTokenTransfer/ibc_transfer_quota
    e2e_ibc_test.go:230: waiting until quota reset, basically it will take around 300 seconds to do quota reset
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
    e2e_ibc_test.go:240: quota didn't reset yet, outflows: 89.999999994560778053
sleeping 4.251510375s until end of voting period + 1 block
    utils.go:98: exec cmd on hermes : hermes tx ft-transfer --dst-chain test-gaia-chain --src-chain chain-ELNbxX --src-port transfer --src-channel channel-0 --amount 137181708777 --denom=uumee --timeout-height-offset=3000
=== RUN   TestE2ETestSuite/TestLeverageBasics
=== RUN   TestE2ETestSuite/TestLeverageBasics/leverage_update_registry
sleeping 4.681436131s until end of voting period + 1 block
=== RUN   TestE2ETestSuite/TestLeverageBasics/initial_leverage_supply
=== RUN   TestE2ETestSuite/TestLeverageBasics/initial_leverage_withdraw
=== RUN   TestE2ETestSuite/TestLeverageBasics/initial_leverage_collateralize
=== RUN   TestE2ETestSuite/TestLeverageBasics/initial_leverage_borrow
=== RUN   TestE2ETestSuite/TestLeverageBasics/initial_leverage_repay
    utils.go:335: expected sequence number: 11 , got: 0
=== RUN   TestE2ETestSuite/TestLeverageBasics/too_high_leverage_borrow
    utils.go:335: expected sequence number: 12 , got: 0
=== RUN   TestE2ETestSuite/TestLeverageBasics/leverage_add_special_pairs
sleeping 4.004372177s until end of voting period + 1 block
=== RUN   TestE2ETestSuite/TestMedians
block 285 stamp: [4.214691503520361747ATOM 0.000802617354850759UMEE]
block 290 stamp: [4.214691593589458599ATOM 0.000802617354849829UMEE]
block 295 stamp: [4.214691645991656849ATOM 0.000802617354850057UMEE]
block 300 stamp: [4.214691103509074952ATOM 0.000802617354849711UMEE]
=== RUN   TestE2ETestSuite/TestMetokenSwapAndRedeem
=== RUN   TestE2ETestSuite/TestMetokenSwapAndRedeem/create_stable_index
sleeping 4.568455343s until end of voting period + 1 block
sleeping 4.331988388s until end of voting period + 1 block
=== RUN   TestE2ETestSuite/TestMetokenSwapAndRedeem/swap_100USDT_success
=== RUN   TestE2ETestSuite/TestMetokenSwapAndRedeem/redeem_200meUSD_failure
=== RUN   TestE2ETestSuite/TestMetokenSwapAndRedeem/redeem_50meUSD_success
=== RUN   TestE2ETestSuite/TestUpdateOracleParams
sleeping 4.647142717s until end of voting period + 1 block
=== NAME  TestE2ETestSuite
    setup.go:145: tearing down e2e integration test suite...
--- PASS: TestE2ETestSuite (387.87s)
    --- PASS: TestE2ETestSuite/TestAllPrices (2.01s)
    --- PASS: TestE2ETestSuite/TestIBCTokenTransfer (237.83s)
        --- PASS: TestE2ETestSuite/TestIBCTokenTransfer/send_stake_to_umee (2.99s)
        --- PASS: TestE2ETestSuite/TestIBCTokenTransfer/ibc_transfer_quota (233.84s)
            --- PASS: TestE2ETestSuite/TestIBCTokenTransfer/ibc_transfer_quota/ibc_transfer_with_memo (18.93s)
    --- PASS: TestE2ETestSuite/TestLeverageBasics (17.43s)
        --- PASS: TestE2ETestSuite/TestLeverageBasics/leverage_update_registry (6.91s)
        --- PASS: TestE2ETestSuite/TestLeverageBasics/initial_leverage_supply (0.12s)
        --- PASS: TestE2ETestSuite/TestLeverageBasics/initial_leverage_withdraw (0.11s)
        --- PASS: TestE2ETestSuite/TestLeverageBasics/initial_leverage_collateralize (0.09s)
        --- PASS: TestE2ETestSuite/TestLeverageBasics/initial_leverage_borrow (0.12s)
        --- PASS: TestE2ETestSuite/TestLeverageBasics/initial_leverage_repay (0.44s)
        --- PASS: TestE2ETestSuite/TestLeverageBasics/too_high_leverage_borrow (0.38s)
        --- PASS: TestE2ETestSuite/TestLeverageBasics/leverage_add_special_pairs (6.24s)
    --- PASS: TestE2ETestSuite/TestMedians (22.13s)
    --- PASS: TestE2ETestSuite/TestMetokenSwapAndRedeem (26.16s)
        --- PASS: TestE2ETestSuite/TestMetokenSwapAndRedeem/create_stable_index (21.34s)
        --- PASS: TestE2ETestSuite/TestMetokenSwapAndRedeem/swap_100USDT_success (2.12s)
        --- PASS: TestE2ETestSuite/MetokenSwapAndRedeem/redeem_200meUSD_failure (1.05s)
        --- PASS: TestE2ETestSuite/TestMetokenSwapAndRedeem/redeem_50meUSD_success (1.65s)
    --- PASS: TestE2ETestSuite/TestUpdateOracleParams (6.88s)
PASS
ok  	github.com/umee-network/umee/v6/tests/e2e	


@gsk967 gsk967 merged commit 64ee1db into main Nov 1, 2024
21 of 27 checks passed
@gsk967 gsk967 deleted the sai/canon_v6_7_rc1_upgrade branch November 1, 2024 06:07
@coderabbitai coderabbitai bot mentioned this pull request Dec 11, 2024
17 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants