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 debug message for module to module transactions #230

Merged
merged 1 commit into from
Apr 27, 2023

Conversation

BrandonWeng
Copy link
Contributor

Describe your changes and provide context

Easier to look at which tokens are being sent to each module and their addresses

Testing performed to validate your change

image

@BrandonWeng BrandonWeng changed the title Add debug message Add debug message for module to module transactions Apr 27, 2023
@BrandonWeng BrandonWeng enabled auto-merge (squash) April 27, 2023 21:37
return nil
}

k.Logger(ctx).Debug("Sending coins from module to module", "sender", senderModule, "sender_address", senderAddr.String(), "recipient", recipientModule, "recipientAddr", recipientAcc.GetAddress().String(), "amount", amt.String())
Copy link
Contributor

Choose a reason for hiding this comment

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

nit, casing for sender_address vs recipientAddr

Copy link
Contributor Author

Choose a reason for hiding this comment

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

shot sorry it was on automerger :

Copy link
Contributor Author

Choose a reason for hiding this comment

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

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.

3 participants