コード例 #1
0
 def test_serdes_consistent(self, m):
     assert_serdes_consistent(MsgDeposit, m)
コード例 #2
0
 def test_schema_valid(self, udelgn_examples):
     for d in udelgn_examples:
         assert_serdes_consistent(UnbondingDelegation, d)
         assert_serdes_exact(UnbondingDelegation, d)
コード例 #3
0
 def test_schema_valid(self, rdelgn_examples):
     for d in rdelgn_examples:
         assert_serdes_consistent(Redelegation, d)
         assert_serdes_exact(Redelegation, d)
コード例 #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)
コード例 #5
0
 def test_schema_valid(self, examples):
     for tx in examples:
         assert_serdes_consistent(StdTx, tx)
コード例 #6
0
 def test_schema_valid(self, examples):
     for acc in examples:
         assert_serdes_consistent(LazyGradedVestingAccount, acc)
         assert_serdes_exact(LazyGradedVestingAccount, acc)
コード例 #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)
コード例 #8
0
 def test_schema(self, m):
     assert_serdes_consistent(MsgUndelegate, m)
コード例 #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)
コード例 #10
0
 def test_serdes_consistent(self, m):
     assert_serdes_consistent(MsgDelegate, m)
コード例 #11
0
 def test_serdes_consistent(self, m):
     assert_serdes_consistent(MsgEditValidator, m)
コード例 #12
0
 def test_serdes_consistent(self, m):
     assert_serdes_consistent(MsgCreateValidator, m)
コード例 #13
0
 def test_serdes_consistent(self, m):
     assert_serdes_consistent(MsgSubmitProposal, m)
コード例 #14
0
 def test_schema_valid(self, msg_examples):
     for m in msg_examples[MsgSubmitProposal]:
         assert_serdes_consistent(MsgSubmitProposal, m)
コード例 #15
0
 def test_serdes_consistent(self, x):
     assert_serdes_consistent(ExchangeRatePrevote, x)
コード例 #16
0
 def test_serdes_consistent(self, m):
     assert_serdes_consistent(MsgBeginRedelegate, m)
コード例 #17
0
ファイル: test_coins.py プロジェクト: terra-money/jigu
 def test_serdes_consistent(self, c):
     assert_serdes_consistent(Coins, c)
コード例 #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)
コード例 #19
0
 def test_schema(self, acc):
     assert_serdes_consistent(LazyGradedVestingAccount, acc)
コード例 #20
0
 def test_serdes_consistent(self, acc):
     assert_serdes_consistent(Account, acc)
コード例 #21
0
 def test_schema(self, m):
     assert_serdes_consistent(MsgDelegateFeedConsent, m)
コード例 #22
0
 def test_serdes_consistent(self, m):
     assert_serdes_consistent(PolicyConstraints, m)
コード例 #23
0
 def test_serdes_consistent(self, m):
     assert_serdes_consistent(MsgExchangeRateVote, m)
コード例 #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)
コード例 #25
0
 def test_serdes_consistent(self, tx):
     assert_serdes_consistent(StdTx, tx)
コード例 #26
0
 def test_serdes_consistent(self, m):
     assert_serdes_consistent(MsgSend, m)
コード例 #27
0
 def test_schema(self, d):
     assert_serdes_consistent(UnbondingDelegation, d)
コード例 #28
0
 def test_schema_valid(self, examples):
     for x in examples:
         assert_serdes_consistent(ExchangeRatePrevote, x)
         assert_serdes_exact(ExchangeRatePrevote, x)
コード例 #29
0
 def test_schema(self, d):
     assert_serdes_consistent(Redelegation, d)
コード例 #30
0
 def test_serdes_consistent(self, m):
     assert_serdes_consistent(MsgVote, m)