(self, signDoc, signature)
| 2248 | return [signingHash, signDoc] |
| 2249 | |
| 2250 | def encode_dydx_tx_raw(self, signDoc, signature): |
| 2251 | if not encode_as_any: |
| 2252 | raise NotSupported(self.id + ' requires protobuf to encode messages, please install it with `pip install "protobuf==5.29.5"`') |
| 2253 | tx = TxRaw( |
| 2254 | auth_info_bytes=signDoc.auth_info_bytes, |
| 2255 | body_bytes=signDoc.body_bytes, |
| 2256 | signatures=[self.base16ToBinary(signature)], |
| 2257 | ) |
| 2258 | return '0x' + self.binary_to_base16(tx.SerializeToString()) |
| 2259 | |
| 2260 | def lock_id(self): |
| 2261 | return None |
no test coverage detected