-
Notifications
You must be signed in to change notification settings - Fork 1
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
fix: duplicated bindings in the activity API #194
Conversation
@ShookLyngs is attempting to deploy a commit to the Cell Studio Team on Vercel. To accomplish this, @ShookLyngs needs to request access to the Team. Afterwards, an owner of the Team is required to accept their membership request. If you're already a member of the respective Vercel Team, make sure that your Personal Vercel Account is connected to your GitHub account. |
b05fec2
to
a13e5b3
Compare
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@ahonn -getXScript(env.NETWORK === NetworkType.mainnet.toString())
+getXScript(IS_MAINNET) |
LGTM |
Hi, @Dawn-githup Related test |
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.
LGTM
updated |
Previous PR
Changes
RgbppCollector.isIsomorphicTx()
method to help validate isomorphic transactions in depth and fix the duplicated binding recognization issue inRgbppCollector.queryRgbppLockTxByBtcTx
queryRgbppLockTxByBtcTx
andqueryBtcTimeLockTxByBtcTxId
#193RgbppCollector.queryBtcTimeLockTxByBtcTxId()
queryRgbppLockTxByBtcTx
andqueryBtcTimeLockTxByBtcTxId
#193ckbRawTx
tockbVirtualTx
in the IsomorphicTransaction typeTODO
/rgbpp/v1/address/tb1qrkh7g0gkllttvsu9kzm7f5c25agnj8ype88xsg/activity
/rgbpp/v1/address/tb1qrkh7g0gkllttvsu9kzm7f5c25agnj8ype88xsg/activity
a986...245c:1
/rgbpp/v1/address/tb1ql4rmhtkzdf043cq4a876y2fsq6wqqh02njwsf7/activity
a986...245c:1
Issues
RgbppCollector.queryBtcTimeLockTxByBtcTxId()
method has an issue where theCkbIndexer.getTransactions()
method requires manual pagination. This part is currently missing in the codebase, so the method only searches the first 100 records in the blockchain, causing inaccurate matching results of the btc-time-lock transactions.related issue: Optimize the search process for BTC_TIME_LOCK ckb transactions #45