-
Notifications
You must be signed in to change notification settings - Fork 113
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
Failed to read rollup configuration #809
Comments
@DSHIVAAY-23 it looks like your second command is trying to use the cli to submit transactions, but is invoking the |
On closer inspection, the root cause of this issue is a bad @DSHIVAAY-23 I tested locally and |
@preston-evans98 |
@DSHIVAAY-23, it looks like you're manually specifying that the CLI should use the address from the demo. If you want to use your own address, you can drop Looks like another bug in our tutorial - we should add the make import-keys step. |
It looks like we're doing integer division to get the TPS number, so it's overstating things slightly. If you check the division on a calculator you get roughly 427,220 TPS for your first run, not the even 500k shown in the table. I'll put up a PR to switch to float division shortly. Aside from that, I think these numbers should be "real" - we are checking all of the transaction signatures and computing state-root updates, as well as committing the results to the DB. But, the benchmark differs from reality in some important ways. Since we spin up a clean chain state is almost definitely small enough that it fits into memory. In addition, we're using a mock DA layer - so we're not fetching the transaction data over the network, and we're not doing any checks to guarantee data availability. And, last but not least, this is just the performance of the full node. The prover runs separately, but certainly can't handle half a million TPS on a single machine cc @dubbelosix is there anything I'm missing here?
Hopefully soon™️ 😂. In all seriousness, though, we're hoping to have something stable enough for a long-running testnet in the next couple of months. |
@preston-evans98 and one more thing like i have not seen any contribution guide.. through this repo |
I chatted with @dubbelosix, and these numbers seem fishier on second glance. Last time we checked, we were clocking no more than 10k tps on a developer laptop. He's digging in now. |
PRs are welcome! We don't have formal contributing guidelines yet - so if you have something you want to tackle, feel free to just open a PR. The only other thing I should mention is that we recommend using the top-level Makefile to help get through CI. |
@preston-evans98 like a have check it many times on my thinkpad
@preston-evans98 i have check it for 10 to 15 times and i got exactly same tps i.e 500k. |
If we get these huge numbers then we can expect 50k+ tps whlie Running it with DA layer OR if we will do transaction on layer 2 i.e from one wallet to another wallet both on Sovereign network we could Expect the good speed. |
@DSHIVAAY-23, we found the source of the suspicious TPS numbers - the benchmark code was configured to require sequencers to register with the rollup before submitting transactions, but the registration transaction was never being sent. So, the rollup was seeing all of the bundles but choosing not to apply them. The fix landed in #829 , we're seeing the correct numbers again. |
@DSHIVAAY-23 unfortunately, it's pretty hard to know what the production numbers will be at this point. On the one hand, in prod you'll incur overhead from DA and from having more state than you can fit in memory. On the other hand we haven't started optimising the native performance at all yet because we expect proving to be the bottleneck - so there's a bunch of relatively low-hanging fruit to improve native performance. Do you have a particular application in mind that needs certain performance from the fullnode and/or sequencer? |
|
I am doing R&D on this update you soon |
@preston-evans98 And i have seen that You all are using Zk-Snark in this too how you all are uing that thing . is stark-recursive is not a option how polygon has implemented that very well |
@DSHIVAAY-23, hmm that's very odd. We've seen an issue on some of our dev machines where the RocksDB crate can slow down by a factor of 100 or more when linked against a system-wide installation. But yeah, here are benchmarks on my machine: |
We allow people to use a variety of proof systems, but for now it looks like Risc0 offers the best performance and they're also using recursive SNARKs. |
See also: #857 |
@preston-evans98 can we run sovereign-sdk with local calestia node that we see the transactions on light-node exlplorer locally |
@preston-evans98 |
Hmm, I'm not able to reproduce this on the latest nightly? Are you able to switch? If not, send me a commit hash and I'm happy to help debug |
We haven't been using Celestia block explorers, but you might be able to get something like this up and running against the local devnet. If not, we should have explorer support once we upgrade to the newer Celestia version (coming in a few weeks) |
@preston-evans98 plz see #857 can you make some changs there ? |
|
@preston-evans98 and i am curious to know what will be your maximum tps destination as cosmos itself claim 10k tps on their chains ? |
Ah, looks like you might be using a compiler version that Risc0 doesn't support. I'd recommend updating to the latest nightly version of Sovereign, and then running |
After adding the transaction to batch
when i try to sumbit the transaction through this command
cargo run rpc submit-batch by-address sov15vspj48hpttzyvxu8kzq5klhvaczcpyxn6z6k0hwpwtzs4a6wkvqwr57gc
i got Failed to read rollup configuration error
The text was updated successfully, but these errors were encountered: