Closed dfstio closed 2 months ago
The tx that is causing this error: payload-issue.json
Hey @dfstio thanks for the issue reported! I noticed that you save txn payload into the file before txn gets proved that most likely will include additional "weight" to the request. I also noticed that you're using the Mina Explorer's Proxy to broadcast the transaction (send payload). Most likely that proxy has some request payload size limits. Can you please confirm if the issue happens to you using other broadcasting services as well (maybe your own node with graphql endpoint enabled, or the Lightnet)?
I've tested, in addition, the https://api.minascan.io/node/devnet/v1/graphql
endpoint and Lightnet; the error is being thrown only when using https://proxy.devnet.minaexplorer.com/graphql.
I've moved the code that serializes the tx after tx.prove()
; below are the files that were produced for all three endpoints:
payload-issue-lightnet.json
payload-issue-minaexplorer.json
payload-issue-minascan.json
Discussion on discord: https://discord.com/channels/484437221055922177/583400552487059546/1232023018276917349
the error is being thrown only when using
https://proxy.devnet.minaexplorer.com/graphql.
Thank you! I think we also need to check with other public txns broadcasting services if they have request size limits. We are going to raise it.
The issue is resolved by increasing the limit on https://proxy.devnet.minaexplorer.com/graphql
and tx is now successful:
https://devnet.minaexplorer.com/transaction/5JuoKLjxvdYCHtByWmFR43uZXTgwtDUJvxhpu5N3qjpZrUZV8kMh
The following error is thrown on devnet with o1js 0.18.0:
The same code works as intended on the local blockchain and Zeko. It occurs only on tx that include three zkApp accounts:
The code to reproduce the issue: https://github.com/dfstio/minanft-lib/blob/master/experimental/payload.issue.test.ts
It may be related to https://github.com/o1-labs/o1js/issues/1245#issuecomment-1972951258