38: // Set all the chain nonces
39: for _, elem := range genState.ChainNoncesList {
40: 	if elem != nil {
41: 		k.SetChainNonces(ctx, *elem)
42: 	}
43: }
59: if genState.Tss != nil {
60: 	k.SetTSS(ctx, *genState.Tss)
61: 	for _, chain := range common.DefaultChainsList() {
62: 		k.SetPendingNonces(ctx, types.PendingNonces{
63: 			NonceLow:  0,
64: 			NonceHigh: 0,
65: 			ChainId:   chain.ChainId,
66: 			Tss:       genState.Tss.TssPubkey,
67: 		})
68: 	}
69: 	for _, elem := range genState.TssHistory {
70: 		k.SetTSSHistory(ctx, elem)
71: 	}
72: }
44: if p.NonceHigh != int64(nonce.Nonce) {
45: 	return cosmoserrors.Wrap(types.ErrNonceMismatch, fmt.Sprintf("chain_id %d, high nonce %d, current nonce %d", receiveChainID, p.NonceHigh, nonce.Nonce))
46: }
