Comments (9)
Hi @davidnevadoc do you think is it related to the recent change #1445 ?
from zkevm-circuits.
also + @ed255 maybe have any quick answer :)
from zkevm-circuits.
Hi @davidnevadoc do you think is it related to the recent change #1445 ?
Yes, I think this comes directly related to this discussion #1445 (comment)
My guess is that there's a check that is too "overprotective" and logs an error even though the parameters are safe. The other option is that we're skipping enabling some necessary rows (and thus skipping their constraints), which could mean a soundness issue. So I believe this needs some investigation. I would also suggest to avoid logging errors without panicking in such situations; if the circuit parameters not enough to hold the full witness, we should panic.
from zkevm-circuits.
Yes, this was introduced in #1445 .
I was a bit on the fence about this issue because I too got this error. However, I think it is due to what @ed255 mentioned: An overprotective check.
By having max_rws +3
here
the error will go away. But I could not logically explain such a magic number so I left the
+1
which is what I think makes sense according to the specs.from zkevm-circuits.
Yes, this was introduced in #1445 . I was a bit on the fence about this issue because I too got this error. However, I think it is due to what @ed255 mentioned: An overprotective check. By having
max_rws +3
herethe error will go away. But I could not logically explain such a magic number so I left the
+1
which is what I think makes sense according to the specs.
Thanks for the hint. After I applied the max_rws +3
commit 360ad81 on word-lo-hi the error indeed gone.
However agree that we should investigate what's the root cause for why magic number + 2
from zkevm-circuits.
Yes, this was introduced in #1445 . I was a bit on the fence about this issue because I too got this error. However, I think it is due to what @ed255 mentioned: An overprotective check. By having
max_rws +3
herethe error will go away. But I could not logically explain such a magic number so I left the
+1
which is what I think makes sense according to the specs.
Hi @davidnevadoc , after L377, there is send_end_block
which still push 2 RW op plus context lookup, so if wanna double confirm if we set max_rws = max_rws + 1
but not counting rw op happened in set_end_block is it still correct?
from zkevm-circuits.
Tried to fixed in PR #1515
from zkevm-circuits.
there is
send_end_block
which still push 2 RW op plus context lookup
Oh there it is!! You are right, I missed those and that is why I left the +1
. Now that we know where the other 2 come from I'm comfortable having the +3
👍
from zkevm-circuits.
there is
send_end_block
which still push 2 RW op plus context lookupOh there it is!! You are right, I missed those and that is why I left the
+1
. Now that we know where the other 2 come from I'm comfortable having the+3
👍
Actually +1 + 1 (overall +2) work in this case, 😄 the pr should fixed it generally 👆
from zkevm-circuits.
Related Issues (20)
- Memory requirements for generating a full block proof HOT 4
- [Testool] Panic_attempt to subtract with overflow
- [testool] Potential improvement HOT 2
- [proof-chunk] implement uncompleted features in bus-mapping and refactor
- A Typo detection CI automation HOT 2
- nondeterministic circuit generation in integration test HOT 2
- EVM Circuit: block.table_assignment introduces non fixed entries in fixed columns
- Toward Dencun Upgrade
- Transaction Hash
- BLOBBASEFEE opcode
- beacon root in EVM
- Shard Blob Transactions
- Get bench results for average block VS keccak maxed out HOT 2
- is_zero can be implemented without witnessing the inverse HOT 1
- State circuit spec sync
- Running make tests HOT 1
- Estimate rows needed for a block that of blake/sha256 maxed out HOT 1
- EIP-3074: AUTH and AUTHCALL opcodes
- MPT fails with mainnet test with block 18363441
- Stack trie witness generator - modified extension node
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zkevm-circuits.