-
Notifications
You must be signed in to change notification settings - Fork 208
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
rebate integration tests #1152
rebate integration tests #1152
Conversation
13a1e65
to
6a16f0e
Compare
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.
chain code changes lgtm - nice catches!
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.
LGTM, mainly just looked at the on chain changes, didn't scour the integration tests
@@ -67,7 +67,7 @@ func WithdrawalRewardBalanceCallback(k Keeper, ctx sdk.Context, args []byte, que | |||
|
|||
// If there's a rebate portion, fund the community pool with that amount | |||
if rebateAmount.GT(sdkmath.ZeroInt()) { | |||
rebateToken := sdk.NewCoin(tradeRouteCallback.RewardDenom, rebateAmount) | |||
rebateToken := sdk.NewCoin(tradeRoute.RewardDenomOnHostZone, rebateAmount) |
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.
I think these are actually the same thing if you look at how it sets RewardDenom before the call
Context
Setup integration test scripts for rebate testing. There were also a few small bugs fixed in this process.
See
dockernet/scripts/community-pool-staking/README.md
Chain Changes
Off-chain Changes
rebate.sh
script to register a rebatetrade.sh
script to execute authz trade