-
Notifications
You must be signed in to change notification settings - Fork 8
Script against ICF archive databases #6
Comments
Full hub1 extract json is now added to my repo. |
thank you, awesome. |
I'll replicate some myself, and this work seems to be on the mark for a large portion of the bounty. Please share your osmosis address here or privately. |
Well in working on running hub2 scrape I realized an issue when my method of checking votes always returned: So I've still got some correcting to do. It looks like I'm not taking into account the need to query for votes/deposits at a block height where they are available for the already passed/rejected proposals based on this. Going to need to find some time to figure out how to determine what the proper block height to query for each past proposal and see about updating the script. I've direct messaged you an OSMO address on Telegram (my ID is also Nostradamus411 on TG). |
@Nostradamus411 @jaekwon I checked the biggest receiver of ION (27 - cosmos1wtv0kp6ydt03edd8kyr5arr4f3yc52vp5g7na0) So it still seems so hard to get the right data. Could it be that sometimes the name of the validator is used for votes? And sometimes the wallet address? |
Also according to the figment page, Kytzu (the name of that validator) voted |
Yep, this would be due to how data on proposal sis removed from state after they've ended their voting period from what I have gathered. --height flag does nothing?It also doesn't seem to me that the
Query Gov Votes -- broken?Additionally when trying to make a
|
I believe ABCI queries don't work with all --height options due to pruning; and probably would be difficult to make it work without pruning due to it not being designed for it. Or maybe that's what the unpruned database provides -- which did you use? |
Maybe instead of ABCI state, we can iterate over the blockchain instead of state, and look for ABCI response codes to see which governance vote transactions succeeded. The results are always included in the following block (not the current block), and are probably stored by tendermint under block info or block meta data. |
I downloaded the non-pruned 59GB hub1 database.
So I'm looking at the tendermint rpc block get request, that what you're referring to? Not sure what to be looking at to identify ABCI response codes. I see there is a block_meta portion of the result
and a data dict with txs in it.
Are either of these the right area? Is this even the correct RPC get request to be making to check? |
hopefully the old versions have this: /block_results // BlockResults gets ABCIResults at a given height. please try that one. |
@jaekwon we have the source code, no need to reverse engineer it any longer. Can find it all here: https://github.com/Nostradamus411/ion-airdrop-code |
Thank you @Nostradamus411. The main bounty was for cosmoshub 1,2,3 data. I will definitely reward people who have worked on the Osmosis airdrop analysis, but primarily I'm looking for a script for general usage. Thank you! Also, I am adding to the bounty, yet unspecified amount of GNO tokens. Cheers! |
Thank you, please check this summary: https://github.com/gnolang/bounties/blob/main/bounties/001_cosmoshub_blockchain_data/README.md |
I've copied down the Hub1 daemon / cli / database from the ICF archives @sunnya97 shared on the Ion telegram.
My script calling the cli to get vote & deposit data is here.
I'm currently running the script for the full Ions.json but here is a sample using the first 10 or so rows from the json plus the top few Ion drop recipient addresses. This is showing a correlation of early voting, contrary to my borked script against the figment.io endpoint.
I look to add the other two hubs, but due to disk space going to have to do them one at a time. I'll be adding to my repo, which started as a script against the Osmosis daemon to find "unclaimed" ions.
The text was updated successfully, but these errors were encountered: