Exemplo n.º 1
0
 def test_schema_valid(self, udelgn_examples):
     for d in udelgn_examples:
         assert_serdes_consistent(UnbondingDelegation, d)
         assert_serdes_exact(UnbondingDelegation, d)
Exemplo n.º 2
0
 def test_schema_valid(self, rdelgn_examples):
     for d in rdelgn_examples:
         assert_serdes_consistent(Redelegation, d)
         assert_serdes_exact(Redelegation, d)
Exemplo n.º 3
0
 def test_schema_valid(self, msg_examples):
     for m in msg_examples[MsgDelegateFeedConsent]:
         assert_serdes_consistent(MsgDelegateFeedConsent, m)
         assert_serdes_exact(MsgDelegateFeedConsent, m)
Exemplo n.º 4
0
 def test_schema_valid(self, msg_examples):
     for m in msg_examples[MsgExchangeRateVote]:
         assert_serdes_consistent(MsgExchangeRateVote, m)
         assert_serdes_exact(MsgExchangeRateVote, m)
Exemplo n.º 5
0
 def test_schema_valid(self, examples):
     for x in examples:
         assert_serdes_consistent(ExchangeRatePrevote, x)
         assert_serdes_exact(ExchangeRatePrevote, x)
Exemplo n.º 6
0
 def test_schema_valid(self, examples):
     for acc in examples:
         assert_serdes_consistent(LazyGradedVestingAccount, acc)
         assert_serdes_exact(LazyGradedVestingAccount, acc)
Exemplo n.º 7
0
 def test_schema_valid(self, msg_examples):
     for m in msg_examples[MsgCreateValidator]:
         assert_serdes_consistent(MsgCreateValidator, m)
         assert_serdes_exact(MsgCreateValidator, m)
Exemplo n.º 8
0
 def test_schema_valid(self, msg_examples):
     for m in msg_examples[MsgSend]:
         assert_serdes_consistent(MsgSend, m)
         assert_serdes_exact(MsgSend, m)
Exemplo n.º 9
0
 def test_schema_valid(self, msg_examples):
     for m in msg_examples[MsgBeginRedelegate]:
         assert_serdes_consistent(MsgBeginRedelegate, m)
         assert_serdes_exact(MsgBeginRedelegate, m)
Exemplo n.º 10
0
 def test_schema_valid(self, examples):
     for v in examples:
         assert_serdes_consistent(Validator, v)
         assert_serdes_exact(Validator, v)
Exemplo n.º 11
0
 def test_schema_valid(self, msg_examples):
     for m in msg_examples[MsgWithdrawDelegationReward]:
         assert_serdes_consistent(MsgWithdrawDelegationReward, m)
         assert_serdes_exact(MsgWithdrawDelegationReward, m)
Exemplo n.º 12
0
 def test_schema_valid(self, msg_examples):
     for m in msg_examples[MsgModifyWithdrawAddress]:
         assert_serdes_consistent(MsgModifyWithdrawAddress, m)
         assert_serdes_exact(MsgModifyWithdrawAddress, m)
Exemplo n.º 13
0
 def test_schema_valid(self, msg_examples):
     for m in msg_examples[MsgWithdrawValidatorCommission]:
         assert_serdes_consistent(MsgWithdrawValidatorCommission, m)
         assert_serdes_exact(MsgWithdrawValidatorCommission, m)