This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# all the below params are required. | |
granter= | |
grantee= | |
fee_payer= | |
validator=cosmosvaloper1ddle9tczl87gsvmeva3c48nenyng4n56nghmjk | |
maintenance_balance=1000000 # minimum balance to maintain in the granter account | |
while true | |
do | |
echo "About to withdraw commission and reward" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
angular.module('stateMock',[]); | |
angular.module('stateMock').service('$state', function ($q) { | |
this.expectedTransitions = []; | |
this.transitionTo = function(stateName) { | |
if(this.expectedTransitions.length) { | |
var expectedState = this.expectedTransitions.shift(); | |
if (expectedState !== stateName) { | |
throw Error('Expected transition to state: ' + expectedState + ' but transitioned to ' + stateName); |