Questions tagged [substrate-archive]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer

proper setup for substrate archive node

pruning=archive will keep all the blocks in the nodes databases. As the blocks are there in the archive-node then do we really need a separate parallel postgres db as suggested in https://docs....
K Gunjan's user avatar
0 votes
1 answer

Getting error after runtime upgrade

I am trying to upgrade the version of substrate on my running blockchain from version v0.9.25 to v0.9.36, everything is fine but after runtime upgrade my terminal shows this [869] 🏊‍♂️ Running ...
Akash Singh's user avatar
0 votes
1 answer

Is there a way to start an archive node of a parachain using snapshots? How can we export/ import relaychain blocks?

Using export-blocks command we can export parachain blocks but when trying to export relay chain blocks we received error field RelaychainSpec not found. Is there a way to take snapshot of a parachain ...
lordofdalords's user avatar
0 votes
1 answer

Not able to fetch historical blocks with Role: Authority

I am using polkadot v0.9.25 and run it on dev mode, it's role is authority and after 256 block when I try to fetch the data of 1 block it shows error Unable to retrieve the specified block details. -...
Akash Singh's user avatar
0 votes
1 answer

Where to find validator heartbeat stored on substrate Blockchain

I'm looking for a place in Substrate where it stores validator heartbeat. I have gone through the staking pallet and I was unable to find it. Where do I need to look for it ?
not 0x12's user avatar
  • 343
2 votes
1 answer

Substrate - Generating Transaction History of a Wallet

How can I generate transaction history of a wallet? I was able to run substrate-archive alongside polkadot and a template node in archive node. I stored onto postgres: state_traces, blocks, extrinsics,...
Chris Bui's user avatar
2 votes
1 answer

Substrate-Archive, workaround for MAC?

Setting up Substrate-Archive for the first time. Tutorial/Wiki is a bit outdated. Following this solution that I found in "issues". Compiled and ran; however, I got an issue that I believe ...
Chris Bui's user avatar
0 votes
1 answer

How to do "erasStakers" in Rust?

Very sorry for such a newbie question; just don't know where else to ask 🙏 Essentially, I want to programmatically dump from the network who won the most recent election. To do so, I'm issuing an ...
Lisa's user avatar
  • 1
2 votes
1 answer

Events in Substrate Archive

Does substrate archive store events anywhere? It doesn't seems like it does, although it saves extrinsics and its parameters. I'm also having this kind of issue when running the app with a custom ...
andresvsm's user avatar
  • 1,104
7 votes
1 answer

How to perform arithmetic operation on Option<BalanceOf<T>>?

Hello all developers and community members, I am very new to Substrate and Rust. I am creating a pallet for NFT marketplace. for storing out the NFT details I've created a struct as mentioned below. ...
Kapil Yadav's user avatar
5 votes
2 answers

Why does Substrate use rocksdb & paritydb over leveldb?

What are the benefits of rocksdb over leveldb? Can Substrate use leveldb? I understand that rocksdb was the database of choice for Parity Ethereum client, and paritydb aims to fix a lot of the ...
Hoon Kim's user avatar
  • 123
8 votes
3 answers

Extending the substrate-archive with more on-chain data

Substrate community! Recently I came across the substrate-archive project. It does its indexing job extremely well, and I wanted to utilize it with some modifications here and there. Things I wanted ...
Oleksii Buistov's user avatar
6 votes
2 answers

How to use substrate archive for custom chains?

In the substrate archive wiki, they showed how to archive the polkadot chain's data. Now I want to get other chains' data (like a substrate template node or Astar, Moonbeam, etc). How can I do that? ...
Minh Mốc's user avatar
16 votes
5 answers

Is there a good indexer for substrate chains (like the graph)?

If we want to ask lots of queries about chain state (for example users activity over time etc.) is there a recommended or de-facto way of doing it? Ethereum has 'the graph' for example as a high ...
Squirrel's user avatar
  • 3,759