This repository has been archived by the owner on Jul 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 853
[word lo/hi] optimisation and improvements. #1487
Closed
6 of 10 tasks
Labels
T-feature
Type: new features
Comments
This was referenced Jun 20, 2023
4 tasks
hero78119
added a commit
that referenced
this issue
Jun 21, 2023
…1488) ### Description Add back - evm_circuit - keccak_circuit - exp_circuit - pi_circuit - state_circuit unittest to ci Other subcircuit `tx_circuit/copy_circuit/bytecode_circuit/root_circuit` still failed for now, will be fixed in another pr ### Issue Link [N/A](#1487) ### Type of change - [x] New feature (non-breaking change which adds functionality) ### Contents - Fix unittest assertion [failed](https://github.com/privacy-scaling-explorations/zkevm-circuits/blob/word-lo-hi/zkevm-circuits/src/util/int_decomposition.rs#L39-L43) due to sanity check on address H160 retrieved from U256. We need to clean up MSB 12 bytes to 0 - add subcircuit light tests on CI in whitelist based
5 tasks
1 task
1 task
hero78119
added a commit
that referenced
this issue
Jun 29, 2023
### Description Clean up workaround introduced in #1435 ### Issue Link #1487 ### Type of change - [x] Bug fix (non-breaking change which fixes an issue) ### Contents - it touch many files just under evm_circuit. Will not cause conflict with other word-lo-hi pr - all just cleanup/renaming without any logic change
It looks like this task is done. |
One of them should be resolved before merge main: rename all For others can be lower priority and |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the feature you would like
Aimed as super issue to record some further optimisation/housekeeping tasks related to word-lo-hi refactor.
cc @ed255 @ChihChengLiang @adria0 @KimiWu123
zkevm-circuits/src/table.rs
check all the fields in table calledfoo_word
and remove the legacy ones (foo
), renamefoo_word
to `foo.foo_new
tofoo
,FooNew
toFoo
:Foo::construct
, renameFoo::construct_new
toFoo::construct
forAddWordsGadget
,MulAddWordsGadget
,TransferWithGasFeeGadget
,MemoryAddressGadget
,ModGadget
,WordNew
import alias toWord
original_word_new
tooriginal_word
foo_word
methods in ConstraintBuilder tofoo
:stack_pop_word
stack_push_word
account_read_word
account_write_word
tx_context_lookup_word
block_lookup_word
bytecode_lookup_word
bytecode_length_word
account_storage_access_list_read_word
tx_refund_write_word
account_storage_read_word
account_storage_write_word
stack_lookup_word
keccak_table_lookup_word
tx_context_as_word32
totx_context_as_word
_word
fromAbsWord::{x_word, x_abs_word}
_word
frommemory_gadget expr_word
MulAddWords512Gadget::legacy_construct
Additional context
No response
The text was updated successfully, but these errors were encountered: