-
Notifications
You must be signed in to change notification settings - Fork 2
[BUG] CDP Still only has OLD Data and Missing New Router Data #2797
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
Comments
The indexed data will always contain historical data, meaning when you do a search for It should show the new token as well though. I can see that it hasn't been detected yet by the CDP. Can you share one or more transactions with trading data for |
@byte-bandit here are 2 purchases that were made on Polygon. https://polygonscan.com/token/0xFD5fffc0d9DeC9CA7C520d59dB10276641e0544E These purchases were made on BSC: |
I need the Paloma transactions, the CDP does not index any off chain data. |
@fullstack412 are you able to help with the Paloma Transactions for trades on GARRYTAN.15? |
@fullstack412 Neither of these contain a |
From @byte-bandit
|
From @wc117 to @byte-bandit
|
also @byte-bandit @taariq |
@verabehr Here's an example TX that was ingested successfully in the past: https://paloma.explorers.guru/transaction/A03FA3599B92BFD93AF098A7AED871E6F98896A1E14DDF7ADBA8D9191BC3146E Note the |
From @byte-bandit
|
I checked both transactions. And they are completely same from CosmWasm. The former emitted all events of internal messages but the latter didn't emit events from internal messages. As far as my checking CW update, there is no update that affects to internal messages and events. I think the changes came from protocol update in recent 3 weeks. @byte-bandit @taariq |
I couldn't put so long time to review the protocol update but I found @byte-bandit made some update in event management part. It might affect to current changes. e504417 |
I am curious whether the update led to miss some events from internal messages or not. |
This looks like it might be related, but I'm not convinced to be honest. I tested that event processing upgrade before pushing it out - but more importantly, there are still Here's another thought though. Can you confirm the trades actually took place? I do not see any |
Also, compare other transactions, i.e. this one: https://paloma.explorers.guru/transaction/C470E7D671FB9AD313720F898779FFF45E2CF9EC85A03DBAA4E1BA233965C8CE?height=34847293 It's not a |
But actually, the transactions that you couldn't get events, made exchanges. And according to @fullstack412 we could get coins from bonding curve and successfully sent the denom to users. So the transaction worked perfectly as we expected except for events. @byte-bandit cc @taariq |
Yes. But all the events came from the CW contract, not from the other CW contract that was received message. It did not send message to other CW so there are not any events from the internal messages. We are missing events when we send message to the other CosmWasm and the CosmWasm emits the events. This is my idea. @byte-bandit @taariq cc @webelf101 |
This should be fairly easy to debug, right? Just compile a small example CW that doesn't really do much apart from emitting events. That will help debugging this. |
From @byte-bandit
|
https://github.com/VolumeFi/paloma-event-test-cw When I run send_coin transaction with receiver address to sender contract, the funds moves from my address to sender, and moves to receiver address, and moves to my address back. CCA3F9BB2950D9737141A6240DD6B77564934B56B11208D9D50F80CDD5E7AADB So we should be able to 3 coin transfer events at least. But I couldn't see any events data about receiver address |
# Related Github tickets - VolumeFi#2797 # Testing completed - [x] test coverage exists or has been added/updated - [x] tested in a private testnet # Breaking changes - [x] I have checked my code for breaking changes - [x] If there are breaking changes, there is a supporting migration.
@wc117 The demo contracts proved incredibly helpful in debugging this, thank you! There was a bug in the protocol that would explicitly swallow events, but only from downstream contract calls. That's why it slipped through testing and wasn't found until now. |
@byte-bandit This issue still persists with old data from old routers.
Current (new) GARRYTAN token factory address is factory/paloma1kpqenkph603uggcgdztq76ec35guzkn08v8qvq0ytk36sepynuysnmky9f/GARRYTAN.15
However, the API returns results for this denom:
factory/paloma1z36hqznwmendmg2ks5scmw63qp3n2v0yfcnt53c6ljcg344uw5rsqk62gv/GARRYTAN.15
api result is old data
https://cdp.palomachain.com/docs#/Advanced%20Charts/rest%2Fv1.SymbolsInteractor shows:
The text was updated successfully, but these errors were encountered: