-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v0.29.0: deprecate txSearch when using BroadcastTxCommit #6
Conversation
@@ -117,8 +117,66 @@ export class TendermintClient { | |||
tx: Uint8Array, | |||
): Promise<IndexedTx> { | |||
const result: BroadcastTxSyncResponse = await this.broadcastTransactionSync(tx); | |||
const transactionId: string = toHex(result.hash).toUpperCase(); | |||
return this.queryTransaction(`tx.hash='${transactionId}'`); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any reason to keep the queryTransaction
function?
I think v4-client
should assume tx_search
is not available
|
||
// If the transaction is not found, the tx method will throw an Internal Error. | ||
try { | ||
tx = await this.baseClient.tx({ hash }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add an explicit type for tx
? For tx_search
this was TxSearchResponse
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@teddyding on line 147 we have let tx: TxResponse;
to declare the type
@@ -192908,7 +192909,7 @@ class TendermintClient { | |||
} | |||
} | |||
exports.TendermintClient = TendermintClient; | |||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVuZGVybWludENsaWVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jbGllbnRzL21vZHVsZXMvdGVuZGVybWludENsaWVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSwrQ0FBeUM7QUFDekMsdUNBQXNDO0FBQ3RDLCtDQUkwQjtBQUMxQiwyREFJZ0M7QUFVaEMseUNBQXNDO0FBRXRDLDBDQUFxRDtBQUdyRCxNQUFhLGdCQUFnQjtJ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CQUFnQixDQUFDO0lBQzNDLENBQUM7Q0FDRjtBQS9KRCw0Q0ErSkMifQ== |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For my understanding, what is this for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure. Everything in the __native__
directory is codegen from running npm run webpack
. This is all necessary for iOS to utilize the javascript client.
Overview
We are deprecating usage of
txSearch
and replacing it withtx
.Details
broadcastTransactionCommit
to usequeryHash
instead ofqueryTransaction
.queryHash
searches for a singleTxResponse
based on the specifiedhash
. When aTxResponse
is found, return as anIndexedTx