[ZK Stack] - Request rejected with status code 413 #1013
-
Team or ProjectValidium Module Affected
Rust Version1.82.0 Operating System
Issue DescriptionWe are trying to deploy zksync chain on hoodi testnet but server genesis phase fails because RPC rejects the request with status 413 which mean payload too large. I have experience this issue with both QuickNode and Alchemy. I request team to make appropriate changes to Expected BehaviorRequest should be successful and server genesis on the database should happen without any issue. Current BehaviorUnable to perform genesis on the database Repository Link (if applicable)No response Additional DetailsPrior Research
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
Looking into the issue! |
Beta Was this translation helpful? Give feedback.
-
@sachanayush47 would you be able to share more details, like your full chain configuration? I asked some knowledgeable people and they say the response should be really small, consisting of only 1 log, so the 413 error is quite unexpected. |
Beta Was this translation helpful? Give feedback.
-
We have fixed the issue. You might question why we are using quicknode and infura. We first tried with infura but |
Beta Was this translation helpful? Give feedback.
We have fixed the issue.
We have used 2 RPC providers i.e infura and quicknode.
Step 1: Deployed the ecosystem and chain using quicknode
Step 2: For the genesis, we switched to infura as it doent have any rate limits for
get_ethlogs
function or code knows how to handle this error from infura.Step 3: Switched back to quicknode and started the server.
You might question why we are using quicknode and infura. We first tried with infura but
zkstack
fails to gather transactions receipts from infura so then we switched to quicknode.