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

Add x/stakedym #1126

Merged
merged 9 commits into from
Mar 7, 2024
Merged

Add x/stakedym #1126

merged 9 commits into from
Mar 7, 2024

Conversation

shellvish
Copy link
Contributor

Adds x/stakedym module, tested on local->mainnet flow (staking, unstaking, compounding).

Please note, this does not test granular authz permissions, those should be tested separately.

Also note, we will need to update addresses in x/stakedym/types/dymension.go.

Combed through each file, and made sure any reference to tia could be changed without issue. Also high-level traced through logic and think everything should function smoothly.

Copy link
Collaborator

@sampocs sampocs left a comment

Choose a reason for hiding this comment

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

Looks great, thanks for doing this!

Also can you add the store key and fix unit tests?

@@ -0,0 +1,20 @@
// #nosec G101
package types
Copy link
Collaborator

Choose a reason for hiding this comment

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

verified everything but the addresses. Do you have a doc I can use for the addresses?

@@ -1,950 +0,0 @@
package types_test
Copy link
Collaborator

Choose a reason for hiding this comment

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

did you mean to delete this file?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, good catch, adding back in!

DymensionChainId = "dymension_1100-1"
StrideToDymensionTransferChannelId = "channel-197"
DymensionNativeTokenDenom = "adym"
DymensionNativeTokenIBCDenom = "ibc/FF6C2E86490C1C4FBBD24F55032831D2415B9D7882F85C3CC9C2401D79362BEA" // #nosec G101
Copy link
Contributor

Choose a reason for hiding this comment

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

base ❯ dymd q ibc-transfer denom-trace FF6C2E86490C1C4FBBD24F55032831D2415B9D7882F85C3CC9C2401D79362BEA
denom_trace:
  base_denom: ustrd
  path: transfer/channel-0

@shellvish shellvish merged commit da1dfd1 into main Mar 7, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants