Skip to content

Commit

Permalink
Merge github-desktop-Yummy-Capital/gase-usage-optimization into remov…
Browse files Browse the repository at this point in the history
…e-claim-grant
  • Loading branch information
tombeynon committed May 5, 2022
2 parents 1e3229e + 87fa3a2 commit ca7cdff
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions scripts/base.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -317,12 +317,6 @@ export class Autostake {

buildRestakeMessage(address, validatorAddress, amount, denom) {
return [{
typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward",
value: MsgWithdrawDelegatorReward.encode(MsgWithdrawDelegatorReward.fromPartial({
delegatorAddress: address,
validatorAddress: validatorAddress
})).finish()
}, {
typeUrl: "/cosmos.staking.v1beta1.MsgDelegate",
value: MsgDelegate.encode(MsgDelegate.fromPartial({
delegatorAddress: address,
Expand Down

0 comments on commit ca7cdff

Please sign in to comment.