Ejemplo n.º 1
0
 def test_serdes_consistent(self, m):
     assert_serdes_consistent(MsgDeposit, m)
Ejemplo n.º 2
0
 def test_schema_valid(self, udelgn_examples):
     for d in udelgn_examples:
         assert_serdes_consistent(UnbondingDelegation, d)
         assert_serdes_exact(UnbondingDelegation, d)
Ejemplo n.º 3
0
 def test_schema_valid(self, rdelgn_examples):
     for d in rdelgn_examples:
         assert_serdes_consistent(Redelegation, d)
         assert_serdes_exact(Redelegation, d)
Ejemplo 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)
Ejemplo n.º 5
0
 def test_schema_valid(self, examples):
     for tx in examples:
         assert_serdes_consistent(StdTx, tx)
Ejemplo n.º 6
0
 def test_schema_valid(self, examples):
     for acc in examples:
         assert_serdes_consistent(LazyGradedVestingAccount, acc)
         assert_serdes_exact(LazyGradedVestingAccount, acc)
Ejemplo n.º 7
0
 def test_schema_valid(self, msg_examples):
     for m in msg_examples[MsgDelegateFeedConsent]:
         assert_serdes_consistent(MsgDelegateFeedConsent, m)
         assert_serdes_exact(MsgDelegateFeedConsent, m)
Ejemplo n.º 8
0
 def test_schema(self, m):
     assert_serdes_consistent(MsgUndelegate, m)
Ejemplo 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)
Ejemplo n.º 10
0
 def test_serdes_consistent(self, m):
     assert_serdes_consistent(MsgDelegate, m)
Ejemplo n.º 11
0
 def test_serdes_consistent(self, m):
     assert_serdes_consistent(MsgEditValidator, m)
Ejemplo n.º 12
0
 def test_serdes_consistent(self, m):
     assert_serdes_consistent(MsgCreateValidator, m)
Ejemplo n.º 13
0
 def test_serdes_consistent(self, m):
     assert_serdes_consistent(MsgSubmitProposal, m)
Ejemplo n.º 14
0
 def test_schema_valid(self, msg_examples):
     for m in msg_examples[MsgSubmitProposal]:
         assert_serdes_consistent(MsgSubmitProposal, m)
Ejemplo n.º 15
0
 def test_serdes_consistent(self, x):
     assert_serdes_consistent(ExchangeRatePrevote, x)
Ejemplo n.º 16
0
 def test_serdes_consistent(self, m):
     assert_serdes_consistent(MsgBeginRedelegate, m)
Ejemplo n.º 17
0
 def test_serdes_consistent(self, c):
     assert_serdes_consistent(Coins, c)
Ejemplo n.º 18
0
 def test_schema_valid(self, msg_examples):
     for m in msg_examples[MsgCreateValidator]:
         assert_serdes_consistent(MsgCreateValidator, m)
         assert_serdes_exact(MsgCreateValidator, m)
Ejemplo n.º 19
0
 def test_schema(self, acc):
     assert_serdes_consistent(LazyGradedVestingAccount, acc)
Ejemplo n.º 20
0
 def test_serdes_consistent(self, acc):
     assert_serdes_consistent(Account, acc)
Ejemplo n.º 21
0
 def test_schema(self, m):
     assert_serdes_consistent(MsgDelegateFeedConsent, m)
Ejemplo n.º 22
0
 def test_serdes_consistent(self, m):
     assert_serdes_consistent(PolicyConstraints, m)
Ejemplo n.º 23
0
 def test_serdes_consistent(self, m):
     assert_serdes_consistent(MsgExchangeRateVote, m)
Ejemplo n.º 24
0
 def test_schema_valid(self, msg_examples):
     for m in msg_examples[MsgSend]:
         assert_serdes_consistent(MsgSend, m)
         assert_serdes_exact(MsgSend, m)
Ejemplo n.º 25
0
 def test_serdes_consistent(self, tx):
     assert_serdes_consistent(StdTx, tx)
Ejemplo n.º 26
0
 def test_serdes_consistent(self, m):
     assert_serdes_consistent(MsgSend, m)
Ejemplo n.º 27
0
 def test_schema(self, d):
     assert_serdes_consistent(UnbondingDelegation, d)
Ejemplo n.º 28
0
 def test_schema_valid(self, examples):
     for x in examples:
         assert_serdes_consistent(ExchangeRatePrevote, x)
         assert_serdes_exact(ExchangeRatePrevote, x)
Ejemplo n.º 29
0
 def test_schema(self, d):
     assert_serdes_consistent(Redelegation, d)
Ejemplo n.º 30
0
 def test_serdes_consistent(self, m):
     assert_serdes_consistent(MsgVote, m)