From b5856284d19cb19d7636c3890a70e6e31205ff53 Mon Sep 17 00:00:00 2001 From: AlexandreBelling Date: Wed, 11 Sep 2024 19:14:53 +0200 Subject: [PATCH 1/4] switch the go import path to linea-monorepo --- prover/go.mod => go.mod | 2 +- prover/go.sum => go.sum | 0 prover/Makefile | 2 +- prover/backend/aggregation/craft.go | 27 ++++++------- prover/backend/aggregation/craft_test.go | 2 +- prover/backend/aggregation/prove.go | 23 +++++------ prover/backend/aggregation/request.go | 8 ++-- prover/backend/blobdecompression/prove.go | 16 ++++---- prover/backend/blobdecompression/request.go | 2 +- .../blobsubmission/blobcompression_test.go | 4 +- prover/backend/blobsubmission/craft.go | 6 +-- .../backend/blobsubmission/craft_eip4844.go | 4 +- prover/backend/ethereum/signature.go | 4 +- prover/backend/ethereum/tx_encoding.go | 2 +- .../execution/bridge/batch_reception.go | 2 +- prover/backend/execution/bridge/l2l1logs.go | 4 +- .../execution/bridge/rolling_hash_updated.go | 4 +- prover/backend/execution/craft.go | 24 ++++++------ prover/backend/execution/prove.go | 14 +++---- prover/backend/execution/request.go | 8 ++-- prover/backend/execution/response.go | 6 +-- .../execution/statemanager/access_pattern.go | 2 +- .../execution/statemanager/inspection.go | 4 +- .../execution/statemanager/parsing_test.go | 4 +- .../execution/statemanager/proof_checks.go | 4 +- .../statemanager/test_vectors_test.go | 4 +- .../backend/execution/statemanager/types.go | 4 +- .../execution/statemanager/worldstate.go | 10 ++--- prover/backend/execution/testcase_gen/cli.go | 4 +- .../execution/testcase_gen/rand_gen.go | 12 +++--- .../circuits/aggregation/asset_generation.go | 2 +- prover/circuits/aggregation/circuit.go | 9 +++-- prover/circuits/aggregation/circuit_test.go | 24 ++++++------ prover/circuits/aggregation/place_holder.go | 2 +- prover/circuits/aggregation/proof_claim.go | 5 ++- prover/circuits/aggregation/prover.go | 5 ++- prover/circuits/blobdecompression/circuit.go | 6 +-- .../large-tests/compile-batch-hasher/main.go | 6 +-- .../large-tests/compile-end-to-end/main.go | 4 +- .../large-tests/maximize_blob_size/main.go | 5 ++- .../blobdecompression/public-input/pi.go | 7 ++-- .../blobdecompression/public-input/pi_test.go | 7 ++-- .../blobdecompression/v0/assign_test.go | 15 ++++---- prover/circuits/blobdecompression/v0/bytes.go | 2 +- .../circuits/blobdecompression/v0/circuit.go | 13 ++++--- .../circuits/blobdecompression/v0/compress.go | 11 +++--- .../v0/compress/internal/io.go | 2 +- .../v0/compress/internal/io_test.go | 9 +++-- .../blobdecompression/v0/compress/io.go | 2 +- .../blobdecompression/v0/compress/io_test.go | 7 ++-- .../v0/compress/lzss/snark.go | 10 ++--- .../v0/compress/lzss/snark_test.go | 5 ++- .../v0/compress/lzss/snark_testing.go | 6 +-- .../blobdecompression/v0/hash_any_test.go | 2 +- .../circuits/blobdecompression/v0/prelude.go | 11 +++--- .../blobdecompression/v1/assign_test.go | 10 ++--- .../circuits/blobdecompression/v1/circuit.go | 10 ++--- .../blobdecompression/v1/circuit_test.go | 5 ++- prover/circuits/blobdecompression/v1/snark.go | 10 ++--- .../blobdecompression/v1/snark_test.go | 13 ++++--- .../v1/test_utils/snark_testing.go | 3 +- prover/circuits/dummy/builder.go | 2 +- prover/circuits/dummy/dummycircuit.go | 4 +- prover/circuits/dummy/dummycircuit_test.go | 4 +- prover/circuits/emulation/circuit.go | 4 +- prover/circuits/execution/builder.go | 2 +- prover/circuits/execution/circuit.go | 8 ++-- prover/circuits/execution/pi.go | 10 ++--- prover/circuits/execution/pi_test.go | 4 +- .../execution/pi_wizard_extraction.go | 6 +-- prover/circuits/internal/io.go | 2 +- prover/circuits/internal/plonk/plonk_test.go | 9 +++-- .../internal/test_utils/test_utils.go | 2 +- prover/circuits/internal/utils.go | 4 +- prover/circuits/internal/utils_test.go | 8 ++-- prover/circuits/pi-interconnection/assign.go | 19 +++++----- .../circuits/pi-interconnection/bench/main.go | 11 +++--- prover/circuits/pi-interconnection/circuit.go | 20 +++++----- .../pi-interconnection/circuit_test.go | 13 ++++--- .../compile/test_compile.go | 9 +++-- prover/circuits/pi-interconnection/dummy.go | 2 +- .../circuits/pi-interconnection/e2e_test.go | 22 +++++------ prover/circuits/pi-interconnection/io.go | 7 ++-- prover/circuits/pi-interconnection/io_test.go | 5 ++- .../pi-interconnection/keccak/assign.go | 11 +++--- .../pi-interconnection/keccak/assign_test.go | 6 +-- .../keccak/customize_keccak.go | 8 ++-- .../keccak/customize_keccak_test.go | 5 ++- .../pi-interconnection/keccak/snark.go | 10 ++--- .../pi-interconnection/keccak/snark_test.go | 10 ++--- .../pi-interconnection/keccak/vectors_test.go | 5 ++- .../pi-interconnection/keccak/vortex_test.go | 12 +++--- prover/circuits/pi-interconnection/shnarf.go | 2 +- .../pi-interconnection/shnarf_test.go | 11 +++--- .../test_utils/test_utils.go | 17 +++++---- prover/circuits/setup.go | 4 +- prover/cmd/controller/controller/command.go | 2 +- .../cmd/controller/controller/controller.go | 6 +-- .../controller/controller/controller_test.go | 2 +- prover/cmd/controller/controller/executor.go | 6 +-- .../controller/controller/executor_test.go | 2 +- .../cmd/controller/controller/fs_watcher.go | 4 +- .../controller/controller/job_definition.go | 4 +- .../controller/job_definition_test.go | 2 +- prover/cmd/controller/controller/jobs.go | 2 +- prover/cmd/controller/main.go | 2 +- prover/cmd/dev-tools/corset-checker/main.go | 4 +- prover/cmd/dev-tools/corset-checker/params.go | 2 +- prover/cmd/dev-tools/corset-checker/zkevm.go | 6 +-- .../state-manager-inspector/cmd/run.go | 6 +-- .../cmd/shomei_test.go | 2 +- .../dev-tools/state-manager-inspector/main.go | 2 +- .../compression-aggregation/cmd.go | 12 +++--- .../compression-aggregation/random_gen.go | 6 +-- prover/cmd/prover/cmd/prove.go | 10 ++--- prover/cmd/prover/cmd/setup.go | 26 ++++++------- prover/cmd/prover/main.go | 2 +- prover/config/traces_limit.go | 2 +- prover/crypto/fiatshamir/bitreader.go | 2 +- prover/crypto/fiatshamir/fiatshamir.go | 8 ++-- prover/crypto/fiatshamir/fiatshamir_test.go | 6 +-- prover/crypto/fiatshamir/snark.go | 6 +-- prover/crypto/fiatshamir/snark_test.go | 6 +-- prover/crypto/keccak/hash_test.go | 2 +- prover/crypto/keccak/reference_test.go | 2 +- prover/crypto/keccak/util.go | 2 +- prover/crypto/mimc/gkrmimc/factory_test.go | 6 +-- prover/crypto/mimc/gkrmimc/finalgates.go | 4 +- prover/crypto/mimc/gkrmimc/gkrcircuit.go | 4 +- prover/crypto/mimc/gkrmimc/helper.go | 6 +-- prover/crypto/mimc/gkrmimc/normalgates.go | 2 +- prover/crypto/mimc/mimc.go | 2 +- prover/crypto/mimc/mimc_gnark_test.go | 4 +- prover/crypto/mimc/mimc_test.go | 4 +- prover/crypto/ringsis/params.go | 4 +- prover/crypto/ringsis/ringis.go | 16 ++++---- .../ringsis_32_8/limb_decompose_test.go | 2 +- .../ringsis/ringsis_32_8/partial_fft.go | 2 +- .../ringsis/ringsis_32_8/partial_fft_test.go | 2 +- .../ringsis/ringsis_32_8/transversal_hash.go | 10 ++--- .../ringsis_32_8/transversal_hash_test.go | 12 +++--- .../crypto/ringsis/ringsis_32_8/twiddles.go | 2 +- .../ringsis_64_16/limb_decompose_test.go | 2 +- .../ringsis/ringsis_64_16/partial_fft.go | 2 +- .../ringsis/ringsis_64_16/partial_fft_test.go | 2 +- .../ringsis/ringsis_64_16/transversal_hash.go | 10 ++--- .../ringsis_64_16/transversal_hash_test.go | 12 +++--- .../crypto/ringsis/ringsis_64_16/twiddles.go | 2 +- .../ringsis_64_8/limb_decompose_test.go | 2 +- .../ringsis/ringsis_64_8/partial_fft.go | 2 +- .../ringsis/ringsis_64_8/partial_fft_test.go | 2 +- .../ringsis/ringsis_64_8/transversal_hash.go | 10 ++--- .../ringsis_64_8/transversal_hash_test.go | 12 +++--- .../crypto/ringsis/ringsis_64_8/twiddles.go | 2 +- prover/crypto/ringsis/ringsis_test.go | 12 +++--- prover/crypto/ringsis/templates/generator.go | 2 +- .../templates/limb_decompose_test.go.tmpl | 2 +- .../crypto/ringsis/templates/partial_fft.go | 2 +- .../ringsis/templates/partial_fft.go.tmpl | 2 +- .../templates/partial_fft_test.go.tmpl | 2 +- .../templates/transversal_hash.go.tmpl | 10 ++--- .../templates/transversal_hash_test.go.tmpl | 12 +++--- .../crypto/ringsis/templates/twiddles.go.tmpl | 2 +- prover/crypto/sha2/sha2.go | 2 +- .../state-management/accumulator/common.go | 4 +- .../state-management/accumulator/deletion.go | 6 +-- .../state-management/accumulator/insertion.go | 6 +-- .../accumulator/leafopening.go | 6 +-- .../accumulator/operation_mimc_test.go | 2 +- .../accumulator/operation_test.go | 8 ++-- .../accumulator/proverstate.go | 8 ++-- .../accumulator/readnonzero.go | 6 +-- .../state-management/accumulator/readzero.go | 6 +-- .../accumulator/testvectors_mimc_test.go | 6 +-- .../state-management/accumulator/update.go | 6 +-- .../accumulator/verifierstate.go | 4 +- .../state-management/hashtypes/hasher.go | 4 +- .../crypto/state-management/smt/gnark_test.go | 4 +- prover/crypto/state-management/smt/proof.go | 4 +- .../crypto/state-management/smt/smt_test.go | 8 ++-- .../smt/testvectors_mimc_test.go | 6 +-- prover/crypto/state-management/smt/tree.go | 8 ++-- prover/crypto/state-management/smt/update.go | 4 +- prover/crypto/vortex/commitment.go | 16 ++++---- prover/crypto/vortex/commitment_test.go | 14 +++---- prover/crypto/vortex/gnark_commitment.go | 8 ++-- prover/crypto/vortex/gnark_test.go | 20 +++++----- prover/crypto/vortex/gnark_utils.go | 6 +-- prover/crypto/vortex/opening_prover.go | 10 ++--- prover/crypto/vortex/opening_verifier.go | 14 +++---- prover/crypto/vortex/params.go | 6 +-- prover/crypto/vortex/reedsolomon.go | 8 ++-- prover/crypto/vortex/reedsolomon_test.go | 8 ++-- prover/example/test_cases/fibonacci_test.go | 8 ++-- .../test_cases/fixed_permutation_test.go | 6 +-- prover/example/test_cases/framework_test.go | 26 ++++++------- .../test_cases/inclusion_multi_col_test.go | 6 +-- prover/example/test_cases/inclusion_test.go | 6 +-- prover/example/test_cases/issue_test.go | 6 +-- .../test_cases/local_constraint_test.go | 8 ++-- .../example/test_cases/local_opening_test.go | 10 ++--- prover/example/test_cases/multi_point_test.go | 6 +-- .../test_cases/permutation_multicol_test.go | 6 +-- prover/example/test_cases/permutation_test.go | 6 +-- prover/example/test_cases/pythagore_test.go | 8 ++-- prover/example/test_cases/range_test.go | 6 +-- .../circuit-testing/aggregation/main.go | 16 ++++---- prover/lib/compressor/blob/blob.go | 4 +- prover/lib/compressor/blob/blob_test.go | 7 ++-- prover/lib/compressor/blob/v0/blob_maker.go | 2 +- .../lib/compressor/blob/v0/blob_maker_test.go | 10 ++--- .../blob/v0/compress/lzss/compress.go | 5 ++- prover/lib/compressor/blob/v0/encode.go | 3 +- prover/lib/compressor/blob/v0/header.go | 2 +- .../lib/compressor/blob/v1/blob_maker_test.go | 8 ++-- prover/lib/compressor/blob/v1/encode.go | 2 +- prover/lib/compressor/blob/v1/encode_test.go | 10 ++--- prover/lib/compressor/blob/v1/header.go | 2 +- prover/lib/compressor/blob/v1/header_test.go | 7 ++-- .../blob/v1/test_utils/blob_maker_testing.go | 13 ++++--- prover/lib/compressor/libcompressor.go | 2 +- .../shnarf_calculator/shnarf_calculator.go | 2 +- .../shnarf_calculator_test.go | 8 ++-- prover/maths/common/mempool/debug_pool.go | 4 +- .../maths/common/mempool/debug_pool_test.go | 2 +- prover/maths/common/mempool/from_sync_pool.go | 6 +-- prover/maths/common/mempool/mempool.go | 4 +- prover/maths/common/mempool/slice_arena.go | 2 +- prover/maths/common/poly/gnarkpoly.go | 2 +- prover/maths/common/poly/gnarkpoly_test.go | 6 +-- prover/maths/common/poly/poly.go | 6 +-- prover/maths/common/poly/poly_test.go | 6 +-- .../common/smartvectors/arithmetic_basic.go | 8 ++-- .../smartvectors/arithmetic_basic_test.go | 4 +- .../common/smartvectors/arithmetic_gen.go | 6 +-- .../common/smartvectors/arithmetic_op.go | 4 +- .../common/smartvectors/arithmetic_test.go | 6 +-- .../common/smartvectors/circular_interval.go | 2 +- prover/maths/common/smartvectors/constant.go | 4 +- prover/maths/common/smartvectors/fft.go | 8 ++-- prover/maths/common/smartvectors/fft_test.go | 4 +- prover/maths/common/smartvectors/fuzzing.go | 8 ++-- .../maths/common/smartvectors/polynomial.go | 14 +++---- .../common/smartvectors/polynomial_test.go | 10 ++--- prover/maths/common/smartvectors/regular.go | 8 ++-- prover/maths/common/smartvectors/rotated.go | 8 ++-- .../maths/common/smartvectors/rotated_test.go | 8 ++-- .../common/smartvectors/smartvector_test.go | 4 +- .../maths/common/smartvectors/smartvectors.go | 6 +-- prover/maths/common/smartvectors/vecutil.go | 2 +- prover/maths/common/smartvectors/windowed.go | 6 +-- .../common/smartvectors/windowed_test.go | 4 +- prover/maths/common/vector/vector.go | 4 +- prover/maths/common/vector/vector_test.go | 4 +- prover/maths/fft/cosets.go | 6 +-- prover/maths/fft/cosets_test.go | 2 +- prover/maths/fft/domain.go | 2 +- prover/maths/fft/fastpoly/fastpoly.go | 6 +-- prover/maths/fft/fastpoly/fastpoly_test.go | 8 ++-- .../maths/fft/fastpoly/gnark_interpolation.go | 8 ++-- prover/maths/fft/fastpoly/gnark_poly_test.go | 6 +-- prover/maths/fft/fastpoly/interpolation.go | 10 ++--- .../maths/fft/fastpoly/interpolation_test.go | 8 ++-- prover/maths/fft/fastpoly/reeval_on_coset.go | 8 ++-- .../fft/fastpoly/reeval_on_coset_test.go | 8 ++-- prover/maths/fft/fft.go | 2 +- prover/maths/fft/fft_test.go | 4 +- prover/maths/fft/generators.go | 4 +- prover/maths/fft/new_domain.go | 4 +- prover/maths/fft/twiddles.go | 4 +- prover/maths/field/bls12_377.go | 2 +- prover/maths/field/gen.go | 2 +- prover/protocol/accessors/accessor_test.go | 10 ++--- prover/protocol/accessors/from_coin.go | 16 ++++---- prover/protocol/accessors/from_constant.go | 8 ++-- prover/protocol/accessors/from_expression.go | 16 ++++---- .../accessors/from_integer_vec_coin.go | 12 +++--- .../protocol/accessors/from_local_opening.go | 10 ++--- .../accessors/from_public_position.go | 12 +++--- prover/protocol/accessors/from_univ_x.go | 10 ++--- prover/protocol/coin/coin.go | 4 +- prover/protocol/coin/variable.go | 4 +- prover/protocol/column/column.go | 4 +- prover/protocol/column/column_test.go | 10 ++--- prover/protocol/column/gnark_derive.go | 10 ++--- prover/protocol/column/natural.go | 12 +++--- prover/protocol/column/repr.go | 10 ++--- prover/protocol/column/shifted.go | 10 ++--- prover/protocol/column/status.go | 8 ++-- prover/protocol/column/store.go | 10 ++--- prover/protocol/column/store_test.go | 2 +- .../verifiercol/concat_tiny_cols_test.go | 16 ++++---- .../column/verifiercol/from_accessors.go | 10 ++--- .../column/verifiercol/from_alleged_ys.go | 10 ++--- .../column/verifiercol/from_ints_vec_coin.go | 12 +++--- .../verifiercol/from_ints_vec_coin_test.go | 20 +++++----- .../column/verifiercol/full_constant.go | 10 ++--- .../column/verifiercol/verifiercol.go | 12 +++--- prover/protocol/compiler/arcane.go | 24 ++++++------ prover/protocol/compiler/cleanup/cleanup.go | 2 +- prover/protocol/compiler/dummy/dummy.go | 8 ++-- .../compiler/dummy/dummy_prover_level.go | 8 ++-- prover/protocol/compiler/dummy/lazy_commit.go | 6 +-- .../compiler/dummy/lazy_commitment_test.go | 6 +-- prover/protocol/compiler/globalcs/compile.go | 2 +- .../protocol/compiler/globalcs/evaluation.go | 24 ++++++------ .../protocol/compiler/globalcs/factoring.go | 12 +++--- .../protocol/compiler/globalcs/global_test.go | 20 +++++----- prover/protocol/compiler/globalcs/merging.go | 20 +++++----- prover/protocol/compiler/globalcs/quotient.go | 32 ++++++++-------- .../compiler/innerproduct/compiler.go | 6 +-- .../protocol/compiler/innerproduct/context.go | 12 +++--- .../protocol/compiler/innerproduct/prover.go | 8 ++-- .../protocol/compiler/innerproduct/utils.go | 2 +- .../compiler/innerproduct/verifier.go | 10 ++--- prover/protocol/compiler/localcs/compiler.go | 6 +-- .../compiler/localcs/local_constraint.go | 10 ++--- .../compiler/localcs/local_constraint_test.go | 12 +++--- prover/protocol/compiler/logdata/csv.go | 4 +- prover/protocol/compiler/logdata/logger.go | 4 +- prover/protocol/compiler/lookup/compiler.go | 16 ++++---- .../protocol/compiler/lookup/compiler_test.go | 8 ++-- .../compiler/lookup/conditional_test.go | 12 +++--- prover/protocol/compiler/lookup/context.go | 6 +-- .../protocol/compiler/lookup/lookup_test.go | 10 ++--- prover/protocol/compiler/lookup/prover.go | 16 ++++---- prover/protocol/compiler/lookup/utils.go | 4 +- prover/protocol/compiler/lookup/verifier.go | 6 +-- prover/protocol/compiler/lookup/z_packing.go | 12 +++--- prover/protocol/compiler/mimc/assignment.go | 10 ++--- prover/protocol/compiler/mimc/manual.go | 12 +++--- prover/protocol/compiler/mimc/mimc.go | 14 +++---- prover/protocol/compiler/mimc/mimc_test.go | 14 +++---- .../protocol/compiler/permutation/compiler.go | 12 +++--- .../compiler/permutation/compiler_test.go | 8 ++-- .../protocol/compiler/permutation/prover.go | 10 ++--- prover/protocol/compiler/permutation/utils.go | 4 +- .../protocol/compiler/permutation/verifier.go | 4 +- prover/protocol/compiler/permutation/z.go | 12 +++--- .../compiler/selfrecursion/column_opening.go | 34 ++++++++--------- .../compiler/selfrecursion/context.go | 14 +++---- .../compiler/selfrecursion/lincomb_phase.go | 16 ++++---- .../protocol/compiler/selfrecursion/names.go | 8 ++-- .../compiler/selfrecursion/precomputations.go | 10 ++--- .../compiler/selfrecursion/roothashandq.go | 10 ++--- .../compiler/selfrecursion/selfrecursion.go | 2 +- .../selfrecursion/selfrecursion_test.go | 22 +++++------ .../compiler/specialqueries/compiler.go | 6 +-- .../specialqueries/fixed_permutation.go | 20 +++++----- .../protocol/compiler/specialqueries/range.go | 12 +++--- prover/protocol/compiler/splitter/splitter.go | 24 ++++++------ .../compiler/splitter/splitter_test.go | 20 +++++----- .../compiler/splitter/sticker/sticker.go | 28 +++++++------- .../compiler/splitter/sticker/sticker_test.go | 20 +++++----- .../protocol/compiler/univariates/compiler.go | 4 +- .../univariates/local_opening_point.go | 10 ++--- .../univariates/local_opening_test.go | 10 ++--- .../multi_point_to_single_point_test.go | 12 +++--- .../univariates/multi_to_single_point.go | 26 ++++++------- .../compiler/univariates/naturalize.go | 16 ++++---- .../compiler/univariates/naturalize_test.go | 12 +++--- prover/protocol/compiler/vortex/compiler.go | 28 +++++++------- .../compiler/vortex/gnark_verifier.go | 16 ++++---- .../compiler/vortex/gnark_verifier_test.go | 14 +++---- prover/protocol/compiler/vortex/names.go | 4 +- prover/protocol/compiler/vortex/option.go | 2 +- prover/protocol/compiler/vortex/prover.go | 18 ++++----- prover/protocol/compiler/vortex/verifier.go | 16 ++++---- .../protocol/compiler/vortex/vortex_test.go | 16 ++++---- .../protocol/dedicated/bigrange/bigrange.go | 22 +++++------ .../dedicated/bigrange/bigrange_test.go | 14 +++---- .../protocol/dedicated/byte32cmp/byte32cmp.go | 8 ++-- .../byte32cmp/byte32cmp_computemod.go | 16 ++++---- .../dedicated/byte32cmp/byte32cmp_test.go | 12 +++--- .../protocol/dedicated/byte32cmp/decompose.go | 16 ++++---- .../dedicated/byte32cmp/decompose_test.go | 6 +-- .../dedicated/byte32cmp/multi_limb_cmp.go | 18 ++++----- .../byte32cmp/multi_limb_cmp_test.go | 8 ++-- .../dedicated/byte32cmp/one_limb_cmp.go | 14 +++---- .../dedicated/byte32cmp/one_limb_cmp_test.go | 8 ++-- .../dedicated/expr_handle/expr_handle.go | 20 +++++----- .../expr_handle/rand_lin_comp_expr.go | 6 +-- .../dedicated/functionals/eval_bivariate.go | 22 +++++------ .../functionals/eval_bivariate_test.go | 18 ++++----- .../dedicated/functionals/eval_coeff.go | 16 ++++---- .../dedicated/functionals/eval_coeff_test.go | 14 +++---- prover/protocol/dedicated/functionals/fold.go | 14 +++---- .../dedicated/functionals/fold_test.go | 14 +++---- .../dedicated/functionals/foldouter.go | 12 +++--- .../dedicated/functionals/foldouter_test.go | 14 +++---- .../dedicated/functionals/interpolation.go | 18 ++++----- .../functionals/interpolation_test.go | 14 +++---- prover/protocol/dedicated/is_zero.go | 12 +++--- prover/protocol/dedicated/is_zero_test.go | 14 +++---- .../protocol/dedicated/merkle/computemod.go | 24 ++++++------ prover/protocol/dedicated/merkle/merkle.go | 16 ++++---- .../protocol/dedicated/merkle/merkle_test.go | 18 ++++----- prover/protocol/dedicated/merkle/resultmod.go | 12 +++--- prover/protocol/dedicated/mimc/linear_hash.go | 24 ++++++------ .../dedicated/mimc/linear_hash_test.go | 18 ++++----- prover/protocol/dedicated/plonk/alignment.go | 18 ++++----- .../dedicated/plonk/alignment_test.go | 8 ++-- .../protocol/dedicated/plonk/commit_test.go | 6 +-- prover/protocol/dedicated/plonk/compile.go | 22 +++++------ prover/protocol/dedicated/plonk/context.go | 12 +++--- prover/protocol/dedicated/plonk/names.go | 2 +- prover/protocol/dedicated/plonk/plonk_test.go | 6 +-- .../protocol/dedicated/plonk/prover_commit.go | 10 ++--- .../dedicated/plonk/prover_nocommit.go | 10 ++--- .../protocol/dedicated/plonk/rangechecker.go | 14 +++---- .../dedicated/plonk/rangechecker_test.go | 8 ++-- .../dedicated/plonk/witness_assigner.go | 2 +- .../dedicated/projection/projection.go | 20 +++++----- .../dedicated/projection/projection_test.go | 10 ++--- .../dedicated/reedsolomon/reedsolomon.go | 14 +++---- .../dedicated/reedsolomon/reedsolomon_test.go | 12 +++--- .../protocol/dedicated/selector/subsample.go | 18 ++++----- .../dedicated/selector/sumsample_test.go | 10 ++--- prover/protocol/ifaces/accessor.go | 8 ++-- prover/protocol/ifaces/columns.go | 20 +++++----- prover/protocol/ifaces/doc.go | 4 +- prover/protocol/ifaces/query.go | 10 ++--- prover/protocol/ifaces/verifier.go | 8 ++-- prover/protocol/protocol.go | 2 +- prover/protocol/query/fixed_permutation.go | 8 ++-- prover/protocol/query/global.go | 20 +++++----- prover/protocol/query/global_test.go | 12 +++--- prover/protocol/query/gnark_params.go | 4 +- prover/protocol/query/inclusion.go | 8 ++-- prover/protocol/query/innerproduct.go | 12 +++--- prover/protocol/query/local.go | 14 +++---- prover/protocol/query/local_opening.go | 10 ++--- prover/protocol/query/local_opening_test.go | 12 +++--- prover/protocol/query/mimc.go | 6 +-- prover/protocol/query/permutation.go | 8 ++-- prover/protocol/query/permutation_test.go | 6 +-- prover/protocol/query/query.go | 4 +- prover/protocol/query/range.go | 6 +-- prover/protocol/query/univariate.go | 14 +++---- .../serialization/column_declaration.go | 6 +-- prover/protocol/serialization/compiled_iop.go | 10 ++--- .../serialization/compiled_iop_test.go | 8 ++-- .../serialization/implementation_registry.go | 22 +++++------ .../implementation_registry_test.go | 2 +- .../protocol/serialization/pure_expression.go | 4 +- .../serialization/pure_expression_test.go | 4 +- .../protocol/serialization/serialization.go | 10 ++--- .../serialization/serialization_test.go | 16 ++++---- prover/protocol/variables/periodicsample.go | 14 +++---- .../protocol/variables/periodicsample_test.go | 16 ++++---- prover/protocol/variables/x.go | 8 ++-- prover/protocol/wizard/artefacts.go | 2 +- prover/protocol/wizard/builder.go | 16 ++++---- prover/protocol/wizard/builder_test.go | 4 +- prover/protocol/wizard/compiled.go | 26 ++++++------- prover/protocol/wizard/gnark_verifier.go | 20 +++++----- prover/protocol/wizard/prover.go | 26 ++++++------- prover/protocol/wizard/register.go | 4 +- prover/protocol/wizard/verifier.go | 16 ++++---- prover/protocol/wizard/wizard_test.go | 10 ++--- prover/protocol/wizardutils/evaluation.go | 14 +++---- prover/protocol/wizardutils/utils.go | 10 ++--- prover/public-input/aggregation.go | 11 +++--- prover/public-input/execution.go | 3 +- prover/symbolic/constant.go | 6 +-- prover/symbolic/constructor_new.go | 4 +- prover/symbolic/csv.go | 6 +-- prover/symbolic/evaluation.go | 10 ++--- prover/symbolic/evaluation_bench_test.go | 12 +++--- prover/symbolic/evaluation_board.go | 8 ++-- prover/symbolic/evaluation_test.go | 6 +-- prover/symbolic/expression.go | 10 ++--- prover/symbolic/expression_board.go | 4 +- prover/symbolic/expression_test.go | 6 +-- prover/symbolic/lincomb.go | 8 ++-- prover/symbolic/pattern.go | 2 +- prover/symbolic/polyeval.go | 10 ++--- prover/symbolic/product.go | 10 ++--- prover/symbolic/simplification.go | 2 +- prover/symbolic/simplification_test.go | 2 +- prover/symbolic/simplify/cost_stat.go | 2 +- prover/symbolic/simplify/cost_stat_test.go | 2 +- prover/symbolic/simplify/factor.go | 6 +-- prover/symbolic/simplify/factor_test.go | 4 +- prover/symbolic/simplify/rmpolyeval.go | 2 +- prover/symbolic/simplify/simplify.go | 4 +- prover/symbolic/variable.go | 8 ++-- prover/utils/collection/mapping.go | 2 +- prover/utils/collection/vecvec.go | 2 +- prover/utils/collection/vecvec_test.go | 2 +- prover/utils/csvtraces/csvtraces.go | 10 ++--- prover/utils/gnarkutil/mimc_loose_packing.go | 2 +- prover/utils/hex_test.go | 2 +- prover/utils/parallel/par_test.go | 2 +- prover/utils/parallel/parallel.go | 2 +- prover/utils/profiling/profiling.go | 2 +- prover/utils/types/account_test.go | 2 +- prover/utils/types/bytes32.go | 4 +- prover/utils/types/common.go | 2 +- prover/utils/types/common_test.go | 2 +- prover/utils/types/ethaddress.go | 2 +- prover/utils/types/full_bytes_32.go | 2 +- prover/utils/types/full_bytes_32_test.go | 2 +- prover/utils/utils_test.go | 2 +- .../zkevm/arithmetization/arithmetization.go | 6 +-- prover/zkevm/arithmetization/assignment.go | 10 ++--- prover/zkevm/arithmetization/definition.go | 12 +++--- .../zkevm/arithmetization/definition_test.go | 12 +++--- prover/zkevm/checker.go | 8 ++-- prover/zkevm/full.go | 38 +++++++++---------- prover/zkevm/partial.go | 10 ++--- .../common_constraints/common_constraints.go | 8 ++-- prover/zkevm/prover/common/hashing.go | 18 ++++----- prover/zkevm/prover/common/hashing_test.go | 10 ++--- prover/zkevm/prover/common/round_zero.go | 4 +- prover/zkevm/prover/common/vector_builder.go | 12 +++--- prover/zkevm/prover/ecarith/ecadd.go | 6 +-- prover/zkevm/prover/ecarith/ecadd_test.go | 8 ++-- prover/zkevm/prover/ecarith/ecmul.go | 6 +-- prover/zkevm/prover/ecarith/ecmul_test.go | 8 ++-- prover/zkevm/prover/ecarith/limits.go | 2 +- prover/zkevm/prover/ecdsa/address_test.go | 12 +++--- prover/zkevm/prover/ecdsa/adress.go | 26 ++++++------- prover/zkevm/prover/ecdsa/antichamber.go | 14 +++---- .../zkevm/prover/ecdsa/antichamber_columns.go | 2 +- .../prover/ecdsa/antichamber_constraints.go | 8 ++-- prover/zkevm/prover/ecdsa/antichamber_test.go | 16 ++++---- prover/zkevm/prover/ecdsa/circuit.go | 2 +- prover/zkevm/prover/ecdsa/ecdata.go | 12 +++--- prover/zkevm/prover/ecdsa/ecdata_test.go | 6 +-- prover/zkevm/prover/ecdsa/ecdsa.go | 6 +-- prover/zkevm/prover/ecdsa/txn_signature.go | 20 +++++----- .../zkevm/prover/ecdsa/txn_signature_test.go | 10 ++--- prover/zkevm/prover/ecdsa/unaligned_gnark.go | 18 ++++----- .../prover/ecdsa/unaligned_gnark_test.go | 6 +-- prover/zkevm/prover/ecdsa/utils.go | 6 +-- prover/zkevm/prover/ecdsa/utils_for_test.go | 16 ++++---- prover/zkevm/prover/ecpair/ecpair.go | 6 +-- .../zkevm/prover/ecpair/ecpair_assignment.go | 8 ++-- .../zkevm/prover/ecpair/ecpair_constraints.go | 10 ++--- prover/zkevm/prover/ecpair/ecpair_test.go | 8 ++-- prover/zkevm/prover/ecpair/limits.go | 2 +- prover/zkevm/prover/ecpair/utils.go | 4 +- .../prover/hash/generic/gen_byte_module.go | 6 +-- .../hash/generic/gen_byte_module_test.go | 8 ++-- .../zkevm/prover/hash/generic/testdata/gen.go | 12 +++--- prover/zkevm/prover/hash/importpad/common.go | 4 +- .../zkevm/prover/hash/importpad/import_pad.go | 20 +++++----- .../prover/hash/importpad/import_pad_test.go | 12 +++--- prover/zkevm/prover/hash/importpad/lookup.go | 10 ++--- .../prover/hash/importpad/padding_keccak.go | 12 +++--- .../prover/hash/importpad/padding_mimc.go | 10 ++--- .../prover/hash/importpad/padding_sha2.go | 16 ++++---- .../prover/hash/importpad/testdata/gen.go | 4 +- .../hash/importpad/unsafe_gen_importation.go | 4 +- .../prover/hash/keccak/acc_module/data_acc.go | 22 +++++------ .../hash/keccak/acc_module/data_acc_test.go | 8 ++-- .../prover/hash/keccak/acc_module/info_acc.go | 22 +++++------ .../hash/keccak/acc_module/info_acc_test.go | 8 ++-- .../hash/keccak/base_conversion/bc_input.go | 20 +++++----- .../keccak/base_conversion/bc_input_test.go | 12 +++--- .../hash/keccak/base_conversion/bc_output.go | 16 ++++---- .../keccak/base_conversion/bc_output_test.go | 14 +++---- .../keccak/base_conversion/decompose_be.go | 10 ++--- .../base_conversion/decompose_be_test.go | 10 ++--- .../hash/keccak/base_conversion/lookups.go | 12 +++--- .../prover/hash/keccak/keccak_over_blocks.go | 18 ++++----- .../hash/keccak/keccak_over_blocks_test.go | 14 +++---- .../hash/keccak/keccak_single_provider.go | 14 +++---- .../keccak/keccak_single_provider_test.go | 8 ++-- .../zkevm/prover/hash/keccak/keccak_zkevm.go | 8 ++-- .../prover/hash/keccak/keccak_zkevm_test.go | 8 ++-- prover/zkevm/prover/hash/keccak/keccakf/io.go | 20 +++++----- .../prover/hash/keccak/keccakf/io_test.go | 8 ++-- .../prover/hash/keccak/keccakf/keccakf.go | 16 ++++---- .../hash/keccak/keccakf/keccakf_test.go | 14 +++---- .../prover/hash/keccak/keccakf/lookups.go | 14 +++---- .../hash/keccak/keccakf/lookups_test.go | 4 +- .../prover/hash/keccak/keccakf/pichiiota.go | 18 ++++----- .../hash/keccak/keccakf/pichiiota_test.go | 12 +++--- .../zkevm/prover/hash/keccak/keccakf/rho.go | 14 +++---- .../prover/hash/keccak/keccakf/rho_test.go | 12 +++--- .../zkevm/prover/hash/keccak/keccakf/theta.go | 16 ++++---- .../prover/hash/keccak/keccakf/theta_test.go | 10 ++--- .../zkevm/prover/hash/keccak/keccakf/utils.go | 10 ++--- .../prover/hash/keccak/keccakf/utils_test.go | 2 +- prover/zkevm/prover/hash/packing/block.go | 18 ++++----- .../zkevm/prover/hash/packing/block_test.go | 18 ++++----- prover/zkevm/prover/hash/packing/cld.go | 22 +++++------ prover/zkevm/prover/hash/packing/cld_test.go | 10 ++--- prover/zkevm/prover/hash/packing/cleaning.go | 14 +++---- .../prover/hash/packing/cleaning_test.go | 8 ++-- .../hash/packing/dedicated/accumulate_upto.go | 18 ++++----- .../packing/dedicated/accumulate_upto_test.go | 14 +++---- .../hash/packing/dedicated/len_consistency.go | 18 ++++----- .../packing/dedicated/len_consistency_test.go | 10 ++--- .../hash/packing/dedicated/pip_query.go | 12 +++--- .../prover/hash/packing/dedicated/pip_test.go | 8 ++-- .../dedicated/spaghettifier/spaghettifier.go | 14 +++---- .../spaghettifier/spaghettifier_test.go | 6 +-- prover/zkevm/prover/hash/packing/lane.go | 22 +++++------ prover/zkevm/prover/hash/packing/lane_test.go | 12 +++--- prover/zkevm/prover/hash/packing/lookups.go | 10 ++--- prover/zkevm/prover/hash/packing/packing.go | 12 +++--- .../zkevm/prover/hash/packing/packing_test.go | 8 ++-- .../prover/hash/packing/utils_for_test.go | 12 +++--- prover/zkevm/prover/hash/sha2/assignment.go | 10 ++--- prover/zkevm/prover/hash/sha2/sha2.go | 16 ++++---- prover/zkevm/prover/hash/sha2/sha2_block.go | 22 +++++------ .../zkevm/prover/hash/sha2/sha2_block_test.go | 8 ++-- prover/zkevm/prover/modexp/circuit.go | 2 +- prover/zkevm/prover/modexp/input.go | 8 ++-- prover/zkevm/prover/modexp/module.go | 20 +++++----- .../zkevm/prover/modexp/module_assignement.go | 8 ++-- prover/zkevm/prover/modexp/module_test.go | 6 +-- .../prover/modexp/module_with_circuit_test.go | 8 ++-- prover/zkevm/prover/modexp/testdata/main.go | 2 +- .../publicInput/arith_struct/arith_struct.go | 6 +-- .../execution_data_collector.go | 22 +++++------ .../execution_data_collector_hashing_test.go | 22 +++++------ .../execution_data_collector_test.go | 11 +++--- .../execution_data_collector_vectors.go | 2 +- .../execution_data_collector/mimc_hasher.go | 18 ++++----- .../block_txn_metadata_fetcher.go | 20 +++++----- .../rlp_txn_fetcher.go | 22 +++++------ .../rlp_txn_fetcher_test.go | 13 ++++--- .../root_hash_fetcher.go | 18 ++++----- .../root_hash_fetcher_test.go | 12 +++--- .../timestamp_fetcher.go | 22 +++++------ .../timestamp_fetcher_test.go | 13 ++++--- .../txn_data_fetcher.go | 20 +++++----- .../txn_data_fetcher_test.go | 9 +++-- .../prover/publicInput/input_extractor.go | 6 +-- .../prover/publicInput/logs/extracted_data.go | 16 ++++---- .../publicInput/logs/extracted_hasher_test.go | 10 ++--- .../zkevm/prover/publicInput/logs/hasher.go | 18 ++++----- .../prover/publicInput/logs/mock_logs.go | 10 ++--- .../publicInput/logs/rolling_selector.go | 16 ++++---- .../prover/publicInput/logs/selectors.go | 18 ++++----- .../prover/publicInput/logs/testing_util.go | 8 ++-- .../zkevm/prover/publicInput/public_input.go | 26 ++++++------- .../prover/publicInput/public_input_test.go | 18 ++++----- .../prover/publicInput/utilities/utilities.go | 15 ++++---- .../accumulator/accumulator_test.go | 8 ++-- .../prover/statemanager/accumulator/assign.go | 20 +++++----- .../statemanager/accumulator/assign_test.go | 18 ++++----- .../prover/statemanager/accumulator/define.go | 18 ++++----- .../statemanager/accumulator/settings.go | 2 +- .../accumulator_connect_test.go | 16 ++++---- .../accumulator_connector.go | 14 +++---- .../accumulatorsummary/accumulator_summary.go | 10 ++--- .../prover/statemanager/arith_columns.go | 6 +-- .../prover/statemanager/common/state_diff.go | 10 ++--- .../statemanager/common/testing_utils.go | 6 +-- prover/zkevm/prover/statemanager/lookups.go | 8 ++-- .../statemanager/mimccodehash/assign.go | 10 ++--- .../statemanager/mimccodehash/define.go | 8 ++-- .../prover/statemanager/mimccodehash/input.go | 8 ++-- .../mimccodehash/input_consistency.go | 6 +-- .../statemanager/mimccodehash/mock_test.go | 6 +-- .../statemanager/mock/arithmetization.go | 11 +++--- .../prover/statemanager/mock/basic_state.go | 7 ++-- .../statemanager/mock/basic_state_test.go | 5 ++- .../zkevm/prover/statemanager/mock/shomei.go | 10 ++--- .../prover/statemanager/mock/shomei_test.go | 2 +- .../statemanager/mock/state_access_log.go | 4 +- .../mock/state_access_log_test.go | 2 +- .../prover/statemanager/state_manager.go | 14 +++---- .../statemanager/statemanager_legacy.go | 20 +++++----- .../statemanager/statesummary/account_peek.go | 18 ++++----- .../statesummary/accumulator_statement.go | 18 ++++----- .../statesummary/arithmetization_connector.go | 12 +++--- .../arithmetization_connector_test.go | 16 ++++---- .../statemanager/statesummary/assignment.go | 12 +++--- .../prover/statemanager/statesummary/hilo.go | 10 ++--- .../statesummary/state_summary.go | 10 ++--- .../statesummary/state_summary_test.go | 12 +++--- .../statesummary/storage_parser.go | 6 +-- .../statemanager/statesummary/storage_peek.go | 18 ++++----- prover/zkevm/settings.go | 20 +++++----- prover/zkevm/witness.go | 4 +- prover/zkevm/zkevm.go | 24 ++++++------ 682 files changed, 3180 insertions(+), 3135 deletions(-) rename prover/go.mod => go.mod (99%) rename prover/go.sum => go.sum (100%) diff --git a/prover/go.mod b/go.mod similarity index 99% rename from prover/go.mod rename to go.mod index 6ea05861e..ea83088ab 100644 --- a/prover/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/consensys/zkevm-monorepo/prover +module github.com/consensys/linea-monorepo go 1.22.1 diff --git a/prover/go.sum b/go.sum similarity index 100% rename from prover/go.sum rename to go.sum diff --git a/prover/Makefile b/prover/Makefile index 739011ea4..7e25a1995 100644 --- a/prover/Makefile +++ b/prover/Makefile @@ -153,5 +153,5 @@ cgo-flags: # Update the prover's testdata in ../testdata/prover # make update-testdata-for-coordinator: - go test -timeout 30m -tags amd64,nocorset -run TestSamples github.com/consensys/zkevm-monorepo/prover/backend/testing -v + go test -timeout 30m -tags amd64,nocorset -run TestSamples github.com/consensys/linea-monorepo/prover/backend/testing -v cp -f backend/testing/**/*-*-zkProof.json ../testdata/prover/output diff --git a/prover/backend/aggregation/craft.go b/prover/backend/aggregation/craft.go index 175be705a..13059dbb4 100644 --- a/prover/backend/aggregation/craft.go +++ b/prover/backend/aggregation/craft.go @@ -5,25 +5,26 @@ import ( "encoding/binary" "encoding/json" "fmt" - pi_interconnection "github.com/consensys/zkevm-monorepo/prover/circuits/pi-interconnection" "path" - "github.com/consensys/zkevm-monorepo/prover/backend/blobsubmission" + pi_interconnection "github.com/consensys/linea-monorepo/prover/circuits/pi-interconnection" - public_input "github.com/consensys/zkevm-monorepo/prover/public-input" + "github.com/consensys/linea-monorepo/prover/backend/blobsubmission" + + public_input "github.com/consensys/linea-monorepo/prover/public-input" "github.com/consensys/gnark-crypto/ecc" "github.com/consensys/gnark/backend/plonk" - "github.com/consensys/zkevm-monorepo/prover/backend/blobdecompression" - "github.com/consensys/zkevm-monorepo/prover/backend/execution" - "github.com/consensys/zkevm-monorepo/prover/backend/execution/bridge" - "github.com/consensys/zkevm-monorepo/prover/backend/files" - "github.com/consensys/zkevm-monorepo/prover/circuits/aggregation" - "github.com/consensys/zkevm-monorepo/prover/config" - "github.com/consensys/zkevm-monorepo/prover/crypto/state-management/hashtypes" - "github.com/consensys/zkevm-monorepo/prover/crypto/state-management/smt" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/backend/blobdecompression" + "github.com/consensys/linea-monorepo/prover/backend/execution" + "github.com/consensys/linea-monorepo/prover/backend/execution/bridge" + "github.com/consensys/linea-monorepo/prover/backend/files" + "github.com/consensys/linea-monorepo/prover/circuits/aggregation" + "github.com/consensys/linea-monorepo/prover/config" + "github.com/consensys/linea-monorepo/prover/crypto/state-management/hashtypes" + "github.com/consensys/linea-monorepo/prover/crypto/state-management/smt" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/types" "github.com/sirupsen/logrus" ) diff --git a/prover/backend/aggregation/craft_test.go b/prover/backend/aggregation/craft_test.go index 7665edc4f..374fc0871 100644 --- a/prover/backend/aggregation/craft_test.go +++ b/prover/backend/aggregation/craft_test.go @@ -3,7 +3,7 @@ package aggregation import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/stretchr/testify/assert" ) diff --git a/prover/backend/aggregation/prove.go b/prover/backend/aggregation/prove.go index 3904c3d12..0e44d9087 100644 --- a/prover/backend/aggregation/prove.go +++ b/prover/backend/aggregation/prove.go @@ -2,22 +2,23 @@ package aggregation import ( "fmt" + "math" + "path/filepath" + frBls12377 "github.com/consensys/gnark-crypto/ecc/bls12-377/fr" "github.com/consensys/gnark/backend/witness" "github.com/consensys/gnark/frontend" - pi_interconnection "github.com/consensys/zkevm-monorepo/prover/circuits/pi-interconnection" - public_input "github.com/consensys/zkevm-monorepo/prover/public-input" - "math" - "path/filepath" + pi_interconnection "github.com/consensys/linea-monorepo/prover/circuits/pi-interconnection" + public_input "github.com/consensys/linea-monorepo/prover/public-input" "github.com/consensys/gnark/backend/plonk" - "github.com/consensys/zkevm-monorepo/prover/circuits" - "github.com/consensys/zkevm-monorepo/prover/circuits/aggregation" - "github.com/consensys/zkevm-monorepo/prover/circuits/dummy" - "github.com/consensys/zkevm-monorepo/prover/circuits/emulation" - "github.com/consensys/zkevm-monorepo/prover/config" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/circuits" + "github.com/consensys/linea-monorepo/prover/circuits/aggregation" + "github.com/consensys/linea-monorepo/prover/circuits/dummy" + "github.com/consensys/linea-monorepo/prover/circuits/emulation" + "github.com/consensys/linea-monorepo/prover/config" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/types" "github.com/ethereum/go-ethereum/common/hexutil" "github.com/sirupsen/logrus" diff --git a/prover/backend/aggregation/request.go b/prover/backend/aggregation/request.go index aa25390b5..c91fe53f1 100644 --- a/prover/backend/aggregation/request.go +++ b/prover/backend/aggregation/request.go @@ -1,10 +1,10 @@ package aggregation import ( - "github.com/consensys/zkevm-monorepo/prover/backend/blobdecompression" - "github.com/consensys/zkevm-monorepo/prover/circuits/aggregation" - pi_interconnection "github.com/consensys/zkevm-monorepo/prover/circuits/pi-interconnection" - public_input "github.com/consensys/zkevm-monorepo/prover/public-input" + "github.com/consensys/linea-monorepo/prover/backend/blobdecompression" + "github.com/consensys/linea-monorepo/prover/circuits/aggregation" + pi_interconnection "github.com/consensys/linea-monorepo/prover/circuits/pi-interconnection" + public_input "github.com/consensys/linea-monorepo/prover/public-input" ) // Request collects all the fields used to perform an aggregation request. diff --git a/prover/backend/blobdecompression/prove.go b/prover/backend/blobdecompression/prove.go index 3a94895fe..143d24fef 100644 --- a/prover/backend/blobdecompression/prove.go +++ b/prover/backend/blobdecompression/prove.go @@ -8,18 +8,18 @@ import ( "os" "path/filepath" - blob_v0 "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob/v0" - blob_v1 "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob/v1" + blob_v0 "github.com/consensys/linea-monorepo/prover/lib/compressor/blob/v0" + blob_v1 "github.com/consensys/linea-monorepo/prover/lib/compressor/blob/v1" "github.com/consensys/gnark-crypto/ecc" "github.com/consensys/gnark-crypto/ecc/bls12-377/fr" fr381 "github.com/consensys/gnark-crypto/ecc/bls12-381/fr" - "github.com/consensys/zkevm-monorepo/prover/circuits" - "github.com/consensys/zkevm-monorepo/prover/circuits/blobdecompression" - "github.com/consensys/zkevm-monorepo/prover/circuits/dummy" - "github.com/consensys/zkevm-monorepo/prover/config" - "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/circuits" + "github.com/consensys/linea-monorepo/prover/circuits/blobdecompression" + "github.com/consensys/linea-monorepo/prover/circuits/dummy" + "github.com/consensys/linea-monorepo/prover/config" + "github.com/consensys/linea-monorepo/prover/lib/compressor/blob" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/sirupsen/logrus" emPlonk "github.com/consensys/gnark/std/recursion/plonk" diff --git a/prover/backend/blobdecompression/request.go b/prover/backend/blobdecompression/request.go index a24dffb02..919f9857f 100644 --- a/prover/backend/blobdecompression/request.go +++ b/prover/backend/blobdecompression/request.go @@ -1,6 +1,6 @@ package blobdecompression -import "github.com/consensys/zkevm-monorepo/prover/backend/blobsubmission" +import "github.com/consensys/linea-monorepo/prover/backend/blobsubmission" // The decompression proof request is conveniently exactly the same as the // response of the blobsubmission. Some fields are not used, but it simplifies diff --git a/prover/backend/blobsubmission/blobcompression_test.go b/prover/backend/blobsubmission/blobcompression_test.go index d55d05c1b..d25f64966 100644 --- a/prover/backend/blobsubmission/blobcompression_test.go +++ b/prover/backend/blobsubmission/blobcompression_test.go @@ -9,10 +9,10 @@ import ( "strings" "testing" - blob "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob/v1" + blob "github.com/consensys/linea-monorepo/prover/lib/compressor/blob/v1" fr381 "github.com/consensys/gnark-crypto/ecc/bls12-381/fr" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils" gokzg4844 "github.com/crate-crypto/go-kzg-4844" "github.com/ethereum/go-ethereum/crypto/kzg4844" "github.com/stretchr/testify/assert" diff --git a/prover/backend/blobsubmission/craft.go b/prover/backend/blobsubmission/craft.go index 0cdc84215..ab5bbf331 100644 --- a/prover/backend/blobsubmission/craft.go +++ b/prover/backend/blobsubmission/craft.go @@ -6,11 +6,11 @@ import ( "fmt" "hash" - "github.com/consensys/zkevm-monorepo/prover/crypto/mimc" + "github.com/consensys/linea-monorepo/prover/crypto/mimc" fr381 "github.com/consensys/gnark-crypto/ecc/bls12-381/fr" - blob "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob/v1" - "github.com/consensys/zkevm-monorepo/prover/utils" + blob "github.com/consensys/linea-monorepo/prover/lib/compressor/blob/v1" + "github.com/consensys/linea-monorepo/prover/utils" "golang.org/x/crypto/sha3" ) diff --git a/prover/backend/blobsubmission/craft_eip4844.go b/prover/backend/blobsubmission/craft_eip4844.go index 77e896a2a..b1fa9e3d7 100644 --- a/prover/backend/blobsubmission/craft_eip4844.go +++ b/prover/backend/blobsubmission/craft_eip4844.go @@ -5,10 +5,10 @@ import ( "errors" "fmt" - blob "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob/v1" + blob "github.com/consensys/linea-monorepo/prover/lib/compressor/blob/v1" fr381 "github.com/consensys/gnark-crypto/ecc/bls12-381/fr" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/ethereum/go-ethereum/crypto/kzg4844" ) diff --git a/prover/backend/ethereum/signature.go b/prover/backend/ethereum/signature.go index 0d03db51b..41db29c79 100644 --- a/prover/backend/ethereum/signature.go +++ b/prover/backend/ethereum/signature.go @@ -4,8 +4,8 @@ import ( "bytes" "math/big" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/hexutil" ethtypes "github.com/ethereum/go-ethereum/core/types" diff --git a/prover/backend/ethereum/tx_encoding.go b/prover/backend/ethereum/tx_encoding.go index 9527e37f3..e0b47dfd0 100644 --- a/prover/backend/ethereum/tx_encoding.go +++ b/prover/backend/ethereum/tx_encoding.go @@ -6,7 +6,7 @@ import ( "fmt" "math/big" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/rlp" diff --git a/prover/backend/execution/bridge/batch_reception.go b/prover/backend/execution/bridge/batch_reception.go index 0ccaeb796..8e7336fe3 100644 --- a/prover/backend/execution/bridge/batch_reception.go +++ b/prover/backend/execution/bridge/batch_reception.go @@ -1,7 +1,7 @@ package bridge import ( - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" diff --git a/prover/backend/execution/bridge/l2l1logs.go b/prover/backend/execution/bridge/l2l1logs.go index 1229eaca9..32083c6eb 100644 --- a/prover/backend/execution/bridge/l2l1logs.go +++ b/prover/backend/execution/bridge/l2l1logs.go @@ -5,8 +5,8 @@ import ( "math/big" "reflect" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" diff --git a/prover/backend/execution/bridge/rolling_hash_updated.go b/prover/backend/execution/bridge/rolling_hash_updated.go index 1657926fd..b0cf525ad 100644 --- a/prover/backend/execution/bridge/rolling_hash_updated.go +++ b/prover/backend/execution/bridge/rolling_hash_updated.go @@ -3,8 +3,8 @@ package bridge import ( "math/big" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/types" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" diff --git a/prover/backend/execution/craft.go b/prover/backend/execution/craft.go index 56a1ad634..be0fb7722 100644 --- a/prover/backend/execution/craft.go +++ b/prover/backend/execution/craft.go @@ -4,18 +4,18 @@ import ( "bytes" "path" - "github.com/consensys/zkevm-monorepo/prover/backend/ethereum" - "github.com/consensys/zkevm-monorepo/prover/backend/execution/bridge" - "github.com/consensys/zkevm-monorepo/prover/backend/execution/statemanager" - "github.com/consensys/zkevm-monorepo/prover/crypto/mimc" - - "github.com/consensys/zkevm-monorepo/prover/circuits/execution" - "github.com/consensys/zkevm-monorepo/prover/config" - blob "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob/v1" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/gnarkutil" - "github.com/consensys/zkevm-monorepo/prover/utils/types" - "github.com/consensys/zkevm-monorepo/prover/zkevm" + "github.com/consensys/linea-monorepo/prover/backend/ethereum" + "github.com/consensys/linea-monorepo/prover/backend/execution/bridge" + "github.com/consensys/linea-monorepo/prover/backend/execution/statemanager" + "github.com/consensys/linea-monorepo/prover/crypto/mimc" + + "github.com/consensys/linea-monorepo/prover/circuits/execution" + "github.com/consensys/linea-monorepo/prover/config" + blob "github.com/consensys/linea-monorepo/prover/lib/compressor/blob/v1" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/gnarkutil" + "github.com/consensys/linea-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/zkevm" ) // Craft prover's functional inputs diff --git a/prover/backend/execution/prove.go b/prover/backend/execution/prove.go index ad9a0f4a6..f3848032e 100644 --- a/prover/backend/execution/prove.go +++ b/prover/backend/execution/prove.go @@ -2,13 +2,13 @@ package execution import ( "github.com/consensys/gnark-crypto/ecc" - "github.com/consensys/zkevm-monorepo/prover/circuits" - "github.com/consensys/zkevm-monorepo/prover/circuits/dummy" - "github.com/consensys/zkevm-monorepo/prover/circuits/execution" - "github.com/consensys/zkevm-monorepo/prover/config" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/profiling" - "github.com/consensys/zkevm-monorepo/prover/zkevm" + "github.com/consensys/linea-monorepo/prover/circuits" + "github.com/consensys/linea-monorepo/prover/circuits/dummy" + "github.com/consensys/linea-monorepo/prover/circuits/execution" + "github.com/consensys/linea-monorepo/prover/config" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/profiling" + "github.com/consensys/linea-monorepo/prover/zkevm" "github.com/sirupsen/logrus" ) diff --git a/prover/backend/execution/request.go b/prover/backend/execution/request.go index b97db87be..242160917 100644 --- a/prover/backend/execution/request.go +++ b/prover/backend/execution/request.go @@ -4,10 +4,10 @@ import ( "bytes" "path" - "github.com/consensys/zkevm-monorepo/prover/backend/ethereum" - "github.com/consensys/zkevm-monorepo/prover/backend/execution/statemanager" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/backend/ethereum" + "github.com/consensys/linea-monorepo/prover/backend/execution/statemanager" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/types" "github.com/ethereum/go-ethereum/common/hexutil" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/rlp" diff --git a/prover/backend/execution/response.go b/prover/backend/execution/response.go index d272f59a9..8f1d453e3 100644 --- a/prover/backend/execution/response.go +++ b/prover/backend/execution/response.go @@ -1,9 +1,9 @@ package execution import ( - "github.com/consensys/zkevm-monorepo/prover/backend/execution/bridge" - "github.com/consensys/zkevm-monorepo/prover/config" - "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/backend/execution/bridge" + "github.com/consensys/linea-monorepo/prover/config" + "github.com/consensys/linea-monorepo/prover/utils/types" ) // JSON schema of the message to return as an output of the prover diff --git a/prover/backend/execution/statemanager/access_pattern.go b/prover/backend/execution/statemanager/access_pattern.go index 15cb2d5f9..0f47cd200 100644 --- a/prover/backend/execution/statemanager/access_pattern.go +++ b/prover/backend/execution/statemanager/access_pattern.go @@ -4,7 +4,7 @@ import ( "errors" "fmt" - "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/utils/types" ) /* diff --git a/prover/backend/execution/statemanager/inspection.go b/prover/backend/execution/statemanager/inspection.go index 5eb87545d..ca053bcc5 100644 --- a/prover/backend/execution/statemanager/inspection.go +++ b/prover/backend/execution/statemanager/inspection.go @@ -3,8 +3,8 @@ package statemanager import ( "fmt" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/types" ) // Inspect the traces and check if they are consistent with what the spec allows diff --git a/prover/backend/execution/statemanager/parsing_test.go b/prover/backend/execution/statemanager/parsing_test.go index 3cfdf2aa5..54c1a0028 100644 --- a/prover/backend/execution/statemanager/parsing_test.go +++ b/prover/backend/execution/statemanager/parsing_test.go @@ -7,8 +7,8 @@ import ( "fmt" "testing" - "github.com/consensys/zkevm-monorepo/prover/backend/execution/statemanager" - "github.com/consensys/zkevm-monorepo/prover/backend/files" + "github.com/consensys/linea-monorepo/prover/backend/execution/statemanager" + "github.com/consensys/linea-monorepo/prover/backend/files" "github.com/stretchr/testify/require" ) diff --git a/prover/backend/execution/statemanager/proof_checks.go b/prover/backend/execution/statemanager/proof_checks.go index 612fa8470..8725cd0f8 100644 --- a/prover/backend/execution/statemanager/proof_checks.go +++ b/prover/backend/execution/statemanager/proof_checks.go @@ -4,8 +4,8 @@ import ( "errors" "fmt" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/types" "github.com/sirupsen/logrus" ) diff --git a/prover/backend/execution/statemanager/test_vectors_test.go b/prover/backend/execution/statemanager/test_vectors_test.go index 17c065cda..d01966c5d 100644 --- a/prover/backend/execution/statemanager/test_vectors_test.go +++ b/prover/backend/execution/statemanager/test_vectors_test.go @@ -5,8 +5,8 @@ import ( "math/big" "testing" - eth "github.com/consensys/zkevm-monorepo/prover/backend/execution/statemanager" - "github.com/consensys/zkevm-monorepo/prover/utils/types" + eth "github.com/consensys/linea-monorepo/prover/backend/execution/statemanager" + "github.com/consensys/linea-monorepo/prover/utils/types" "github.com/stretchr/testify/assert" ) diff --git a/prover/backend/execution/statemanager/types.go b/prover/backend/execution/statemanager/types.go index d9e6cacc7..ece8e6d71 100644 --- a/prover/backend/execution/statemanager/types.go +++ b/prover/backend/execution/statemanager/types.go @@ -4,8 +4,8 @@ import ( "encoding/json" "fmt" - "github.com/consensys/zkevm-monorepo/prover/crypto/state-management/accumulator" - "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/crypto/state-management/accumulator" + "github.com/consensys/linea-monorepo/prover/utils/types" ) // Handy type aliases diff --git a/prover/backend/execution/statemanager/worldstate.go b/prover/backend/execution/statemanager/worldstate.go index 2b385a0b9..5e8eeb519 100644 --- a/prover/backend/execution/statemanager/worldstate.go +++ b/prover/backend/execution/statemanager/worldstate.go @@ -3,11 +3,11 @@ package statemanager import ( "math/big" - "github.com/consensys/zkevm-monorepo/prover/crypto/state-management/accumulator" - "github.com/consensys/zkevm-monorepo/prover/crypto/state-management/hashtypes" - "github.com/consensys/zkevm-monorepo/prover/crypto/state-management/smt" - "github.com/consensys/zkevm-monorepo/prover/utils/collection" - "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/crypto/state-management/accumulator" + "github.com/consensys/linea-monorepo/prover/crypto/state-management/hashtypes" + "github.com/consensys/linea-monorepo/prover/crypto/state-management/smt" + "github.com/consensys/linea-monorepo/prover/utils/collection" + "github.com/consensys/linea-monorepo/prover/utils/types" "github.com/ethereum/go-ethereum/common" ) diff --git a/prover/backend/execution/testcase_gen/cli.go b/prover/backend/execution/testcase_gen/cli.go index 578094960..cb94887d6 100644 --- a/prover/backend/execution/testcase_gen/cli.go +++ b/prover/backend/execution/testcase_gen/cli.go @@ -5,8 +5,8 @@ import ( "math" "math/big" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/hexutil" ) diff --git a/prover/backend/execution/testcase_gen/rand_gen.go b/prover/backend/execution/testcase_gen/rand_gen.go index fdca4d732..0160855f9 100644 --- a/prover/backend/execution/testcase_gen/rand_gen.go +++ b/prover/backend/execution/testcase_gen/rand_gen.go @@ -6,12 +6,12 @@ import ( "math/big" "math/rand" - "github.com/consensys/zkevm-monorepo/prover/backend/ethereum" - "github.com/consensys/zkevm-monorepo/prover/backend/execution" - "github.com/consensys/zkevm-monorepo/prover/backend/execution/bridge" - "github.com/consensys/zkevm-monorepo/prover/config" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/backend/ethereum" + "github.com/consensys/linea-monorepo/prover/backend/execution" + "github.com/consensys/linea-monorepo/prover/backend/execution/bridge" + "github.com/consensys/linea-monorepo/prover/config" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/types" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/hexutil" ethtypes "github.com/ethereum/go-ethereum/core/types" diff --git a/prover/circuits/aggregation/asset_generation.go b/prover/circuits/aggregation/asset_generation.go index 360aadd5b..8419907fa 100644 --- a/prover/circuits/aggregation/asset_generation.go +++ b/prover/circuits/aggregation/asset_generation.go @@ -8,7 +8,7 @@ import ( "github.com/consensys/gnark/constraint" "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/frontend/cs/scs" - "github.com/consensys/zkevm-monorepo/prover/circuits" + "github.com/consensys/linea-monorepo/prover/circuits" ) type builder struct { diff --git a/prover/circuits/aggregation/circuit.go b/prover/circuits/aggregation/circuit.go index 9ffb50413..09bdfb4d5 100644 --- a/prover/circuits/aggregation/circuit.go +++ b/prover/circuits/aggregation/circuit.go @@ -5,16 +5,17 @@ package aggregation import ( "errors" "fmt" + "slices" + "github.com/consensys/gnark/backend/plonk" "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/std/algebra/native/sw_bls12377" "github.com/consensys/gnark/std/lookup/logderivlookup" "github.com/consensys/gnark/std/math/emulated" emPlonk "github.com/consensys/gnark/std/recursion/plonk" - "github.com/consensys/zkevm-monorepo/prover/circuits" - "github.com/consensys/zkevm-monorepo/prover/circuits/internal" - pi_interconnection "github.com/consensys/zkevm-monorepo/prover/circuits/pi-interconnection" - "slices" + "github.com/consensys/linea-monorepo/prover/circuits" + "github.com/consensys/linea-monorepo/prover/circuits/internal" + pi_interconnection "github.com/consensys/linea-monorepo/prover/circuits/pi-interconnection" ) // shorthand for the emulated types as this can get verbose very quickly with diff --git a/prover/circuits/aggregation/circuit_test.go b/prover/circuits/aggregation/circuit_test.go index 8271da1f3..fac438bf2 100644 --- a/prover/circuits/aggregation/circuit_test.go +++ b/prover/circuits/aggregation/circuit_test.go @@ -12,18 +12,18 @@ import ( "github.com/consensys/gnark/frontend/cs/scs" emPlonk "github.com/consensys/gnark/std/recursion/plonk" "github.com/consensys/gnark/test" - "github.com/consensys/zkevm-monorepo/prover/circuits" - "github.com/consensys/zkevm-monorepo/prover/circuits/aggregation" - "github.com/consensys/zkevm-monorepo/prover/circuits/dummy" - "github.com/consensys/zkevm-monorepo/prover/circuits/internal" - snarkTestUtils "github.com/consensys/zkevm-monorepo/prover/circuits/internal/test_utils" - "github.com/consensys/zkevm-monorepo/prover/utils/test_utils" - - pi_interconnection "github.com/consensys/zkevm-monorepo/prover/circuits/pi-interconnection" - "github.com/consensys/zkevm-monorepo/prover/circuits/pi-interconnection/keccak" - "github.com/consensys/zkevm-monorepo/prover/config" - public_input "github.com/consensys/zkevm-monorepo/prover/public-input" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/circuits" + "github.com/consensys/linea-monorepo/prover/circuits/aggregation" + "github.com/consensys/linea-monorepo/prover/circuits/dummy" + "github.com/consensys/linea-monorepo/prover/circuits/internal" + snarkTestUtils "github.com/consensys/linea-monorepo/prover/circuits/internal/test_utils" + "github.com/consensys/linea-monorepo/prover/utils/test_utils" + + pi_interconnection "github.com/consensys/linea-monorepo/prover/circuits/pi-interconnection" + "github.com/consensys/linea-monorepo/prover/circuits/pi-interconnection/keccak" + "github.com/consensys/linea-monorepo/prover/config" + public_input "github.com/consensys/linea-monorepo/prover/public-input" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/sirupsen/logrus" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/prover/circuits/aggregation/place_holder.go b/prover/circuits/aggregation/place_holder.go index 2509c54b6..9e0e29b99 100644 --- a/prover/circuits/aggregation/place_holder.go +++ b/prover/circuits/aggregation/place_holder.go @@ -9,7 +9,7 @@ import ( "github.com/consensys/gnark-crypto/ecc" "github.com/consensys/gnark/constraint" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils" ) var ( diff --git a/prover/circuits/aggregation/proof_claim.go b/prover/circuits/aggregation/proof_claim.go index 454518dc2..ec0ec555a 100644 --- a/prover/circuits/aggregation/proof_claim.go +++ b/prover/circuits/aggregation/proof_claim.go @@ -2,6 +2,7 @@ package aggregation import ( "fmt" + "github.com/consensys/gnark-crypto/ecc" "github.com/consensys/gnark-crypto/ecc/bls12-377/fr" "github.com/consensys/gnark/backend/plonk" @@ -9,8 +10,8 @@ import ( "github.com/consensys/gnark/constraint" "github.com/consensys/gnark/frontend" emPlonk "github.com/consensys/gnark/std/recursion/plonk" - "github.com/consensys/zkevm-monorepo/prover/circuits/dummy" - "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/circuits/dummy" + "github.com/consensys/linea-monorepo/prover/utils/types" ) // Assignment collects all the arguments that are necessary to produce a circuit diff --git a/prover/circuits/aggregation/prover.go b/prover/circuits/aggregation/prover.go index 5112453f9..d4987346b 100644 --- a/prover/circuits/aggregation/prover.go +++ b/prover/circuits/aggregation/prover.go @@ -2,12 +2,13 @@ package aggregation import ( "fmt" + "github.com/consensys/gnark-crypto/ecc" "github.com/consensys/gnark-crypto/ecc/bw6-761/fr" "github.com/consensys/gnark/backend/plonk" emPlonk "github.com/consensys/gnark/std/recursion/plonk" - "github.com/consensys/zkevm-monorepo/prover/circuits" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/circuits" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/sirupsen/logrus" ) diff --git a/prover/circuits/blobdecompression/circuit.go b/prover/circuits/blobdecompression/circuit.go index a3e768971..6be2bba13 100644 --- a/prover/circuits/blobdecompression/circuit.go +++ b/prover/circuits/blobdecompression/circuit.go @@ -7,9 +7,9 @@ import ( fr381 "github.com/consensys/gnark-crypto/ecc/bls12-381/fr" "github.com/consensys/gnark/constraint" "github.com/consensys/gnark/frontend" - v0 "github.com/consensys/zkevm-monorepo/prover/circuits/blobdecompression/v0" - v1 "github.com/consensys/zkevm-monorepo/prover/circuits/blobdecompression/v1" - "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob" + v0 "github.com/consensys/linea-monorepo/prover/circuits/blobdecompression/v0" + v1 "github.com/consensys/linea-monorepo/prover/circuits/blobdecompression/v1" + "github.com/consensys/linea-monorepo/prover/lib/compressor/blob" ) // Compile builds the circuit diff --git a/prover/circuits/blobdecompression/large-tests/compile-batch-hasher/main.go b/prover/circuits/blobdecompression/large-tests/compile-batch-hasher/main.go index 75f6230c6..9e20624a4 100644 --- a/prover/circuits/blobdecompression/large-tests/compile-batch-hasher/main.go +++ b/prover/circuits/blobdecompression/large-tests/compile-batch-hasher/main.go @@ -5,9 +5,9 @@ import ( "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/frontend/cs/scs" "github.com/consensys/gnark/profile" - v1 "github.com/consensys/zkevm-monorepo/prover/circuits/blobdecompression/v1" - "github.com/consensys/zkevm-monorepo/prover/crypto/mimc/gkrmimc" - blob "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob/v1" + v1 "github.com/consensys/linea-monorepo/prover/circuits/blobdecompression/v1" + "github.com/consensys/linea-monorepo/prover/crypto/mimc/gkrmimc" + blob "github.com/consensys/linea-monorepo/prover/lib/compressor/blob/v1" ) func main() { diff --git a/prover/circuits/blobdecompression/large-tests/compile-end-to-end/main.go b/prover/circuits/blobdecompression/large-tests/compile-end-to-end/main.go index 8cd0f990f..58df1d873 100644 --- a/prover/circuits/blobdecompression/large-tests/compile-end-to-end/main.go +++ b/prover/circuits/blobdecompression/large-tests/compile-end-to-end/main.go @@ -8,8 +8,8 @@ import ( "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/frontend/cs/scs" "github.com/consensys/gnark/profile" - v1 "github.com/consensys/zkevm-monorepo/prover/circuits/blobdecompression/v1" - blob "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob/v1" + v1 "github.com/consensys/linea-monorepo/prover/circuits/blobdecompression/v1" + blob "github.com/consensys/linea-monorepo/prover/lib/compressor/blob/v1" ) func main() { diff --git a/prover/circuits/blobdecompression/large-tests/maximize_blob_size/main.go b/prover/circuits/blobdecompression/large-tests/maximize_blob_size/main.go index b47f3a5bc..fbecf4842 100644 --- a/prover/circuits/blobdecompression/large-tests/maximize_blob_size/main.go +++ b/prover/circuits/blobdecompression/large-tests/maximize_blob_size/main.go @@ -2,11 +2,12 @@ package main import ( "fmt" + "github.com/consensys/gnark-crypto/ecc" "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/frontend/cs/scs" - v1 "github.com/consensys/zkevm-monorepo/prover/circuits/blobdecompression/v1" - blob "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob/v1" + v1 "github.com/consensys/linea-monorepo/prover/circuits/blobdecompression/v1" + blob "github.com/consensys/linea-monorepo/prover/lib/compressor/blob/v1" ) const maxNbConstraints = 1 << 27 diff --git a/prover/circuits/blobdecompression/public-input/pi.go b/prover/circuits/blobdecompression/public-input/pi.go index ab9ad77ac..7f7567b28 100644 --- a/prover/circuits/blobdecompression/public-input/pi.go +++ b/prover/circuits/blobdecompression/public-input/pi.go @@ -2,13 +2,14 @@ package public_input import ( "fmt" + "math/big" + "math/bits" + fr381 "github.com/consensys/gnark-crypto/ecc/bls12-381/fr" "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/std/compress" "github.com/consensys/gnark/std/math/emulated" - "github.com/consensys/zkevm-monorepo/prover/utils" - "math/big" - "math/bits" + "github.com/consensys/linea-monorepo/prover/utils" ) func interpolateLagrangeBls12381(field *emulated.Field[emulated.BLS12381Fr], unitCircleEvaluations []*emulated.Element[emulated.BLS12381Fr], evaluationPoint *emulated.Element[emulated.BLS12381Fr]) (evaluation *emulated.Element[emulated.BLS12381Fr], err error) { diff --git a/prover/circuits/blobdecompression/public-input/pi_test.go b/prover/circuits/blobdecompression/public-input/pi_test.go index 8e64a7409..8e5c8f988 100644 --- a/prover/circuits/blobdecompression/public-input/pi_test.go +++ b/prover/circuits/blobdecompression/public-input/pi_test.go @@ -8,8 +8,6 @@ import ( "encoding/hex" "encoding/json" "fmt" - "github.com/consensys/zkevm-monorepo/prover/circuits/internal" - "github.com/consensys/zkevm-monorepo/prover/utils" "math/big" "os" "path/filepath" @@ -17,7 +15,10 @@ import ( "strings" "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/circuits/internal" + "github.com/consensys/linea-monorepo/prover/utils" + + "github.com/consensys/linea-monorepo/prover/maths/field" "github.com/consensys/gnark-crypto/ecc" fr381 "github.com/consensys/gnark-crypto/ecc/bls12-381/fr" diff --git a/prover/circuits/blobdecompression/v0/assign_test.go b/prover/circuits/blobdecompression/v0/assign_test.go index b375dfc8c..12b50caf8 100644 --- a/prover/circuits/blobdecompression/v0/assign_test.go +++ b/prover/circuits/blobdecompression/v0/assign_test.go @@ -3,19 +3,20 @@ package v0_test import ( "encoding/base64" "encoding/json" - v0 "github.com/consensys/zkevm-monorepo/prover/circuits/blobdecompression/v0" - "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob/v1/test_utils" "os" "testing" + v0 "github.com/consensys/linea-monorepo/prover/circuits/blobdecompression/v0" + "github.com/consensys/linea-monorepo/prover/lib/compressor/blob/v1/test_utils" + "github.com/consensys/gnark-crypto/ecc" fr381 "github.com/consensys/gnark-crypto/ecc/bls12-381/fr" "github.com/consensys/gnark/test" - "github.com/consensys/zkevm-monorepo/prover/backend/blobsubmission" - "github.com/consensys/zkevm-monorepo/prover/circuits/blobdecompression" - blob "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob/v0" - "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob/v0/compress/lzss" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/backend/blobsubmission" + "github.com/consensys/linea-monorepo/prover/circuits/blobdecompression" + blob "github.com/consensys/linea-monorepo/prover/lib/compressor/blob/v0" + "github.com/consensys/linea-monorepo/prover/lib/compressor/blob/v0/compress/lzss" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/sirupsen/logrus" "github.com/stretchr/testify/assert" ) diff --git a/prover/circuits/blobdecompression/v0/bytes.go b/prover/circuits/blobdecompression/v0/bytes.go index 0d4fc99b6..cf6975e91 100644 --- a/prover/circuits/blobdecompression/v0/bytes.go +++ b/prover/circuits/blobdecompression/v0/bytes.go @@ -6,7 +6,7 @@ import ( "github.com/consensys/gnark-crypto/ecc/bls12-377/fr" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/sirupsen/logrus" ) diff --git a/prover/circuits/blobdecompression/v0/circuit.go b/prover/circuits/blobdecompression/v0/circuit.go index 6517e19e5..9ad623560 100644 --- a/prover/circuits/blobdecompression/v0/circuit.go +++ b/prover/circuits/blobdecompression/v0/circuit.go @@ -2,20 +2,21 @@ package v0 import ( "fmt" + "github.com/consensys/gnark/std/rangecheck" - "github.com/consensys/zkevm-monorepo/prover/circuits/internal" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/circuits/internal" + "github.com/consensys/linea-monorepo/prover/utils" fr377 "github.com/consensys/gnark-crypto/ecc/bls12-377/fr" fr381 "github.com/consensys/gnark-crypto/ecc/bls12-381/fr" "github.com/consensys/gnark/frontend" snarkMiMC "github.com/consensys/gnark/std/hash/mimc" "github.com/consensys/gnark/std/math/emulated" - public_input "github.com/consensys/zkevm-monorepo/prover/circuits/blobdecompression/public-input" - "github.com/consensys/zkevm-monorepo/prover/crypto/mimc" - "github.com/consensys/zkevm-monorepo/prover/crypto/mimc/gkrmimc" + public_input "github.com/consensys/linea-monorepo/prover/circuits/blobdecompression/public-input" + "github.com/consensys/linea-monorepo/prover/crypto/mimc" + "github.com/consensys/linea-monorepo/prover/crypto/mimc/gkrmimc" - blob "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob/v0" + blob "github.com/consensys/linea-monorepo/prover/lib/compressor/blob/v0" ) type ( diff --git a/prover/circuits/blobdecompression/v0/compress.go b/prover/circuits/blobdecompression/v0/compress.go index a84abc6fd..11ab36246 100644 --- a/prover/circuits/blobdecompression/v0/compress.go +++ b/prover/circuits/blobdecompression/v0/compress.go @@ -2,16 +2,17 @@ package v0 import ( "fmt" - "github.com/consensys/zkevm-monorepo/prover/circuits/internal" "math/big" + "github.com/consensys/linea-monorepo/prover/circuits/internal" + "github.com/consensys/gnark-crypto/ecc/bls12-377/fr" "github.com/consensys/gnark-crypto/hash" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/circuits/blobdecompression/v0/compress" - "github.com/consensys/zkevm-monorepo/prover/circuits/blobdecompression/v0/compress/lzss" - goLzss "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob/v0/compress/lzss" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/circuits/blobdecompression/v0/compress" + "github.com/consensys/linea-monorepo/prover/circuits/blobdecompression/v0/compress/lzss" + goLzss "github.com/consensys/linea-monorepo/prover/lib/compressor/blob/v0/compress/lzss" + "github.com/consensys/linea-monorepo/prover/utils" ) // @alex: careful, the blobHeaderLen must be the unpacked one. This is a diff --git a/prover/circuits/blobdecompression/v0/compress/internal/io.go b/prover/circuits/blobdecompression/v0/compress/internal/io.go index d7f7e99a9..761860fe6 100644 --- a/prover/circuits/blobdecompression/v0/compress/internal/io.go +++ b/prover/circuits/blobdecompression/v0/compress/internal/io.go @@ -9,7 +9,7 @@ import ( "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/std/compress" "github.com/consensys/gnark/std/lookup/logderivlookup" - "github.com/consensys/zkevm-monorepo/prover/circuits/internal/plonk" + "github.com/consensys/linea-monorepo/prover/circuits/internal/plonk" ) // TODO Use std/rangecheck instead diff --git a/prover/circuits/blobdecompression/v0/compress/internal/io_test.go b/prover/circuits/blobdecompression/v0/compress/internal/io_test.go index 8bf6b10e0..76489aba8 100644 --- a/prover/circuits/blobdecompression/v0/compress/internal/io_test.go +++ b/prover/circuits/blobdecompression/v0/compress/internal/io_test.go @@ -3,18 +3,19 @@ package internal_test import ( "bytes" "crypto/rand" - "github.com/consensys/zkevm-monorepo/prover/utils" "testing" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/gnark-crypto/ecc" "github.com/consensys/gnark/backend" "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/frontend/cs/scs" "github.com/consensys/gnark/std/math/bits" "github.com/consensys/gnark/test" - "github.com/consensys/zkevm-monorepo/prover/circuits/blobdecompression/v0/compress" - "github.com/consensys/zkevm-monorepo/prover/circuits/blobdecompression/v0/compress/internal" - "github.com/consensys/zkevm-monorepo/prover/circuits/blobdecompression/v0/compress/lzss" + "github.com/consensys/linea-monorepo/prover/circuits/blobdecompression/v0/compress" + "github.com/consensys/linea-monorepo/prover/circuits/blobdecompression/v0/compress/internal" + "github.com/consensys/linea-monorepo/prover/circuits/blobdecompression/v0/compress/lzss" "github.com/icza/bitio" "github.com/stretchr/testify/assert" ) diff --git a/prover/circuits/blobdecompression/v0/compress/io.go b/prover/circuits/blobdecompression/v0/compress/io.go index 54523e966..f23512139 100644 --- a/prover/circuits/blobdecompression/v0/compress/io.go +++ b/prover/circuits/blobdecompression/v0/compress/io.go @@ -8,7 +8,7 @@ import ( "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/std/hash/mimc" "github.com/consensys/gnark/std/lookup/logderivlookup" - "github.com/consensys/zkevm-monorepo/prover/circuits/internal/plonk" + "github.com/consensys/linea-monorepo/prover/circuits/internal/plonk" ) // Pack packs the words as tightly as possible, and works Big Endian: i.e. the first word is the most significant in the packed elem diff --git a/prover/circuits/blobdecompression/v0/compress/io_test.go b/prover/circuits/blobdecompression/v0/compress/io_test.go index fe5f25fd8..e495d0eab 100644 --- a/prover/circuits/blobdecompression/v0/compress/io_test.go +++ b/prover/circuits/blobdecompression/v0/compress/io_test.go @@ -3,6 +3,9 @@ package compress import ( "crypto/rand" "fmt" + "math/big" + "testing" + "github.com/consensys/gnark-crypto/ecc" "github.com/consensys/gnark-crypto/ecc/bls12-377/fr" "github.com/consensys/gnark-crypto/hash" @@ -11,10 +14,8 @@ import ( "github.com/consensys/gnark/frontend/cs/scs" "github.com/consensys/gnark/profile" "github.com/consensys/gnark/test" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/stretchr/testify/assert" - "math/big" - "testing" ) func TestShiftLeft(t *testing.T) { diff --git a/prover/circuits/blobdecompression/v0/compress/lzss/snark.go b/prover/circuits/blobdecompression/v0/compress/lzss/snark.go index 0f34c811f..ae7fb5e4d 100644 --- a/prover/circuits/blobdecompression/v0/compress/lzss/snark.go +++ b/prover/circuits/blobdecompression/v0/compress/lzss/snark.go @@ -4,11 +4,11 @@ import ( hint "github.com/consensys/gnark/constraint/solver" "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/std/lookup/logderivlookup" - "github.com/consensys/zkevm-monorepo/prover/circuits/blobdecompression/v0/compress" - "github.com/consensys/zkevm-monorepo/prover/circuits/blobdecompression/v0/compress/internal" - cInternal "github.com/consensys/zkevm-monorepo/prover/circuits/internal" - "github.com/consensys/zkevm-monorepo/prover/circuits/internal/plonk" - "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob/v0/compress/lzss" + "github.com/consensys/linea-monorepo/prover/circuits/blobdecompression/v0/compress" + "github.com/consensys/linea-monorepo/prover/circuits/blobdecompression/v0/compress/internal" + cInternal "github.com/consensys/linea-monorepo/prover/circuits/internal" + "github.com/consensys/linea-monorepo/prover/circuits/internal/plonk" + "github.com/consensys/linea-monorepo/prover/lib/compressor/blob/v0/compress/lzss" ) // Decompress decompresses c into d using dict as the dictionary diff --git a/prover/circuits/blobdecompression/v0/compress/lzss/snark_test.go b/prover/circuits/blobdecompression/v0/compress/lzss/snark_test.go index 6cf83bfb0..94653daf8 100644 --- a/prover/circuits/blobdecompression/v0/compress/lzss/snark_test.go +++ b/prover/circuits/blobdecompression/v0/compress/lzss/snark_test.go @@ -3,11 +3,12 @@ package lzss import ( "crypto/sha256" "encoding/hex" - "github.com/consensys/zkevm-monorepo/prover/utils" "os" "testing" - "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob/v0/compress/lzss" + "github.com/consensys/linea-monorepo/prover/utils" + + "github.com/consensys/linea-monorepo/prover/lib/compressor/blob/v0/compress/lzss" "github.com/consensys/gnark-crypto/ecc" "github.com/consensys/gnark/backend" diff --git a/prover/circuits/blobdecompression/v0/compress/lzss/snark_testing.go b/prover/circuits/blobdecompression/v0/compress/lzss/snark_testing.go index 530395f59..7d343eec6 100644 --- a/prover/circuits/blobdecompression/v0/compress/lzss/snark_testing.go +++ b/prover/circuits/blobdecompression/v0/compress/lzss/snark_testing.go @@ -2,9 +2,9 @@ package lzss import ( "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/circuits/blobdecompression/v0/compress" - "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob/v0/compress/lzss" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/circuits/blobdecompression/v0/compress" + "github.com/consensys/linea-monorepo/prover/lib/compressor/blob/v0/compress/lzss" + "github.com/consensys/linea-monorepo/prover/utils" ) type DecompressionTestCircuit struct { diff --git a/prover/circuits/blobdecompression/v0/hash_any_test.go b/prover/circuits/blobdecompression/v0/hash_any_test.go index fec3065de..a8e602807 100644 --- a/prover/circuits/blobdecompression/v0/hash_any_test.go +++ b/prover/circuits/blobdecompression/v0/hash_any_test.go @@ -9,7 +9,7 @@ import ( "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/frontend/cs/scs" "github.com/consensys/gnark/std/math/emulated" - "github.com/consensys/zkevm-monorepo/prover/crypto/mimc/gkrmimc" + "github.com/consensys/linea-monorepo/prover/crypto/mimc/gkrmimc" ) type hashAnyTestCircuit struct { diff --git a/prover/circuits/blobdecompression/v0/prelude.go b/prover/circuits/blobdecompression/v0/prelude.go index b8916e721..af309d111 100644 --- a/prover/circuits/blobdecompression/v0/prelude.go +++ b/prover/circuits/blobdecompression/v0/prelude.go @@ -3,17 +3,18 @@ package v0 import ( "errors" "fmt" - "github.com/consensys/zkevm-monorepo/prover/circuits/internal" + + "github.com/consensys/linea-monorepo/prover/circuits/internal" "github.com/consensys/gnark-crypto/ecc/bls12-377/fr" fr381 "github.com/consensys/gnark-crypto/ecc/bls12-381/fr" "github.com/consensys/gnark/constraint" "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/frontend/cs/scs" - "github.com/consensys/zkevm-monorepo/prover/circuits/blobdecompression/v0/compress/lzss" - "github.com/consensys/zkevm-monorepo/prover/crypto/mimc" - blob "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob/v0" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/circuits/blobdecompression/v0/compress/lzss" + "github.com/consensys/linea-monorepo/prover/crypto/mimc" + blob "github.com/consensys/linea-monorepo/prover/lib/compressor/blob/v0" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/sirupsen/logrus" ) diff --git a/prover/circuits/blobdecompression/v1/assign_test.go b/prover/circuits/blobdecompression/v1/assign_test.go index 9496770cf..db3af2cd9 100644 --- a/prover/circuits/blobdecompression/v1/assign_test.go +++ b/prover/circuits/blobdecompression/v1/assign_test.go @@ -12,11 +12,11 @@ import ( "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/frontend/cs/scs" "github.com/consensys/gnark/test" - "github.com/consensys/zkevm-monorepo/prover/backend/blobsubmission" - "github.com/consensys/zkevm-monorepo/prover/circuits/blobdecompression" - v1 "github.com/consensys/zkevm-monorepo/prover/circuits/blobdecompression/v1" - blobcompressorv1 "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob/v1" - blobtestutils "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob/v1/test_utils" + "github.com/consensys/linea-monorepo/prover/backend/blobsubmission" + "github.com/consensys/linea-monorepo/prover/circuits/blobdecompression" + v1 "github.com/consensys/linea-monorepo/prover/circuits/blobdecompression/v1" + blobcompressorv1 "github.com/consensys/linea-monorepo/prover/lib/compressor/blob/v1" + blobtestutils "github.com/consensys/linea-monorepo/prover/lib/compressor/blob/v1/test_utils" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/prover/circuits/blobdecompression/v1/circuit.go b/prover/circuits/blobdecompression/v1/circuit.go index 194007dc1..466e1b21b 100644 --- a/prover/circuits/blobdecompression/v1/circuit.go +++ b/prover/circuits/blobdecompression/v1/circuit.go @@ -17,12 +17,12 @@ import ( snarkHash "github.com/consensys/gnark/std/hash" "github.com/consensys/gnark/std/hash/mimc" "github.com/consensys/gnark/std/rangecheck" - "github.com/consensys/zkevm-monorepo/prover/circuits/internal" - "github.com/consensys/zkevm-monorepo/prover/crypto/mimc/gkrmimc" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/gnarkutil" + "github.com/consensys/linea-monorepo/prover/circuits/internal" + "github.com/consensys/linea-monorepo/prover/crypto/mimc/gkrmimc" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/gnarkutil" - blob "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob/v1" + blob "github.com/consensys/linea-monorepo/prover/lib/compressor/blob/v1" ) // TODO make as many things package private as possible diff --git a/prover/circuits/blobdecompression/v1/circuit_test.go b/prover/circuits/blobdecompression/v1/circuit_test.go index e32756b91..d4b7313a9 100644 --- a/prover/circuits/blobdecompression/v1/circuit_test.go +++ b/prover/circuits/blobdecompression/v1/circuit_test.go @@ -1,11 +1,12 @@ package v1 import ( + "testing" + "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/std/hash/mimc" - "github.com/consensys/zkevm-monorepo/prover/circuits/internal/test_utils" + "github.com/consensys/linea-monorepo/prover/circuits/internal/test_utils" "github.com/stretchr/testify/assert" - "testing" ) func TestFPIConsistency(t *testing.T) { diff --git a/prover/circuits/blobdecompression/v1/snark.go b/prover/circuits/blobdecompression/v1/snark.go index e5f371658..cb15852d3 100644 --- a/prover/circuits/blobdecompression/v1/snark.go +++ b/prover/circuits/blobdecompression/v1/snark.go @@ -8,8 +8,8 @@ import ( "math/big" "math/bits" - "github.com/consensys/zkevm-monorepo/prover/circuits/internal" - "github.com/consensys/zkevm-monorepo/prover/utils/gnarkutil" + "github.com/consensys/linea-monorepo/prover/circuits/internal" + "github.com/consensys/linea-monorepo/prover/utils/gnarkutil" "github.com/consensys/gnark/constraint/solver" "github.com/consensys/gnark/frontend" @@ -17,9 +17,9 @@ import ( "github.com/consensys/gnark/std/compress/lzss" snarkHash "github.com/consensys/gnark/std/hash" "github.com/consensys/gnark/std/rangecheck" - public_input "github.com/consensys/zkevm-monorepo/prover/circuits/blobdecompression/public-input" - "github.com/consensys/zkevm-monorepo/prover/circuits/internal/plonk" - blob "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob/v1" + public_input "github.com/consensys/linea-monorepo/prover/circuits/blobdecompression/public-input" + "github.com/consensys/linea-monorepo/prover/circuits/internal/plonk" + blob "github.com/consensys/linea-monorepo/prover/lib/compressor/blob/v1" ) const ( diff --git a/prover/circuits/blobdecompression/v1/snark_test.go b/prover/circuits/blobdecompression/v1/snark_test.go index fb1635b93..c321a1756 100644 --- a/prover/circuits/blobdecompression/v1/snark_test.go +++ b/prover/circuits/blobdecompression/v1/snark_test.go @@ -4,12 +4,13 @@ import ( "bytes" "crypto/rand" "errors" - "github.com/consensys/zkevm-monorepo/prover/utils" "testing" - "github.com/consensys/zkevm-monorepo/prover/circuits/blobdecompression/v1/test_utils" - "github.com/consensys/zkevm-monorepo/prover/circuits/internal" - "github.com/consensys/zkevm-monorepo/prover/utils/gnarkutil" + "github.com/consensys/linea-monorepo/prover/utils" + + "github.com/consensys/linea-monorepo/prover/circuits/blobdecompression/v1/test_utils" + "github.com/consensys/linea-monorepo/prover/circuits/internal" + "github.com/consensys/linea-monorepo/prover/utils/gnarkutil" "github.com/consensys/gnark-crypto/ecc" fr381 "github.com/consensys/gnark-crypto/ecc/bls12-381/fr" @@ -18,8 +19,8 @@ import ( "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/std/hash/mimc" "github.com/consensys/gnark/test" - blob "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob/v1" - blobtesting "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob/v1/test_utils" + blob "github.com/consensys/linea-monorepo/prover/lib/compressor/blob/v1" + blobtesting "github.com/consensys/linea-monorepo/prover/lib/compressor/blob/v1/test_utils" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/prover/circuits/blobdecompression/v1/test_utils/snark_testing.go b/prover/circuits/blobdecompression/v1/test_utils/snark_testing.go index b76ed9f91..f008689eb 100644 --- a/prover/circuits/blobdecompression/v1/test_utils/snark_testing.go +++ b/prover/circuits/blobdecompression/v1/test_utils/snark_testing.go @@ -2,8 +2,9 @@ package test_utils import ( "crypto/rand" + "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils" ) // TODO Delete most of the following diff --git a/prover/circuits/dummy/builder.go b/prover/circuits/dummy/builder.go index f0f622c0a..f1a3e6394 100644 --- a/prover/circuits/dummy/builder.go +++ b/prover/circuits/dummy/builder.go @@ -7,7 +7,7 @@ import ( "github.com/consensys/gnark/constraint" "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/frontend/cs/scs" - "github.com/consensys/zkevm-monorepo/prover/circuits" + "github.com/consensys/linea-monorepo/prover/circuits" ) type builder struct { diff --git a/prover/circuits/dummy/dummycircuit.go b/prover/circuits/dummy/dummycircuit.go index 9df7bb273..89296d49d 100644 --- a/prover/circuits/dummy/dummycircuit.go +++ b/prover/circuits/dummy/dummycircuit.go @@ -9,8 +9,8 @@ import ( fr254 "github.com/consensys/gnark-crypto/ecc/bn254/fr" frbw6 "github.com/consensys/gnark-crypto/ecc/bw6-761/fr" emPlonk "github.com/consensys/gnark/std/recursion/plonk" - "github.com/consensys/zkevm-monorepo/prover/circuits" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/circuits" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/sirupsen/logrus" "github.com/consensys/gnark/frontend" diff --git a/prover/circuits/dummy/dummycircuit_test.go b/prover/circuits/dummy/dummycircuit_test.go index b1738e413..6851d7a57 100644 --- a/prover/circuits/dummy/dummycircuit_test.go +++ b/prover/circuits/dummy/dummycircuit_test.go @@ -5,8 +5,8 @@ import ( "github.com/consensys/gnark-crypto/ecc" "github.com/consensys/gnark-crypto/ecc/bn254/fr" - "github.com/consensys/zkevm-monorepo/prover/circuits" - "github.com/consensys/zkevm-monorepo/prover/circuits/dummy" + "github.com/consensys/linea-monorepo/prover/circuits" + "github.com/consensys/linea-monorepo/prover/circuits/dummy" "github.com/stretchr/testify/require" ) diff --git a/prover/circuits/emulation/circuit.go b/prover/circuits/emulation/circuit.go index 429415bc5..e5282cf73 100644 --- a/prover/circuits/emulation/circuit.go +++ b/prover/circuits/emulation/circuit.go @@ -17,8 +17,8 @@ import ( "github.com/consensys/gnark/std/algebra/emulated/sw_bw6761" "github.com/consensys/gnark/std/math/emulated" emPlonk "github.com/consensys/gnark/std/recursion/plonk" - "github.com/consensys/zkevm-monorepo/prover/circuits" - "github.com/consensys/zkevm-monorepo/prover/circuits/dummy" + "github.com/consensys/linea-monorepo/prover/circuits" + "github.com/consensys/linea-monorepo/prover/circuits/dummy" ) // shorthand for the emulated types as this can get verbose very quickly with diff --git a/prover/circuits/execution/builder.go b/prover/circuits/execution/builder.go index acb2bce8c..7a7b28d8f 100644 --- a/prover/circuits/execution/builder.go +++ b/prover/circuits/execution/builder.go @@ -6,7 +6,7 @@ import ( "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/frontend/cs/scs" "github.com/consensys/gnark/profile" - "github.com/consensys/zkevm-monorepo/prover/zkevm" + "github.com/consensys/linea-monorepo/prover/zkevm" ) type builder struct { diff --git a/prover/circuits/execution/circuit.go b/prover/circuits/execution/circuit.go index 2b0b46a6d..4412872a2 100644 --- a/prover/circuits/execution/circuit.go +++ b/prover/circuits/execution/circuit.go @@ -6,10 +6,10 @@ import ( "github.com/consensys/gnark-crypto/ecc" "github.com/consensys/gnark/backend/plonk" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/circuits" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/zkevm" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/publicInput" + "github.com/consensys/linea-monorepo/prover/circuits" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/zkevm" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/publicInput" "github.com/sirupsen/logrus" "github.com/consensys/gnark/std/hash/mimc" diff --git a/prover/circuits/execution/pi.go b/prover/circuits/execution/pi.go index 4c99df2db..926d9f333 100644 --- a/prover/circuits/execution/pi.go +++ b/prover/circuits/execution/pi.go @@ -8,11 +8,11 @@ import ( "github.com/consensys/gnark/frontend" gnarkHash "github.com/consensys/gnark/std/hash" "github.com/consensys/gnark/std/rangecheck" - "github.com/consensys/zkevm-monorepo/prover/circuits/internal" - "github.com/consensys/zkevm-monorepo/prover/crypto/mimc" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/circuits/internal" + "github.com/consensys/linea-monorepo/prover/crypto/mimc" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/types" ) // FunctionalPublicInputQSnark the information on this execution that cannot be diff --git a/prover/circuits/execution/pi_test.go b/prover/circuits/execution/pi_test.go index 49503c5ae..4c7b54ab8 100644 --- a/prover/circuits/execution/pi_test.go +++ b/prover/circuits/execution/pi_test.go @@ -5,8 +5,8 @@ import ( "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/std/hash/mimc" - snarkTestUtils "github.com/consensys/zkevm-monorepo/prover/circuits/internal/test_utils" - "github.com/consensys/zkevm-monorepo/prover/utils" + snarkTestUtils "github.com/consensys/linea-monorepo/prover/circuits/internal/test_utils" + "github.com/consensys/linea-monorepo/prover/utils" ) func TestPIConsistency(t *testing.T) { diff --git a/prover/circuits/execution/pi_wizard_extraction.go b/prover/circuits/execution/pi_wizard_extraction.go index 13408bd9b..da8a40892 100644 --- a/prover/circuits/execution/pi_wizard_extraction.go +++ b/prover/circuits/execution/pi_wizard_extraction.go @@ -5,9 +5,9 @@ import ( "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/std/hash/mimc" - "github.com/consensys/zkevm-monorepo/prover/circuits/internal" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/publicInput" + "github.com/consensys/linea-monorepo/prover/circuits/internal" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/publicInput" ) // checkPublicInputs checks that the values in fi are consistent with the diff --git a/prover/circuits/internal/io.go b/prover/circuits/internal/io.go index e8b4b165c..4bc7464ab 100644 --- a/prover/circuits/internal/io.go +++ b/prover/circuits/internal/io.go @@ -2,7 +2,7 @@ package internal import ( "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils" ) // CopyHexEncodedBytes panics if the string won't fit. If the string is too small, is will be 0-padded on the left. diff --git a/prover/circuits/internal/plonk/plonk_test.go b/prover/circuits/internal/plonk/plonk_test.go index b5db96513..990249d3e 100644 --- a/prover/circuits/internal/plonk/plonk_test.go +++ b/prover/circuits/internal/plonk/plonk_test.go @@ -4,15 +4,16 @@ import ( "crypto/rand" "encoding/binary" "errors" + "reflect" + "testing" + "github.com/consensys/gnark-crypto/ecc" "github.com/consensys/gnark-crypto/ecc/bls12-377/fr" "github.com/consensys/gnark/backend" "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/test" - "github.com/consensys/zkevm-monorepo/prover/circuits/internal/plonk" - "github.com/consensys/zkevm-monorepo/prover/utils" - "reflect" - "testing" + "github.com/consensys/linea-monorepo/prover/circuits/internal/plonk" + "github.com/consensys/linea-monorepo/prover/utils" ) func TestCustomConstraint(t *testing.T) { diff --git a/prover/circuits/internal/test_utils/test_utils.go b/prover/circuits/internal/test_utils/test_utils.go index 874244ec3..e2275e926 100644 --- a/prover/circuits/internal/test_utils/test_utils.go +++ b/prover/circuits/internal/test_utils/test_utils.go @@ -13,7 +13,7 @@ import ( "github.com/consensys/gnark-crypto/ecc" "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/test" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/stretchr/testify/assert" ) diff --git a/prover/circuits/internal/utils.go b/prover/circuits/internal/utils.go index 8fb772916..3bd8d8cc4 100644 --- a/prover/circuits/internal/utils.go +++ b/prover/circuits/internal/utils.go @@ -16,8 +16,8 @@ import ( "github.com/consensys/gnark/std/hash/mimc" "github.com/consensys/gnark/std/lookup/logderivlookup" "github.com/consensys/gnark/std/math/emulated" - "github.com/consensys/zkevm-monorepo/prover/circuits/internal/plonk" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/circuits/internal/plonk" + "github.com/consensys/linea-monorepo/prover/utils" "golang.org/x/exp/constraints" ) diff --git a/prover/circuits/internal/utils_test.go b/prover/circuits/internal/utils_test.go index 74cf37344..b0c2775c6 100644 --- a/prover/circuits/internal/utils_test.go +++ b/prover/circuits/internal/utils_test.go @@ -11,10 +11,10 @@ import ( "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/std/hash/mimc" "github.com/consensys/gnark/std/math/emulated" - "github.com/consensys/zkevm-monorepo/prover/circuits/internal" - snarkTestUtils "github.com/consensys/zkevm-monorepo/prover/circuits/internal/test_utils" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/test_utils" + "github.com/consensys/linea-monorepo/prover/circuits/internal" + snarkTestUtils "github.com/consensys/linea-monorepo/prover/circuits/internal/test_utils" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/test_utils" "github.com/stretchr/testify/assert" ) diff --git a/prover/circuits/pi-interconnection/assign.go b/prover/circuits/pi-interconnection/assign.go index f11044a7e..4c1139f99 100644 --- a/prover/circuits/pi-interconnection/assign.go +++ b/prover/circuits/pi-interconnection/assign.go @@ -4,17 +4,18 @@ import ( "bytes" "encoding/base64" "errors" + "hash" + "github.com/consensys/gnark-crypto/ecc/bls12-381/fr" - "github.com/consensys/zkevm-monorepo/prover/backend/blobsubmission" - decompression "github.com/consensys/zkevm-monorepo/prover/circuits/blobdecompression/v1" - "github.com/consensys/zkevm-monorepo/prover/circuits/execution" - "github.com/consensys/zkevm-monorepo/prover/circuits/internal" - "github.com/consensys/zkevm-monorepo/prover/circuits/pi-interconnection/keccak" - "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob" - public_input "github.com/consensys/zkevm-monorepo/prover/public-input" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/backend/blobsubmission" + decompression "github.com/consensys/linea-monorepo/prover/circuits/blobdecompression/v1" + "github.com/consensys/linea-monorepo/prover/circuits/execution" + "github.com/consensys/linea-monorepo/prover/circuits/internal" + "github.com/consensys/linea-monorepo/prover/circuits/pi-interconnection/keccak" + "github.com/consensys/linea-monorepo/prover/lib/compressor/blob" + public_input "github.com/consensys/linea-monorepo/prover/public-input" + "github.com/consensys/linea-monorepo/prover/utils" "golang.org/x/crypto/sha3" - "hash" ) type Request struct { diff --git a/prover/circuits/pi-interconnection/bench/main.go b/prover/circuits/pi-interconnection/bench/main.go index e615cf6d5..3ce42492b 100644 --- a/prover/circuits/pi-interconnection/bench/main.go +++ b/prover/circuits/pi-interconnection/bench/main.go @@ -2,19 +2,20 @@ package main import ( "fmt" - "github.com/consensys/zkevm-monorepo/prover/utils/test_utils" "time" + "github.com/consensys/linea-monorepo/prover/utils/test_utils" + "github.com/consensys/gnark-crypto/ecc" "github.com/consensys/gnark/backend/plonk" "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/frontend/cs/scs" "github.com/consensys/gnark/test/unsafekzg" - pi_interconnection "github.com/consensys/zkevm-monorepo/prover/circuits/pi-interconnection" - pitesting "github.com/consensys/zkevm-monorepo/prover/circuits/pi-interconnection/test_utils" - "github.com/consensys/zkevm-monorepo/prover/config" + pi_interconnection "github.com/consensys/linea-monorepo/prover/circuits/pi-interconnection" + pitesting "github.com/consensys/linea-monorepo/prover/circuits/pi-interconnection/test_utils" + "github.com/consensys/linea-monorepo/prover/config" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" "github.com/stretchr/testify/assert" ) diff --git a/prover/circuits/pi-interconnection/circuit.go b/prover/circuits/pi-interconnection/circuit.go index 2a5c1d387..0f4394dc3 100644 --- a/prover/circuits/pi-interconnection/circuit.go +++ b/prover/circuits/pi-interconnection/circuit.go @@ -9,9 +9,9 @@ import ( "github.com/consensys/gnark-crypto/ecc" "github.com/consensys/gnark/constraint" "github.com/consensys/gnark/frontend/cs/scs" - "github.com/consensys/zkevm-monorepo/prover/circuits" - "github.com/consensys/zkevm-monorepo/prover/config" - public_input "github.com/consensys/zkevm-monorepo/prover/public-input" + "github.com/consensys/linea-monorepo/prover/circuits" + "github.com/consensys/linea-monorepo/prover/config" + public_input "github.com/consensys/linea-monorepo/prover/public-input" "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/std/compress" @@ -19,13 +19,13 @@ import ( "github.com/consensys/gnark/std/hash/mimc" "github.com/consensys/gnark/std/lookup/logderivlookup" "github.com/consensys/gnark/std/math/cmp" - decompression "github.com/consensys/zkevm-monorepo/prover/circuits/blobdecompression/v1" - "github.com/consensys/zkevm-monorepo/prover/circuits/execution" - "github.com/consensys/zkevm-monorepo/prover/circuits/internal" - "github.com/consensys/zkevm-monorepo/prover/circuits/pi-interconnection/keccak" - "github.com/consensys/zkevm-monorepo/prover/crypto/mimc/gkrmimc" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" + decompression "github.com/consensys/linea-monorepo/prover/circuits/blobdecompression/v1" + "github.com/consensys/linea-monorepo/prover/circuits/execution" + "github.com/consensys/linea-monorepo/prover/circuits/internal" + "github.com/consensys/linea-monorepo/prover/circuits/pi-interconnection/keccak" + "github.com/consensys/linea-monorepo/prover/crypto/mimc/gkrmimc" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" ) type Circuit struct { diff --git a/prover/circuits/pi-interconnection/circuit_test.go b/prover/circuits/pi-interconnection/circuit_test.go index e024fc9c5..58e94f16f 100644 --- a/prover/circuits/pi-interconnection/circuit_test.go +++ b/prover/circuits/pi-interconnection/circuit_test.go @@ -3,22 +3,23 @@ package pi_interconnection_test import ( "errors" "fmt" + "testing" + "github.com/consensys/zkevm-monorepo/prover/config" "github.com/leanovate/gopter" "github.com/leanovate/gopter/gen" "github.com/leanovate/gopter/prop" - "testing" "github.com/consensys/gnark-crypto/ecc" fr377 "github.com/consensys/gnark-crypto/ecc/bls12-377/fr" "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/frontend/cs/scs" "github.com/consensys/gnark/test" - "github.com/consensys/zkevm-monorepo/prover/backend/aggregation" - "github.com/consensys/zkevm-monorepo/prover/circuits/internal" - pi_interconnection "github.com/consensys/zkevm-monorepo/prover/circuits/pi-interconnection" - "github.com/consensys/zkevm-monorepo/prover/circuits/pi-interconnection/keccak" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/backend/aggregation" + "github.com/consensys/linea-monorepo/prover/circuits/internal" + pi_interconnection "github.com/consensys/linea-monorepo/prover/circuits/pi-interconnection" + "github.com/consensys/linea-monorepo/prover/circuits/pi-interconnection/keccak" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/stretchr/testify/assert" "golang.org/x/crypto/sha3" ) diff --git a/prover/circuits/pi-interconnection/compile/test_compile.go b/prover/circuits/pi-interconnection/compile/test_compile.go index 461be8e05..7b0112658 100644 --- a/prover/circuits/pi-interconnection/compile/test_compile.go +++ b/prover/circuits/pi-interconnection/compile/test_compile.go @@ -2,14 +2,15 @@ package main import ( "fmt" + "github.com/consensys/gnark-crypto/ecc" "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/frontend/cs/scs" "github.com/consensys/gnark/profile" - pi_interconnection "github.com/consensys/zkevm-monorepo/prover/circuits/pi-interconnection" - "github.com/consensys/zkevm-monorepo/prover/config" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/utils/test_utils" + pi_interconnection "github.com/consensys/linea-monorepo/prover/circuits/pi-interconnection" + "github.com/consensys/linea-monorepo/prover/config" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/utils/test_utils" "github.com/stretchr/testify/assert" ) diff --git a/prover/circuits/pi-interconnection/dummy.go b/prover/circuits/pi-interconnection/dummy.go index 9c29544cc..6793e8e00 100644 --- a/prover/circuits/pi-interconnection/dummy.go +++ b/prover/circuits/pi-interconnection/dummy.go @@ -2,7 +2,7 @@ package pi_interconnection import ( "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/circuits/internal" + "github.com/consensys/linea-monorepo/prover/circuits/internal" ) type DummyCircuit struct { diff --git a/prover/circuits/pi-interconnection/e2e_test.go b/prover/circuits/pi-interconnection/e2e_test.go index 00c84e66a..35aa5d3af 100644 --- a/prover/circuits/pi-interconnection/e2e_test.go +++ b/prover/circuits/pi-interconnection/e2e_test.go @@ -12,17 +12,17 @@ import ( "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/frontend/cs/scs" "github.com/consensys/gnark/test" - "github.com/consensys/zkevm-monorepo/prover/backend/aggregation" - "github.com/consensys/zkevm-monorepo/prover/backend/blobsubmission" - "github.com/consensys/zkevm-monorepo/prover/circuits/internal" - "github.com/consensys/zkevm-monorepo/prover/circuits/internal/test_utils" - pi_interconnection "github.com/consensys/zkevm-monorepo/prover/circuits/pi-interconnection" - pitesting "github.com/consensys/zkevm-monorepo/prover/circuits/pi-interconnection/test_utils" - "github.com/consensys/zkevm-monorepo/prover/config" - blobtesting "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob/v1/test_utils" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - public_input "github.com/consensys/zkevm-monorepo/prover/public-input" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/backend/aggregation" + "github.com/consensys/linea-monorepo/prover/backend/blobsubmission" + "github.com/consensys/linea-monorepo/prover/circuits/internal" + "github.com/consensys/linea-monorepo/prover/circuits/internal/test_utils" + pi_interconnection "github.com/consensys/linea-monorepo/prover/circuits/pi-interconnection" + pitesting "github.com/consensys/linea-monorepo/prover/circuits/pi-interconnection/test_utils" + "github.com/consensys/linea-monorepo/prover/config" + blobtesting "github.com/consensys/linea-monorepo/prover/lib/compressor/blob/v1/test_utils" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + public_input "github.com/consensys/linea-monorepo/prover/public-input" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/stretchr/testify/assert" ) diff --git a/prover/circuits/pi-interconnection/io.go b/prover/circuits/pi-interconnection/io.go index b632bb2dd..f98959fb5 100644 --- a/prover/circuits/pi-interconnection/io.go +++ b/prover/circuits/pi-interconnection/io.go @@ -1,14 +1,15 @@ package pi_interconnection import ( + "math/big" + "slices" + fr377 "github.com/consensys/gnark-crypto/ecc/bls12-377/fr" fr381 "github.com/consensys/gnark-crypto/ecc/bls12-381/fr" "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/std/compress" "github.com/consensys/gnark/std/math/uints" - "github.com/consensys/zkevm-monorepo/prover/circuits/internal" - "math/big" - "slices" + "github.com/consensys/linea-monorepo/prover/circuits/internal" ) func assertBytesEqual(api frontend.API, a, b []uints.U8) { diff --git a/prover/circuits/pi-interconnection/io_test.go b/prover/circuits/pi-interconnection/io_test.go index 88b75254a..c0e8eb4e4 100644 --- a/prover/circuits/pi-interconnection/io_test.go +++ b/prover/circuits/pi-interconnection/io_test.go @@ -1,13 +1,14 @@ package pi_interconnection import ( + "testing" + "github.com/consensys/gnark-crypto/ecc" fr381 "github.com/consensys/gnark-crypto/ecc/bls12-381/fr" "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/test" - "github.com/consensys/zkevm-monorepo/prover/circuits/internal" + "github.com/consensys/linea-monorepo/prover/circuits/internal" "github.com/stretchr/testify/assert" - "testing" ) func TestFr377EncodedFr381ToBytes(t *testing.T) { diff --git a/prover/circuits/pi-interconnection/keccak/assign.go b/prover/circuits/pi-interconnection/keccak/assign.go index d0b3fc0cf..52ca07918 100644 --- a/prover/circuits/pi-interconnection/keccak/assign.go +++ b/prover/circuits/pi-interconnection/keccak/assign.go @@ -3,15 +3,16 @@ package keccak import ( "bytes" "errors" + "hash" + "math/big" + "slices" + "github.com/consensys/gnark/constraint/solver" "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/std/compress" - "github.com/consensys/zkevm-monorepo/prover/circuits/internal" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/circuits/internal" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" "golang.org/x/crypto/sha3" - "hash" - "math/big" - "slices" ) // The strict hasher abstraction bridges the keccak computation in the circuit assignment and proving phases. diff --git a/prover/circuits/pi-interconnection/keccak/assign_test.go b/prover/circuits/pi-interconnection/keccak/assign_test.go index 821aafa1e..b4adccc92 100644 --- a/prover/circuits/pi-interconnection/keccak/assign_test.go +++ b/prover/circuits/pi-interconnection/keccak/assign_test.go @@ -6,9 +6,9 @@ import ( "github.com/consensys/gnark-crypto/ecc" "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/test" - "github.com/consensys/zkevm-monorepo/prover/circuits/internal" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/circuits/internal" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/stretchr/testify/assert" ) diff --git a/prover/circuits/pi-interconnection/keccak/customize_keccak.go b/prover/circuits/pi-interconnection/keccak/customize_keccak.go index 094d06a5a..b8d1d96d5 100644 --- a/prover/circuits/pi-interconnection/keccak/customize_keccak.go +++ b/prover/circuits/pi-interconnection/keccak/customize_keccak.go @@ -1,11 +1,11 @@ package keccak import ( - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/generic" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/keccak" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/keccak" ) type module struct { diff --git a/prover/circuits/pi-interconnection/keccak/customize_keccak_test.go b/prover/circuits/pi-interconnection/keccak/customize_keccak_test.go index 3e53189f8..64ef363de 100644 --- a/prover/circuits/pi-interconnection/keccak/customize_keccak_test.go +++ b/prover/circuits/pi-interconnection/keccak/customize_keccak_test.go @@ -2,11 +2,12 @@ package keccak import ( "crypto/rand" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" "math/big" "testing" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + + "github.com/consensys/linea-monorepo/prover/protocol/wizard" "github.com/stretchr/testify/assert" ) diff --git a/prover/circuits/pi-interconnection/keccak/snark.go b/prover/circuits/pi-interconnection/keccak/snark.go index c4a4ef249..9a09d16ab 100644 --- a/prover/circuits/pi-interconnection/keccak/snark.go +++ b/prover/circuits/pi-interconnection/keccak/snark.go @@ -7,11 +7,11 @@ import ( "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/std/lookup/logderivlookup" "github.com/consensys/gnark/std/rangecheck" - "github.com/consensys/zkevm-monorepo/prover/circuits/blobdecompression/v0/compress" - "github.com/consensys/zkevm-monorepo/prover/circuits/internal/plonk" - "github.com/consensys/zkevm-monorepo/prover/protocol/serialization" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/circuits/blobdecompression/v0/compress" + "github.com/consensys/linea-monorepo/prover/circuits/internal/plonk" + "github.com/consensys/linea-monorepo/prover/protocol/serialization" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" ) type slice struct { diff --git a/prover/circuits/pi-interconnection/keccak/snark_test.go b/prover/circuits/pi-interconnection/keccak/snark_test.go index e45b4e609..7a70a6e43 100644 --- a/prover/circuits/pi-interconnection/keccak/snark_test.go +++ b/prover/circuits/pi-interconnection/keccak/snark_test.go @@ -5,15 +5,15 @@ import ( "math/big" "testing" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" "github.com/consensys/gnark-crypto/ecc" "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/test" - "github.com/consensys/zkevm-monorepo/prover/circuits/blobdecompression/v0/compress" - "github.com/consensys/zkevm-monorepo/prover/circuits/internal" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/circuits/blobdecompression/v0/compress" + "github.com/consensys/linea-monorepo/prover/circuits/internal" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/prover/circuits/pi-interconnection/keccak/vectors_test.go b/prover/circuits/pi-interconnection/keccak/vectors_test.go index 80ce90de0..f96c59a2d 100644 --- a/prover/circuits/pi-interconnection/keccak/vectors_test.go +++ b/prover/circuits/pi-interconnection/keccak/vectors_test.go @@ -2,12 +2,13 @@ package keccak import ( "encoding/json" - "golang.org/x/crypto/sha3" "os" "sync" "testing" - "github.com/consensys/zkevm-monorepo/prover/utils" + "golang.org/x/crypto/sha3" + + "github.com/consensys/linea-monorepo/prover/utils" "github.com/stretchr/testify/assert" ) diff --git a/prover/circuits/pi-interconnection/keccak/vortex_test.go b/prover/circuits/pi-interconnection/keccak/vortex_test.go index 82128ab23..e9e2c3ec3 100644 --- a/prover/circuits/pi-interconnection/keccak/vortex_test.go +++ b/prover/circuits/pi-interconnection/keccak/vortex_test.go @@ -7,13 +7,13 @@ import ( "fmt" "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" "github.com/stretchr/testify/assert" ) diff --git a/prover/circuits/pi-interconnection/shnarf.go b/prover/circuits/pi-interconnection/shnarf.go index 91560e91d..7eac5dbb4 100644 --- a/prover/circuits/pi-interconnection/shnarf.go +++ b/prover/circuits/pi-interconnection/shnarf.go @@ -2,7 +2,7 @@ package pi_interconnection import ( "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/circuits/pi-interconnection/keccak" + "github.com/consensys/linea-monorepo/prover/circuits/pi-interconnection/keccak" ) type ShnarfIteration struct { diff --git a/prover/circuits/pi-interconnection/shnarf_test.go b/prover/circuits/pi-interconnection/shnarf_test.go index 366df15b7..d7c02b704 100644 --- a/prover/circuits/pi-interconnection/shnarf_test.go +++ b/prover/circuits/pi-interconnection/shnarf_test.go @@ -2,15 +2,16 @@ package pi_interconnection import ( "encoding/json" + "testing" + "github.com/consensys/gnark-crypto/ecc" "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/test" - "github.com/consensys/zkevm-monorepo/prover/backend/blobsubmission" - "github.com/consensys/zkevm-monorepo/prover/circuits/internal" - "github.com/consensys/zkevm-monorepo/prover/circuits/pi-interconnection/keccak" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/backend/blobsubmission" + "github.com/consensys/linea-monorepo/prover/circuits/internal" + "github.com/consensys/linea-monorepo/prover/circuits/pi-interconnection/keccak" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/stretchr/testify/assert" - "testing" ) // TODO create test cases with multiple shnarfs diff --git a/prover/circuits/pi-interconnection/test_utils/test_utils.go b/prover/circuits/pi-interconnection/test_utils/test_utils.go index cf86e28ee..cc6f332f7 100644 --- a/prover/circuits/pi-interconnection/test_utils/test_utils.go +++ b/prover/circuits/pi-interconnection/test_utils/test_utils.go @@ -2,15 +2,16 @@ package test_utils import ( "encoding/base64" - "github.com/consensys/zkevm-monorepo/prover/backend/aggregation" - "github.com/consensys/zkevm-monorepo/prover/backend/blobsubmission" - "github.com/consensys/zkevm-monorepo/prover/circuits/internal" - "github.com/consensys/zkevm-monorepo/prover/circuits/internal/test_utils" - pi_interconnection "github.com/consensys/zkevm-monorepo/prover/circuits/pi-interconnection" - blobtesting "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob/v1/test_utils" - "github.com/consensys/zkevm-monorepo/prover/public-input" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/backend/aggregation" + "github.com/consensys/linea-monorepo/prover/backend/blobsubmission" + "github.com/consensys/linea-monorepo/prover/circuits/internal" + "github.com/consensys/linea-monorepo/prover/circuits/internal/test_utils" + pi_interconnection "github.com/consensys/linea-monorepo/prover/circuits/pi-interconnection" + blobtesting "github.com/consensys/linea-monorepo/prover/lib/compressor/blob/v1/test_utils" + + public_input "github.com/consensys/linea-monorepo/prover/public-input" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/prover/circuits/setup.go b/prover/circuits/setup.go index 81fe44075..fe2df7eb5 100644 --- a/prover/circuits/setup.go +++ b/prover/circuits/setup.go @@ -27,8 +27,8 @@ import ( "github.com/consensys/gnark/constraint" gnarkio "github.com/consensys/gnark/io" - "github.com/consensys/zkevm-monorepo/prover/config" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/config" + "github.com/consensys/linea-monorepo/prover/utils" ) // Setup contains the proving and verifying keys of a circuit, as well as the constraint system. diff --git a/prover/cmd/controller/controller/command.go b/prover/cmd/controller/controller/command.go index e219f2ec0..bd856d1eb 100644 --- a/prover/cmd/controller/controller/command.go +++ b/prover/cmd/controller/controller/command.go @@ -4,7 +4,7 @@ import ( "context" "os" - "github.com/consensys/zkevm-monorepo/prover/config" + "github.com/consensys/linea-monorepo/prover/config" "github.com/sirupsen/logrus" "github.com/spf13/cobra" ) diff --git a/prover/cmd/controller/controller/controller.go b/prover/cmd/controller/controller/controller.go index 849c4ae55..38744f8e0 100644 --- a/prover/cmd/controller/controller/controller.go +++ b/prover/cmd/controller/controller/controller.go @@ -7,9 +7,9 @@ import ( "syscall" "time" - "github.com/consensys/zkevm-monorepo/prover/cmd/controller/controller/metrics" - "github.com/consensys/zkevm-monorepo/prover/config" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/cmd/controller/controller/metrics" + "github.com/consensys/linea-monorepo/prover/config" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/sirupsen/logrus" ) diff --git a/prover/cmd/controller/controller/controller_test.go b/prover/cmd/controller/controller/controller_test.go index 6cc9cc621..567933071 100644 --- a/prover/cmd/controller/controller/controller_test.go +++ b/prover/cmd/controller/controller/controller_test.go @@ -11,7 +11,7 @@ import ( "text/template" "time" - "github.com/consensys/zkevm-monorepo/prover/config" + "github.com/consensys/linea-monorepo/prover/config" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "golang.org/x/exp/slices" diff --git a/prover/cmd/controller/controller/executor.go b/prover/cmd/controller/controller/executor.go index e759f2bb1..7fa244ee3 100644 --- a/prover/cmd/controller/controller/executor.go +++ b/prover/cmd/controller/controller/executor.go @@ -8,9 +8,9 @@ import ( "syscall" "time" - "github.com/consensys/zkevm-monorepo/prover/cmd/controller/controller/metrics" - "github.com/consensys/zkevm-monorepo/prover/config" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/cmd/controller/controller/metrics" + "github.com/consensys/linea-monorepo/prover/config" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/sirupsen/logrus" ) diff --git a/prover/cmd/controller/controller/executor_test.go b/prover/cmd/controller/controller/executor_test.go index dd59eff80..d70112feb 100644 --- a/prover/cmd/controller/controller/executor_test.go +++ b/prover/cmd/controller/controller/executor_test.go @@ -4,7 +4,7 @@ import ( "testing" "text/template" - "github.com/consensys/zkevm-monorepo/prover/config" + "github.com/consensys/linea-monorepo/prover/config" "github.com/stretchr/testify/assert" ) diff --git a/prover/cmd/controller/controller/fs_watcher.go b/prover/cmd/controller/controller/fs_watcher.go index 13ee2d733..962f72381 100644 --- a/prover/cmd/controller/controller/fs_watcher.go +++ b/prover/cmd/controller/controller/fs_watcher.go @@ -9,8 +9,8 @@ import ( "path" "strings" - "github.com/consensys/zkevm-monorepo/prover/cmd/controller/controller/metrics" - "github.com/consensys/zkevm-monorepo/prover/config" + "github.com/consensys/linea-monorepo/prover/cmd/controller/controller/metrics" + "github.com/consensys/linea-monorepo/prover/config" "github.com/sirupsen/logrus" "golang.org/x/exp/slices" ) diff --git a/prover/cmd/controller/controller/job_definition.go b/prover/cmd/controller/controller/job_definition.go index 7d5d4f7a4..610b1808b 100644 --- a/prover/cmd/controller/controller/job_definition.go +++ b/prover/cmd/controller/controller/job_definition.go @@ -5,8 +5,8 @@ import ( "path/filepath" "text/template" - "github.com/consensys/zkevm-monorepo/prover/config" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/config" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/dlclark/regexp2" ) diff --git a/prover/cmd/controller/controller/job_definition_test.go b/prover/cmd/controller/controller/job_definition_test.go index 9b01954e9..b71296508 100644 --- a/prover/cmd/controller/controller/job_definition_test.go +++ b/prover/cmd/controller/controller/job_definition_test.go @@ -3,7 +3,7 @@ package controller import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/config" + "github.com/consensys/linea-monorepo/prover/config" "github.com/stretchr/testify/assert" ) diff --git a/prover/cmd/controller/controller/jobs.go b/prover/cmd/controller/controller/jobs.go index a1ce43371..e39a1e367 100644 --- a/prover/cmd/controller/controller/jobs.go +++ b/prover/cmd/controller/controller/jobs.go @@ -7,7 +7,7 @@ import ( "strconv" "strings" - "github.com/consensys/zkevm-monorepo/prover/config" + "github.com/consensys/linea-monorepo/prover/config" "github.com/dlclark/regexp2" "github.com/sirupsen/logrus" ) diff --git a/prover/cmd/controller/main.go b/prover/cmd/controller/main.go index 67b1f0d03..dead4e936 100644 --- a/prover/cmd/controller/main.go +++ b/prover/cmd/controller/main.go @@ -1,6 +1,6 @@ package main -import "github.com/consensys/zkevm-monorepo/prover/cmd/controller/controller" +import "github.com/consensys/linea-monorepo/prover/cmd/controller/controller" func main() { controller.Execute() diff --git a/prover/cmd/dev-tools/corset-checker/main.go b/prover/cmd/dev-tools/corset-checker/main.go index f27d146a7..2361e5732 100644 --- a/prover/cmd/dev-tools/corset-checker/main.go +++ b/prover/cmd/dev-tools/corset-checker/main.go @@ -4,8 +4,8 @@ import ( "fmt" "os" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" ) func main() { diff --git a/prover/cmd/dev-tools/corset-checker/params.go b/prover/cmd/dev-tools/corset-checker/params.go index 28e6ed66a..54e28d29b 100644 --- a/prover/cmd/dev-tools/corset-checker/params.go +++ b/prover/cmd/dev-tools/corset-checker/params.go @@ -4,7 +4,7 @@ import ( "flag" "fmt" - "github.com/consensys/zkevm-monorepo/prover/config" + "github.com/consensys/linea-monorepo/prover/config" ) var ( diff --git a/prover/cmd/dev-tools/corset-checker/zkevm.go b/prover/cmd/dev-tools/corset-checker/zkevm.go index 8c08acebe..18033d778 100644 --- a/prover/cmd/dev-tools/corset-checker/zkevm.go +++ b/prover/cmd/dev-tools/corset-checker/zkevm.go @@ -1,9 +1,9 @@ package main import ( - "github.com/consensys/zkevm-monorepo/prover/config" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/zkevm/arithmetization" + "github.com/consensys/linea-monorepo/prover/config" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/zkevm/arithmetization" ) var globalArith *arithmetization.Arithmetization diff --git a/prover/cmd/dev-tools/state-manager-inspector/cmd/run.go b/prover/cmd/dev-tools/state-manager-inspector/cmd/run.go index 8d7115a31..0130796f7 100644 --- a/prover/cmd/dev-tools/state-manager-inspector/cmd/run.go +++ b/prover/cmd/dev-tools/state-manager-inspector/cmd/run.go @@ -12,9 +12,9 @@ import ( "sync/atomic" "time" - "github.com/consensys/zkevm-monorepo/prover/backend/execution/statemanager" - "github.com/consensys/zkevm-monorepo/prover/utils/parallel" - "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/backend/execution/statemanager" + "github.com/consensys/linea-monorepo/prover/utils/parallel" + "github.com/consensys/linea-monorepo/prover/utils/types" "github.com/sirupsen/logrus" "github.com/spf13/cobra" "golang.org/x/time/rate" diff --git a/prover/cmd/dev-tools/state-manager-inspector/cmd/shomei_test.go b/prover/cmd/dev-tools/state-manager-inspector/cmd/shomei_test.go index 6e7a1ddbe..2f570e37f 100644 --- a/prover/cmd/dev-tools/state-manager-inspector/cmd/shomei_test.go +++ b/prover/cmd/dev-tools/state-manager-inspector/cmd/shomei_test.go @@ -9,7 +9,7 @@ import ( "testing" "time" - "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/utils/types" "golang.org/x/time/rate" ) diff --git a/prover/cmd/dev-tools/state-manager-inspector/main.go b/prover/cmd/dev-tools/state-manager-inspector/main.go index a6191db97..fa8aa2e3d 100644 --- a/prover/cmd/dev-tools/state-manager-inspector/main.go +++ b/prover/cmd/dev-tools/state-manager-inspector/main.go @@ -1,7 +1,7 @@ package main import ( - "github.com/consensys/zkevm-monorepo/prover/cmd/dev-tools/state-manager-inspector/cmd" + "github.com/consensys/linea-monorepo/prover/cmd/dev-tools/state-manager-inspector/cmd" "github.com/sirupsen/logrus" ) diff --git a/prover/cmd/dev-tools/testcase-gen/compression-aggregation/cmd.go b/prover/cmd/dev-tools/testcase-gen/compression-aggregation/cmd.go index 0673dbb91..0e61f8310 100644 --- a/prover/cmd/dev-tools/testcase-gen/compression-aggregation/cmd.go +++ b/prover/cmd/dev-tools/testcase-gen/compression-aggregation/cmd.go @@ -11,12 +11,12 @@ import ( "strings" "github.com/consensys/gnark-crypto/ecc" - "github.com/consensys/zkevm-monorepo/prover/backend/aggregation" - "github.com/consensys/zkevm-monorepo/prover/backend/blobsubmission" - "github.com/consensys/zkevm-monorepo/prover/backend/files" - "github.com/consensys/zkevm-monorepo/prover/circuits" - "github.com/consensys/zkevm-monorepo/prover/circuits/dummy" - "github.com/consensys/zkevm-monorepo/prover/config" + "github.com/consensys/linea-monorepo/prover/backend/aggregation" + "github.com/consensys/linea-monorepo/prover/backend/blobsubmission" + "github.com/consensys/linea-monorepo/prover/backend/files" + "github.com/consensys/linea-monorepo/prover/circuits" + "github.com/consensys/linea-monorepo/prover/circuits/dummy" + "github.com/consensys/linea-monorepo/prover/config" "github.com/spf13/cobra" ) diff --git a/prover/cmd/dev-tools/testcase-gen/compression-aggregation/random_gen.go b/prover/cmd/dev-tools/testcase-gen/compression-aggregation/random_gen.go index 3dba38c31..5b996bc6c 100644 --- a/prover/cmd/dev-tools/testcase-gen/compression-aggregation/random_gen.go +++ b/prover/cmd/dev-tools/testcase-gen/compression-aggregation/random_gen.go @@ -5,9 +5,9 @@ import ( "encoding/hex" "math/rand" - "github.com/consensys/zkevm-monorepo/prover/backend/aggregation" - "github.com/consensys/zkevm-monorepo/prover/backend/blobsubmission" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/backend/aggregation" + "github.com/consensys/linea-monorepo/prover/backend/blobsubmission" + "github.com/consensys/linea-monorepo/prover/utils" ) // RandDataGen generates random data for the smart-contract diff --git a/prover/cmd/prover/cmd/prove.go b/prover/cmd/prover/cmd/prove.go index 0f13476e1..c0a64d963 100644 --- a/prover/cmd/prover/cmd/prove.go +++ b/prover/cmd/prover/cmd/prove.go @@ -7,11 +7,11 @@ import ( "os" "strings" - "github.com/consensys/zkevm-monorepo/prover/backend/aggregation" - "github.com/consensys/zkevm-monorepo/prover/backend/blobdecompression" - "github.com/consensys/zkevm-monorepo/prover/backend/execution" - "github.com/consensys/zkevm-monorepo/prover/backend/files" - "github.com/consensys/zkevm-monorepo/prover/config" + "github.com/consensys/linea-monorepo/prover/backend/aggregation" + "github.com/consensys/linea-monorepo/prover/backend/blobdecompression" + "github.com/consensys/linea-monorepo/prover/backend/execution" + "github.com/consensys/linea-monorepo/prover/backend/files" + "github.com/consensys/linea-monorepo/prover/config" "github.com/spf13/cobra" ) diff --git a/prover/cmd/prover/cmd/setup.go b/prover/cmd/prover/cmd/setup.go index 43f63418f..f7e28de8a 100644 --- a/prover/cmd/prover/cmd/setup.go +++ b/prover/cmd/prover/cmd/setup.go @@ -9,23 +9,23 @@ import ( "path/filepath" "strings" - pi_interconnection "github.com/consensys/zkevm-monorepo/prover/circuits/pi-interconnection" + pi_interconnection "github.com/consensys/linea-monorepo/prover/circuits/pi-interconnection" - blob_v0 "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob/v0" - blob_v1 "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob/v1" + blob_v0 "github.com/consensys/linea-monorepo/prover/lib/compressor/blob/v0" + blob_v1 "github.com/consensys/linea-monorepo/prover/lib/compressor/blob/v1" "github.com/sirupsen/logrus" "github.com/consensys/gnark-crypto/ecc" - "github.com/consensys/zkevm-monorepo/prover/circuits" - "github.com/consensys/zkevm-monorepo/prover/circuits/aggregation" - v0 "github.com/consensys/zkevm-monorepo/prover/circuits/blobdecompression/v0" - v1 "github.com/consensys/zkevm-monorepo/prover/circuits/blobdecompression/v1" - "github.com/consensys/zkevm-monorepo/prover/circuits/dummy" - "github.com/consensys/zkevm-monorepo/prover/circuits/emulation" - "github.com/consensys/zkevm-monorepo/prover/circuits/execution" - "github.com/consensys/zkevm-monorepo/prover/config" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/zkevm" + "github.com/consensys/linea-monorepo/prover/circuits" + "github.com/consensys/linea-monorepo/prover/circuits/aggregation" + v0 "github.com/consensys/linea-monorepo/prover/circuits/blobdecompression/v0" + v1 "github.com/consensys/linea-monorepo/prover/circuits/blobdecompression/v1" + "github.com/consensys/linea-monorepo/prover/circuits/dummy" + "github.com/consensys/linea-monorepo/prover/circuits/emulation" + "github.com/consensys/linea-monorepo/prover/circuits/execution" + "github.com/consensys/linea-monorepo/prover/config" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/zkevm" "github.com/spf13/cobra" "github.com/spf13/viper" diff --git a/prover/cmd/prover/main.go b/prover/cmd/prover/main.go index 321284b65..f221c083e 100644 --- a/prover/cmd/prover/main.go +++ b/prover/cmd/prover/main.go @@ -1,6 +1,6 @@ package main -import "github.com/consensys/zkevm-monorepo/prover/cmd/prover/cmd" +import "github.com/consensys/linea-monorepo/prover/cmd/prover/cmd" func main() { cmd.Execute() diff --git a/prover/config/traces_limit.go b/prover/config/traces_limit.go index 14863a2cb..8036ec164 100644 --- a/prover/config/traces_limit.go +++ b/prover/config/traces_limit.go @@ -4,7 +4,7 @@ import ( "bytes" "encoding/json" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils" ) // The trace limits define the maximum trace size per module that the prover can handle. diff --git a/prover/crypto/fiatshamir/bitreader.go b/prover/crypto/fiatshamir/bitreader.go index ad8894be8..f89ea07cb 100644 --- a/prover/crypto/fiatshamir/bitreader.go +++ b/prover/crypto/fiatshamir/bitreader.go @@ -3,7 +3,7 @@ package fiatshamir import ( "fmt" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils" ) // BitReader is a utility to read a slice of bytes bit by bit. It should be diff --git a/prover/crypto/fiatshamir/fiatshamir.go b/prover/crypto/fiatshamir/fiatshamir.go index 2b3578451..c9752d7ca 100644 --- a/prover/crypto/fiatshamir/fiatshamir.go +++ b/prover/crypto/fiatshamir/fiatshamir.go @@ -4,10 +4,10 @@ import ( "hash" "math" - "github.com/consensys/zkevm-monorepo/prover/crypto/mimc" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/crypto/mimc" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" ) // State holds a Fiat-Shamir state. The Fiat-Shamir state can be updated by diff --git a/prover/crypto/fiatshamir/fiatshamir_test.go b/prover/crypto/fiatshamir/fiatshamir_test.go index 57afa0fa2..4f74890a2 100644 --- a/prover/crypto/fiatshamir/fiatshamir_test.go +++ b/prover/crypto/fiatshamir/fiatshamir_test.go @@ -4,9 +4,9 @@ import ( "fmt" "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/prover/crypto/fiatshamir/snark.go b/prover/crypto/fiatshamir/snark.go index dc731d472..198549ed5 100644 --- a/prover/crypto/fiatshamir/snark.go +++ b/prover/crypto/fiatshamir/snark.go @@ -6,9 +6,9 @@ import ( "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/std/hash" "github.com/consensys/gnark/std/hash/mimc" - "github.com/consensys/zkevm-monorepo/prover/crypto/mimc/gkrmimc" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/crypto/mimc/gkrmimc" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" ) // GnarkFiatShamir mirrors [State] in a gnark circuit. It provides analogous diff --git a/prover/crypto/fiatshamir/snark_test.go b/prover/crypto/fiatshamir/snark_test.go index 8d8e699b1..fd05bdf1a 100644 --- a/prover/crypto/fiatshamir/snark_test.go +++ b/prover/crypto/fiatshamir/snark_test.go @@ -5,9 +5,9 @@ import ( "testing" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils/gnarkutil" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils/gnarkutil" ) func TestGnarkSafeGuardUpdate(t *testing.T) { diff --git a/prover/crypto/keccak/hash_test.go b/prover/crypto/keccak/hash_test.go index 48d038aaf..3af8a8e99 100644 --- a/prover/crypto/keccak/hash_test.go +++ b/prover/crypto/keccak/hash_test.go @@ -4,7 +4,7 @@ import ( "math/rand" "testing" - "github.com/consensys/zkevm-monorepo/prover/crypto/keccak" + "github.com/consensys/linea-monorepo/prover/crypto/keccak" "github.com/stretchr/testify/require" ) diff --git a/prover/crypto/keccak/reference_test.go b/prover/crypto/keccak/reference_test.go index 6a5cfd399..f97128962 100644 --- a/prover/crypto/keccak/reference_test.go +++ b/prover/crypto/keccak/reference_test.go @@ -5,7 +5,7 @@ import ( "math/rand" "testing" - "github.com/consensys/zkevm-monorepo/prover/crypto/keccak" + "github.com/consensys/linea-monorepo/prover/crypto/keccak" "github.com/stretchr/testify/require" "golang.org/x/crypto/sha3" ) diff --git a/prover/crypto/keccak/util.go b/prover/crypto/keccak/util.go index f8480afdd..e3f0e10b7 100644 --- a/prover/crypto/keccak/util.go +++ b/prover/crypto/keccak/util.go @@ -4,7 +4,7 @@ import ( "math/bits" "unsafe" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils" ) // bytesAsBlockPtrUnsafe unsafely cast a slice into an array. The caller is diff --git a/prover/crypto/mimc/gkrmimc/factory_test.go b/prover/crypto/mimc/gkrmimc/factory_test.go index c69e3b131..0a4935009 100644 --- a/prover/crypto/mimc/gkrmimc/factory_test.go +++ b/prover/crypto/mimc/gkrmimc/factory_test.go @@ -9,9 +9,9 @@ import ( "github.com/consensys/gnark-crypto/ecc" "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/frontend/cs/scs" - "github.com/consensys/zkevm-monorepo/prover/crypto/mimc" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/crypto/mimc" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" "github.com/stretchr/testify/require" ) diff --git a/prover/crypto/mimc/gkrmimc/finalgates.go b/prover/crypto/mimc/gkrmimc/finalgates.go index 35f850eae..2f46361c6 100644 --- a/prover/crypto/mimc/gkrmimc/finalgates.go +++ b/prover/crypto/mimc/gkrmimc/finalgates.go @@ -2,8 +2,8 @@ package gkrmimc import ( "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" ) // FinalRoundGate represents the last round in a gnark circuit diff --git a/prover/crypto/mimc/gkrmimc/gkrcircuit.go b/prover/crypto/mimc/gkrmimc/gkrcircuit.go index 4285e9d83..3967d9315 100644 --- a/prover/crypto/mimc/gkrmimc/gkrcircuit.go +++ b/prover/crypto/mimc/gkrmimc/gkrcircuit.go @@ -13,8 +13,8 @@ import ( "github.com/consensys/gnark/std/hash" gmimc "github.com/consensys/gnark/std/hash/mimc" "github.com/consensys/gnark/std/multicommit" - "github.com/consensys/zkevm-monorepo/prover/crypto/mimc" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/crypto/mimc" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/sirupsen/logrus" ) diff --git a/prover/crypto/mimc/gkrmimc/helper.go b/prover/crypto/mimc/gkrmimc/helper.go index 18d0eda9d..ef7977097 100644 --- a/prover/crypto/mimc/gkrmimc/helper.go +++ b/prover/crypto/mimc/gkrmimc/helper.go @@ -5,9 +5,9 @@ import ( "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/std/hash" - "github.com/consensys/zkevm-monorepo/prover/crypto/mimc" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/crypto/mimc" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" ) var cache []*HasherFactory diff --git a/prover/crypto/mimc/gkrmimc/normalgates.go b/prover/crypto/mimc/gkrmimc/normalgates.go index caa195bf0..9cac4fe21 100644 --- a/prover/crypto/mimc/gkrmimc/normalgates.go +++ b/prover/crypto/mimc/gkrmimc/normalgates.go @@ -2,7 +2,7 @@ package gkrmimc import ( "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/maths/field" ) // RoundGate represents a normal round of gkr (i.e. any round except for the diff --git a/prover/crypto/mimc/mimc.go b/prover/crypto/mimc/mimc.go index cd2ff017f..6bdbdc2dc 100644 --- a/prover/crypto/mimc/mimc.go +++ b/prover/crypto/mimc/mimc.go @@ -5,7 +5,7 @@ import ( "github.com/consensys/gnark-crypto/ecc/bls12-377/fr/mimc" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/maths/field" ) // NewMiMC wraps [mimc.NewMiMC], this is used to limit the number of import to diff --git a/prover/crypto/mimc/mimc_gnark_test.go b/prover/crypto/mimc/mimc_gnark_test.go index a035f6e62..f3f9406cd 100644 --- a/prover/crypto/mimc/mimc_gnark_test.go +++ b/prover/crypto/mimc/mimc_gnark_test.go @@ -6,8 +6,8 @@ import ( "github.com/consensys/gnark-crypto/ecc" "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/frontend/cs/r1cs" - "github.com/consensys/zkevm-monorepo/prover/crypto/mimc" - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/crypto/mimc" + "github.com/consensys/linea-monorepo/prover/maths/field" "github.com/stretchr/testify/require" ) diff --git a/prover/crypto/mimc/mimc_test.go b/prover/crypto/mimc/mimc_test.go index d45b82069..5574458c9 100644 --- a/prover/crypto/mimc/mimc_test.go +++ b/prover/crypto/mimc/mimc_test.go @@ -3,8 +3,8 @@ package mimc_test import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/crypto/mimc" - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/crypto/mimc" + "github.com/consensys/linea-monorepo/prover/maths/field" "github.com/stretchr/testify/require" ) diff --git a/prover/crypto/ringsis/params.go b/prover/crypto/ringsis/params.go index 22be4ead0..df9bf6e28 100644 --- a/prover/crypto/ringsis/params.go +++ b/prover/crypto/ringsis/params.go @@ -1,8 +1,8 @@ package ringsis import ( - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" ) // Standard parameter that we use for ring-SIS they are benchmarked at achieve diff --git a/prover/crypto/ringsis/ringis.go b/prover/crypto/ringsis/ringis.go index eda8a950b..64aae25f0 100644 --- a/prover/crypto/ringsis/ringis.go +++ b/prover/crypto/ringsis/ringis.go @@ -11,14 +11,14 @@ import ( "github.com/consensys/gnark-crypto/ecc/bls12-377/fr" "github.com/consensys/gnark-crypto/ecc/bls12-377/fr/fft" "github.com/consensys/gnark-crypto/ecc/bls12-377/fr/sis" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/parallel" - - "github.com/consensys/zkevm-monorepo/prover/crypto/ringsis/ringsis_32_8" - "github.com/consensys/zkevm-monorepo/prover/crypto/ringsis/ringsis_64_16" - "github.com/consensys/zkevm-monorepo/prover/crypto/ringsis/ringsis_64_8" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/parallel" + + "github.com/consensys/linea-monorepo/prover/crypto/ringsis/ringsis_32_8" + "github.com/consensys/linea-monorepo/prover/crypto/ringsis/ringsis_64_16" + "github.com/consensys/linea-monorepo/prover/crypto/ringsis/ringsis_64_8" ) const ( diff --git a/prover/crypto/ringsis/ringsis_32_8/limb_decompose_test.go b/prover/crypto/ringsis/ringsis_32_8/limb_decompose_test.go index 00fd09347..031dddf0a 100644 --- a/prover/crypto/ringsis/ringsis_32_8/limb_decompose_test.go +++ b/prover/crypto/ringsis/ringsis_32_8/limb_decompose_test.go @@ -7,7 +7,7 @@ import ( "math/rand" "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/maths/field" "github.com/stretchr/testify/assert" ) diff --git a/prover/crypto/ringsis/ringsis_32_8/partial_fft.go b/prover/crypto/ringsis/ringsis_32_8/partial_fft.go index a4d8340fa..6d6217888 100644 --- a/prover/crypto/ringsis/ringsis_32_8/partial_fft.go +++ b/prover/crypto/ringsis/ringsis_32_8/partial_fft.go @@ -3,7 +3,7 @@ package ringsis_32_8 import ( - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/maths/field" ) var partialFFT = []func(a, twiddles []field.Element){ diff --git a/prover/crypto/ringsis/ringsis_32_8/partial_fft_test.go b/prover/crypto/ringsis/ringsis_32_8/partial_fft_test.go index e13abf264..9223ec595 100644 --- a/prover/crypto/ringsis/ringsis_32_8/partial_fft_test.go +++ b/prover/crypto/ringsis/ringsis_32_8/partial_fft_test.go @@ -6,7 +6,7 @@ import ( "testing" "github.com/consensys/gnark-crypto/ecc/bls12-377/fr/fft" - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/maths/field" "github.com/stretchr/testify/assert" ) diff --git a/prover/crypto/ringsis/ringsis_32_8/transversal_hash.go b/prover/crypto/ringsis/ringsis_32_8/transversal_hash.go index 3eea90f72..3d36d15f2 100644 --- a/prover/crypto/ringsis/ringsis_32_8/transversal_hash.go +++ b/prover/crypto/ringsis/ringsis_32_8/transversal_hash.go @@ -6,11 +6,11 @@ import ( "runtime" "github.com/consensys/gnark-crypto/ecc/bls12-377/fr/fft" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/parallel" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/parallel" ) func TransversalHash( diff --git a/prover/crypto/ringsis/ringsis_32_8/transversal_hash_test.go b/prover/crypto/ringsis/ringsis_32_8/transversal_hash_test.go index f635d6729..a166bb4c2 100644 --- a/prover/crypto/ringsis/ringsis_32_8/transversal_hash_test.go +++ b/prover/crypto/ringsis/ringsis_32_8/transversal_hash_test.go @@ -8,12 +8,12 @@ import ( "testing" "github.com/consensys/gnark-crypto/ecc/bls12-377/fr/fft" - "github.com/consensys/zkevm-monorepo/prover/crypto/ringsis" - "github.com/consensys/zkevm-monorepo/prover/crypto/ringsis/ringsis_32_8" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - wfft "github.com/consensys/zkevm-monorepo/prover/maths/fft" - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/crypto/ringsis" + "github.com/consensys/linea-monorepo/prover/crypto/ringsis/ringsis_32_8" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + wfft "github.com/consensys/linea-monorepo/prover/maths/fft" + "github.com/consensys/linea-monorepo/prover/maths/field" "github.com/stretchr/testify/require" ) diff --git a/prover/crypto/ringsis/ringsis_32_8/twiddles.go b/prover/crypto/ringsis/ringsis_32_8/twiddles.go index bc0c144cf..9a94c1c1f 100644 --- a/prover/crypto/ringsis/ringsis_32_8/twiddles.go +++ b/prover/crypto/ringsis/ringsis_32_8/twiddles.go @@ -3,7 +3,7 @@ package ringsis_32_8 import ( - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/maths/field" "math/big" ) diff --git a/prover/crypto/ringsis/ringsis_64_16/limb_decompose_test.go b/prover/crypto/ringsis/ringsis_64_16/limb_decompose_test.go index d78276a0a..53e0e045f 100644 --- a/prover/crypto/ringsis/ringsis_64_16/limb_decompose_test.go +++ b/prover/crypto/ringsis/ringsis_64_16/limb_decompose_test.go @@ -7,7 +7,7 @@ import ( "math/rand" "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/maths/field" "github.com/stretchr/testify/assert" ) diff --git a/prover/crypto/ringsis/ringsis_64_16/partial_fft.go b/prover/crypto/ringsis/ringsis_64_16/partial_fft.go index de2f8ab18..7335e2235 100644 --- a/prover/crypto/ringsis/ringsis_64_16/partial_fft.go +++ b/prover/crypto/ringsis/ringsis_64_16/partial_fft.go @@ -3,7 +3,7 @@ package ringsis_64_16 import ( - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/maths/field" ) var partialFFT = []func(a, twiddles []field.Element){ diff --git a/prover/crypto/ringsis/ringsis_64_16/partial_fft_test.go b/prover/crypto/ringsis/ringsis_64_16/partial_fft_test.go index 34bc96830..4ea5d1ea6 100644 --- a/prover/crypto/ringsis/ringsis_64_16/partial_fft_test.go +++ b/prover/crypto/ringsis/ringsis_64_16/partial_fft_test.go @@ -6,7 +6,7 @@ import ( "testing" "github.com/consensys/gnark-crypto/ecc/bls12-377/fr/fft" - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/maths/field" "github.com/stretchr/testify/assert" ) diff --git a/prover/crypto/ringsis/ringsis_64_16/transversal_hash.go b/prover/crypto/ringsis/ringsis_64_16/transversal_hash.go index 073fa51ea..bbd182693 100644 --- a/prover/crypto/ringsis/ringsis_64_16/transversal_hash.go +++ b/prover/crypto/ringsis/ringsis_64_16/transversal_hash.go @@ -6,11 +6,11 @@ import ( "runtime" "github.com/consensys/gnark-crypto/ecc/bls12-377/fr/fft" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/parallel" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/parallel" ) func TransversalHash( diff --git a/prover/crypto/ringsis/ringsis_64_16/transversal_hash_test.go b/prover/crypto/ringsis/ringsis_64_16/transversal_hash_test.go index a0f388985..3a12670de 100644 --- a/prover/crypto/ringsis/ringsis_64_16/transversal_hash_test.go +++ b/prover/crypto/ringsis/ringsis_64_16/transversal_hash_test.go @@ -8,12 +8,12 @@ import ( "testing" "github.com/consensys/gnark-crypto/ecc/bls12-377/fr/fft" - "github.com/consensys/zkevm-monorepo/prover/crypto/ringsis" - "github.com/consensys/zkevm-monorepo/prover/crypto/ringsis/ringsis_64_16" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - wfft "github.com/consensys/zkevm-monorepo/prover/maths/fft" - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/crypto/ringsis" + "github.com/consensys/linea-monorepo/prover/crypto/ringsis/ringsis_64_16" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + wfft "github.com/consensys/linea-monorepo/prover/maths/fft" + "github.com/consensys/linea-monorepo/prover/maths/field" "github.com/stretchr/testify/require" ) diff --git a/prover/crypto/ringsis/ringsis_64_16/twiddles.go b/prover/crypto/ringsis/ringsis_64_16/twiddles.go index 80eb07862..575cefbb0 100644 --- a/prover/crypto/ringsis/ringsis_64_16/twiddles.go +++ b/prover/crypto/ringsis/ringsis_64_16/twiddles.go @@ -3,7 +3,7 @@ package ringsis_64_16 import ( - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/maths/field" "math/big" ) diff --git a/prover/crypto/ringsis/ringsis_64_8/limb_decompose_test.go b/prover/crypto/ringsis/ringsis_64_8/limb_decompose_test.go index 52f7af3b0..b27b32570 100644 --- a/prover/crypto/ringsis/ringsis_64_8/limb_decompose_test.go +++ b/prover/crypto/ringsis/ringsis_64_8/limb_decompose_test.go @@ -7,7 +7,7 @@ import ( "math/rand" "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/maths/field" "github.com/stretchr/testify/assert" ) diff --git a/prover/crypto/ringsis/ringsis_64_8/partial_fft.go b/prover/crypto/ringsis/ringsis_64_8/partial_fft.go index c120a99c8..4b7c1b0b3 100644 --- a/prover/crypto/ringsis/ringsis_64_8/partial_fft.go +++ b/prover/crypto/ringsis/ringsis_64_8/partial_fft.go @@ -3,7 +3,7 @@ package ringsis_64_8 import ( - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/maths/field" ) var partialFFT = []func(a, twiddles []field.Element){ diff --git a/prover/crypto/ringsis/ringsis_64_8/partial_fft_test.go b/prover/crypto/ringsis/ringsis_64_8/partial_fft_test.go index 51ecc5f15..c7cda93e6 100644 --- a/prover/crypto/ringsis/ringsis_64_8/partial_fft_test.go +++ b/prover/crypto/ringsis/ringsis_64_8/partial_fft_test.go @@ -6,7 +6,7 @@ import ( "testing" "github.com/consensys/gnark-crypto/ecc/bls12-377/fr/fft" - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/maths/field" "github.com/stretchr/testify/assert" ) diff --git a/prover/crypto/ringsis/ringsis_64_8/transversal_hash.go b/prover/crypto/ringsis/ringsis_64_8/transversal_hash.go index 04f902761..f2d000385 100644 --- a/prover/crypto/ringsis/ringsis_64_8/transversal_hash.go +++ b/prover/crypto/ringsis/ringsis_64_8/transversal_hash.go @@ -6,11 +6,11 @@ import ( "runtime" "github.com/consensys/gnark-crypto/ecc/bls12-377/fr/fft" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/parallel" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/parallel" ) func TransversalHash( diff --git a/prover/crypto/ringsis/ringsis_64_8/transversal_hash_test.go b/prover/crypto/ringsis/ringsis_64_8/transversal_hash_test.go index 16ec1b17a..786a5b798 100644 --- a/prover/crypto/ringsis/ringsis_64_8/transversal_hash_test.go +++ b/prover/crypto/ringsis/ringsis_64_8/transversal_hash_test.go @@ -8,12 +8,12 @@ import ( "testing" "github.com/consensys/gnark-crypto/ecc/bls12-377/fr/fft" - "github.com/consensys/zkevm-monorepo/prover/crypto/ringsis" - "github.com/consensys/zkevm-monorepo/prover/crypto/ringsis/ringsis_64_8" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - wfft "github.com/consensys/zkevm-monorepo/prover/maths/fft" - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/crypto/ringsis" + "github.com/consensys/linea-monorepo/prover/crypto/ringsis/ringsis_64_8" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + wfft "github.com/consensys/linea-monorepo/prover/maths/fft" + "github.com/consensys/linea-monorepo/prover/maths/field" "github.com/stretchr/testify/require" ) diff --git a/prover/crypto/ringsis/ringsis_64_8/twiddles.go b/prover/crypto/ringsis/ringsis_64_8/twiddles.go index 944ad013c..94934bcb4 100644 --- a/prover/crypto/ringsis/ringsis_64_8/twiddles.go +++ b/prover/crypto/ringsis/ringsis_64_8/twiddles.go @@ -3,7 +3,7 @@ package ringsis_64_8 import ( - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/maths/field" "math/big" ) diff --git a/prover/crypto/ringsis/ringsis_test.go b/prover/crypto/ringsis/ringsis_test.go index 854e1f3c0..49b3af51b 100644 --- a/prover/crypto/ringsis/ringsis_test.go +++ b/prover/crypto/ringsis/ringsis_test.go @@ -6,12 +6,12 @@ import ( "github.com/consensys/gnark-crypto/ecc/bls12-377/fr" "github.com/consensys/gnark-crypto/ecc/bls12-377/fr/fft" - "github.com/consensys/zkevm-monorepo/prover/crypto/mimc" - "github.com/consensys/zkevm-monorepo/prover/maths/common/poly" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/crypto/mimc" + "github.com/consensys/linea-monorepo/prover/maths/common/poly" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/prover/crypto/ringsis/templates/generator.go b/prover/crypto/ringsis/templates/generator.go index f872393b3..6d6f004de 100644 --- a/prover/crypto/ringsis/templates/generator.go +++ b/prover/crypto/ringsis/templates/generator.go @@ -9,7 +9,7 @@ import ( "text/template" "github.com/consensys/bavard" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils" ) // Config stores the template generation parameters for the optimized ring-SIS diff --git a/prover/crypto/ringsis/templates/limb_decompose_test.go.tmpl b/prover/crypto/ringsis/templates/limb_decompose_test.go.tmpl index c90087463..a4e9e4c83 100644 --- a/prover/crypto/ringsis/templates/limb_decompose_test.go.tmpl +++ b/prover/crypto/ringsis/templates/limb_decompose_test.go.tmpl @@ -5,7 +5,7 @@ import ( "math/rand" "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/maths/field" "github.com/stretchr/testify/assert" ) diff --git a/prover/crypto/ringsis/templates/partial_fft.go b/prover/crypto/ringsis/templates/partial_fft.go index 083bd94f0..b9e9d47d3 100644 --- a/prover/crypto/ringsis/templates/partial_fft.go +++ b/prover/crypto/ringsis/templates/partial_fft.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils" ) func partialFFT(domainSize, numField, mask int64) string { diff --git a/prover/crypto/ringsis/templates/partial_fft.go.tmpl b/prover/crypto/ringsis/templates/partial_fft.go.tmpl index 5a85f0f37..e95feb807 100644 --- a/prover/crypto/ringsis/templates/partial_fft.go.tmpl +++ b/prover/crypto/ringsis/templates/partial_fft.go.tmpl @@ -1,7 +1,7 @@ package ringsis_{{.ModulusDegree}}_{{.LogTwoBound}} import ( - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/maths/field" ) {{- $bitPerField := 256}} diff --git a/prover/crypto/ringsis/templates/partial_fft_test.go.tmpl b/prover/crypto/ringsis/templates/partial_fft_test.go.tmpl index 22d7bf605..f8299fc67 100644 --- a/prover/crypto/ringsis/templates/partial_fft_test.go.tmpl +++ b/prover/crypto/ringsis/templates/partial_fft_test.go.tmpl @@ -4,7 +4,7 @@ import ( "testing" "github.com/consensys/gnark-crypto/ecc/bls12-377/fr/fft" - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/maths/field" "github.com/stretchr/testify/assert" ) diff --git a/prover/crypto/ringsis/templates/transversal_hash.go.tmpl b/prover/crypto/ringsis/templates/transversal_hash.go.tmpl index ee7eee819..76790efe1 100644 --- a/prover/crypto/ringsis/templates/transversal_hash.go.tmpl +++ b/prover/crypto/ringsis/templates/transversal_hash.go.tmpl @@ -4,11 +4,11 @@ import ( "runtime" "github.com/consensys/gnark-crypto/ecc/bls12-377/fr/fft" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/parallel" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/parallel" ) {{- $bitPerField := 256}} diff --git a/prover/crypto/ringsis/templates/transversal_hash_test.go.tmpl b/prover/crypto/ringsis/templates/transversal_hash_test.go.tmpl index cc3e507d0..206716380 100644 --- a/prover/crypto/ringsis/templates/transversal_hash_test.go.tmpl +++ b/prover/crypto/ringsis/templates/transversal_hash_test.go.tmpl @@ -6,12 +6,12 @@ import ( "testing" "github.com/consensys/gnark-crypto/ecc/bls12-377/fr/fft" - "github.com/consensys/zkevm-monorepo/prover/crypto/ringsis" - "github.com/consensys/zkevm-monorepo/prover/crypto/ringsis/ringsis_{{.ModulusDegree}}_{{.LogTwoBound}}" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - wfft "github.com/consensys/zkevm-monorepo/prover/maths/fft" - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/crypto/ringsis" + "github.com/consensys/linea-monorepo/prover/crypto/ringsis/ringsis_{{.ModulusDegree}}_{{.LogTwoBound}}" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + wfft "github.com/consensys/linea-monorepo/prover/maths/fft" + "github.com/consensys/linea-monorepo/prover/maths/field" "github.com/stretchr/testify/require" ) diff --git a/prover/crypto/ringsis/templates/twiddles.go.tmpl b/prover/crypto/ringsis/templates/twiddles.go.tmpl index fb0d39d73..982308de3 100644 --- a/prover/crypto/ringsis/templates/twiddles.go.tmpl +++ b/prover/crypto/ringsis/templates/twiddles.go.tmpl @@ -1,7 +1,7 @@ package ringsis_{{.ModulusDegree}}_{{.LogTwoBound}} import ( - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/maths/field" "math/big" ) diff --git a/prover/crypto/sha2/sha2.go b/prover/crypto/sha2/sha2.go index 9dda273dc..6dc22b5e3 100644 --- a/prover/crypto/sha2/sha2.go +++ b/prover/crypto/sha2/sha2.go @@ -4,7 +4,7 @@ import ( "bytes" "encoding/binary" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils" ) const ( diff --git a/prover/crypto/state-management/accumulator/common.go b/prover/crypto/state-management/accumulator/common.go index 926e28be9..f481a8ef2 100644 --- a/prover/crypto/state-management/accumulator/common.go +++ b/prover/crypto/state-management/accumulator/common.go @@ -3,10 +3,10 @@ package accumulator import ( "io" - "github.com/consensys/zkevm-monorepo/prover/crypto/state-management/smt" + "github.com/consensys/linea-monorepo/prover/crypto/state-management/smt" //lint:ignore ST1001 -- the package contains a list of standard types for this repo - . "github.com/consensys/zkevm-monorepo/prover/utils/types" + . "github.com/consensys/linea-monorepo/prover/utils/types" ) // Generic hashing for object satisfying the io.WriterTo interface diff --git a/prover/crypto/state-management/accumulator/deletion.go b/prover/crypto/state-management/accumulator/deletion.go index 34e21b6a0..dbfa06876 100644 --- a/prover/crypto/state-management/accumulator/deletion.go +++ b/prover/crypto/state-management/accumulator/deletion.go @@ -4,12 +4,12 @@ import ( "fmt" "io" - "github.com/consensys/zkevm-monorepo/prover/crypto/state-management/smt" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/crypto/state-management/smt" + "github.com/consensys/linea-monorepo/prover/utils" //lint:ignore ST1001 -- the package contains a list of standard types for this repo - . "github.com/consensys/zkevm-monorepo/prover/utils/types" + . "github.com/consensys/linea-monorepo/prover/utils/types" ) // DeletetionTrace gathers all the data necessary to audit the deletion of a diff --git a/prover/crypto/state-management/accumulator/insertion.go b/prover/crypto/state-management/accumulator/insertion.go index b2b2ce52a..eee216d02 100644 --- a/prover/crypto/state-management/accumulator/insertion.go +++ b/prover/crypto/state-management/accumulator/insertion.go @@ -4,12 +4,12 @@ import ( "fmt" "io" - "github.com/consensys/zkevm-monorepo/prover/crypto/state-management/smt" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/crypto/state-management/smt" + "github.com/consensys/linea-monorepo/prover/utils" //lint:ignore ST1001 -- the package contains a list of standard types for this repo - . "github.com/consensys/zkevm-monorepo/prover/utils/types" + . "github.com/consensys/linea-monorepo/prover/utils/types" ) // InsertionTrace gathers all the input needed for a verifier to audit the diff --git a/prover/crypto/state-management/accumulator/leafopening.go b/prover/crypto/state-management/accumulator/leafopening.go index 11a6038bc..a596857c3 100644 --- a/prover/crypto/state-management/accumulator/leafopening.go +++ b/prover/crypto/state-management/accumulator/leafopening.go @@ -4,11 +4,11 @@ import ( "fmt" "io" - "github.com/consensys/zkevm-monorepo/prover/crypto/state-management/smt" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/crypto/state-management/smt" + "github.com/consensys/linea-monorepo/prover/utils" //lint:ignore ST1001 -- the package contains a list of standard types for this repo - . "github.com/consensys/zkevm-monorepo/prover/utils/types" + . "github.com/consensys/linea-monorepo/prover/utils/types" ) // LeafOpening represents the opening of a leaf in the accumulator's tree. diff --git a/prover/crypto/state-management/accumulator/operation_mimc_test.go b/prover/crypto/state-management/accumulator/operation_mimc_test.go index 667e483bd..2c144e66a 100644 --- a/prover/crypto/state-management/accumulator/operation_mimc_test.go +++ b/prover/crypto/state-management/accumulator/operation_mimc_test.go @@ -5,7 +5,7 @@ package accumulator_test import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/crypto/state-management/accumulator" + "github.com/consensys/linea-monorepo/prover/crypto/state-management/accumulator" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/prover/crypto/state-management/accumulator/operation_test.go b/prover/crypto/state-management/accumulator/operation_test.go index be1d7bdd9..792ec0ed1 100644 --- a/prover/crypto/state-management/accumulator/operation_test.go +++ b/prover/crypto/state-management/accumulator/operation_test.go @@ -3,11 +3,11 @@ package accumulator_test import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/crypto/state-management/accumulator" - "github.com/consensys/zkevm-monorepo/prover/crypto/state-management/hashtypes" - "github.com/consensys/zkevm-monorepo/prover/crypto/state-management/smt" + "github.com/consensys/linea-monorepo/prover/crypto/state-management/accumulator" + "github.com/consensys/linea-monorepo/prover/crypto/state-management/hashtypes" + "github.com/consensys/linea-monorepo/prover/crypto/state-management/smt" - . "github.com/consensys/zkevm-monorepo/prover/utils/types" + . "github.com/consensys/linea-monorepo/prover/utils/types" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/prover/crypto/state-management/accumulator/proverstate.go b/prover/crypto/state-management/accumulator/proverstate.go index 227b367fc..f9137bc5d 100644 --- a/prover/crypto/state-management/accumulator/proverstate.go +++ b/prover/crypto/state-management/accumulator/proverstate.go @@ -3,12 +3,12 @@ package accumulator import ( "io" - "github.com/consensys/zkevm-monorepo/prover/crypto/state-management/smt" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/collection" + "github.com/consensys/linea-monorepo/prover/crypto/state-management/smt" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/collection" //lint:ignore ST1001 -- the package contains a list of standard types for this repo - . "github.com/consensys/zkevm-monorepo/prover/utils/types" + . "github.com/consensys/linea-monorepo/prover/utils/types" "github.com/sirupsen/logrus" ) diff --git a/prover/crypto/state-management/accumulator/readnonzero.go b/prover/crypto/state-management/accumulator/readnonzero.go index f0c7545aa..08e085476 100644 --- a/prover/crypto/state-management/accumulator/readnonzero.go +++ b/prover/crypto/state-management/accumulator/readnonzero.go @@ -4,12 +4,12 @@ import ( "fmt" "io" - "github.com/consensys/zkevm-monorepo/prover/crypto/state-management/smt" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/crypto/state-management/smt" + "github.com/consensys/linea-monorepo/prover/utils" //lint:ignore ST1001 -- the package contains a list of standard types for this repo - . "github.com/consensys/zkevm-monorepo/prover/utils/types" + . "github.com/consensys/linea-monorepo/prover/utils/types" "github.com/pkg/errors" ) diff --git a/prover/crypto/state-management/accumulator/readzero.go b/prover/crypto/state-management/accumulator/readzero.go index c40096f59..c87d198ba 100644 --- a/prover/crypto/state-management/accumulator/readzero.go +++ b/prover/crypto/state-management/accumulator/readzero.go @@ -4,12 +4,12 @@ import ( "fmt" "io" - "github.com/consensys/zkevm-monorepo/prover/crypto/state-management/smt" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/crypto/state-management/smt" + "github.com/consensys/linea-monorepo/prover/utils" //lint:ignore ST1001 -- the package contains a list of standard types for this repo - . "github.com/consensys/zkevm-monorepo/prover/utils/types" + . "github.com/consensys/linea-monorepo/prover/utils/types" ) // Trace that allows checking a read zero operation: e.g. proof of non-membership diff --git a/prover/crypto/state-management/accumulator/testvectors_mimc_test.go b/prover/crypto/state-management/accumulator/testvectors_mimc_test.go index f2b3276ee..7128931a7 100644 --- a/prover/crypto/state-management/accumulator/testvectors_mimc_test.go +++ b/prover/crypto/state-management/accumulator/testvectors_mimc_test.go @@ -5,9 +5,9 @@ package accumulator_test import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/crypto/state-management/accumulator" - "github.com/consensys/zkevm-monorepo/prover/crypto/state-management/hashtypes" - "github.com/consensys/zkevm-monorepo/prover/crypto/state-management/smt" + "github.com/consensys/linea-monorepo/prover/crypto/state-management/accumulator" + "github.com/consensys/linea-monorepo/prover/crypto/state-management/hashtypes" + "github.com/consensys/linea-monorepo/prover/crypto/state-management/smt" "github.com/stretchr/testify/require" ) diff --git a/prover/crypto/state-management/accumulator/update.go b/prover/crypto/state-management/accumulator/update.go index deb28a1b4..0dcc6d2c0 100644 --- a/prover/crypto/state-management/accumulator/update.go +++ b/prover/crypto/state-management/accumulator/update.go @@ -4,12 +4,12 @@ import ( "fmt" "io" - "github.com/consensys/zkevm-monorepo/prover/crypto/state-management/smt" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/crypto/state-management/smt" + "github.com/consensys/linea-monorepo/prover/utils" //lint:ignore ST1001 -- the package contains a list of standard types for this repo - . "github.com/consensys/zkevm-monorepo/prover/utils/types" + . "github.com/consensys/linea-monorepo/prover/utils/types" "github.com/pkg/errors" ) diff --git a/prover/crypto/state-management/accumulator/verifierstate.go b/prover/crypto/state-management/accumulator/verifierstate.go index dc41517da..e92d7418c 100644 --- a/prover/crypto/state-management/accumulator/verifierstate.go +++ b/prover/crypto/state-management/accumulator/verifierstate.go @@ -3,9 +3,9 @@ package accumulator import ( "io" - "github.com/consensys/zkevm-monorepo/prover/crypto/state-management/smt" + "github.com/consensys/linea-monorepo/prover/crypto/state-management/smt" //lint:ignore ST1001 -- the package contains a list of standard types for this repo - . "github.com/consensys/zkevm-monorepo/prover/utils/types" + . "github.com/consensys/linea-monorepo/prover/utils/types" "github.com/pkg/errors" "github.com/sirupsen/logrus" ) diff --git a/prover/crypto/state-management/hashtypes/hasher.go b/prover/crypto/state-management/hashtypes/hasher.go index 4a912246a..8c7be601c 100644 --- a/prover/crypto/state-management/hashtypes/hasher.go +++ b/prover/crypto/state-management/hashtypes/hasher.go @@ -4,8 +4,8 @@ import ( "hash" "github.com/consensys/gnark-crypto/ecc/bls12-377/fr/mimc" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - . "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/maths/field" + . "github.com/consensys/linea-monorepo/prover/utils/types" "github.com/ethereum/go-ethereum/crypto" ) diff --git a/prover/crypto/state-management/smt/gnark_test.go b/prover/crypto/state-management/smt/gnark_test.go index 375eb73bb..88aaaff0e 100644 --- a/prover/crypto/state-management/smt/gnark_test.go +++ b/prover/crypto/state-management/smt/gnark_test.go @@ -8,8 +8,8 @@ import ( "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/frontend/cs/scs" gmimc "github.com/consensys/gnark/std/hash/mimc" - "github.com/consensys/zkevm-monorepo/prover/crypto/state-management/hashtypes" - . "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/crypto/state-management/hashtypes" + . "github.com/consensys/linea-monorepo/prover/utils/types" "github.com/stretchr/testify/require" ) diff --git a/prover/crypto/state-management/smt/proof.go b/prover/crypto/state-management/smt/proof.go index 9829d4407..247b0ed31 100644 --- a/prover/crypto/state-management/smt/proof.go +++ b/prover/crypto/state-management/smt/proof.go @@ -3,8 +3,8 @@ package smt import ( "fmt" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/types" ) // ProvedClaim is the composition of a proof with the claim it proves. diff --git a/prover/crypto/state-management/smt/smt_test.go b/prover/crypto/state-management/smt/smt_test.go index 95fe0100a..452dd403e 100644 --- a/prover/crypto/state-management/smt/smt_test.go +++ b/prover/crypto/state-management/smt/smt_test.go @@ -3,10 +3,10 @@ package smt_test import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/crypto/state-management/hashtypes" - "github.com/consensys/zkevm-monorepo/prover/crypto/state-management/smt" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - . "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/crypto/state-management/hashtypes" + "github.com/consensys/linea-monorepo/prover/crypto/state-management/smt" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + . "github.com/consensys/linea-monorepo/prover/utils/types" "github.com/stretchr/testify/require" ) diff --git a/prover/crypto/state-management/smt/testvectors_mimc_test.go b/prover/crypto/state-management/smt/testvectors_mimc_test.go index 6ce42d161..9ddf68d2a 100644 --- a/prover/crypto/state-management/smt/testvectors_mimc_test.go +++ b/prover/crypto/state-management/smt/testvectors_mimc_test.go @@ -3,9 +3,9 @@ package smt_test import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/crypto/state-management/hashtypes" - "github.com/consensys/zkevm-monorepo/prover/crypto/state-management/smt" - . "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/crypto/state-management/hashtypes" + "github.com/consensys/linea-monorepo/prover/crypto/state-management/smt" + . "github.com/consensys/linea-monorepo/prover/utils/types" "github.com/stretchr/testify/require" ) diff --git a/prover/crypto/state-management/smt/tree.go b/prover/crypto/state-management/smt/tree.go index 70a1cbb72..574ae8d15 100644 --- a/prover/crypto/state-management/smt/tree.go +++ b/prover/crypto/state-management/smt/tree.go @@ -3,10 +3,10 @@ package smt import ( "fmt" - "github.com/consensys/zkevm-monorepo/prover/crypto/state-management/hashtypes" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/parallel" - "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/crypto/state-management/hashtypes" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/parallel" + "github.com/consensys/linea-monorepo/prover/utils/types" ) // Config specifies the parameters of the tree (choice of hash function, depth). diff --git a/prover/crypto/state-management/smt/update.go b/prover/crypto/state-management/smt/update.go index b49a06259..3216f03c0 100644 --- a/prover/crypto/state-management/smt/update.go +++ b/prover/crypto/state-management/smt/update.go @@ -1,8 +1,8 @@ package smt import ( - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/types" ) // Update overwrites a leaf in the tree and updates the associated parent nodes. diff --git a/prover/crypto/vortex/commitment.go b/prover/crypto/vortex/commitment.go index 352ba3338..11aa0ed98 100644 --- a/prover/crypto/vortex/commitment.go +++ b/prover/crypto/vortex/commitment.go @@ -4,14 +4,14 @@ import ( "hash" "runtime" - "github.com/consensys/zkevm-monorepo/prover/crypto/state-management/hashtypes" - "github.com/consensys/zkevm-monorepo/prover/crypto/state-management/smt" - "github.com/consensys/zkevm-monorepo/prover/maths/common/mempool" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/parallel" - "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/crypto/state-management/hashtypes" + "github.com/consensys/linea-monorepo/prover/crypto/state-management/smt" + "github.com/consensys/linea-monorepo/prover/maths/common/mempool" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/parallel" + "github.com/consensys/linea-monorepo/prover/utils/types" "github.com/sirupsen/logrus" ) diff --git a/prover/crypto/vortex/commitment_test.go b/prover/crypto/vortex/commitment_test.go index 72a3c640b..bcd5febe8 100644 --- a/prover/crypto/vortex/commitment_test.go +++ b/prover/crypto/vortex/commitment_test.go @@ -5,13 +5,13 @@ import ( "runtime/debug" "testing" - "github.com/consensys/zkevm-monorepo/prover/crypto/mimc" - "github.com/consensys/zkevm-monorepo/prover/crypto/ringsis" - "github.com/consensys/zkevm-monorepo/prover/crypto/state-management/smt" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/crypto/mimc" + "github.com/consensys/linea-monorepo/prover/crypto/ringsis" + "github.com/consensys/linea-monorepo/prover/crypto/state-management/smt" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/types" "github.com/stretchr/testify/require" ) diff --git a/prover/crypto/vortex/gnark_commitment.go b/prover/crypto/vortex/gnark_commitment.go index 1ad9f4f99..37e54c7be 100644 --- a/prover/crypto/vortex/gnark_commitment.go +++ b/prover/crypto/vortex/gnark_commitment.go @@ -3,10 +3,10 @@ package vortex import ( "github.com/consensys/gnark-crypto/ecc/bls12-377/fr" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/crypto/state-management/smt" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/crypto/state-management/smt" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/types" "github.com/sirupsen/logrus" ) diff --git a/prover/crypto/vortex/gnark_test.go b/prover/crypto/vortex/gnark_test.go index 115d9e9e3..de3958e77 100644 --- a/prover/crypto/vortex/gnark_test.go +++ b/prover/crypto/vortex/gnark_test.go @@ -3,9 +3,9 @@ package vortex import ( - // "github.com/consensys/zkevm-monorepo/prover/crypto/ringsis" - // "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - // "github.com/consensys/zkevm-monorepo/prover/maths/field" + // "github.com/consensys/linea-monorepo/prover/crypto/ringsis" + // "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + // "github.com/consensys/linea-monorepo/prover/maths/field" "testing" @@ -16,13 +16,13 @@ import ( "github.com/consensys/gnark/frontend/cs/scs" "github.com/consensys/gnark/std/hash" gmimc "github.com/consensys/gnark/std/hash/mimc" - "github.com/consensys/zkevm-monorepo/prover/crypto/mimc" - "github.com/consensys/zkevm-monorepo/prover/crypto/ringsis" - "github.com/consensys/zkevm-monorepo/prover/crypto/state-management/smt" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/crypto/mimc" + "github.com/consensys/linea-monorepo/prover/crypto/ringsis" + "github.com/consensys/linea-monorepo/prover/crypto/state-management/smt" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/types" "github.com/stretchr/testify/require" ) diff --git a/prover/crypto/vortex/gnark_utils.go b/prover/crypto/vortex/gnark_utils.go index 2f19caf55..cfdb33dff 100644 --- a/prover/crypto/vortex/gnark_utils.go +++ b/prover/crypto/vortex/gnark_utils.go @@ -12,9 +12,9 @@ import ( "github.com/consensys/gnark/std/hash" "github.com/consensys/gnark/std/lookup/logderivlookup" "github.com/consensys/gnark/std/multicommit" - "github.com/consensys/zkevm-monorepo/prover/crypto/ringsis" - "github.com/consensys/zkevm-monorepo/prover/crypto/state-management/smt" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/crypto/ringsis" + "github.com/consensys/linea-monorepo/prover/crypto/state-management/smt" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/sirupsen/logrus" ) diff --git a/prover/crypto/vortex/opening_prover.go b/prover/crypto/vortex/opening_prover.go index 251a4d9a8..ac67b53db 100644 --- a/prover/crypto/vortex/opening_prover.go +++ b/prover/crypto/vortex/opening_prover.go @@ -1,11 +1,11 @@ package vortex import ( - "github.com/consensys/zkevm-monorepo/prover/crypto/state-management/smt" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/parallel" + "github.com/consensys/linea-monorepo/prover/crypto/state-management/smt" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/parallel" ) // OpeningProof represents an opening proof for a Vortex commitment. The proof diff --git a/prover/crypto/vortex/opening_verifier.go b/prover/crypto/vortex/opening_verifier.go index 51ff8ff99..1f6a6f8d1 100644 --- a/prover/crypto/vortex/opening_verifier.go +++ b/prover/crypto/vortex/opening_verifier.go @@ -4,13 +4,13 @@ import ( "errors" "fmt" - "github.com/consensys/zkevm-monorepo/prover/crypto/state-management/hashtypes" - "github.com/consensys/zkevm-monorepo/prover/crypto/state-management/smt" - "github.com/consensys/zkevm-monorepo/prover/maths/common/poly" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/crypto/state-management/hashtypes" + "github.com/consensys/linea-monorepo/prover/crypto/state-management/smt" + "github.com/consensys/linea-monorepo/prover/maths/common/poly" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/types" ) var ( diff --git a/prover/crypto/vortex/params.go b/prover/crypto/vortex/params.go index d542e2944..331383245 100644 --- a/prover/crypto/vortex/params.go +++ b/prover/crypto/vortex/params.go @@ -3,9 +3,9 @@ package vortex import ( "hash" - "github.com/consensys/zkevm-monorepo/prover/crypto/ringsis" - "github.com/consensys/zkevm-monorepo/prover/maths/fft" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/crypto/ringsis" + "github.com/consensys/linea-monorepo/prover/maths/fft" + "github.com/consensys/linea-monorepo/prover/utils" ) // Params collects the public parameters of the commitment scheme. The object diff --git a/prover/crypto/vortex/reedsolomon.go b/prover/crypto/vortex/reedsolomon.go index 42f9c7d3e..d663fe79b 100644 --- a/prover/crypto/vortex/reedsolomon.go +++ b/prover/crypto/vortex/reedsolomon.go @@ -3,10 +3,10 @@ package vortex import ( "fmt" - "github.com/consensys/zkevm-monorepo/prover/maths/common/mempool" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/fft" - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/maths/common/mempool" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/fft" + "github.com/consensys/linea-monorepo/prover/maths/field" ) // rsEncode encodes a vector `v` and returns the corresponding the Reed-Solomon diff --git a/prover/crypto/vortex/reedsolomon_test.go b/prover/crypto/vortex/reedsolomon_test.go index 67aa250eb..884487067 100644 --- a/prover/crypto/vortex/reedsolomon_test.go +++ b/prover/crypto/vortex/reedsolomon_test.go @@ -3,10 +3,10 @@ package vortex import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/crypto/mimc" - "github.com/consensys/zkevm-monorepo/prover/crypto/ringsis" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/crypto/mimc" + "github.com/consensys/linea-monorepo/prover/crypto/ringsis" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" "github.com/stretchr/testify/require" ) diff --git a/prover/example/test_cases/fibonacci_test.go b/prover/example/test_cases/fibonacci_test.go index 79e9acb30..4b244e6e6 100644 --- a/prover/example/test_cases/fibonacci_test.go +++ b/prover/example/test_cases/fibonacci_test.go @@ -5,10 +5,10 @@ package test_cases_test import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" ) func defineFibo(build *wizard.Builder) { diff --git a/prover/example/test_cases/fixed_permutation_test.go b/prover/example/test_cases/fixed_permutation_test.go index ea0878eb3..9bc8fbe85 100644 --- a/prover/example/test_cases/fixed_permutation_test.go +++ b/prover/example/test_cases/fixed_permutation_test.go @@ -5,9 +5,9 @@ package test_cases_test import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" ) var ( diff --git a/prover/example/test_cases/framework_test.go b/prover/example/test_cases/framework_test.go index 9977d32d7..1386fa71c 100644 --- a/prover/example/test_cases/framework_test.go +++ b/prover/example/test_cases/framework_test.go @@ -8,19 +8,19 @@ import ( "github.com/consensys/gnark-crypto/ecc" "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/frontend/cs/scs" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/globalcs" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/innerproduct" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/localcs" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/lookup" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/permutation" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/specialqueries" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/splitter" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/univariates" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/vortex" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/globalcs" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/innerproduct" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/localcs" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/lookup" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/permutation" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/specialqueries" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/splitter" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/univariates" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/vortex" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" "github.com/sirupsen/logrus" "github.com/stretchr/testify/require" ) diff --git a/prover/example/test_cases/inclusion_multi_col_test.go b/prover/example/test_cases/inclusion_multi_col_test.go index 1206099d4..d542705ca 100644 --- a/prover/example/test_cases/inclusion_multi_col_test.go +++ b/prover/example/test_cases/inclusion_multi_col_test.go @@ -5,9 +5,9 @@ package test_cases_test import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" ) func defineIncluMultiCol(build *wizard.Builder) { diff --git a/prover/example/test_cases/inclusion_test.go b/prover/example/test_cases/inclusion_test.go index ffc935843..03f49a342 100644 --- a/prover/example/test_cases/inclusion_test.go +++ b/prover/example/test_cases/inclusion_test.go @@ -5,9 +5,9 @@ package test_cases_test import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" ) func defineInclu(build *wizard.Builder) { diff --git a/prover/example/test_cases/issue_test.go b/prover/example/test_cases/issue_test.go index dbaed25b5..83af4e345 100644 --- a/prover/example/test_cases/issue_test.go +++ b/prover/example/test_cases/issue_test.go @@ -7,9 +7,9 @@ package test_cases_test import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" ) func defineIssuePermSingleCol(build *wizard.Builder) { diff --git a/prover/example/test_cases/local_constraint_test.go b/prover/example/test_cases/local_constraint_test.go index 919b32ec8..571f8e571 100644 --- a/prover/example/test_cases/local_constraint_test.go +++ b/prover/example/test_cases/local_constraint_test.go @@ -5,10 +5,10 @@ package test_cases_test import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" ) func defineLocal(build *wizard.Builder) { diff --git a/prover/example/test_cases/local_opening_test.go b/prover/example/test_cases/local_opening_test.go index caafb4c1f..474bb884f 100644 --- a/prover/example/test_cases/local_opening_test.go +++ b/prover/example/test_cases/local_opening_test.go @@ -8,11 +8,11 @@ import ( "github.com/consensys/gnark-crypto/ecc" "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/frontend/cs/scs" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/splitter" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/splitter" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" "github.com/stretchr/testify/require" ) diff --git a/prover/example/test_cases/multi_point_test.go b/prover/example/test_cases/multi_point_test.go index 5e6d3710d..60021e6d0 100644 --- a/prover/example/test_cases/multi_point_test.go +++ b/prover/example/test_cases/multi_point_test.go @@ -5,9 +5,9 @@ package test_cases_test import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" ) func defineMultiPoint(build *wizard.Builder) { diff --git a/prover/example/test_cases/permutation_multicol_test.go b/prover/example/test_cases/permutation_multicol_test.go index 236de4355..59ce68e17 100644 --- a/prover/example/test_cases/permutation_multicol_test.go +++ b/prover/example/test_cases/permutation_multicol_test.go @@ -5,9 +5,9 @@ package test_cases_test import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" ) func definePermutationMultiCol(build *wizard.Builder) { diff --git a/prover/example/test_cases/permutation_test.go b/prover/example/test_cases/permutation_test.go index 7cb9b5714..cb01c866b 100644 --- a/prover/example/test_cases/permutation_test.go +++ b/prover/example/test_cases/permutation_test.go @@ -5,9 +5,9 @@ package test_cases_test import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" ) func definePermSingleCol(build *wizard.Builder) { diff --git a/prover/example/test_cases/pythagore_test.go b/prover/example/test_cases/pythagore_test.go index 0a83e5399..38b9c6431 100644 --- a/prover/example/test_cases/pythagore_test.go +++ b/prover/example/test_cases/pythagore_test.go @@ -5,10 +5,10 @@ package test_cases_test import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/symbolic" ) func definePythagore(build *wizard.Builder) { diff --git a/prover/example/test_cases/range_test.go b/prover/example/test_cases/range_test.go index dfb4db16b..cd0373d21 100644 --- a/prover/example/test_cases/range_test.go +++ b/prover/example/test_cases/range_test.go @@ -5,9 +5,9 @@ package test_cases_test import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/splitter" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/splitter" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" ) func defineRange(build *wizard.Builder) { diff --git a/prover/integration/circuit-testing/aggregation/main.go b/prover/integration/circuit-testing/aggregation/main.go index b9523cd60..6a06b8dd8 100644 --- a/prover/integration/circuit-testing/aggregation/main.go +++ b/prover/integration/circuit-testing/aggregation/main.go @@ -12,14 +12,14 @@ import ( "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/frontend/cs/scs" emPlonk "github.com/consensys/gnark/std/recursion/plonk" - "github.com/consensys/zkevm-monorepo/prover/circuits" - "github.com/consensys/zkevm-monorepo/prover/circuits/aggregation" - "github.com/consensys/zkevm-monorepo/prover/circuits/dummy" - "github.com/consensys/zkevm-monorepo/prover/circuits/emulation" - pi_interconnection "github.com/consensys/zkevm-monorepo/prover/circuits/pi-interconnection" - "github.com/consensys/zkevm-monorepo/prover/config" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/test_utils" + "github.com/consensys/linea-monorepo/prover/circuits" + "github.com/consensys/linea-monorepo/prover/circuits/aggregation" + "github.com/consensys/linea-monorepo/prover/circuits/dummy" + "github.com/consensys/linea-monorepo/prover/circuits/emulation" + pi_interconnection "github.com/consensys/linea-monorepo/prover/circuits/pi-interconnection" + "github.com/consensys/linea-monorepo/prover/config" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/test_utils" "github.com/sirupsen/logrus" "github.com/stretchr/testify/assert" ) diff --git a/prover/lib/compressor/blob/blob.go b/prover/lib/compressor/blob/blob.go index 2ede531e7..bca5927e9 100644 --- a/prover/lib/compressor/blob/blob.go +++ b/prover/lib/compressor/blob/blob.go @@ -8,8 +8,8 @@ import ( fr381 "github.com/consensys/gnark-crypto/ecc/bls12-381/fr" "github.com/consensys/gnark-crypto/hash" - "github.com/consensys/zkevm-monorepo/prover/circuits/blobdecompression/v0/compress" - v1 "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob/v1" + "github.com/consensys/linea-monorepo/prover/circuits/blobdecompression/v0/compress" + v1 "github.com/consensys/linea-monorepo/prover/lib/compressor/blob/v1" ) func GetVersion(blob []byte) uint16 { diff --git a/prover/lib/compressor/blob/blob_test.go b/prover/lib/compressor/blob/blob_test.go index c0523a392..83f8a09af 100644 --- a/prover/lib/compressor/blob/blob_test.go +++ b/prover/lib/compressor/blob/blob_test.go @@ -1,10 +1,11 @@ package blob_test import ( - "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob" - "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob/v1/test_utils" - "github.com/stretchr/testify/assert" "testing" + + "github.com/consensys/linea-monorepo/prover/lib/compressor/blob" + "github.com/consensys/linea-monorepo/prover/lib/compressor/blob/v1/test_utils" + "github.com/stretchr/testify/assert" ) func TestGetVersion(t *testing.T) { diff --git a/prover/lib/compressor/blob/v0/blob_maker.go b/prover/lib/compressor/blob/v0/blob_maker.go index 3cab0b350..4f6f82605 100644 --- a/prover/lib/compressor/blob/v0/blob_maker.go +++ b/prover/lib/compressor/blob/v0/blob_maker.go @@ -9,7 +9,7 @@ import ( "os" "strings" - "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob/v0/compress/lzss" + "github.com/consensys/linea-monorepo/prover/lib/compressor/blob/v0/compress/lzss" "github.com/sirupsen/logrus" "github.com/consensys/gnark/std/compress" diff --git a/prover/lib/compressor/blob/v0/blob_maker_test.go b/prover/lib/compressor/blob/v0/blob_maker_test.go index e15696188..8e8c1a1c7 100644 --- a/prover/lib/compressor/blob/v0/blob_maker_test.go +++ b/prover/lib/compressor/blob/v0/blob_maker_test.go @@ -14,13 +14,13 @@ import ( "os" "testing" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob/v0/compress/lzss" + "github.com/consensys/linea-monorepo/prover/lib/compressor/blob/v0/compress/lzss" - "github.com/consensys/zkevm-monorepo/prover/backend/ethereum" - "github.com/consensys/zkevm-monorepo/prover/backend/execution" - "github.com/consensys/zkevm-monorepo/prover/backend/files" + "github.com/consensys/linea-monorepo/prover/backend/ethereum" + "github.com/consensys/linea-monorepo/prover/backend/execution" + "github.com/consensys/linea-monorepo/prover/backend/files" "github.com/ethereum/go-ethereum/crypto" "github.com/stretchr/testify/assert" diff --git a/prover/lib/compressor/blob/v0/compress/lzss/compress.go b/prover/lib/compressor/blob/v0/compress/lzss/compress.go index b0bfbd92b..b972ef462 100644 --- a/prover/lib/compressor/blob/v0/compress/lzss/compress.go +++ b/prover/lib/compressor/blob/v0/compress/lzss/compress.go @@ -3,10 +3,11 @@ package lzss import ( "bytes" "fmt" - "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob/v0/compress" - "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob/v0/compress/lzss/internal/suffixarray" "math/bits" + "github.com/consensys/linea-monorepo/prover/lib/compressor/blob/v0/compress" + "github.com/consensys/linea-monorepo/prover/lib/compressor/blob/v0/compress/lzss/internal/suffixarray" + "github.com/icza/bitio" ) diff --git a/prover/lib/compressor/blob/v0/encode.go b/prover/lib/compressor/blob/v0/encode.go index 490b401b8..e127082a6 100644 --- a/prover/lib/compressor/blob/v0/encode.go +++ b/prover/lib/compressor/blob/v0/encode.go @@ -3,9 +3,10 @@ package v0 import ( "encoding/binary" "fmt" - "github.com/consensys/zkevm-monorepo/prover/backend/ethereum" "io" + "github.com/consensys/linea-monorepo/prover/backend/ethereum" + "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/rlp" ) diff --git a/prover/lib/compressor/blob/v0/header.go b/prover/lib/compressor/blob/v0/header.go index 87b971cb4..0b917a39c 100644 --- a/prover/lib/compressor/blob/v0/header.go +++ b/prover/lib/compressor/blob/v0/header.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/consensys/gnark-crypto/ecc/bls12-377/fr" ) diff --git a/prover/lib/compressor/blob/v1/blob_maker_test.go b/prover/lib/compressor/blob/v1/blob_maker_test.go index 7e726f517..9ea25a0c7 100644 --- a/prover/lib/compressor/blob/v1/blob_maker_test.go +++ b/prover/lib/compressor/blob/v1/blob_maker_test.go @@ -15,13 +15,13 @@ import ( "path/filepath" "testing" - "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob" - v1 "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob/v1" - "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob/v1/test_utils" + "github.com/consensys/linea-monorepo/prover/lib/compressor/blob" + v1 "github.com/consensys/linea-monorepo/prover/lib/compressor/blob/v1" + "github.com/consensys/linea-monorepo/prover/lib/compressor/blob/v1/test_utils" fr381 "github.com/consensys/gnark-crypto/ecc/bls12-381/fr" - "github.com/consensys/zkevm-monorepo/prover/backend/files" + "github.com/consensys/linea-monorepo/prover/backend/files" "github.com/ethereum/go-ethereum/crypto" "github.com/stretchr/testify/assert" diff --git a/prover/lib/compressor/blob/v1/encode.go b/prover/lib/compressor/blob/v1/encode.go index 1ce7355b9..60e71ef5e 100644 --- a/prover/lib/compressor/blob/v1/encode.go +++ b/prover/lib/compressor/blob/v1/encode.go @@ -7,7 +7,7 @@ import ( "fmt" "io" - "github.com/consensys/zkevm-monorepo/prover/backend/ethereum" + "github.com/consensys/linea-monorepo/prover/backend/ethereum" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/types" ) diff --git a/prover/lib/compressor/blob/v1/encode_test.go b/prover/lib/compressor/blob/v1/encode_test.go index 732ea8b9a..021f2711a 100644 --- a/prover/lib/compressor/blob/v1/encode_test.go +++ b/prover/lib/compressor/blob/v1/encode_test.go @@ -8,12 +8,12 @@ import ( "fmt" "testing" - v1 "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob/v1" - "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob/v1/test_utils" - "github.com/consensys/zkevm-monorepo/prover/utils/types" + v1 "github.com/consensys/linea-monorepo/prover/lib/compressor/blob/v1" + "github.com/consensys/linea-monorepo/prover/lib/compressor/blob/v1/test_utils" + "github.com/consensys/linea-monorepo/prover/utils/types" - "github.com/consensys/zkevm-monorepo/prover/backend/ethereum" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/backend/ethereum" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/rlp" diff --git a/prover/lib/compressor/blob/v1/header.go b/prover/lib/compressor/blob/v1/header.go index 0e4e3e6d3..5708b5a8c 100644 --- a/prover/lib/compressor/blob/v1/header.go +++ b/prover/lib/compressor/blob/v1/header.go @@ -6,7 +6,7 @@ import ( "io" "slices" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/consensys/gnark-crypto/ecc/bls12-377/fr" ) diff --git a/prover/lib/compressor/blob/v1/header_test.go b/prover/lib/compressor/blob/v1/header_test.go index 2100109c5..2cda658a6 100644 --- a/prover/lib/compressor/blob/v1/header_test.go +++ b/prover/lib/compressor/blob/v1/header_test.go @@ -2,10 +2,11 @@ package v1_test import ( "bytes" - v1 "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob/v1" - "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob/v1/test_utils" - "github.com/stretchr/testify/assert" "testing" + + v1 "github.com/consensys/linea-monorepo/prover/lib/compressor/blob/v1" + "github.com/consensys/linea-monorepo/prover/lib/compressor/blob/v1/test_utils" + "github.com/stretchr/testify/assert" ) func TestHeaderByteSize(t *testing.T) { diff --git a/prover/lib/compressor/blob/v1/test_utils/blob_maker_testing.go b/prover/lib/compressor/blob/v1/test_utils/blob_maker_testing.go index c437c8fc0..a325cf5a2 100644 --- a/prover/lib/compressor/blob/v1/test_utils/blob_maker_testing.go +++ b/prover/lib/compressor/blob/v1/test_utils/blob_maker_testing.go @@ -6,18 +6,19 @@ import ( "encoding/binary" "encoding/json" "fmt" - "github.com/consensys/zkevm-monorepo/prover/backend/ethereum" - "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob" - v1 "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob/v1" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" "os" "path/filepath" "strings" + "github.com/consensys/linea-monorepo/prover/backend/ethereum" + "github.com/consensys/linea-monorepo/prover/lib/compressor/blob" + v1 "github.com/consensys/linea-monorepo/prover/lib/compressor/blob/v1" + "github.com/ethereum/go-ethereum/common" + "github.com/ethereum/go-ethereum/core/types" + "github.com/consensys/compress/lzss" fr381 "github.com/consensys/gnark-crypto/ecc/bls12-381/fr" - "github.com/consensys/zkevm-monorepo/prover/backend/execution" + "github.com/consensys/linea-monorepo/prover/backend/execution" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/prover/lib/compressor/libcompressor.go b/prover/lib/compressor/libcompressor.go index 46c44179d..746b88a77 100644 --- a/prover/lib/compressor/libcompressor.go +++ b/prover/lib/compressor/libcompressor.go @@ -7,7 +7,7 @@ import ( "sync" "unsafe" - blob_v1 "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob/v1" + blob_v1 "github.com/consensys/linea-monorepo/prover/lib/compressor/blob/v1" ) //go:generate go build -tags nocorset -ldflags "-s -w" -buildmode=c-shared -o libcompressor.so libcompressor.go diff --git a/prover/lib/shnarf_calculator/shnarf_calculator.go b/prover/lib/shnarf_calculator/shnarf_calculator.go index 4dc0d0637..7a4a095f3 100644 --- a/prover/lib/shnarf_calculator/shnarf_calculator.go +++ b/prover/lib/shnarf_calculator/shnarf_calculator.go @@ -7,7 +7,7 @@ import "C" import ( "unsafe" - "github.com/consensys/zkevm-monorepo/prover/backend/blobsubmission" + "github.com/consensys/linea-monorepo/prover/backend/blobsubmission" ) // Required to make CGO work. diff --git a/prover/lib/shnarf_calculator/shnarf_calculator_test.go b/prover/lib/shnarf_calculator/shnarf_calculator_test.go index 493fe989d..00be8901f 100644 --- a/prover/lib/shnarf_calculator/shnarf_calculator_test.go +++ b/prover/lib/shnarf_calculator/shnarf_calculator_test.go @@ -9,10 +9,10 @@ import ( "os" "testing" - "github.com/consensys/zkevm-monorepo/prover/backend/blobsubmission" - blob "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob/v1" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/backend/blobsubmission" + blob "github.com/consensys/linea-monorepo/prover/lib/compressor/blob/v1" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/types" "github.com/stretchr/testify/require" ) diff --git a/prover/maths/common/mempool/debug_pool.go b/prover/maths/common/mempool/debug_pool.go index f222e607c..2c16c9371 100644 --- a/prover/maths/common/mempool/debug_pool.go +++ b/prover/maths/common/mempool/debug_pool.go @@ -7,8 +7,8 @@ import ( "strconv" "unsafe" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" ) type DebuggeableCall struct { diff --git a/prover/maths/common/mempool/debug_pool_test.go b/prover/maths/common/mempool/debug_pool_test.go index 2a3be5cf8..519f297a2 100644 --- a/prover/maths/common/mempool/debug_pool_test.go +++ b/prover/maths/common/mempool/debug_pool_test.go @@ -4,7 +4,7 @@ import ( "strings" "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/maths/field" "github.com/stretchr/testify/assert" ) diff --git a/prover/maths/common/mempool/from_sync_pool.go b/prover/maths/common/mempool/from_sync_pool.go index b36429792..1604eb761 100644 --- a/prover/maths/common/mempool/from_sync_pool.go +++ b/prover/maths/common/mempool/from_sync_pool.go @@ -3,9 +3,9 @@ package mempool import ( "sync" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/parallel" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/parallel" ) // FromSyncPool pools the allocation for slices of [field.Element] of size `Size`. diff --git a/prover/maths/common/mempool/mempool.go b/prover/maths/common/mempool/mempool.go index 7cb5e267e..cf8657621 100644 --- a/prover/maths/common/mempool/mempool.go +++ b/prover/maths/common/mempool/mempool.go @@ -1,8 +1,8 @@ package mempool import ( - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" ) type MemPool interface { diff --git a/prover/maths/common/mempool/slice_arena.go b/prover/maths/common/mempool/slice_arena.go index f8c480c67..11164c42e 100644 --- a/prover/maths/common/mempool/slice_arena.go +++ b/prover/maths/common/mempool/slice_arena.go @@ -1,7 +1,7 @@ package mempool import ( - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/maths/field" ) // SliceArena is a simple not-threadsafe arena implementation that uses a diff --git a/prover/maths/common/poly/gnarkpoly.go b/prover/maths/common/poly/gnarkpoly.go index 2bfcf9e51..047c76c6b 100644 --- a/prover/maths/common/poly/gnarkpoly.go +++ b/prover/maths/common/poly/gnarkpoly.go @@ -2,7 +2,7 @@ package poly import ( "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/maths/field" ) // EvaluateLagrangeAnyDomainGnark mirrors [EvaluateLagrangesAnyDomain] but in diff --git a/prover/maths/common/poly/gnarkpoly_test.go b/prover/maths/common/poly/gnarkpoly_test.go index bacfe9af1..13db15410 100644 --- a/prover/maths/common/poly/gnarkpoly_test.go +++ b/prover/maths/common/poly/gnarkpoly_test.go @@ -4,9 +4,9 @@ import ( "testing" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils/gnarkutil" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils/gnarkutil" "github.com/stretchr/testify/require" ) diff --git a/prover/maths/common/poly/poly.go b/prover/maths/common/poly/poly.go index e7b4cfda3..902ddc164 100644 --- a/prover/maths/common/poly/poly.go +++ b/prover/maths/common/poly/poly.go @@ -1,9 +1,9 @@ package poly import ( - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" ) // EvalUnivariate evaluates a univariate polynomial `pol` given as a vector of diff --git a/prover/maths/common/poly/poly_test.go b/prover/maths/common/poly/poly_test.go index db99861f6..85d022928 100644 --- a/prover/maths/common/poly/poly_test.go +++ b/prover/maths/common/poly/poly_test.go @@ -3,9 +3,9 @@ package poly_test import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/poly" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/maths/common/poly" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" "github.com/stretchr/testify/require" ) diff --git a/prover/maths/common/smartvectors/arithmetic_basic.go b/prover/maths/common/smartvectors/arithmetic_basic.go index b7d0989bf..7a3a430b4 100644 --- a/prover/maths/common/smartvectors/arithmetic_basic.go +++ b/prover/maths/common/smartvectors/arithmetic_basic.go @@ -1,10 +1,10 @@ package smartvectors import ( - "github.com/consensys/zkevm-monorepo/prover/maths/common/mempool" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/common/mempool" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" ) // Add returns a smart-vector obtained by position-wise adding [SmartVector]. diff --git a/prover/maths/common/smartvectors/arithmetic_basic_test.go b/prover/maths/common/smartvectors/arithmetic_basic_test.go index 5193e00f4..93e85bac9 100644 --- a/prover/maths/common/smartvectors/arithmetic_basic_test.go +++ b/prover/maths/common/smartvectors/arithmetic_basic_test.go @@ -4,8 +4,8 @@ import ( "fmt" "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" "github.com/stretchr/testify/assert" ) diff --git a/prover/maths/common/smartvectors/arithmetic_gen.go b/prover/maths/common/smartvectors/arithmetic_gen.go index c8645ba64..ef1b34cab 100644 --- a/prover/maths/common/smartvectors/arithmetic_gen.go +++ b/prover/maths/common/smartvectors/arithmetic_gen.go @@ -1,9 +1,9 @@ package smartvectors import ( - "github.com/consensys/zkevm-monorepo/prover/maths/common/mempool" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/common/mempool" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" ) // LinComb computes a linear combination of the given vectors with integer coefficients. diff --git a/prover/maths/common/smartvectors/arithmetic_op.go b/prover/maths/common/smartvectors/arithmetic_op.go index 5f4428fa3..b3077514e 100644 --- a/prover/maths/common/smartvectors/arithmetic_op.go +++ b/prover/maths/common/smartvectors/arithmetic_op.go @@ -3,8 +3,8 @@ package smartvectors import ( "math/big" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" ) // operator represents a mathematical operation that can be performed between diff --git a/prover/maths/common/smartvectors/arithmetic_test.go b/prover/maths/common/smartvectors/arithmetic_test.go index 01b308bf2..75044c917 100644 --- a/prover/maths/common/smartvectors/arithmetic_test.go +++ b/prover/maths/common/smartvectors/arithmetic_test.go @@ -6,9 +6,9 @@ import ( "fmt" "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/mempool" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/maths/common/mempool" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/prover/maths/common/smartvectors/circular_interval.go b/prover/maths/common/smartvectors/circular_interval.go index 426273563..e34a20e85 100644 --- a/prover/maths/common/smartvectors/circular_interval.go +++ b/prover/maths/common/smartvectors/circular_interval.go @@ -3,7 +3,7 @@ package smartvectors import ( "sort" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils" ) // circularInterval represents an interval over a discretized circle. The diff --git a/prover/maths/common/smartvectors/constant.go b/prover/maths/common/smartvectors/constant.go index 2284fe6fa..fbb491218 100644 --- a/prover/maths/common/smartvectors/constant.go +++ b/prover/maths/common/smartvectors/constant.go @@ -3,8 +3,8 @@ package smartvectors import ( "fmt" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" ) // A constant vector is a vector obtained by repeated "length" time the same value diff --git a/prover/maths/common/smartvectors/fft.go b/prover/maths/common/smartvectors/fft.go index e398c5e03..811ac39f6 100644 --- a/prover/maths/common/smartvectors/fft.go +++ b/prover/maths/common/smartvectors/fft.go @@ -1,10 +1,10 @@ package smartvectors import ( - "github.com/consensys/zkevm-monorepo/prover/maths/common/mempool" - "github.com/consensys/zkevm-monorepo/prover/maths/fft" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/common/mempool" + "github.com/consensys/linea-monorepo/prover/maths/fft" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" ) // Compute the FFT of a vector diff --git a/prover/maths/common/smartvectors/fft_test.go b/prover/maths/common/smartvectors/fft_test.go index d650848af..568e577cc 100644 --- a/prover/maths/common/smartvectors/fft_test.go +++ b/prover/maths/common/smartvectors/fft_test.go @@ -7,8 +7,8 @@ import ( "math/big" "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/fft" - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/maths/fft" + "github.com/consensys/linea-monorepo/prover/maths/field" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/prover/maths/common/smartvectors/fuzzing.go b/prover/maths/common/smartvectors/fuzzing.go index d0f9cc5e2..1fd07178a 100644 --- a/prover/maths/common/smartvectors/fuzzing.go +++ b/prover/maths/common/smartvectors/fuzzing.go @@ -5,10 +5,10 @@ import ( "math/big" "math/rand" - "github.com/consensys/zkevm-monorepo/prover/maths/common/poly" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/common/poly" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" ) type smartVecType int diff --git a/prover/maths/common/smartvectors/polynomial.go b/prover/maths/common/smartvectors/polynomial.go index 4239f1b8c..5f7ede085 100644 --- a/prover/maths/common/smartvectors/polynomial.go +++ b/prover/maths/common/smartvectors/polynomial.go @@ -3,13 +3,13 @@ package smartvectors import ( "math/big" - "github.com/consensys/zkevm-monorepo/prover/maths/common/poly" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/fft" - "github.com/consensys/zkevm-monorepo/prover/maths/fft/fastpoly" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/parallel" + "github.com/consensys/linea-monorepo/prover/maths/common/poly" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/fft" + "github.com/consensys/linea-monorepo/prover/maths/fft/fastpoly" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/parallel" ) // Add two vectors representing polynomials in coefficient form. diff --git a/prover/maths/common/smartvectors/polynomial_test.go b/prover/maths/common/smartvectors/polynomial_test.go index fec57f9ee..ff83b192d 100644 --- a/prover/maths/common/smartvectors/polynomial_test.go +++ b/prover/maths/common/smartvectors/polynomial_test.go @@ -6,11 +6,11 @@ import ( "fmt" "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/poly" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/fft" - "github.com/consensys/zkevm-monorepo/prover/maths/fft/fastpoly" - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/maths/common/poly" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/fft" + "github.com/consensys/linea-monorepo/prover/maths/fft/fastpoly" + "github.com/consensys/linea-monorepo/prover/maths/field" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/prover/maths/common/smartvectors/regular.go b/prover/maths/common/smartvectors/regular.go index 08e06b72b..79d3bb773 100644 --- a/prover/maths/common/smartvectors/regular.go +++ b/prover/maths/common/smartvectors/regular.go @@ -3,10 +3,10 @@ package smartvectors import ( "fmt" - "github.com/consensys/zkevm-monorepo/prover/maths/common/mempool" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/common/mempool" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" ) // It's normal vector in a nutshell diff --git a/prover/maths/common/smartvectors/rotated.go b/prover/maths/common/smartvectors/rotated.go index dbf0a5605..ffe344477 100644 --- a/prover/maths/common/smartvectors/rotated.go +++ b/prover/maths/common/smartvectors/rotated.go @@ -3,15 +3,15 @@ package smartvectors import ( "fmt" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" ) // Rotated represents a rotated version of a regular smartvector and also // implements the [SmartVector] interface. Rotated have a very niche use-case // in the repository as they are used to help saving FFT operations in the -// [github.com/consensys/zkevm-monorepo/prover/protocol/compiler/arithmetic.CompileGlobal] +// [github.com/consensys/linea-monorepo/prover/protocol/compiler/arithmetic.CompileGlobal] // compiler when the coset evaluation is done over a cyclic rotation of a // smart-vector. // diff --git a/prover/maths/common/smartvectors/rotated_test.go b/prover/maths/common/smartvectors/rotated_test.go index 2ec4962be..aa0769ac0 100644 --- a/prover/maths/common/smartvectors/rotated_test.go +++ b/prover/maths/common/smartvectors/rotated_test.go @@ -4,10 +4,10 @@ import ( "fmt" "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/stretchr/testify/require" ) diff --git a/prover/maths/common/smartvectors/smartvector_test.go b/prover/maths/common/smartvectors/smartvector_test.go index 62a8e4c6f..854b0a8c4 100644 --- a/prover/maths/common/smartvectors/smartvector_test.go +++ b/prover/maths/common/smartvectors/smartvector_test.go @@ -6,8 +6,8 @@ import ( "fmt" "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/stretchr/testify/require" ) diff --git a/prover/maths/common/smartvectors/smartvectors.go b/prover/maths/common/smartvectors/smartvectors.go index 733139d1e..5ce9b2478 100644 --- a/prover/maths/common/smartvectors/smartvectors.go +++ b/prover/maths/common/smartvectors/smartvectors.go @@ -5,9 +5,9 @@ import ( "math/rand" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" ) // SmartVector is an abstraction over vectors of field elements that can be diff --git a/prover/maths/common/smartvectors/vecutil.go b/prover/maths/common/smartvectors/vecutil.go index 9569d537b..36b308b05 100644 --- a/prover/maths/common/smartvectors/vecutil.go +++ b/prover/maths/common/smartvectors/vecutil.go @@ -1,7 +1,7 @@ package smartvectors import ( - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/sirupsen/logrus" ) diff --git a/prover/maths/common/smartvectors/windowed.go b/prover/maths/common/smartvectors/windowed.go index 05550a034..a1981263a 100644 --- a/prover/maths/common/smartvectors/windowed.go +++ b/prover/maths/common/smartvectors/windowed.go @@ -3,9 +3,9 @@ package smartvectors import ( "fmt" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" ) // It's a slice - zero padded up to a certain length - and rotated diff --git a/prover/maths/common/smartvectors/windowed_test.go b/prover/maths/common/smartvectors/windowed_test.go index 3b9dfca84..b14e1047b 100644 --- a/prover/maths/common/smartvectors/windowed_test.go +++ b/prover/maths/common/smartvectors/windowed_test.go @@ -3,8 +3,8 @@ package smartvectors import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" "github.com/stretchr/testify/require" ) diff --git a/prover/maths/common/vector/vector.go b/prover/maths/common/vector/vector.go index 96a3ab7bd..b4c37e129 100644 --- a/prover/maths/common/vector/vector.go +++ b/prover/maths/common/vector/vector.go @@ -8,8 +8,8 @@ import ( "github.com/consensys/gnark-crypto/ecc/bls12-377/fr" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" ) // DeepCopy deep-copies the input vector diff --git a/prover/maths/common/vector/vector_test.go b/prover/maths/common/vector/vector_test.go index a5d10fcd2..bcb2b54de 100644 --- a/prover/maths/common/vector/vector_test.go +++ b/prover/maths/common/vector/vector_test.go @@ -3,8 +3,8 @@ package vector_test import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/prover/maths/fft/cosets.go b/prover/maths/fft/cosets.go index 8abdad97f..4081e993e 100644 --- a/prover/maths/fft/cosets.go +++ b/prover/maths/fft/cosets.go @@ -6,9 +6,9 @@ import ( "runtime" "sync" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" ) /* diff --git a/prover/maths/fft/cosets_test.go b/prover/maths/fft/cosets_test.go index 11ae23c05..63b46da73 100644 --- a/prover/maths/fft/cosets_test.go +++ b/prover/maths/fft/cosets_test.go @@ -3,7 +3,7 @@ package fft_test import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/fft" + "github.com/consensys/linea-monorepo/prover/maths/fft" ) // Aimed at being run only during go-race diff --git a/prover/maths/fft/domain.go b/prover/maths/fft/domain.go index 2aa20acc1..b43deeb0f 100644 --- a/prover/maths/fft/domain.go +++ b/prover/maths/fft/domain.go @@ -17,7 +17,7 @@ package fft import ( - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/maths/field" ) // Domain with a power of 2 cardinality diff --git a/prover/maths/fft/fastpoly/fastpoly.go b/prover/maths/fft/fastpoly/fastpoly.go index 5ed12114e..18c9702fa 100644 --- a/prover/maths/fft/fastpoly/fastpoly.go +++ b/prover/maths/fft/fastpoly/fastpoly.go @@ -3,9 +3,9 @@ package fastpoly import ( "fmt" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/fft" - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/fft" + "github.com/consensys/linea-monorepo/prover/maths/field" ) // Multiply twi polynomial modulo X^n - 1 diff --git a/prover/maths/fft/fastpoly/fastpoly_test.go b/prover/maths/fft/fastpoly/fastpoly_test.go index b9994e869..fdbfadfc7 100644 --- a/prover/maths/fft/fastpoly/fastpoly_test.go +++ b/prover/maths/fft/fastpoly/fastpoly_test.go @@ -3,10 +3,10 @@ package fastpoly_test import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/fft" - "github.com/consensys/zkevm-monorepo/prover/maths/fft/fastpoly" - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/fft" + "github.com/consensys/linea-monorepo/prover/maths/fft/fastpoly" + "github.com/consensys/linea-monorepo/prover/maths/field" "github.com/stretchr/testify/require" ) diff --git a/prover/maths/fft/fastpoly/gnark_interpolation.go b/prover/maths/fft/fastpoly/gnark_interpolation.go index 96c5846e4..74a3f7524 100644 --- a/prover/maths/fft/fastpoly/gnark_interpolation.go +++ b/prover/maths/fft/fastpoly/gnark_interpolation.go @@ -2,10 +2,10 @@ package fastpoly import ( "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/fft" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/gnarkutil" + "github.com/consensys/linea-monorepo/prover/maths/fft" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/gnarkutil" ) // Evaluate a polynomial in lagrange basis on a gnark circuit diff --git a/prover/maths/fft/fastpoly/gnark_poly_test.go b/prover/maths/fft/fastpoly/gnark_poly_test.go index 452490736..61292fdc9 100644 --- a/prover/maths/fft/fastpoly/gnark_poly_test.go +++ b/prover/maths/fft/fastpoly/gnark_poly_test.go @@ -5,9 +5,9 @@ import ( "testing" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils/gnarkutil" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils/gnarkutil" ) func TestGnarkInterpolate(t *testing.T) { diff --git a/prover/maths/fft/fastpoly/interpolation.go b/prover/maths/fft/fastpoly/interpolation.go index 8c082a6a6..3359d562e 100644 --- a/prover/maths/fft/fastpoly/interpolation.go +++ b/prover/maths/fft/fastpoly/interpolation.go @@ -4,11 +4,11 @@ import ( "math/big" "github.com/consensys/gnark-crypto/ecc/bls12-377/fr" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/fft" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/parallel" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/fft" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/parallel" ) /* diff --git a/prover/maths/fft/fastpoly/interpolation_test.go b/prover/maths/fft/fastpoly/interpolation_test.go index e90cf3c92..604fca7a0 100644 --- a/prover/maths/fft/fastpoly/interpolation_test.go +++ b/prover/maths/fft/fastpoly/interpolation_test.go @@ -3,10 +3,10 @@ package fastpoly import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/poly" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/fft" - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/maths/common/poly" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/fft" + "github.com/consensys/linea-monorepo/prover/maths/field" "github.com/stretchr/testify/require" ) diff --git a/prover/maths/fft/fastpoly/reeval_on_coset.go b/prover/maths/fft/fastpoly/reeval_on_coset.go index a116a8c88..6c0a6d6e6 100644 --- a/prover/maths/fft/fastpoly/reeval_on_coset.go +++ b/prover/maths/fft/fastpoly/reeval_on_coset.go @@ -4,10 +4,10 @@ import ( "math/big" "github.com/consensys/gnark-crypto/ecc/bls12-377/fr" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/fft" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/fft" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" ) /* diff --git a/prover/maths/fft/fastpoly/reeval_on_coset_test.go b/prover/maths/fft/fastpoly/reeval_on_coset_test.go index 250a2c9ab..740b33840 100644 --- a/prover/maths/fft/fastpoly/reeval_on_coset_test.go +++ b/prover/maths/fft/fastpoly/reeval_on_coset_test.go @@ -5,10 +5,10 @@ import ( "math/big" "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/fft" - "github.com/consensys/zkevm-monorepo/prover/maths/fft/fastpoly" - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/fft" + "github.com/consensys/linea-monorepo/prover/maths/fft/fastpoly" + "github.com/consensys/linea-monorepo/prover/maths/field" "github.com/stretchr/testify/require" ) diff --git a/prover/maths/fft/fft.go b/prover/maths/fft/fft.go index 21550273b..fcfe3be4b 100644 --- a/prover/maths/fft/fft.go +++ b/prover/maths/fft/fft.go @@ -3,7 +3,7 @@ package fft import ( "math/bits" - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/maths/field" ) // Decimation is used in the FFT call to select decimation in time or in frequency diff --git a/prover/maths/fft/fft_test.go b/prover/maths/fft/fft_test.go index 216fcd461..6309b3c33 100644 --- a/prover/maths/fft/fft_test.go +++ b/prover/maths/fft/fft_test.go @@ -21,8 +21,8 @@ import ( "strconv" "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/poly" - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/maths/common/poly" + "github.com/consensys/linea-monorepo/prover/maths/field" "github.com/stretchr/testify/require" "github.com/leanovate/gopter" diff --git a/prover/maths/fft/generators.go b/prover/maths/fft/generators.go index 177cc420e..e35c5e981 100644 --- a/prover/maths/fft/generators.go +++ b/prover/maths/fft/generators.go @@ -1,8 +1,8 @@ package fft import ( - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" ) // Generators of the successive subgroup or roots of unity diff --git a/prover/maths/fft/new_domain.go b/prover/maths/fft/new_domain.go index 67d32129e..0f93c3610 100644 --- a/prover/maths/fft/new_domain.go +++ b/prover/maths/fft/new_domain.go @@ -3,8 +3,8 @@ package fft import ( "math/big" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" ) /* diff --git a/prover/maths/fft/twiddles.go b/prover/maths/fft/twiddles.go index 2f9cf7118..1c93c3b8c 100644 --- a/prover/maths/fft/twiddles.go +++ b/prover/maths/fft/twiddles.go @@ -4,8 +4,8 @@ import ( "runtime" "sync" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" ) // lock to save on precomputations diff --git a/prover/maths/field/bls12_377.go b/prover/maths/field/bls12_377.go index 23ef3274a..1401b17f9 100644 --- a/prover/maths/field/bls12_377.go +++ b/prover/maths/field/bls12_377.go @@ -5,7 +5,7 @@ import ( "math/rand" "github.com/consensys/gnark-crypto/ecc/bls12-377/fr" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils" ) // Element aliases [fr.Element] and represents a field element in the scalar diff --git a/prover/maths/field/gen.go b/prover/maths/field/gen.go index ddd204aff..63a30ac4a 100644 --- a/prover/maths/field/gen.go +++ b/prover/maths/field/gen.go @@ -3,7 +3,7 @@ package field import ( "runtime" - "github.com/consensys/zkevm-monorepo/prover/utils/parallel" + "github.com/consensys/linea-monorepo/prover/utils/parallel" ) // ParBatchInvert is as a parallel implementation of [BatchInvert]. The caller diff --git a/prover/protocol/accessors/accessor_test.go b/prover/protocol/accessors/accessor_test.go index be0cf6d90..8fa14cfbd 100644 --- a/prover/protocol/accessors/accessor_test.go +++ b/prover/protocol/accessors/accessor_test.go @@ -3,11 +3,11 @@ package accessors_test import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/accessors" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/accessors" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" "github.com/stretchr/testify/require" ) diff --git a/prover/protocol/accessors/from_coin.go b/prover/protocol/accessors/from_coin.go index a9de994e5..c7557b317 100644 --- a/prover/protocol/accessors/from_coin.go +++ b/prover/protocol/accessors/from_coin.go @@ -4,19 +4,19 @@ import ( "fmt" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" ) var _ ifaces.Accessor = &FromCoinAccessor{} // FromCoinAccessor implements [ifaces.Accessor] and represents the value of a // [coin.Info] of type [coin.Field]. It is sometime used to supply a coin to -// a function requiring an accessor explcitly. For [github.com/consensys/zkevm-monorepo/prover/symbolic.Expression] -// this should not be necessary as [coin.Info] already implements [github.com/consensys/zkevm-monorepo/prover/symbolic.Metadata]. +// a function requiring an accessor explcitly. For [github.com/consensys/linea-monorepo/prover/symbolic.Expression] +// this should not be necessary as [coin.Info] already implements [github.com/consensys/linea-monorepo/prover/symbolic.Metadata]. type FromCoinAccessor struct { // Info represents the underlying [coin.Info] being wrapped by the accessor. Info coin.Info @@ -39,7 +39,7 @@ func (c *FromCoinAccessor) Name() string { return fmt.Sprintf("COIN_AS_ACCESSOR_%v", c.Info.Name) } -// String implements [github.com/consensys/zkevm-monorepo/prover/symbolic.Metadata] +// String implements [github.com/consensys/linea-monorepo/prover/symbolic.Metadata] func (c *FromCoinAccessor) String() string { return c.Name() } diff --git a/prover/protocol/accessors/from_constant.go b/prover/protocol/accessors/from_constant.go index ef4d53028..2c2281890 100644 --- a/prover/protocol/accessors/from_constant.go +++ b/prover/protocol/accessors/from_constant.go @@ -4,9 +4,9 @@ import ( "fmt" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/symbolic" ) var _ ifaces.Accessor = &FromConstAccessor{} @@ -29,7 +29,7 @@ func (c *FromConstAccessor) Name() string { return fmt.Sprintf("CONST_ACCESSOR_%v", c.F.String()) } -// String implements [github.com/consensys/zkevm-monorepo/prover/symbolic.Metadata] +// String implements [github.com/consensys/linea-monorepo/prover/symbolic.Metadata] func (c *FromConstAccessor) String() string { return c.Name() } diff --git a/prover/protocol/accessors/from_expression.go b/prover/protocol/accessors/from_expression.go index 841e29d1e..0d7b7aabf 100644 --- a/prover/protocol/accessors/from_expression.go +++ b/prover/protocol/accessors/from_expression.go @@ -4,13 +4,13 @@ import ( "fmt" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/variables" - "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/variables" + "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" ) var _ ifaces.Accessor = &FromExprAccessor{} @@ -85,7 +85,7 @@ func (e *FromExprAccessor) Name() string { return fmt.Sprintf("EXPR_AS_ACCESSOR_%v", e.ExprName) } -// String implements [github.com/consensys/zkevm-monorepo/prover/symbolic.Metadata] +// String implements [github.com/consensys/linea-monorepo/prover/symbolic.Metadata] func (e *FromExprAccessor) String() string { return e.Name() } diff --git a/prover/protocol/accessors/from_integer_vec_coin.go b/prover/protocol/accessors/from_integer_vec_coin.go index 0852ebdd5..66adedf0a 100644 --- a/prover/protocol/accessors/from_integer_vec_coin.go +++ b/prover/protocol/accessors/from_integer_vec_coin.go @@ -4,11 +4,11 @@ import ( "fmt" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" ) // FromIntVecCoinPositionAccessor refers to a position of a random coin of type @@ -41,7 +41,7 @@ func (c *FromIntVecCoinPositionAccessor) Name() string { return fmt.Sprintf("INT_VEC_COIN_ACCESSOR_%v_%v", c.Info.Name, c.Pos) } -// String implements [github.com/consensys/zkevm-monorepo/prover/symbolic.Metadata] +// String implements [github.com/consensys/linea-monorepo/prover/symbolic.Metadata] func (c *FromIntVecCoinPositionAccessor) String() string { return c.Name() } diff --git a/prover/protocol/accessors/from_local_opening.go b/prover/protocol/accessors/from_local_opening.go index 3ae5266e6..8aa974b5b 100644 --- a/prover/protocol/accessors/from_local_opening.go +++ b/prover/protocol/accessors/from_local_opening.go @@ -4,10 +4,10 @@ import ( "fmt" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/query" - "github.com/consensys/zkevm-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/query" + "github.com/consensys/linea-monorepo/prover/symbolic" ) // FromLocalOpeningYAccessor implements [ifaces.Accessor] and accesses the result of @@ -31,7 +31,7 @@ func (l *FromLocalOpeningYAccessor) Name() string { return fmt.Sprintf("LOCAL_OPENING_ACCESSOR_%v", l.Q.ID) } -// String implements [github.com/consensys/zkevm-monorepo/prover/symbolic.Metadata] +// String implements [github.com/consensys/linea-monorepo/prover/symbolic.Metadata] func (l *FromLocalOpeningYAccessor) String() string { return l.Name() } diff --git a/prover/protocol/accessors/from_public_position.go b/prover/protocol/accessors/from_public_position.go index f5df77cb7..29070cecc 100644 --- a/prover/protocol/accessors/from_public_position.go +++ b/prover/protocol/accessors/from_public_position.go @@ -4,11 +4,11 @@ import ( "fmt" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" ) // FromPublicColumn refers to a position of a public column @@ -51,7 +51,7 @@ func (c *FromPublicColumn) Name() string { return fmt.Sprintf("FROM_COLUMN_POSITION_ACCESSOR_%v_%v", c.Col.ID, c.Pos) } -// String implements [github.com/consensys/zkevm-monorepo/prover/symbolic.Metadata] +// String implements [github.com/consensys/linea-monorepo/prover/symbolic.Metadata] func (c *FromPublicColumn) String() string { return c.Name() } diff --git a/prover/protocol/accessors/from_univ_x.go b/prover/protocol/accessors/from_univ_x.go index 4a49d4a7b..c4fff8e2b 100644 --- a/prover/protocol/accessors/from_univ_x.go +++ b/prover/protocol/accessors/from_univ_x.go @@ -4,10 +4,10 @@ import ( "fmt" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/query" - "github.com/consensys/zkevm-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/query" + "github.com/consensys/linea-monorepo/prover/symbolic" ) var _ ifaces.Accessor = &FromUnivXAccessor{} @@ -36,7 +36,7 @@ func (u *FromUnivXAccessor) Name() string { return fmt.Sprintf("UNIV_X_ACCESSOR_%v", u.Q.QueryID) } -// String implements [github.com/consensys/zkevm-monorepo/prover/symbolic.Metadata] +// String implements [github.com/consensys/linea-monorepo/prover/symbolic.Metadata] func (u *FromUnivXAccessor) String() string { return u.Name() } diff --git a/prover/protocol/coin/coin.go b/prover/protocol/coin/coin.go index 26189c993..b927d8260 100644 --- a/prover/protocol/coin/coin.go +++ b/prover/protocol/coin/coin.go @@ -4,8 +4,8 @@ import ( "fmt" "strconv" - "github.com/consensys/zkevm-monorepo/prover/crypto/fiatshamir" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/crypto/fiatshamir" + "github.com/consensys/linea-monorepo/prover/utils" ) // Wrapper type for naming the coins diff --git a/prover/protocol/coin/variable.go b/prover/protocol/coin/variable.go index 6a352f0a4..6cb2a90cf 100644 --- a/prover/protocol/coin/variable.go +++ b/prover/protocol/coin/variable.go @@ -3,8 +3,8 @@ package coin import ( "fmt" - "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" ) /* diff --git a/prover/protocol/column/column.go b/prover/protocol/column/column.go index 08f43dd59..3df39cfee 100644 --- a/prover/protocol/column/column.go +++ b/prover/protocol/column/column.go @@ -3,8 +3,8 @@ package column import ( "reflect" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/utils" ) const ( diff --git a/prover/protocol/column/column_test.go b/prover/protocol/column/column_test.go index 91c49d67d..134568640 100644 --- a/prover/protocol/column/column_test.go +++ b/prover/protocol/column/column_test.go @@ -3,11 +3,11 @@ package column_test import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/utils/collection" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/utils/collection" "github.com/stretchr/testify/require" ) diff --git a/prover/protocol/column/gnark_derive.go b/prover/protocol/column/gnark_derive.go index 09dcb20f0..21d2a1dc4 100644 --- a/prover/protocol/column/gnark_derive.go +++ b/prover/protocol/column/gnark_derive.go @@ -4,11 +4,11 @@ import ( "reflect" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/fft" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/collection" - "github.com/consensys/zkevm-monorepo/prover/utils/gnarkutil" + "github.com/consensys/linea-monorepo/prover/maths/fft" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/collection" + "github.com/consensys/linea-monorepo/prover/utils/gnarkutil" ) // GnarkDeriveEvaluationPoint mirrors [DeriveEvaluationPoint] but in a gnark diff --git a/prover/protocol/column/natural.go b/prover/protocol/column/natural.go index 7f3cd3e87..ab493176d 100644 --- a/prover/protocol/column/natural.go +++ b/prover/protocol/column/natural.go @@ -2,15 +2,15 @@ package column import ( "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/utils" ) // Natural represents a [ifaces.Column] that has been directly declared in the -// corresponding [github.com/consensys/zkevm-monorepo/prover/protocol/wizard.CompiledIOP] or [github.com/consensys/zkevm-monorepo/prover/protocol/wizard.Builder] +// corresponding [github.com/consensys/linea-monorepo/prover/protocol/wizard.CompiledIOP] or [github.com/consensys/linea-monorepo/prover/protocol/wizard.Builder] // object. The struct should not be constructed directly and should be -// constructed from the [github.com/consensys/zkevm-monorepo/prover/protocol/wizard.CompiledIOP] +// constructed from the [github.com/consensys/linea-monorepo/prover/protocol/wizard.CompiledIOP] type Natural struct { // The ID of the column ID ifaces.ColID @@ -82,7 +82,7 @@ func (n Natural) GetColAssignmentGnarkAt(run ifaces.GnarkRuntime, pos int) front } // String returns the ID of the column as a string and implements [ifaces.Column] -// and [github.com/consensys/zkevm-monorepo/prover/symbolic.Metadata] +// and [github.com/consensys/linea-monorepo/prover/symbolic.Metadata] func (n Natural) String() string { return string(n.GetColID()) } diff --git a/prover/protocol/column/repr.go b/prover/protocol/column/repr.go index 165e0ab0f..92f8a69f4 100644 --- a/prover/protocol/column/repr.go +++ b/prover/protocol/column/repr.go @@ -6,11 +6,11 @@ import ( "reflect" "strings" - "github.com/consensys/zkevm-monorepo/prover/maths/fft" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/collection" + "github.com/consensys/linea-monorepo/prover/maths/fft" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/collection" ) // DeriveEvaluationPoint, given a query at point "x" on the current handle, diff --git a/prover/protocol/column/shifted.go b/prover/protocol/column/shifted.go index a2e4c2831..337f6f66c 100644 --- a/prover/protocol/column/shifted.go +++ b/prover/protocol/column/shifted.go @@ -2,14 +2,14 @@ package column import ( "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/sirupsen/logrus" ) // Shifted represents a column that is obtains by (cyclic)-shifting the parent -// column by an Offset. This is useful to implement [github.com/consensys/zkevm-monorepo/prover/protocol/query.GlobalConstraint] constraints +// column by an Offset. This is useful to implement [github.com/consensys/linea-monorepo/prover/protocol/query.GlobalConstraint] constraints // to express the "next" value of a column or the previous value of a column. // For instance, say we want enforce that a column is assigned to a Fibonacci // sequence: a[i+2] - a[i+1] - a[i] == 0. This can be done using the following @@ -136,7 +136,7 @@ func (s Shifted) GetColAssignmentGnarkAt(run ifaces.GnarkRuntime, pos int) front } // String returns the ID of the column as a string and implements [ifaces.Column] -// and [github.com/consensys/zkevm-monorepo/prover/symbolic.Metadata]. It returns the same as [GetColID] but as a string +// and [github.com/consensys/linea-monorepo/prover/symbolic.Metadata]. It returns the same as [GetColID] but as a string // (required by Metadata). func (s Shifted) String() string { return string(s.GetColID()) diff --git a/prover/protocol/column/status.go b/prover/protocol/column/status.go index 5aa938dcf..2e0838c9e 100644 --- a/prover/protocol/column/status.go +++ b/prover/protocol/column/status.go @@ -5,7 +5,7 @@ import ( "strconv" ) -// Status is a tag that we associate to a [github.com/consensys/zkevm-monorepo/prover/protocol/ifaces.Column]. The status carries +// Status is a tag that we associate to a [github.com/consensys/linea-monorepo/prover/protocol/ifaces.Column]. The status carries // information about the role of the column in protocol: if it is visible by // the verifier, whether the column is assigned at compilation-time or at // runtime, etc... @@ -30,12 +30,12 @@ const ( // and not on the original column anymore. The column is still visible to // the prover and should still be assigned. Ignored Status = iota + 1 - // Committed marks that a [github.com/consensys/zkevm-monorepo/prover/protocol/ifaces.Column] is to be sent to the oracle, + // Committed marks that a [github.com/consensys/linea-monorepo/prover/protocol/ifaces.Column] is to be sent to the oracle, // implicitly this is a request for the following steps of the compiler // to ensure that the column will be committed to and constitutes a part // of the witness of the protocol. Committed - // Proof indicates that the [github.com/consensys/zkevm-monorepo/prover/protocol/ifaces.Column] should be sent to the verifier. + // Proof indicates that the [github.com/consensys/linea-monorepo/prover/protocol/ifaces.Column] should be sent to the verifier. // The fact that a step of the compiler marks a column as Proof is not a // definitive guarantee that the column will effectively be sent to the // verifier. The best example is self-recursion which converts the Proof @@ -43,7 +43,7 @@ const ( // to the prover is what is tagged as a proof at the end of the full // compilation process. Proof - // Precomputed indicates that the [github.com/consensys/zkevm-monorepo/prover/protocol/ifaces.Column] is defined offline during + // Precomputed indicates that the [github.com/consensys/linea-monorepo/prover/protocol/ifaces.Column] is defined offline during // the definition or the compilation phase but should not be visible to the // verifier and this is an indication that the column should be committed // to. An example of such columns are the q_L, q_R, q_M, q_O, q_PI columns diff --git a/prover/protocol/column/store.go b/prover/protocol/column/store.go index 8d135166b..cef1772e0 100644 --- a/prover/protocol/column/store.go +++ b/prover/protocol/column/store.go @@ -1,14 +1,14 @@ package column import ( - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/collection" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/collection" ) // Store registers [Natural] for structs that can return the infos given a name -// and it is used by the [github.com/consensys/zkevm-monorepo/prover/protocol/wizard.ProverRuntime] and the -// [github.com/consensys/zkevm-monorepo/prover/protocol/wizard.VerifierRuntime] to store the columns. The store keeps +// and it is used by the [github.com/consensys/linea-monorepo/prover/protocol/wizard.ProverRuntime] and the +// [github.com/consensys/linea-monorepo/prover/protocol/wizard.VerifierRuntime] to store the columns. The store keeps // tracks of the definition rounds of the columns and offers a handful of // methods to resolve all the columns that have a particular status. type Store struct { diff --git a/prover/protocol/column/store_test.go b/prover/protocol/column/store_test.go index 371b90e70..13abfc0d8 100644 --- a/prover/protocol/column/store_test.go +++ b/prover/protocol/column/store_test.go @@ -3,7 +3,7 @@ package column_test import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/column" "github.com/stretchr/testify/assert" ) diff --git a/prover/protocol/column/verifiercol/concat_tiny_cols_test.go b/prover/protocol/column/verifiercol/concat_tiny_cols_test.go index c75a5b2d1..66bdd95f5 100644 --- a/prover/protocol/column/verifiercol/concat_tiny_cols_test.go +++ b/prover/protocol/column/verifiercol/concat_tiny_cols_test.go @@ -4,14 +4,14 @@ import ( "fmt" "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/column/verifiercol" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/column/verifiercol" + "github.com/consensys/linea-monorepo/prover/protocol/compiler" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" "github.com/sirupsen/logrus" ) diff --git a/prover/protocol/column/verifiercol/from_accessors.go b/prover/protocol/column/verifiercol/from_accessors.go index 5a395b341..2eea330c7 100644 --- a/prover/protocol/column/verifiercol/from_accessors.go +++ b/prover/protocol/column/verifiercol/from_accessors.go @@ -4,11 +4,11 @@ import ( "strings" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" ) // compile check to enforce the struct to belong to the corresponding interface diff --git a/prover/protocol/column/verifiercol/from_alleged_ys.go b/prover/protocol/column/verifiercol/from_alleged_ys.go index c8eb78ab6..6d332fffb 100644 --- a/prover/protocol/column/verifiercol/from_alleged_ys.go +++ b/prover/protocol/column/verifiercol/from_alleged_ys.go @@ -4,11 +4,11 @@ import ( "strings" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/query" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/query" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" "github.com/sirupsen/logrus" ) diff --git a/prover/protocol/column/verifiercol/from_ints_vec_coin.go b/prover/protocol/column/verifiercol/from_ints_vec_coin.go index de007b80c..4a9e116db 100644 --- a/prover/protocol/column/verifiercol/from_ints_vec_coin.go +++ b/prover/protocol/column/verifiercol/from_ints_vec_coin.go @@ -1,12 +1,12 @@ package verifiercol import ( - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/accessors" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/accessors" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" ) // Represents a columns instantiated by the values of a random indices list. diff --git a/prover/protocol/column/verifiercol/from_ints_vec_coin_test.go b/prover/protocol/column/verifiercol/from_ints_vec_coin_test.go index 5b98e9ef3..c59b065ab 100644 --- a/prover/protocol/column/verifiercol/from_ints_vec_coin_test.go +++ b/prover/protocol/column/verifiercol/from_ints_vec_coin_test.go @@ -4,16 +4,16 @@ import ( "fmt" "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/column/verifiercol" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/vortex" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/column/verifiercol" + "github.com/consensys/linea-monorepo/prover/protocol/compiler" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/vortex" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" "github.com/sirupsen/logrus" ) diff --git a/prover/protocol/column/verifiercol/full_constant.go b/prover/protocol/column/verifiercol/full_constant.go index d15bff964..1426fd7cd 100644 --- a/prover/protocol/column/verifiercol/full_constant.go +++ b/prover/protocol/column/verifiercol/full_constant.go @@ -2,11 +2,11 @@ package verifiercol import ( "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" ) // Represents a constant column diff --git a/prover/protocol/column/verifiercol/verifiercol.go b/prover/protocol/column/verifiercol/verifiercol.go index fd454a842..81f7944f0 100644 --- a/prover/protocol/column/verifiercol/verifiercol.go +++ b/prover/protocol/column/verifiercol/verifiercol.go @@ -1,12 +1,12 @@ package verifiercol import ( - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/accessors" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/accessors" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" ) type VerifierCol interface { diff --git a/prover/protocol/compiler/arcane.go b/prover/protocol/compiler/arcane.go index c83c19b8f..b1fbaa82c 100644 --- a/prover/protocol/compiler/arcane.go +++ b/prover/protocol/compiler/arcane.go @@ -1,18 +1,18 @@ package compiler import ( - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/cleanup" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/globalcs" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/innerproduct" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/localcs" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/logdata" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/lookup" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/permutation" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/specialqueries" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/splitter" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/splitter/sticker" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/univariates" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/cleanup" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/globalcs" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/innerproduct" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/localcs" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/logdata" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/lookup" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/permutation" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/specialqueries" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/splitter" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/splitter/sticker" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/univariates" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" ) // Arcane is a grouping of all compilers. It compiles diff --git a/prover/protocol/compiler/cleanup/cleanup.go b/prover/protocol/compiler/cleanup/cleanup.go index 4a07b08f2..e5fa9b47e 100644 --- a/prover/protocol/compiler/cleanup/cleanup.go +++ b/prover/protocol/compiler/cleanup/cleanup.go @@ -1,7 +1,7 @@ package cleanup import ( - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" ) // Simple compilation steps which frees ignored items diff --git a/prover/protocol/compiler/dummy/dummy.go b/prover/protocol/compiler/dummy/dummy.go index a840f084f..c0b3415e1 100644 --- a/prover/protocol/compiler/dummy/dummy.go +++ b/prover/protocol/compiler/dummy/dummy.go @@ -5,10 +5,10 @@ import ( "sync" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/parallel" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/parallel" "github.com/sirupsen/logrus" ) diff --git a/prover/protocol/compiler/dummy/dummy_prover_level.go b/prover/protocol/compiler/dummy/dummy_prover_level.go index 6c0ccc077..9054b203d 100644 --- a/prover/protocol/compiler/dummy/dummy_prover_level.go +++ b/prover/protocol/compiler/dummy/dummy_prover_level.go @@ -4,10 +4,10 @@ import ( "fmt" "sync" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/parallel" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/parallel" "github.com/sirupsen/logrus" ) diff --git a/prover/protocol/compiler/dummy/lazy_commit.go b/prover/protocol/compiler/dummy/lazy_commit.go index 33ceb3e0a..a54a23511 100644 --- a/prover/protocol/compiler/dummy/lazy_commit.go +++ b/prover/protocol/compiler/dummy/lazy_commit.go @@ -3,9 +3,9 @@ package dummy import ( "fmt" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" ) const ( diff --git a/prover/protocol/compiler/dummy/lazy_commitment_test.go b/prover/protocol/compiler/dummy/lazy_commitment_test.go index 0eee36dea..65c7319b3 100644 --- a/prover/protocol/compiler/dummy/lazy_commitment_test.go +++ b/prover/protocol/compiler/dummy/lazy_commitment_test.go @@ -3,9 +3,9 @@ package dummy_test import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" "github.com/stretchr/testify/require" ) diff --git a/prover/protocol/compiler/globalcs/compile.go b/prover/protocol/compiler/globalcs/compile.go index 40be9719c..11dc45494 100644 --- a/prover/protocol/compiler/globalcs/compile.go +++ b/prover/protocol/compiler/globalcs/compile.go @@ -3,7 +3,7 @@ package globalcs import ( "fmt" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" "github.com/sirupsen/logrus" ) diff --git a/prover/protocol/compiler/globalcs/evaluation.go b/prover/protocol/compiler/globalcs/evaluation.go index f3be437c4..4a9a03eeb 100644 --- a/prover/protocol/compiler/globalcs/evaluation.go +++ b/prover/protocol/compiler/globalcs/evaluation.go @@ -7,18 +7,18 @@ import ( "sync" "github.com/consensys/gnark/frontend" - sv "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/fft" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/query" - "github.com/consensys/zkevm-monorepo/prover/protocol/variables" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/gnarkutil" - "github.com/consensys/zkevm-monorepo/prover/utils/parallel" - "github.com/consensys/zkevm-monorepo/prover/utils/profiling" + sv "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/fft" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/query" + "github.com/consensys/linea-monorepo/prover/protocol/variables" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/gnarkutil" + "github.com/consensys/linea-monorepo/prover/utils/parallel" + "github.com/consensys/linea-monorepo/prover/utils/profiling" "github.com/sirupsen/logrus" ) diff --git a/prover/protocol/compiler/globalcs/factoring.go b/prover/protocol/compiler/globalcs/factoring.go index cf9a29eb0..a4860a982 100644 --- a/prover/protocol/compiler/globalcs/factoring.go +++ b/prover/protocol/compiler/globalcs/factoring.go @@ -5,12 +5,12 @@ import ( "io" "reflect" - "github.com/consensys/zkevm-monorepo/prover/protocol/accessors" - "github.com/consensys/zkevm-monorepo/prover/protocol/serialization" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/symbolic/simplify" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/protocol/accessors" + "github.com/consensys/linea-monorepo/prover/protocol/serialization" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/symbolic/simplify" + "github.com/consensys/linea-monorepo/prover/utils" ) // factorExpressionList applies [factorExpression] over a list of expression diff --git a/prover/protocol/compiler/globalcs/global_test.go b/prover/protocol/compiler/globalcs/global_test.go index 0de78fc5b..51f2618b0 100644 --- a/prover/protocol/compiler/globalcs/global_test.go +++ b/prover/protocol/compiler/globalcs/global_test.go @@ -3,16 +3,16 @@ package globalcs_test import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/accessors" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/globalcs" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/variables" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/accessors" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/globalcs" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/variables" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/symbolic" "github.com/stretchr/testify/require" ) diff --git a/prover/protocol/compiler/globalcs/merging.go b/prover/protocol/compiler/globalcs/merging.go index a59b30ddb..f7b04c453 100644 --- a/prover/protocol/compiler/globalcs/merging.go +++ b/prover/protocol/compiler/globalcs/merging.go @@ -4,16 +4,16 @@ import ( "math/big" "reflect" - "github.com/consensys/zkevm-monorepo/prover/maths/fft" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/query" - "github.com/consensys/zkevm-monorepo/prover/protocol/variables" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizardutils" - "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/fft" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/query" + "github.com/consensys/linea-monorepo/prover/protocol/variables" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/protocol/wizardutils" + "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" ) // mergingCtx collects all the compilation input, output and artefacts pertaining diff --git a/prover/protocol/compiler/globalcs/quotient.go b/prover/protocol/compiler/globalcs/quotient.go index 6db787f33..c67058223 100644 --- a/prover/protocol/compiler/globalcs/quotient.go +++ b/prover/protocol/compiler/globalcs/quotient.go @@ -7,22 +7,22 @@ import ( "sync" "time" - "github.com/consensys/zkevm-monorepo/prover/maths/common/mempool" - sv "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/fft" - "github.com/consensys/zkevm-monorepo/prover/maths/fft/fastpoly" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/variables" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizardutils" - "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/collection" - "github.com/consensys/zkevm-monorepo/prover/utils/parallel" - "github.com/consensys/zkevm-monorepo/prover/utils/profiling" + "github.com/consensys/linea-monorepo/prover/maths/common/mempool" + sv "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/fft" + "github.com/consensys/linea-monorepo/prover/maths/fft/fastpoly" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/variables" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/protocol/wizardutils" + "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/collection" + "github.com/consensys/linea-monorepo/prover/utils/parallel" + "github.com/consensys/linea-monorepo/prover/utils/profiling" "github.com/sirupsen/logrus" ) diff --git a/prover/protocol/compiler/innerproduct/compiler.go b/prover/protocol/compiler/innerproduct/compiler.go index 2251e4f18..2e5291d52 100644 --- a/prover/protocol/compiler/innerproduct/compiler.go +++ b/prover/protocol/compiler/innerproduct/compiler.go @@ -1,9 +1,9 @@ package innerproduct import ( - "github.com/consensys/zkevm-monorepo/prover/protocol/query" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/protocol/query" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" ) // Compile applies the inner-product compilation pass over `comp` it marks all diff --git a/prover/protocol/compiler/innerproduct/context.go b/prover/protocol/compiler/innerproduct/context.go index 9007749a2..789b1d82f 100644 --- a/prover/protocol/compiler/innerproduct/context.go +++ b/prover/protocol/compiler/innerproduct/context.go @@ -1,12 +1,12 @@ package innerproduct import ( - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/query" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/query" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/symbolic" ) // contextForSize stores the compilation context of a pass of the inner-product diff --git a/prover/protocol/compiler/innerproduct/prover.go b/prover/protocol/compiler/innerproduct/prover.go index da0c4a284..6cc508b23 100644 --- a/prover/protocol/compiler/innerproduct/prover.go +++ b/prover/protocol/compiler/innerproduct/prover.go @@ -3,10 +3,10 @@ package innerproduct import ( "sync" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizardutils" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/protocol/wizardutils" ) // proverTask implements the [wizard.ProverAction] interface and as such diff --git a/prover/protocol/compiler/innerproduct/utils.go b/prover/protocol/compiler/innerproduct/utils.go index 01d0d8444..f481e2dd2 100644 --- a/prover/protocol/compiler/innerproduct/utils.go +++ b/prover/protocol/compiler/innerproduct/utils.go @@ -1,7 +1,7 @@ package innerproduct import ( - "github.com/consensys/zkevm-monorepo/prover/protocol/wizardutils" + "github.com/consensys/linea-monorepo/prover/protocol/wizardutils" ) const innerProdStr = "INNERPRODUCT" diff --git a/prover/protocol/compiler/innerproduct/verifier.go b/prover/protocol/compiler/innerproduct/verifier.go index d71e2e1f0..ec01a9016 100644 --- a/prover/protocol/compiler/innerproduct/verifier.go +++ b/prover/protocol/compiler/innerproduct/verifier.go @@ -4,11 +4,11 @@ import ( "fmt" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/common/poly" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/query" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/common/poly" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/query" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" ) // verifierForSize implements [wizard.VerifierAction] diff --git a/prover/protocol/compiler/localcs/compiler.go b/prover/protocol/compiler/localcs/compiler.go index a0c58b263..1a9b532ff 100644 --- a/prover/protocol/compiler/localcs/compiler.go +++ b/prover/protocol/compiler/localcs/compiler.go @@ -3,9 +3,9 @@ package localcs import ( "fmt" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/query" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/query" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" ) /* diff --git a/prover/protocol/compiler/localcs/local_constraint.go b/prover/protocol/compiler/localcs/local_constraint.go index f3d67213d..97f3e31dc 100644 --- a/prover/protocol/compiler/localcs/local_constraint.go +++ b/prover/protocol/compiler/localcs/local_constraint.go @@ -1,11 +1,11 @@ package localcs import ( - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/query" - "github.com/consensys/zkevm-monorepo/prover/protocol/variables" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/query" + "github.com/consensys/linea-monorepo/prover/protocol/variables" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/symbolic" ) /* diff --git a/prover/protocol/compiler/localcs/local_constraint_test.go b/prover/protocol/compiler/localcs/local_constraint_test.go index cf2f849c9..f09232677 100644 --- a/prover/protocol/compiler/localcs/local_constraint_test.go +++ b/prover/protocol/compiler/localcs/local_constraint_test.go @@ -3,12 +3,12 @@ package localcs_test import ( "testing" - sv "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/localcs" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + sv "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/localcs" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" "github.com/stretchr/testify/require" ) diff --git a/prover/protocol/compiler/logdata/csv.go b/prover/protocol/compiler/logdata/csv.go index 827b6fca0..a1d4ebbff 100644 --- a/prover/protocol/compiler/logdata/csv.go +++ b/prover/protocol/compiler/logdata/csv.go @@ -4,8 +4,8 @@ import ( "fmt" "io" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" ) // Dump the columns into a csv file diff --git a/prover/protocol/compiler/logdata/logger.go b/prover/protocol/compiler/logdata/logger.go index 6e0e96c5d..d3bda0c9b 100644 --- a/prover/protocol/compiler/logdata/logger.go +++ b/prover/protocol/compiler/logdata/logger.go @@ -1,8 +1,8 @@ package logdata import ( - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" "github.com/sirupsen/logrus" ) diff --git a/prover/protocol/compiler/lookup/compiler.go b/prover/protocol/compiler/lookup/compiler.go index 85ff64397..2bb571bc8 100644 --- a/prover/protocol/compiler/lookup/compiler.go +++ b/prover/protocol/compiler/lookup/compiler.go @@ -3,14 +3,14 @@ package lookup import ( "slices" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/column/verifiercol" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/query" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizardutils" - "github.com/consensys/zkevm-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/column/verifiercol" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/query" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/protocol/wizardutils" + "github.com/consensys/linea-monorepo/prover/symbolic" ) // table is an alias for a list of column. We use it in the scope of the lookup diff --git a/prover/protocol/compiler/lookup/compiler_test.go b/prover/protocol/compiler/lookup/compiler_test.go index 9a34436ef..638329308 100644 --- a/prover/protocol/compiler/lookup/compiler_test.go +++ b/prover/protocol/compiler/lookup/compiler_test.go @@ -3,10 +3,10 @@ package lookup import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/prover/protocol/compiler/lookup/conditional_test.go b/prover/protocol/compiler/lookup/conditional_test.go index 70f049748..d3b02a6dc 100644 --- a/prover/protocol/compiler/lookup/conditional_test.go +++ b/prover/protocol/compiler/lookup/conditional_test.go @@ -3,12 +3,12 @@ package lookup import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/column/verifiercol" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/column/verifiercol" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/prover/protocol/compiler/lookup/context.go b/prover/protocol/compiler/lookup/context.go index 7a41a5d61..4ec961da1 100644 --- a/prover/protocol/compiler/lookup/context.go +++ b/prover/protocol/compiler/lookup/context.go @@ -1,9 +1,9 @@ package lookup import ( - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/symbolic" ) // mainLookupCtx stores the compilation context of all the lookup queries diff --git a/prover/protocol/compiler/lookup/lookup_test.go b/prover/protocol/compiler/lookup/lookup_test.go index b1b1e82af..26f2d3932 100644 --- a/prover/protocol/compiler/lookup/lookup_test.go +++ b/prover/protocol/compiler/lookup/lookup_test.go @@ -5,11 +5,11 @@ import ( "math/rand" "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" "github.com/sirupsen/logrus" ) diff --git a/prover/protocol/compiler/lookup/prover.go b/prover/protocol/compiler/lookup/prover.go index 26887c750..6d7807c06 100644 --- a/prover/protocol/compiler/lookup/prover.go +++ b/prover/protocol/compiler/lookup/prover.go @@ -4,14 +4,14 @@ import ( "runtime/debug" "sync" - sv "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizardutils" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/parallel" + sv "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/protocol/wizardutils" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/parallel" ) // proverTaskAtRound implements the [wizard.ProverAction] interface. It gathers diff --git a/prover/protocol/compiler/lookup/utils.go b/prover/protocol/compiler/lookup/utils.go index 7060bf307..b569c04c1 100644 --- a/prover/protocol/compiler/lookup/utils.go +++ b/prover/protocol/compiler/lookup/utils.go @@ -5,8 +5,8 @@ import ( "sort" "strings" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/query" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/query" ) const ( diff --git a/prover/protocol/compiler/lookup/verifier.go b/prover/protocol/compiler/lookup/verifier.go index f944f12e9..ceb0d31f3 100644 --- a/prover/protocol/compiler/lookup/verifier.go +++ b/prover/protocol/compiler/lookup/verifier.go @@ -4,9 +4,9 @@ import ( "fmt" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/query" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/query" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" ) // finalEvaluationCheck implements the [wizard.VerifierAction] interface. It diff --git a/prover/protocol/compiler/lookup/z_packing.go b/prover/protocol/compiler/lookup/z_packing.go index 5de6e2008..1be03c51c 100644 --- a/prover/protocol/compiler/lookup/z_packing.go +++ b/prover/protocol/compiler/lookup/z_packing.go @@ -1,12 +1,12 @@ package lookup import ( - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/query" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/query" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" ) const ( diff --git a/prover/protocol/compiler/mimc/assignment.go b/prover/protocol/compiler/mimc/assignment.go index 87ae09bdd..fed307b93 100644 --- a/prover/protocol/compiler/mimc/assignment.go +++ b/prover/protocol/compiler/mimc/assignment.go @@ -1,11 +1,11 @@ package mimc import ( - "github.com/consensys/zkevm-monorepo/prover/crypto/mimc" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils/parallel" + "github.com/consensys/linea-monorepo/prover/crypto/mimc" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils/parallel" ) // assign assigns the columns to the prover runtime diff --git a/prover/protocol/compiler/mimc/manual.go b/prover/protocol/compiler/mimc/manual.go index 9ddaa55a1..a204392ab 100644 --- a/prover/protocol/compiler/mimc/manual.go +++ b/prover/protocol/compiler/mimc/manual.go @@ -4,12 +4,12 @@ import ( "fmt" "strings" - "github.com/consensys/zkevm-monorepo/prover/crypto/mimc" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizardutils" - "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/crypto/mimc" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/protocol/wizardutils" + "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" ) // Internally checks the correctness of hashing a MiMC blocks in parallel. diff --git a/prover/protocol/compiler/mimc/mimc.go b/prover/protocol/compiler/mimc/mimc.go index 679f50d60..0de111c4d 100644 --- a/prover/protocol/compiler/mimc/mimc.go +++ b/prover/protocol/compiler/mimc/mimc.go @@ -1,13 +1,13 @@ package mimc import ( - "github.com/consensys/zkevm-monorepo/prover/crypto/mimc" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/query" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/crypto/mimc" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/query" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/sirupsen/logrus" ) diff --git a/prover/protocol/compiler/mimc/mimc_test.go b/prover/protocol/compiler/mimc/mimc_test.go index 8c4e9c418..cc089cfcf 100644 --- a/prover/protocol/compiler/mimc/mimc_test.go +++ b/prover/protocol/compiler/mimc/mimc_test.go @@ -3,13 +3,13 @@ package mimc_test import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/crypto/mimc" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - mimcComp "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/mimc" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/crypto/mimc" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + mimcComp "github.com/consensys/linea-monorepo/prover/protocol/compiler/mimc" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" "github.com/stretchr/testify/require" ) diff --git a/prover/protocol/compiler/permutation/compiler.go b/prover/protocol/compiler/permutation/compiler.go index dd15d1b0a..e92322869 100644 --- a/prover/protocol/compiler/permutation/compiler.go +++ b/prover/protocol/compiler/permutation/compiler.go @@ -1,12 +1,12 @@ package permutation import ( - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/query" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizardutils" - "github.com/consensys/zkevm-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/query" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/protocol/wizardutils" + "github.com/consensys/linea-monorepo/prover/symbolic" ) // CompileGrandProduct scans `comp`, looking for [query.Permutation] queries and diff --git a/prover/protocol/compiler/permutation/compiler_test.go b/prover/protocol/compiler/permutation/compiler_test.go index b0f871d50..ec81b911e 100644 --- a/prover/protocol/compiler/permutation/compiler_test.go +++ b/prover/protocol/compiler/permutation/compiler_test.go @@ -3,10 +3,10 @@ package permutation import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" ) func TestPermutationPass(t *testing.T) { diff --git a/prover/protocol/compiler/permutation/prover.go b/prover/protocol/compiler/permutation/prover.go index 74e749e2d..ab5d0e79a 100644 --- a/prover/protocol/compiler/permutation/prover.go +++ b/prover/protocol/compiler/permutation/prover.go @@ -3,11 +3,11 @@ package permutation import ( "sync" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizardutils" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/protocol/wizardutils" ) // proverTaskAtRound implements the [wizard.ProverAction] interface and is diff --git a/prover/protocol/compiler/permutation/utils.go b/prover/protocol/compiler/permutation/utils.go index c15e9cd14..ffa652e98 100644 --- a/prover/protocol/compiler/permutation/utils.go +++ b/prover/protocol/compiler/permutation/utils.go @@ -1,8 +1,8 @@ package permutation import ( - "github.com/consensys/zkevm-monorepo/prover/protocol/query" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizardutils" + "github.com/consensys/linea-monorepo/prover/protocol/query" + "github.com/consensys/linea-monorepo/prover/protocol/wizardutils" ) const permutationStr = "PERMUTATION" diff --git a/prover/protocol/compiler/permutation/verifier.go b/prover/protocol/compiler/permutation/verifier.go index da191623a..1fde7e51c 100644 --- a/prover/protocol/compiler/permutation/verifier.go +++ b/prover/protocol/compiler/permutation/verifier.go @@ -4,8 +4,8 @@ import ( "errors" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" ) // The verifier gets all the query openings and multiple them together and diff --git a/prover/protocol/compiler/permutation/z.go b/prover/protocol/compiler/permutation/z.go index 9b9706982..1fce80a5f 100644 --- a/prover/protocol/compiler/permutation/z.go +++ b/prover/protocol/compiler/permutation/z.go @@ -1,12 +1,12 @@ package permutation import ( - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/query" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/query" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" ) const ( diff --git a/prover/protocol/compiler/selfrecursion/column_opening.go b/prover/protocol/compiler/selfrecursion/column_opening.go index a42626b23..1091010ee 100644 --- a/prover/protocol/compiler/selfrecursion/column_opening.go +++ b/prover/protocol/compiler/selfrecursion/column_opening.go @@ -5,23 +5,23 @@ import ( "math/big" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/crypto/mimc" - "github.com/consensys/zkevm-monorepo/prover/maths/common/poly" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/accessors" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/column/verifiercol" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/expr_handle" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/functionals" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/merkle" - mimcW "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/mimc" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/gnarkutil" - "github.com/consensys/zkevm-monorepo/prover/utils/parallel" + "github.com/consensys/linea-monorepo/prover/crypto/mimc" + "github.com/consensys/linea-monorepo/prover/maths/common/poly" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/accessors" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/column/verifiercol" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/expr_handle" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/functionals" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/merkle" + mimcW "github.com/consensys/linea-monorepo/prover/protocol/dedicated/mimc" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/gnarkutil" + "github.com/consensys/linea-monorepo/prover/utils/parallel" "github.com/sirupsen/logrus" ) diff --git a/prover/protocol/compiler/selfrecursion/context.go b/prover/protocol/compiler/selfrecursion/context.go index 94616fdcd..13156815b 100644 --- a/prover/protocol/compiler/selfrecursion/context.go +++ b/prover/protocol/compiler/selfrecursion/context.go @@ -1,13 +1,13 @@ package selfrecursion import ( - "github.com/consensys/zkevm-monorepo/prover/crypto/ringsis" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/vortex" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/crypto/ringsis" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/vortex" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/sirupsen/logrus" ) diff --git a/prover/protocol/compiler/selfrecursion/lincomb_phase.go b/prover/protocol/compiler/selfrecursion/lincomb_phase.go index da669c0c0..7c9a6dbc0 100644 --- a/prover/protocol/compiler/selfrecursion/lincomb_phase.go +++ b/prover/protocol/compiler/selfrecursion/lincomb_phase.go @@ -4,14 +4,14 @@ import ( "fmt" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/common/poly" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/protocol/accessors" - "github.com/consensys/zkevm-monorepo/prover/protocol/column/verifiercol" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/functionals" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/reedsolomon" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/common/poly" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/protocol/accessors" + "github.com/consensys/linea-monorepo/prover/protocol/column/verifiercol" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/functionals" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/reedsolomon" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" ) // Linear combination phase, diff --git a/prover/protocol/compiler/selfrecursion/names.go b/prover/protocol/compiler/selfrecursion/names.go index d7dde19b3..ffb8bcba7 100644 --- a/prover/protocol/compiler/selfrecursion/names.go +++ b/prover/protocol/compiler/selfrecursion/names.go @@ -3,11 +3,11 @@ package selfrecursion import ( "fmt" - "github.com/consensys/zkevm-monorepo/prover/crypto/ringsis" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/crypto/ringsis" + "github.com/consensys/linea-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/utils" ) // Name of the polynomial I(x) diff --git a/prover/protocol/compiler/selfrecursion/precomputations.go b/prover/protocol/compiler/selfrecursion/precomputations.go index 89e2261e4..e1fd95897 100644 --- a/prover/protocol/compiler/selfrecursion/precomputations.go +++ b/prover/protocol/compiler/selfrecursion/precomputations.go @@ -1,11 +1,11 @@ package selfrecursion import ( - "github.com/consensys/zkevm-monorepo/prover/crypto/ringsis" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/crypto/ringsis" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/utils" ) // Registers the polynomial I(X) = (0, 1, 2, 3, 4, 5, ..., nBcol-1) diff --git a/prover/protocol/compiler/selfrecursion/roothashandq.go b/prover/protocol/compiler/selfrecursion/roothashandq.go index a99f69e02..ace2836a8 100644 --- a/prover/protocol/compiler/selfrecursion/roothashandq.go +++ b/prover/protocol/compiler/selfrecursion/roothashandq.go @@ -1,11 +1,11 @@ package selfrecursion import ( - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/column/verifiercol" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/column/verifiercol" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/utils" ) // Here we develop the functionality that allows us to check that the root hashes diff --git a/prover/protocol/compiler/selfrecursion/selfrecursion.go b/prover/protocol/compiler/selfrecursion/selfrecursion.go index 4bb88ee7c..edb1189e3 100644 --- a/prover/protocol/compiler/selfrecursion/selfrecursion.go +++ b/prover/protocol/compiler/selfrecursion/selfrecursion.go @@ -1,7 +1,7 @@ package selfrecursion import ( - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" "github.com/sirupsen/logrus" ) diff --git a/prover/protocol/compiler/selfrecursion/selfrecursion_test.go b/prover/protocol/compiler/selfrecursion/selfrecursion_test.go index 0ff5dc5d2..21fe71019 100644 --- a/prover/protocol/compiler/selfrecursion/selfrecursion_test.go +++ b/prover/protocol/compiler/selfrecursion/selfrecursion_test.go @@ -6,17 +6,17 @@ import ( "fmt" "testing" - "github.com/consensys/zkevm-monorepo/prover/crypto/ringsis" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/mimc" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/selfrecursion" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/vortex" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/crypto/ringsis" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/compiler" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/mimc" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/selfrecursion" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/vortex" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" "github.com/sirupsen/logrus" "github.com/stretchr/testify/require" ) diff --git a/prover/protocol/compiler/specialqueries/compiler.go b/prover/protocol/compiler/specialqueries/compiler.go index 336e3efb0..44c04f6d9 100644 --- a/prover/protocol/compiler/specialqueries/compiler.go +++ b/prover/protocol/compiler/specialqueries/compiler.go @@ -3,9 +3,9 @@ package specialqueries import ( "fmt" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/query" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/query" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" ) /* diff --git a/prover/protocol/compiler/specialqueries/fixed_permutation.go b/prover/protocol/compiler/specialqueries/fixed_permutation.go index 0e6e57f1f..5299dd97b 100644 --- a/prover/protocol/compiler/specialqueries/fixed_permutation.go +++ b/prover/protocol/compiler/specialqueries/fixed_permutation.go @@ -1,16 +1,16 @@ package specialqueries import ( - sv "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/query" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils/profiling" + sv "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/query" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils/profiling" ) const ( diff --git a/prover/protocol/compiler/specialqueries/range.go b/prover/protocol/compiler/specialqueries/range.go index 94ee6cd29..ae25307c9 100644 --- a/prover/protocol/compiler/specialqueries/range.go +++ b/prover/protocol/compiler/specialqueries/range.go @@ -1,12 +1,12 @@ package specialqueries import ( - sv "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/query" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" + sv "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/query" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" ) const ( diff --git a/prover/protocol/compiler/splitter/splitter.go b/prover/protocol/compiler/splitter/splitter.go index 752c1ccd6..062fb8ebc 100644 --- a/prover/protocol/compiler/splitter/splitter.go +++ b/prover/protocol/compiler/splitter/splitter.go @@ -5,18 +5,18 @@ import ( "reflect" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/column/verifiercol" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/query" - "github.com/consensys/zkevm-monorepo/prover/protocol/variables" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/collection" - "github.com/consensys/zkevm-monorepo/prover/utils/profiling" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/column/verifiercol" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/query" + "github.com/consensys/linea-monorepo/prover/protocol/variables" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/collection" + "github.com/consensys/linea-monorepo/prover/utils/profiling" "github.com/sirupsen/logrus" ) diff --git a/prover/protocol/compiler/splitter/splitter_test.go b/prover/protocol/compiler/splitter/splitter_test.go index c64425c6d..1a69f9770 100644 --- a/prover/protocol/compiler/splitter/splitter_test.go +++ b/prover/protocol/compiler/splitter/splitter_test.go @@ -3,16 +3,16 @@ package splitter import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/query" - "github.com/consensys/zkevm-monorepo/prover/protocol/variables" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/query" + "github.com/consensys/linea-monorepo/prover/protocol/variables" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/symbolic" "github.com/sirupsen/logrus" "github.com/stretchr/testify/require" ) diff --git a/prover/protocol/compiler/splitter/sticker/sticker.go b/prover/protocol/compiler/splitter/sticker/sticker.go index b93f29223..9e3d0ee53 100644 --- a/prover/protocol/compiler/splitter/sticker/sticker.go +++ b/prover/protocol/compiler/splitter/sticker/sticker.go @@ -3,20 +3,20 @@ package sticker import ( "strings" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/column/verifiercol" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/query" - "github.com/consensys/zkevm-monorepo/prover/protocol/variables" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/collection" - "github.com/consensys/zkevm-monorepo/prover/utils/profiling" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/column/verifiercol" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/query" + "github.com/consensys/linea-monorepo/prover/protocol/variables" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/collection" + "github.com/consensys/linea-monorepo/prover/utils/profiling" ) // Stick columns by size diff --git a/prover/protocol/compiler/splitter/sticker/sticker_test.go b/prover/protocol/compiler/splitter/sticker/sticker_test.go index c5dddce93..c9d160e5b 100644 --- a/prover/protocol/compiler/splitter/sticker/sticker_test.go +++ b/prover/protocol/compiler/splitter/sticker/sticker_test.go @@ -3,16 +3,16 @@ package sticker_test import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/splitter/sticker" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/query" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/splitter/sticker" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/query" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/symbolic" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/prover/protocol/compiler/univariates/compiler.go b/prover/protocol/compiler/univariates/compiler.go index 54d934c98..a986a94c2 100644 --- a/prover/protocol/compiler/univariates/compiler.go +++ b/prover/protocol/compiler/univariates/compiler.go @@ -3,8 +3,8 @@ package univariates import ( "fmt" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" ) /* diff --git a/prover/protocol/compiler/univariates/local_opening_point.go b/prover/protocol/compiler/univariates/local_opening_point.go index 84e32ee44..e3896cdd0 100644 --- a/prover/protocol/compiler/univariates/local_opening_point.go +++ b/prover/protocol/compiler/univariates/local_opening_point.go @@ -5,11 +5,11 @@ import ( "fmt" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/query" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/query" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/sirupsen/logrus" ) diff --git a/prover/protocol/compiler/univariates/local_opening_test.go b/prover/protocol/compiler/univariates/local_opening_test.go index 4072b013a..12eef755c 100644 --- a/prover/protocol/compiler/univariates/local_opening_test.go +++ b/prover/protocol/compiler/univariates/local_opening_test.go @@ -3,11 +3,11 @@ package univariates import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/query" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/query" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" "github.com/stretchr/testify/assert" ) diff --git a/prover/protocol/compiler/univariates/multi_point_to_single_point_test.go b/prover/protocol/compiler/univariates/multi_point_to_single_point_test.go index 3e43df592..8676f8a77 100644 --- a/prover/protocol/compiler/univariates/multi_point_to_single_point_test.go +++ b/prover/protocol/compiler/univariates/multi_point_to_single_point_test.go @@ -3,12 +3,12 @@ package univariates_test import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/univariates" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/univariates" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" "github.com/stretchr/testify/require" ) diff --git a/prover/protocol/compiler/univariates/multi_to_single_point.go b/prover/protocol/compiler/univariates/multi_to_single_point.go index 5c2f8a0a3..d172c96a8 100644 --- a/prover/protocol/compiler/univariates/multi_to_single_point.go +++ b/prover/protocol/compiler/univariates/multi_to_single_point.go @@ -8,19 +8,19 @@ import ( "sync" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/common/mempool" - "github.com/consensys/zkevm-monorepo/prover/maths/common/poly" - sv "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/fft" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/query" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/gnarkutil" - "github.com/consensys/zkevm-monorepo/prover/utils/parallel" - "github.com/consensys/zkevm-monorepo/prover/utils/profiling" + "github.com/consensys/linea-monorepo/prover/maths/common/mempool" + "github.com/consensys/linea-monorepo/prover/maths/common/poly" + sv "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/fft" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/query" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/gnarkutil" + "github.com/consensys/linea-monorepo/prover/utils/parallel" + "github.com/consensys/linea-monorepo/prover/utils/profiling" "github.com/sirupsen/logrus" ) diff --git a/prover/protocol/compiler/univariates/naturalize.go b/prover/protocol/compiler/univariates/naturalize.go index 1b15b4308..658591a8e 100644 --- a/prover/protocol/compiler/univariates/naturalize.go +++ b/prover/protocol/compiler/univariates/naturalize.go @@ -5,14 +5,14 @@ import ( "reflect" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/query" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/collection" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/query" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/collection" "github.com/sirupsen/logrus" ) diff --git a/prover/protocol/compiler/univariates/naturalize_test.go b/prover/protocol/compiler/univariates/naturalize_test.go index e5ad338e1..cf3d9aa1f 100644 --- a/prover/protocol/compiler/univariates/naturalize_test.go +++ b/prover/protocol/compiler/univariates/naturalize_test.go @@ -3,12 +3,12 @@ package univariates import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" "github.com/stretchr/testify/require" ) diff --git a/prover/protocol/compiler/vortex/compiler.go b/prover/protocol/compiler/vortex/compiler.go index 2045bd13b..228da66ec 100644 --- a/prover/protocol/compiler/vortex/compiler.go +++ b/prover/protocol/compiler/vortex/compiler.go @@ -3,20 +3,20 @@ package vortex import ( "math" - "github.com/consensys/zkevm-monorepo/prover/crypto" - "github.com/consensys/zkevm-monorepo/prover/crypto/mimc" - "github.com/consensys/zkevm-monorepo/prover/crypto/ringsis" - "github.com/consensys/zkevm-monorepo/prover/crypto/state-management/smt" - "github.com/consensys/zkevm-monorepo/prover/crypto/vortex" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/query" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/collection" + "github.com/consensys/linea-monorepo/prover/crypto" + "github.com/consensys/linea-monorepo/prover/crypto/mimc" + "github.com/consensys/linea-monorepo/prover/crypto/ringsis" + "github.com/consensys/linea-monorepo/prover/crypto/state-management/smt" + "github.com/consensys/linea-monorepo/prover/crypto/vortex" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/query" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/collection" "github.com/sirupsen/logrus" ) diff --git a/prover/protocol/compiler/vortex/gnark_verifier.go b/prover/protocol/compiler/vortex/gnark_verifier.go index e5085929f..4d6348a36 100644 --- a/prover/protocol/compiler/vortex/gnark_verifier.go +++ b/prover/protocol/compiler/vortex/gnark_verifier.go @@ -4,14 +4,14 @@ import ( "github.com/consensys/gnark-crypto/ecc/bls12-377/fr/fft" "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/std/hash" - "github.com/consensys/zkevm-monorepo/prover/crypto/state-management/smt" - "github.com/consensys/zkevm-monorepo/prover/crypto/vortex" - "github.com/consensys/zkevm-monorepo/prover/maths/fft/fastpoly" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/column/verifiercol" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/crypto/state-management/smt" + "github.com/consensys/linea-monorepo/prover/crypto/vortex" + "github.com/consensys/linea-monorepo/prover/maths/fft/fastpoly" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/column/verifiercol" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" ) func (ctx *Ctx) GnarkVerify(api frontend.API, vr *wizard.WizardVerifierCircuit) { diff --git a/prover/protocol/compiler/vortex/gnark_verifier_test.go b/prover/protocol/compiler/vortex/gnark_verifier_test.go index 74289f3cb..6e41dd6d0 100644 --- a/prover/protocol/compiler/vortex/gnark_verifier_test.go +++ b/prover/protocol/compiler/vortex/gnark_verifier_test.go @@ -8,13 +8,13 @@ import ( "github.com/consensys/gnark-crypto/ecc" "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/frontend/cs/scs" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/vortex" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/vortex" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/stretchr/testify/require" ) diff --git a/prover/protocol/compiler/vortex/names.go b/prover/protocol/compiler/vortex/names.go index 2b1676a8a..7536bcf29 100644 --- a/prover/protocol/compiler/vortex/names.go +++ b/prover/protocol/compiler/vortex/names.go @@ -3,8 +3,8 @@ package vortex import ( "fmt" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" ) // return the name of the linear combination random coin diff --git a/prover/protocol/compiler/vortex/option.go b/prover/protocol/compiler/vortex/option.go index 433d1736b..668e8ec75 100644 --- a/prover/protocol/compiler/vortex/option.go +++ b/prover/protocol/compiler/vortex/option.go @@ -1,7 +1,7 @@ package vortex import ( - "github.com/consensys/zkevm-monorepo/prover/crypto/ringsis" + "github.com/consensys/linea-monorepo/prover/crypto/ringsis" ) // Option to be passed to vortex diff --git a/prover/protocol/compiler/vortex/prover.go b/prover/protocol/compiler/vortex/prover.go index 9bc51c6ce..fdd73db53 100644 --- a/prover/protocol/compiler/vortex/prover.go +++ b/prover/protocol/compiler/vortex/prover.go @@ -1,15 +1,15 @@ package vortex import ( - "github.com/consensys/zkevm-monorepo/prover/crypto/state-management/smt" - "github.com/consensys/zkevm-monorepo/prover/crypto/vortex" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/types" - - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/crypto/state-management/smt" + "github.com/consensys/linea-monorepo/prover/crypto/vortex" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/types" + + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" ) // Prover steps of Vortex that is run in place of committing to polynomials diff --git a/prover/protocol/compiler/vortex/verifier.go b/prover/protocol/compiler/vortex/verifier.go index 05c3c09a0..50ffc5205 100644 --- a/prover/protocol/compiler/vortex/verifier.go +++ b/prover/protocol/compiler/vortex/verifier.go @@ -3,14 +3,14 @@ package vortex import ( "fmt" - "github.com/consensys/zkevm-monorepo/prover/crypto/vortex" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/column/verifiercol" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/crypto/vortex" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/column/verifiercol" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/types" ) func (ctx *Ctx) Verify(vr *wizard.VerifierRuntime) error { diff --git a/prover/protocol/compiler/vortex/vortex_test.go b/prover/protocol/compiler/vortex/vortex_test.go index 600f4f23c..41b8a5d48 100644 --- a/prover/protocol/compiler/vortex/vortex_test.go +++ b/prover/protocol/compiler/vortex/vortex_test.go @@ -5,14 +5,14 @@ package vortex_test import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/crypto/ringsis" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/vortex" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/crypto/ringsis" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/vortex" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/stretchr/testify/require" ) diff --git a/prover/protocol/dedicated/bigrange/bigrange.go b/prover/protocol/dedicated/bigrange/bigrange.go index d0f15673d..60244ca90 100644 --- a/prover/protocol/dedicated/bigrange/bigrange.go +++ b/prover/protocol/dedicated/bigrange/bigrange.go @@ -4,17 +4,17 @@ import ( "math/big" "reflect" - sv "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" - - "github.com/consensys/zkevm-monorepo/prover/maths/fft" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/variables" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizardutils" + sv "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" + + "github.com/consensys/linea-monorepo/prover/maths/fft" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/variables" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/protocol/wizardutils" ) // BigRange enforces that an input sympolic expression evaluates to values that diff --git a/prover/protocol/dedicated/bigrange/bigrange_test.go b/prover/protocol/dedicated/bigrange/bigrange_test.go index 81bd64627..6bebed4c9 100644 --- a/prover/protocol/dedicated/bigrange/bigrange_test.go +++ b/prover/protocol/dedicated/bigrange/bigrange_test.go @@ -3,13 +3,13 @@ package bigrange_test import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/bigrange" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/bigrange" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/prover/protocol/dedicated/byte32cmp/byte32cmp.go b/prover/protocol/dedicated/byte32cmp/byte32cmp.go index f922a1f1d..0a51d7043 100644 --- a/prover/protocol/dedicated/byte32cmp/byte32cmp.go +++ b/prover/protocol/dedicated/byte32cmp/byte32cmp.go @@ -1,10 +1,10 @@ package byte32cmp import ( - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizardutils" - "github.com/consensys/zkevm-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/protocol/wizardutils" + "github.com/consensys/linea-monorepo/prover/symbolic" ) func Bytes32Cmp( diff --git a/prover/protocol/dedicated/byte32cmp/byte32cmp_computemod.go b/prover/protocol/dedicated/byte32cmp/byte32cmp_computemod.go index f76a22de9..612be58f9 100644 --- a/prover/protocol/dedicated/byte32cmp/byte32cmp_computemod.go +++ b/prover/protocol/dedicated/byte32cmp/byte32cmp_computemod.go @@ -9,14 +9,14 @@ import ( "fmt" "math/big" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/column/verifiercol" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/bigrange" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/column/verifiercol" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/bigrange" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" ) // byte32cmp context diff --git a/prover/protocol/dedicated/byte32cmp/byte32cmp_test.go b/prover/protocol/dedicated/byte32cmp/byte32cmp_test.go index bf10599b8..81ce2c660 100644 --- a/prover/protocol/dedicated/byte32cmp/byte32cmp_test.go +++ b/prover/protocol/dedicated/byte32cmp/byte32cmp_test.go @@ -3,12 +3,12 @@ package byte32cmp_test import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/byte32cmp" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/byte32cmp" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/symbolic" "github.com/stretchr/testify/require" ) diff --git a/prover/protocol/dedicated/byte32cmp/decompose.go b/prover/protocol/dedicated/byte32cmp/decompose.go index 4c0c12edc..6058cca73 100644 --- a/prover/protocol/dedicated/byte32cmp/decompose.go +++ b/prover/protocol/dedicated/byte32cmp/decompose.go @@ -5,14 +5,14 @@ import ( "math/big" "strconv" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizardutils" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/protocol/wizardutils" + sym "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" ) // LimbColumns is a collection of column, all allegedly with short values diff --git a/prover/protocol/dedicated/byte32cmp/decompose_test.go b/prover/protocol/dedicated/byte32cmp/decompose_test.go index f02651a81..925d6e369 100644 --- a/prover/protocol/dedicated/byte32cmp/decompose_test.go +++ b/prover/protocol/dedicated/byte32cmp/decompose_test.go @@ -5,9 +5,9 @@ import ( "math" "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" "github.com/stretchr/testify/require" ) diff --git a/prover/protocol/dedicated/byte32cmp/multi_limb_cmp.go b/prover/protocol/dedicated/byte32cmp/multi_limb_cmp.go index af149cc0f..8ff17c5a6 100644 --- a/prover/protocol/dedicated/byte32cmp/multi_limb_cmp.go +++ b/prover/protocol/dedicated/byte32cmp/multi_limb_cmp.go @@ -4,15 +4,15 @@ import ( "fmt" "sync" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizardutils" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/parallel" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/protocol/wizardutils" + sym "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/parallel" ) // multiLimbCmp is a dedicated wizard which can compare two [LimbColumns] and diff --git a/prover/protocol/dedicated/byte32cmp/multi_limb_cmp_test.go b/prover/protocol/dedicated/byte32cmp/multi_limb_cmp_test.go index 998006047..00ba0da77 100644 --- a/prover/protocol/dedicated/byte32cmp/multi_limb_cmp_test.go +++ b/prover/protocol/dedicated/byte32cmp/multi_limb_cmp_test.go @@ -4,10 +4,10 @@ import ( "fmt" "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" ) func TestMultiLimbCmp(t *testing.T) { diff --git a/prover/protocol/dedicated/byte32cmp/one_limb_cmp.go b/prover/protocol/dedicated/byte32cmp/one_limb_cmp.go index 80719e654..6a29f9662 100644 --- a/prover/protocol/dedicated/byte32cmp/one_limb_cmp.go +++ b/prover/protocol/dedicated/byte32cmp/one_limb_cmp.go @@ -3,13 +3,13 @@ package byte32cmp import ( "fmt" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" ) // OneLimbCmpCtx is a wizard subroutine responsible for computing the comparison diff --git a/prover/protocol/dedicated/byte32cmp/one_limb_cmp_test.go b/prover/protocol/dedicated/byte32cmp/one_limb_cmp_test.go index 55f43117d..4cbd1607f 100644 --- a/prover/protocol/dedicated/byte32cmp/one_limb_cmp_test.go +++ b/prover/protocol/dedicated/byte32cmp/one_limb_cmp_test.go @@ -4,10 +4,10 @@ import ( "fmt" "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" ) func TestOneLimbCmp(t *testing.T) { diff --git a/prover/protocol/dedicated/expr_handle/expr_handle.go b/prover/protocol/dedicated/expr_handle/expr_handle.go index 6bdef0834..4e72c2259 100644 --- a/prover/protocol/dedicated/expr_handle/expr_handle.go +++ b/prover/protocol/dedicated/expr_handle/expr_handle.go @@ -4,16 +4,16 @@ import ( "fmt" "reflect" - sv "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/fft" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/variables" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizardutils" - "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" + sv "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/fft" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/variables" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/protocol/wizardutils" + "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/sirupsen/logrus" ) diff --git a/prover/protocol/dedicated/expr_handle/rand_lin_comp_expr.go b/prover/protocol/dedicated/expr_handle/rand_lin_comp_expr.go index 61850e4e8..80a781441 100644 --- a/prover/protocol/dedicated/expr_handle/rand_lin_comp_expr.go +++ b/prover/protocol/dedicated/expr_handle/rand_lin_comp_expr.go @@ -1,9 +1,9 @@ package expr_handle import ( - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/symbolic" ) // returns a column obtained as a random linear combinations of differents handle diff --git a/prover/protocol/dedicated/functionals/eval_bivariate.go b/prover/protocol/dedicated/functionals/eval_bivariate.go index 9ff3caca5..d5bd8ab5c 100644 --- a/prover/protocol/dedicated/functionals/eval_bivariate.go +++ b/prover/protocol/dedicated/functionals/eval_bivariate.go @@ -5,17 +5,17 @@ import ( "math/big" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/accessors" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/serialization" - "github.com/consensys/zkevm-monorepo/prover/protocol/variables" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/gnarkutil" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/accessors" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/serialization" + "github.com/consensys/linea-monorepo/prover/protocol/variables" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/gnarkutil" ) const ( diff --git a/prover/protocol/dedicated/functionals/eval_bivariate_test.go b/prover/protocol/dedicated/functionals/eval_bivariate_test.go index 92823afa1..b5224328e 100644 --- a/prover/protocol/dedicated/functionals/eval_bivariate_test.go +++ b/prover/protocol/dedicated/functionals/eval_bivariate_test.go @@ -3,15 +3,15 @@ package functionals_test import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/accessors" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/splitter" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/functionals" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/accessors" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/splitter" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/functionals" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" "github.com/stretchr/testify/require" ) diff --git a/prover/protocol/dedicated/functionals/eval_coeff.go b/prover/protocol/dedicated/functionals/eval_coeff.go index d4a641d45..dd69d9da5 100644 --- a/prover/protocol/dedicated/functionals/eval_coeff.go +++ b/prover/protocol/dedicated/functionals/eval_coeff.go @@ -1,14 +1,14 @@ package functionals import ( - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/accessors" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/accessors" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" ) const ( diff --git a/prover/protocol/dedicated/functionals/eval_coeff_test.go b/prover/protocol/dedicated/functionals/eval_coeff_test.go index 9144f9591..7e9070b91 100644 --- a/prover/protocol/dedicated/functionals/eval_coeff_test.go +++ b/prover/protocol/dedicated/functionals/eval_coeff_test.go @@ -3,13 +3,13 @@ package functionals_test import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/functionals" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/compiler" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/functionals" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" "github.com/stretchr/testify/require" ) diff --git a/prover/protocol/dedicated/functionals/fold.go b/prover/protocol/dedicated/functionals/fold.go index 5e6d854fa..a78df5436 100644 --- a/prover/protocol/dedicated/functionals/fold.go +++ b/prover/protocol/dedicated/functionals/fold.go @@ -4,13 +4,13 @@ import ( "fmt" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/accessors" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/accessors" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/sirupsen/logrus" ) diff --git a/prover/protocol/dedicated/functionals/fold_test.go b/prover/protocol/dedicated/functionals/fold_test.go index 6f78cf6b1..8b4270b3f 100644 --- a/prover/protocol/dedicated/functionals/fold_test.go +++ b/prover/protocol/dedicated/functionals/fold_test.go @@ -3,13 +3,13 @@ package functionals_test import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/accessors" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/functionals" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/accessors" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/functionals" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/prover/protocol/dedicated/functionals/foldouter.go b/prover/protocol/dedicated/functionals/foldouter.go index 6f183e279..98340869e 100644 --- a/prover/protocol/dedicated/functionals/foldouter.go +++ b/prover/protocol/dedicated/functionals/foldouter.go @@ -4,12 +4,12 @@ import ( "fmt" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/protocol/accessors" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/protocol/accessors" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/sirupsen/logrus" ) diff --git a/prover/protocol/dedicated/functionals/foldouter_test.go b/prover/protocol/dedicated/functionals/foldouter_test.go index 2971335b9..7ffa20b04 100644 --- a/prover/protocol/dedicated/functionals/foldouter_test.go +++ b/prover/protocol/dedicated/functionals/foldouter_test.go @@ -3,13 +3,13 @@ package functionals_test import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/accessors" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/functionals" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/accessors" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/functionals" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/prover/protocol/dedicated/functionals/interpolation.go b/prover/protocol/dedicated/functionals/interpolation.go index 06322bc67..ec6c321f0 100644 --- a/prover/protocol/dedicated/functionals/interpolation.go +++ b/prover/protocol/dedicated/functionals/interpolation.go @@ -3,15 +3,15 @@ package functionals import ( "fmt" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/fft" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/accessors" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/fft" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/accessors" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" ) const ( diff --git a/prover/protocol/dedicated/functionals/interpolation_test.go b/prover/protocol/dedicated/functionals/interpolation_test.go index 1e6dd1796..c6eec320b 100644 --- a/prover/protocol/dedicated/functionals/interpolation_test.go +++ b/prover/protocol/dedicated/functionals/interpolation_test.go @@ -3,13 +3,13 @@ package functionals_test import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/accessors" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/functionals" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/accessors" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/functionals" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" "github.com/stretchr/testify/require" ) diff --git a/prover/protocol/dedicated/is_zero.go b/prover/protocol/dedicated/is_zero.go index 2cddeee55..208886c7f 100644 --- a/prover/protocol/dedicated/is_zero.go +++ b/prover/protocol/dedicated/is_zero.go @@ -1,12 +1,12 @@ package dedicated import ( - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizardutils" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/protocol/wizardutils" + sym "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" ) type isZeroCtx struct { diff --git a/prover/protocol/dedicated/is_zero_test.go b/prover/protocol/dedicated/is_zero_test.go index 1a7c12674..f4303f5cf 100644 --- a/prover/protocol/dedicated/is_zero_test.go +++ b/prover/protocol/dedicated/is_zero_test.go @@ -4,13 +4,13 @@ import ( "fmt" "testing" - sv "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" + sv "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" "github.com/stretchr/testify/require" ) diff --git a/prover/protocol/dedicated/merkle/computemod.go b/prover/protocol/dedicated/merkle/computemod.go index 82aacb619..1b48aac20 100644 --- a/prover/protocol/dedicated/merkle/computemod.go +++ b/prover/protocol/dedicated/merkle/computemod.go @@ -3,18 +3,18 @@ package merkle import ( "strings" - "github.com/consensys/zkevm-monorepo/prover/crypto/mimc" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/column/verifiercol" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/variables" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/parallel" + "github.com/consensys/linea-monorepo/prover/crypto/mimc" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/column/verifiercol" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/variables" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/parallel" ) // ComputeMod defines by the modules whose responsibility is diff --git a/prover/protocol/dedicated/merkle/merkle.go b/prover/protocol/dedicated/merkle/merkle.go index ab3aed6a5..ff794e92c 100644 --- a/prover/protocol/dedicated/merkle/merkle.go +++ b/prover/protocol/dedicated/merkle/merkle.go @@ -1,17 +1,17 @@ package merkle import ( - "github.com/consensys/zkevm-monorepo/prover/crypto/state-management/smt" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizardutils" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/crypto/state-management/smt" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/protocol/wizardutils" + "github.com/consensys/linea-monorepo/prover/utils" ) // Wizard gadget allowing to verify a Merkle proof -// See : https://github.com/consensys/zkevm-monorepo/issues/67 +// See : https://github.com/consensys/linea-monorepo/issues/67 // The default function to be used in the self recursion and other places func MerkleProofCheck( diff --git a/prover/protocol/dedicated/merkle/merkle_test.go b/prover/protocol/dedicated/merkle/merkle_test.go index d8dff41e5..fd4085e20 100644 --- a/prover/protocol/dedicated/merkle/merkle_test.go +++ b/prover/protocol/dedicated/merkle/merkle_test.go @@ -3,15 +3,15 @@ package merkle_test import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/crypto/state-management/hashtypes" - "github.com/consensys/zkevm-monorepo/prover/crypto/state-management/smt" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/merkle" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/crypto/state-management/hashtypes" + "github.com/consensys/linea-monorepo/prover/crypto/state-management/smt" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/merkle" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/types" "github.com/sirupsen/logrus" "github.com/stretchr/testify/require" ) diff --git a/prover/protocol/dedicated/merkle/resultmod.go b/prover/protocol/dedicated/merkle/resultmod.go index 6393e02f7..500884da0 100644 --- a/prover/protocol/dedicated/merkle/resultmod.go +++ b/prover/protocol/dedicated/merkle/resultmod.go @@ -3,12 +3,12 @@ package merkle import ( "strings" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" ) // Module summarizing the Merkle proof claims diff --git a/prover/protocol/dedicated/mimc/linear_hash.go b/prover/protocol/dedicated/mimc/linear_hash.go index 31bbb789a..45fd4cd3f 100644 --- a/prover/protocol/dedicated/mimc/linear_hash.go +++ b/prover/protocol/dedicated/mimc/linear_hash.go @@ -3,18 +3,18 @@ package mimc import ( "fmt" - "github.com/consensys/zkevm-monorepo/prover/crypto/mimc" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/selector" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/variables" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/parallel" + "github.com/consensys/linea-monorepo/prover/crypto/mimc" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/selector" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/variables" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/parallel" ) /* diff --git a/prover/protocol/dedicated/mimc/linear_hash_test.go b/prover/protocol/dedicated/mimc/linear_hash_test.go index 3a915f189..95bb2dc81 100644 --- a/prover/protocol/dedicated/mimc/linear_hash_test.go +++ b/prover/protocol/dedicated/mimc/linear_hash_test.go @@ -3,15 +3,15 @@ package mimc_test import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/crypto/mimc" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - linhash "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/mimc" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/crypto/mimc" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + linhash "github.com/consensys/linea-monorepo/prover/protocol/dedicated/mimc" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/stretchr/testify/require" ) diff --git a/prover/protocol/dedicated/plonk/alignment.go b/prover/protocol/dedicated/plonk/alignment.go index 6e2333976..975667373 100644 --- a/prover/protocol/dedicated/plonk/alignment.go +++ b/prover/protocol/dedicated/plonk/alignment.go @@ -7,15 +7,15 @@ import ( "github.com/consensys/gnark-crypto/ecc" "github.com/consensys/gnark/backend/witness" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/projection" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/query" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/projection" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/query" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" "golang.org/x/net/context" "golang.org/x/sync/errgroup" ) diff --git a/prover/protocol/dedicated/plonk/alignment_test.go b/prover/protocol/dedicated/plonk/alignment_test.go index 6661e1fd2..045089986 100644 --- a/prover/protocol/dedicated/plonk/alignment_test.go +++ b/prover/protocol/dedicated/plonk/alignment_test.go @@ -5,10 +5,10 @@ import ( "testing" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils/csvtraces" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils/csvtraces" ) const nbInputInstances = 3 diff --git a/prover/protocol/dedicated/plonk/commit_test.go b/prover/protocol/dedicated/plonk/commit_test.go index d12d28bd1..aeb0721a9 100644 --- a/prover/protocol/dedicated/plonk/commit_test.go +++ b/prover/protocol/dedicated/plonk/commit_test.go @@ -4,9 +4,9 @@ import ( "testing" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/plonk" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/plonk" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" "github.com/stretchr/testify/require" ) diff --git a/prover/protocol/dedicated/plonk/compile.go b/prover/protocol/dedicated/plonk/compile.go index aad63fce9..ae0fcccc2 100644 --- a/prover/protocol/dedicated/plonk/compile.go +++ b/prover/protocol/dedicated/plonk/compile.go @@ -6,17 +6,17 @@ import ( "github.com/consensys/gnark-crypto/ecc/bls12-377/fr/iop" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/accessors" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/column/verifiercol" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/expr_handle" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/variables" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/accessors" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/column/verifiercol" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/expr_handle" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/variables" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" "github.com/sirupsen/logrus" ) diff --git a/prover/protocol/dedicated/plonk/context.go b/prover/protocol/dedicated/plonk/context.go index cb3582ac6..7455068a6 100644 --- a/prover/protocol/dedicated/plonk/context.go +++ b/prover/protocol/dedicated/plonk/context.go @@ -9,12 +9,12 @@ import ( cs "github.com/consensys/gnark/constraint/bls12-377" "github.com/consensys/gnark/constraint/solver" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/column/verifiercol" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/column/verifiercol" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/sirupsen/logrus" ) diff --git a/prover/protocol/dedicated/plonk/names.go b/prover/protocol/dedicated/plonk/names.go index 297d2d5e6..7e43642ac 100644 --- a/prover/protocol/dedicated/plonk/names.go +++ b/prover/protocol/dedicated/plonk/names.go @@ -3,7 +3,7 @@ package plonk import ( "fmt" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" ) // Returns the complete name of a gate columns diff --git a/prover/protocol/dedicated/plonk/plonk_test.go b/prover/protocol/dedicated/plonk/plonk_test.go index 8bde4e4f5..a045524f5 100644 --- a/prover/protocol/dedicated/plonk/plonk_test.go +++ b/prover/protocol/dedicated/plonk/plonk_test.go @@ -4,9 +4,9 @@ import ( "testing" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/plonk" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/plonk" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" "github.com/stretchr/testify/require" ) diff --git a/prover/protocol/dedicated/plonk/prover_commit.go b/prover/protocol/dedicated/plonk/prover_commit.go index 1cef93437..7a31fdd3a 100644 --- a/prover/protocol/dedicated/plonk/prover_commit.go +++ b/prover/protocol/dedicated/plonk/prover_commit.go @@ -10,11 +10,11 @@ import ( cs "github.com/consensys/gnark/constraint/bls12-377" "github.com/consensys/gnark/constraint/solver" fcs "github.com/consensys/gnark/frontend/cs" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/parallel" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/parallel" ) // Struct gathering synchronization variable for the prover diff --git a/prover/protocol/dedicated/plonk/prover_nocommit.go b/prover/protocol/dedicated/plonk/prover_nocommit.go index e3a1a31dd..ddea3c081 100644 --- a/prover/protocol/dedicated/plonk/prover_nocommit.go +++ b/prover/protocol/dedicated/plonk/prover_nocommit.go @@ -3,11 +3,11 @@ package plonk import ( "github.com/consensys/gnark-crypto/ecc/bls12-377/fr" cs "github.com/consensys/gnark/constraint/bls12-377" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/parallel" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/parallel" ) // PlonkInWizardProverAction is an interface representing prover runtime action diff --git a/prover/protocol/dedicated/plonk/rangechecker.go b/prover/protocol/dedicated/plonk/rangechecker.go index 0cf5af14b..93030001a 100644 --- a/prover/protocol/dedicated/plonk/rangechecker.go +++ b/prover/protocol/dedicated/plonk/rangechecker.go @@ -7,13 +7,13 @@ import ( "github.com/consensys/gnark/constraint" "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/frontend/cs/scs" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/byte32cmp" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/parallel" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/byte32cmp" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/parallel" ) // Compile-time sanity check the satisfaction of the interface RangeChecker by diff --git a/prover/protocol/dedicated/plonk/rangechecker_test.go b/prover/protocol/dedicated/plonk/rangechecker_test.go index d637f9617..95a203ee3 100644 --- a/prover/protocol/dedicated/plonk/rangechecker_test.go +++ b/prover/protocol/dedicated/plonk/rangechecker_test.go @@ -5,10 +5,10 @@ import ( "testing" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/plonk" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/plonk" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/prover/protocol/dedicated/plonk/witness_assigner.go b/prover/protocol/dedicated/plonk/witness_assigner.go index 0fc0bbaf5..59085b927 100644 --- a/prover/protocol/dedicated/plonk/witness_assigner.go +++ b/prover/protocol/dedicated/plonk/witness_assigner.go @@ -7,7 +7,7 @@ import ( "github.com/consensys/gnark-crypto/ecc" "github.com/consensys/gnark/backend/witness" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" ) // WitnessAssigner allows obtaining witness assignment for a circuit. diff --git a/prover/protocol/dedicated/projection/projection.go b/prover/protocol/dedicated/projection/projection.go index 75d2584af..fcc873c36 100644 --- a/prover/protocol/dedicated/projection/projection.go +++ b/prover/protocol/dedicated/projection/projection.go @@ -30,16 +30,16 @@ import ( "strings" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/query" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizardutils" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/query" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/protocol/wizardutils" + sym "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/sirupsen/logrus" ) diff --git a/prover/protocol/dedicated/projection/projection_test.go b/prover/protocol/dedicated/projection/projection_test.go index 4f6aedec4..e8780096b 100644 --- a/prover/protocol/dedicated/projection/projection_test.go +++ b/prover/protocol/dedicated/projection/projection_test.go @@ -3,11 +3,11 @@ package projection import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" "github.com/stretchr/testify/assert" ) diff --git a/prover/protocol/dedicated/reedsolomon/reedsolomon.go b/prover/protocol/dedicated/reedsolomon/reedsolomon.go index 370071aff..02f656305 100644 --- a/prover/protocol/dedicated/reedsolomon/reedsolomon.go +++ b/prover/protocol/dedicated/reedsolomon/reedsolomon.go @@ -4,13 +4,13 @@ import ( "fmt" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/fft" - "github.com/consensys/zkevm-monorepo/prover/protocol/accessors" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/functionals" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/fft" + "github.com/consensys/linea-monorepo/prover/protocol/accessors" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/functionals" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" ) const ( diff --git a/prover/protocol/dedicated/reedsolomon/reedsolomon_test.go b/prover/protocol/dedicated/reedsolomon/reedsolomon_test.go index 0547e4424..8b1ecf7f2 100644 --- a/prover/protocol/dedicated/reedsolomon/reedsolomon_test.go +++ b/prover/protocol/dedicated/reedsolomon/reedsolomon_test.go @@ -3,12 +3,12 @@ package reedsolomon_test import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/fft" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/reedsolomon" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/fft" + "github.com/consensys/linea-monorepo/prover/protocol/compiler" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/reedsolomon" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" "github.com/stretchr/testify/require" ) diff --git a/prover/protocol/dedicated/selector/subsample.go b/prover/protocol/dedicated/selector/subsample.go index 2a9d9d57c..2b7dbecad 100644 --- a/prover/protocol/dedicated/selector/subsample.go +++ b/prover/protocol/dedicated/selector/subsample.go @@ -4,15 +4,15 @@ import ( "fmt" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/variables" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/variables" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" ) // Tests that a small table is obtained from subsampling a larger column with a given offset diff --git a/prover/protocol/dedicated/selector/sumsample_test.go b/prover/protocol/dedicated/selector/sumsample_test.go index 7fc685947..1822d0790 100644 --- a/prover/protocol/dedicated/selector/sumsample_test.go +++ b/prover/protocol/dedicated/selector/sumsample_test.go @@ -3,11 +3,11 @@ package selector_test import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/selector" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/selector" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" "github.com/stretchr/testify/require" ) diff --git a/prover/protocol/ifaces/accessor.go b/prover/protocol/ifaces/accessor.go index 3876baef5..2eb4cfdf3 100644 --- a/prover/protocol/ifaces/accessor.go +++ b/prover/protocol/ifaces/accessor.go @@ -2,15 +2,15 @@ package ifaces import ( "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/symbolic" ) // Accessor represents a function that can be used to retrieve a field element -// value from a [github.com/consensys/zkevm-monorepo/prover/protocol/wizard.VerifierRuntime]. +// value from a [github.com/consensys/linea-monorepo/prover/protocol/wizard.VerifierRuntime]. // It also satisfies the the [symbolic.Metadata] interface so that it can be // used within arithmetic expression. A good use-case example is using the -// evaluation point of a [github.com/consensys/zkevm-monorepo/prover/protocol/query.UnivariateEval] +// evaluation point of a [github.com/consensys/linea-monorepo/prover/protocol/query.UnivariateEval] // as part of an arithmetic expression. type Accessor interface { symbolic.Metadata diff --git a/prover/protocol/ifaces/columns.go b/prover/protocol/ifaces/columns.go index 3e45291bb..ac2931875 100644 --- a/prover/protocol/ifaces/columns.go +++ b/prover/protocol/ifaces/columns.go @@ -6,10 +6,10 @@ import ( "strconv" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" ) // ColID is a [Column]'s unique string identifier. @@ -85,13 +85,13 @@ type Column interface { // computed. GetColID() ColID // Returns true if the column is registered. This is trivial by design - // (because [github.com/consensys/zkevm-monorepo/protocol/column.Natural] column objects are built by the function that registers + // (because [github.com/consensys/linea-monorepo/protocol/column.Natural] column objects are built by the function that registers // it). The goal of this function is to assert this fact. Precisely, it will // check if a corresponding entry in the store exists. If it does not, it // panics. MustExists() // GetColAssignment retrieves the assignment of the receiver column from a - // [github.com/consensys/zkevm-monorepo/protocol/wizard.ProverRuntime]. It panics if the column has not been assigned yet. It is + // [github.com/consensys/linea-monorepo/protocol/wizard.ProverRuntime]. It panics if the column has not been assigned yet. It is // the preferred way to extract the assignment of the column and should be // preferred over calling [Runtime.GetColumn] as the latter // will not accept columns that are not of the [column.Natural] type. @@ -111,9 +111,9 @@ type Column interface { // column is tagged as committed. GetColAssignmentGnarkAt(run GnarkRuntime, pos int) frontend.Variable // IsComposite states whether a column is constructed by deriving one or - // more columns. For instance [github.com/consensys/zkevm-monorepo/protocol/column.Natural] is not a composite column as + // more columns. For instance [github.com/consensys/linea-monorepo/protocol/column.Natural] is not a composite column as // it directly refers to a set of values provided to the Wizard by the user - // or by an intermediate compiler step. And [github.com/consensys/zkevm-monorepo/protocol/column.Shift] is a composite + // or by an intermediate compiler step. And [github.com/consensys/linea-monorepo/protocol/column.Shift] is a composite // column as it is derived from an underlying column (which may or may not // be a composite column itself) IsComposite() bool @@ -121,7 +121,7 @@ type Column interface { // ColumnAsVariable instantiates a [symbolic.Variable] from a column. The [symbolic.Variable] // can be used to build arithmetic expressions involving the column and -// they can then be used to specify a [github.com/consensys/zkevm-monorepo/prover/protocol/query.GlobalConstraint] for instance. +// they can then be used to specify a [github.com/consensys/linea-monorepo/prover/protocol/query.GlobalConstraint] for instance. // // @alex: this is super verbose and cumbersome. It would be great if we could make // this conversion implicit. An idea to improve this, would be to update the @@ -140,7 +140,7 @@ func MustBeInRound(h Column, round int) { } } -// AssertNotComposite asserts that the handle is [column.Natural] or a verifier-col (see [github.com/consensys/zkevm-monorepo/protocol/column/verifiercol]). It is a convenience +// AssertNotComposite asserts that the handle is [column.Natural] or a verifier-col (see [github.com/consensys/linea-monorepo/protocol/column/verifiercol]). It is a convenience // function to write sanity-checks as a defensive programming technique, and it // is useful for writing a compiler. func AssertNotComposite(h Column) { diff --git a/prover/protocol/ifaces/doc.go b/prover/protocol/ifaces/doc.go index 16a2b6490..8723063dc 100644 --- a/prover/protocol/ifaces/doc.go +++ b/prover/protocol/ifaces/doc.go @@ -5,10 +5,10 @@ // - [Item] the most basic interface, which nearly all items satisfy // - [Column] denotes a symbolic sequence of field elements with which // the protocol interacts. For instance, the witness of a commitment or -// a secret polynomial to evaluate. The package [github.com/consensys/zkevm-monorepo/prover/protocol/column] and its +// a secret polynomial to evaluate. The package [github.com/consensys/linea-monorepo/prover/protocol/column] and its // subpackages provide most of the implementations // - [Query] represents a predicate to be enforced by the protocol. -// The package [github.com/consensys/zkevm-monorepo/prover/protocol/query] offers a wide variety of implementations +// The package [github.com/consensys/linea-monorepo/prover/protocol/query] offers a wide variety of implementations // - [Runtime] is an interface implemented by [wizard.ProverRuntime] and // [wizard.VerifierRuntime] package ifaces diff --git a/prover/protocol/ifaces/query.go b/prover/protocol/ifaces/query.go index 8db7ed9a3..af405525e 100644 --- a/prover/protocol/ifaces/query.go +++ b/prover/protocol/ifaces/query.go @@ -5,7 +5,7 @@ import ( "strconv" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/crypto/fiatshamir" + "github.com/consensys/linea-monorepo/prover/crypto/fiatshamir" ) // QueryID denotes an unique identifier ID. It uniquely @@ -48,14 +48,14 @@ func (n *QueryID) UnmarshalJSON(b []byte) error { // Query symbolically represents a logical predicate over the runtime of the // protocol involving a column or a set of [Column], [coin.Info], [Accessor] or -// [QueryParams]. The package [github.com/consensys/zkevm-monorepo/prover/protocol/query] provides a handful of -// implementations of Query. A common example is the [github.com/consensys/zkevm-monorepo/protocol/query.GlobalConstraint] which +// [QueryParams]. The package [github.com/consensys/linea-monorepo/prover/protocol/query] provides a handful of +// implementations of Query. A common example is the [github.com/consensys/linea-monorepo/protocol/query.GlobalConstraint] which // requires that an arithmetic expression involving columns of the same size, // and potentially coins or accessors vanishes over the domain of the involved // column. // // A query can potentially require runtime parameters to be assigned by the -// prover. For instance, [github.com/consensys/zkevm-monorepo/protocol/query.UnivariateEval] requires that some alleged +// prover. For instance, [github.com/consensys/linea-monorepo/protocol/query.UnivariateEval] requires that some alleged // Lagrange interpolation of a [Column] is done correctly, but the declaration of // the predicate does not specify the evaluation point nor the alleged value ( // because they are only defined at runtime and not during the definition of @@ -72,7 +72,7 @@ type Query interface { // QueryParams represents the runtime parameters of a query. As explained in // [Query], certain type of queries can require the prover to provide runtime // parameters in order to make the predicate verifiable. This is the case for -// [github.com/consensys/zkevm-monorepo/protocol/query.UnivariateEval] which requires the user to provide an evaluation +// [github.com/consensys/linea-monorepo/protocol/query.UnivariateEval] which requires the user to provide an evaluation // point (X) and one or more alleged evaluation points (Ys) (depending on whether // the query is applied over one or more columns for the same X). // diff --git a/prover/protocol/ifaces/verifier.go b/prover/protocol/ifaces/verifier.go index 307d499cb..6d35f200d 100644 --- a/prover/protocol/ifaces/verifier.go +++ b/prover/protocol/ifaces/verifier.go @@ -2,11 +2,11 @@ package ifaces import ( "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/coin" ) -// Runtime is implemented by the [github.com/consensys/zkevm-monorepo/protocol/wizard.ProverRuntime] and +// Runtime is implemented by the [github.com/consensys/linea-monorepo/protocol/wizard.ProverRuntime] and // [wizard.VerifierRuntime]. The interface exists to prevent circular // dependencies internally. type Runtime interface { @@ -22,7 +22,7 @@ type Runtime interface { GetParams(id QueryID) QueryParams } -// Interface implemented by the [github.com/consensys/zkevm-monorepo/protocol/wizard.WizardVerifierCircuit]. The interface +// Interface implemented by the [github.com/consensys/linea-monorepo/protocol/wizard.WizardVerifierCircuit]. The interface // exists to prevent circular dependencies internally. type GnarkRuntime interface { // GetColumn is as [Runtime.GetColumn] but in a gnark circuit diff --git a/prover/protocol/protocol.go b/prover/protocol/protocol.go index 2bf31b4c7..b63f12958 100644 --- a/prover/protocol/protocol.go +++ b/prover/protocol/protocol.go @@ -1,6 +1,6 @@ package protocol -import "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" +import "github.com/consensys/linea-monorepo/prover/protocol/wizard" /* Main object responsible for building an IOP protocol diff --git a/prover/protocol/query/fixed_permutation.go b/prover/protocol/query/fixed_permutation.go index eae515281..e0a539000 100644 --- a/prover/protocol/query/fixed_permutation.go +++ b/prover/protocol/query/fixed_permutation.go @@ -4,10 +4,10 @@ import ( "fmt" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/sirupsen/logrus" ) diff --git a/prover/protocol/query/global.go b/prover/protocol/query/global.go index 9bb5168f7..e3f399dd1 100644 --- a/prover/protocol/query/global.go +++ b/prover/protocol/query/global.go @@ -6,16 +6,16 @@ import ( "reflect" "github.com/consensys/gnark/frontend" - sv "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/fft" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/variables" - "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/gnarkutil" + sv "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/fft" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/variables" + "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/gnarkutil" "github.com/sirupsen/logrus" ) diff --git a/prover/protocol/query/global_test.go b/prover/protocol/query/global_test.go index abcf59cd0..d4734ad7d 100644 --- a/prover/protocol/query/global_test.go +++ b/prover/protocol/query/global_test.go @@ -3,12 +3,12 @@ package query_test import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/symbolic" "github.com/stretchr/testify/require" ) diff --git a/prover/protocol/query/gnark_params.go b/prover/protocol/query/gnark_params.go index f17989659..76c60b3b0 100644 --- a/prover/protocol/query/gnark_params.go +++ b/prover/protocol/query/gnark_params.go @@ -2,8 +2,8 @@ package query import ( "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/crypto/fiatshamir" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/crypto/fiatshamir" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" ) // A gnark circuit version of the LocalOpeningResult diff --git a/prover/protocol/query/inclusion.go b/prover/protocol/query/inclusion.go index d39561a32..4e5c3224d 100644 --- a/prover/protocol/query/inclusion.go +++ b/prover/protocol/query/inclusion.go @@ -5,10 +5,10 @@ import ( "fmt" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/utils" ) // Inclusion describes an inclusion query (a.k.a. a lookup constraint). The diff --git a/prover/protocol/query/innerproduct.go b/prover/protocol/query/innerproduct.go index 7b7e7f142..aefd0dc3d 100644 --- a/prover/protocol/query/innerproduct.go +++ b/prover/protocol/query/innerproduct.go @@ -5,12 +5,12 @@ import ( "fmt" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/crypto/fiatshamir" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/collection" + "github.com/consensys/linea-monorepo/prover/crypto/fiatshamir" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/collection" ) // Represent a batch of inner-product , , ... diff --git a/prover/protocol/query/local.go b/prover/protocol/query/local.go index 51c4ca867..14e5c9eec 100644 --- a/prover/protocol/query/local.go +++ b/prover/protocol/query/local.go @@ -5,13 +5,13 @@ import ( "reflect" "github.com/consensys/gnark/frontend" - sv "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/variables" - "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" + sv "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/variables" + "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" ) // A local constraint is an arithmetic relation between prespecified diff --git a/prover/protocol/query/local_opening.go b/prover/protocol/query/local_opening.go index 358d796fc..463948c04 100644 --- a/prover/protocol/query/local_opening.go +++ b/prover/protocol/query/local_opening.go @@ -4,11 +4,11 @@ import ( "fmt" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/crypto/fiatshamir" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/crypto/fiatshamir" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/utils" ) // Queries the opening of a handle at zero diff --git a/prover/protocol/query/local_opening_test.go b/prover/protocol/query/local_opening_test.go index fa1213566..330a60adb 100644 --- a/prover/protocol/query/local_opening_test.go +++ b/prover/protocol/query/local_opening_test.go @@ -3,12 +3,12 @@ package query_test import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" "github.com/stretchr/testify/require" ) diff --git a/prover/protocol/query/mimc.go b/prover/protocol/query/mimc.go index 347ced8a6..dd70eee43 100644 --- a/prover/protocol/query/mimc.go +++ b/prover/protocol/query/mimc.go @@ -4,9 +4,9 @@ import ( "fmt" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/crypto/mimc" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/crypto/mimc" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/utils" ) var _ ifaces.Query = MiMC{} diff --git a/prover/protocol/query/permutation.go b/prover/protocol/query/permutation.go index 8fcbe92e0..892edb293 100644 --- a/prover/protocol/query/permutation.go +++ b/prover/protocol/query/permutation.go @@ -4,10 +4,10 @@ import ( "fmt" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/utils" ) // Permutation is a predicate that assess that two tables contains the same rows diff --git a/prover/protocol/query/permutation_test.go b/prover/protocol/query/permutation_test.go index d3dcc1df0..f2dd5b6e4 100644 --- a/prover/protocol/query/permutation_test.go +++ b/prover/protocol/query/permutation_test.go @@ -3,9 +3,9 @@ package query_test import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" ) func TestPermutation(t *testing.T) { diff --git a/prover/protocol/query/query.go b/prover/protocol/query/query.go index 1821c0ac7..1ef002202 100644 --- a/prover/protocol/query/query.go +++ b/prover/protocol/query/query.go @@ -1,8 +1,8 @@ package query import ( - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" ) /* diff --git a/prover/protocol/query/range.go b/prover/protocol/query/range.go index e72c0af9c..6970be0ec 100644 --- a/prover/protocol/query/range.go +++ b/prover/protocol/query/range.go @@ -4,9 +4,9 @@ import ( "fmt" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/utils" ) /* diff --git a/prover/protocol/query/univariate.go b/prover/protocol/query/univariate.go index 0aadab941..cb44c6029 100644 --- a/prover/protocol/query/univariate.go +++ b/prover/protocol/query/univariate.go @@ -5,13 +5,13 @@ import ( "fmt" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/crypto/fiatshamir" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/fft/fastpoly" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/collection" + "github.com/consensys/linea-monorepo/prover/crypto/fiatshamir" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/fft/fastpoly" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/collection" ) // Multiple polynomials, one point diff --git a/prover/protocol/serialization/column_declaration.go b/prover/protocol/serialization/column_declaration.go index 5bc4b88dc..b1530a5ca 100644 --- a/prover/protocol/serialization/column_declaration.go +++ b/prover/protocol/serialization/column_declaration.go @@ -1,9 +1,9 @@ package serialization import ( - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" ) // serializableColumnDecl is used to represent a "natural" column, meaning a diff --git a/prover/protocol/serialization/compiled_iop.go b/prover/protocol/serialization/compiled_iop.go index 35a996d20..7883ac8dc 100644 --- a/prover/protocol/serialization/compiled_iop.go +++ b/prover/protocol/serialization/compiled_iop.go @@ -5,11 +5,11 @@ import ( "fmt" "reflect" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils/collection" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils/collection" ) // Note, this is a work in progress : not all fields are represented. diff --git a/prover/protocol/serialization/compiled_iop_test.go b/prover/protocol/serialization/compiled_iop_test.go index b30ba490f..b79cf1d30 100644 --- a/prover/protocol/serialization/compiled_iop_test.go +++ b/prover/protocol/serialization/compiled_iop_test.go @@ -3,10 +3,10 @@ package serialization import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/symbolic" ) func TestCompiled(t *testing.T) { diff --git a/prover/protocol/serialization/implementation_registry.go b/prover/protocol/serialization/implementation_registry.go index 0cb36a9e3..8f9ac4f57 100644 --- a/prover/protocol/serialization/implementation_registry.go +++ b/prover/protocol/serialization/implementation_registry.go @@ -6,16 +6,16 @@ import ( "strconv" "strings" - "github.com/consensys/zkevm-monorepo/prover/protocol/accessors" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/column/verifiercol" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/query" - "github.com/consensys/zkevm-monorepo/prover/protocol/variables" - "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/collection" + "github.com/consensys/linea-monorepo/prover/protocol/accessors" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/column/verifiercol" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/query" + "github.com/consensys/linea-monorepo/prover/protocol/variables" + "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/collection" ) func init() { @@ -66,7 +66,7 @@ func init() { // In order to save some space, we trim the prefix of the package path as this // is repetitive. -const pkgPathPrefixToRemove = "github.com/consensys/zkevm-monorepo/prover" +const pkgPathPrefixToRemove = "github.com/consensys/linea-monorepo/prover" // implementationRegistry maps a string representing a string of the form // `path/to/package#ImplementingStruct` to a [reflect.Type] diff --git a/prover/protocol/serialization/implementation_registry_test.go b/prover/protocol/serialization/implementation_registry_test.go index 3b2ada721..76bd69118 100644 --- a/prover/protocol/serialization/implementation_registry_test.go +++ b/prover/protocol/serialization/implementation_registry_test.go @@ -3,7 +3,7 @@ package serialization import ( "reflect" - "github.com/consensys/zkevm-monorepo/prover/utils/collection" + "github.com/consensys/linea-monorepo/prover/utils/collection" ) var _registryBkp = collection.NewMapping[string, reflect.Type]() diff --git a/prover/protocol/serialization/pure_expression.go b/prover/protocol/serialization/pure_expression.go index fdc846027..4cd736e79 100644 --- a/prover/protocol/serialization/pure_expression.go +++ b/prover/protocol/serialization/pure_expression.go @@ -5,8 +5,8 @@ import ( "io" "reflect" - "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" ) // UnmarshalExprCBOR reads a [symbolic.Expression] from a CBOR-encoded reader. diff --git a/prover/protocol/serialization/pure_expression_test.go b/prover/protocol/serialization/pure_expression_test.go index ee98d9e7d..f562b912f 100644 --- a/prover/protocol/serialization/pure_expression_test.go +++ b/prover/protocol/serialization/pure_expression_test.go @@ -5,8 +5,8 @@ import ( "fmt" "testing" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/protocol/column" + sym "github.com/consensys/linea-monorepo/prover/symbolic" ) func TestPureExpr(t *testing.T) { diff --git a/prover/protocol/serialization/serialization.go b/prover/protocol/serialization/serialization.go index a0e15b3eb..91d0bc798 100644 --- a/prover/protocol/serialization/serialization.go +++ b/prover/protocol/serialization/serialization.go @@ -7,11 +7,11 @@ import ( "reflect" "unicode" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/iancoleman/strcase" ) diff --git a/prover/protocol/serialization/serialization_test.go b/prover/protocol/serialization/serialization_test.go index cad96fce6..2acaa16c7 100644 --- a/prover/protocol/serialization/serialization_test.go +++ b/prover/protocol/serialization/serialization_test.go @@ -5,14 +5,14 @@ import ( "reflect" "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/accessors" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/column/verifiercol" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/query" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/accessors" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/column/verifiercol" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/query" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" "github.com/stretchr/testify/require" ) diff --git a/prover/protocol/variables/periodicsample.go b/prover/protocol/variables/periodicsample.go index dd6e56116..370a8b532 100644 --- a/prover/protocol/variables/periodicsample.go +++ b/prover/protocol/variables/periodicsample.go @@ -5,13 +5,13 @@ import ( "math/big" "github.com/consensys/gnark/frontend" - sv "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/fft" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/gnarkutil" + sv "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/fft" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/gnarkutil" "github.com/sirupsen/logrus" ) diff --git a/prover/protocol/variables/periodicsample_test.go b/prover/protocol/variables/periodicsample_test.go index 3975391b6..dc950bea0 100644 --- a/prover/protocol/variables/periodicsample_test.go +++ b/prover/protocol/variables/periodicsample_test.go @@ -4,14 +4,14 @@ import ( "math/big" "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/fft" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/variables" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/fft" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/variables" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/symbolic" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/prover/protocol/variables/x.go b/prover/protocol/variables/x.go index 6529feb01..74e2986e9 100644 --- a/prover/protocol/variables/x.go +++ b/prover/protocol/variables/x.go @@ -4,10 +4,10 @@ import ( "math/big" "github.com/consensys/gnark/frontend" - sv "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/fft" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/symbolic" + sv "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/fft" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/symbolic" ) /* diff --git a/prover/protocol/wizard/artefacts.go b/prover/protocol/wizard/artefacts.go index d83bbdfd9..516bf0a7c 100644 --- a/prover/protocol/wizard/artefacts.go +++ b/prover/protocol/wizard/artefacts.go @@ -7,7 +7,7 @@ import ( "os" "path" - "github.com/consensys/zkevm-monorepo/prover/backend/files" + "github.com/consensys/linea-monorepo/prover/backend/files" "github.com/sirupsen/logrus" ) diff --git a/prover/protocol/wizard/builder.go b/prover/protocol/wizard/builder.go index 63e94700f..9bab4cfb6 100644 --- a/prover/protocol/wizard/builder.go +++ b/prover/protocol/wizard/builder.go @@ -1,14 +1,14 @@ package wizard import ( - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/query" - "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/collection" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/query" + "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/collection" ) /* diff --git a/prover/protocol/wizard/builder_test.go b/prover/protocol/wizard/builder_test.go index 1a10d9707..fdb4ce517 100644 --- a/prover/protocol/wizard/builder_test.go +++ b/prover/protocol/wizard/builder_test.go @@ -3,8 +3,8 @@ package wizard_test import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" "github.com/stretchr/testify/require" ) diff --git a/prover/protocol/wizard/compiled.go b/prover/protocol/wizard/compiled.go index a36682c36..6cf5c37a3 100644 --- a/prover/protocol/wizard/compiled.go +++ b/prover/protocol/wizard/compiled.go @@ -3,16 +3,16 @@ package wizard import ( // "reflect" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/query" - "github.com/consensys/zkevm-monorepo/prover/protocol/variables" - "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/collection" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/query" + "github.com/consensys/linea-monorepo/prover/protocol/variables" + "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/collection" ) // CompiledIOP carries a static description of the IOP protocol throughout the @@ -87,15 +87,15 @@ type CompiledIOP struct { // CryptographicCompilerCtx stores the compilation context of the last used // cryptographic compiler. Specifically, it is aimed to store the last - // Vortex compilation context (see [github.com/consensys/zkevm-monorepo/prover/protocol/compiler]) that was used. And + // Vortex compilation context (see [github.com/consensys/linea-monorepo/prover/protocol/compiler]) that was used. And // its purpose is to provide the Vortex context to the self-recursion - // compilation context; see [github.com/consensys/zkevm-monorepo/prover/protocol/compiler/selfrecursion]. This allows + // compilation context; see [github.com/consensys/linea-monorepo/prover/protocol/compiler/selfrecursion]. This allows // the self-recursion context to learn about the columns to use and the // Vortex parameters. CryptographicCompilerCtx any // DummyCompiled that can be set internally by the compilation, when we are - // using the [github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy.Compile] compilation step. This steps + // using the [github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy.Compile] compilation step. This steps // commands that the verifier of the protocol should not be compiled into a // circuit. This is needed because `dummy.Compile` turns all the columns of // the protocol in columns that are visible to the verifier and all the diff --git a/prover/protocol/wizard/gnark_verifier.go b/prover/protocol/wizard/gnark_verifier.go index 299b9cd81..841c3755c 100644 --- a/prover/protocol/wizard/gnark_verifier.go +++ b/prover/protocol/wizard/gnark_verifier.go @@ -2,16 +2,16 @@ package wizard import ( "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/crypto/fiatshamir" - "github.com/consensys/zkevm-monorepo/prover/crypto/mimc/gkrmimc" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/query" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/collection" - "github.com/consensys/zkevm-monorepo/prover/utils/gnarkutil" + "github.com/consensys/linea-monorepo/prover/crypto/fiatshamir" + "github.com/consensys/linea-monorepo/prover/crypto/mimc/gkrmimc" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/query" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/collection" + "github.com/consensys/linea-monorepo/prover/utils/gnarkutil" "github.com/sirupsen/logrus" ) diff --git a/prover/protocol/wizard/prover.go b/prover/protocol/wizard/prover.go index 5e0ed6170..caa4df4aa 100644 --- a/prover/protocol/wizard/prover.go +++ b/prover/protocol/wizard/prover.go @@ -3,15 +3,15 @@ package wizard import ( "sync" - "github.com/consensys/zkevm-monorepo/prover/crypto/fiatshamir" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/query" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/collection" + "github.com/consensys/linea-monorepo/prover/crypto/fiatshamir" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/query" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/collection" "github.com/sirupsen/logrus" ) @@ -102,8 +102,8 @@ type ProverRuntime struct { // take care of deleting the entry to free memory when he knows that the // field will not be accessed again while proving. // - // The State is used internally by the [github.com/consensys/zkevm-monorepo/prover/protocol/compiler/vortex] and the - // [github.com/consensys/zkevm-monorepo/prover/protocol/compiler/selfrecursion] compilers as a communication channel. + // The State is used internally by the [github.com/consensys/linea-monorepo/prover/protocol/compiler/vortex] and the + // [github.com/consensys/linea-monorepo/prover/protocol/compiler/selfrecursion] compilers as a communication channel. State collection.Mapping[string, interface{}] // currRound indicates the current round the prover is processing and it is incremented @@ -236,7 +236,7 @@ func (c *CompiledIOP) createProver() ProverRuntime { // method instead which will work for any type of column. The user should use // the latter as a go-to way to access an assigned column. The reason this // function is exported is to make it accessible to the other functions of the -// [github.com/consensys/zkevm-monorepo/prover/protocol/column] package. +// [github.com/consensys/linea-monorepo/prover/protocol/column] package. // // Namely, the function will panic if: // - `name` relates to a column that does not exists or to a column that is @@ -338,7 +338,7 @@ func (run *ProverRuntime) GetRandomCoinIntegerVec(name coin.Name) []int { // - an empty column name is provided // - the column is not explictly registered in the CompiledIOP (e.g. if it is // a derive column or the underlying type is found in -// [github.com/consensys/zkevm-monorepo/prover/protocol/column/verifiercol] for instance). +// [github.com/consensys/linea-monorepo/prover/protocol/column/verifiercol] for instance). // - the assignment does not have the correct size // - the column assignment occurs at the wrong round. If this error happens, // it is likely that the [ifaces.Column] was created in the wrong round to diff --git a/prover/protocol/wizard/register.go b/prover/protocol/wizard/register.go index e3ed9ab91..45d84273c 100644 --- a/prover/protocol/wizard/register.go +++ b/prover/protocol/wizard/register.go @@ -1,8 +1,8 @@ package wizard import ( - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/collection" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/collection" ) /* diff --git a/prover/protocol/wizard/verifier.go b/prover/protocol/wizard/verifier.go index 8643c0123..1a355796e 100644 --- a/prover/protocol/wizard/verifier.go +++ b/prover/protocol/wizard/verifier.go @@ -1,14 +1,14 @@ package wizard import ( - "github.com/consensys/zkevm-monorepo/prover/crypto/fiatshamir" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/query" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/collection" + "github.com/consensys/linea-monorepo/prover/crypto/fiatshamir" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/query" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/collection" "github.com/sirupsen/logrus" ) diff --git a/prover/protocol/wizard/wizard_test.go b/prover/protocol/wizard/wizard_test.go index 57192c267..05822953f 100644 --- a/prover/protocol/wizard/wizard_test.go +++ b/prover/protocol/wizard/wizard_test.go @@ -3,11 +3,11 @@ package wizard_test import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" "github.com/stretchr/testify/require" ) diff --git a/prover/protocol/wizardutils/evaluation.go b/prover/protocol/wizardutils/evaluation.go index d2642e2d2..7381060ac 100644 --- a/prover/protocol/wizardutils/evaluation.go +++ b/prover/protocol/wizardutils/evaluation.go @@ -1,13 +1,13 @@ package wizardutils import ( - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/variables" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/variables" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/symbolic" ) // EvalExprColumn resolves an expression to a column assignment. The expression diff --git a/prover/protocol/wizardutils/utils.go b/prover/protocol/wizardutils/utils.go index 516880127..ba58ac339 100644 --- a/prover/protocol/wizardutils/utils.go +++ b/prover/protocol/wizardutils/utils.go @@ -4,11 +4,11 @@ import ( "fmt" "strings" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/variables" - "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/variables" + "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" ) // Parse the metadata of an expression and returns the first round where this function can be evaluated diff --git a/prover/public-input/aggregation.go b/prover/public-input/aggregation.go index d74bdc769..7b3b8b37e 100644 --- a/prover/public-input/aggregation.go +++ b/prover/public-input/aggregation.go @@ -1,16 +1,17 @@ package public_input import ( + "hash" + "slices" + bn254fr "github.com/consensys/gnark-crypto/ecc/bn254/fr" "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/std/math/emulated" "github.com/consensys/gnark/std/rangecheck" - "github.com/consensys/zkevm-monorepo/prover/circuits/pi-interconnection/keccak" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/circuits/pi-interconnection/keccak" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/types" "golang.org/x/crypto/sha3" - "hash" - "slices" ) // Aggregation collects all the field that are used to construct the public diff --git a/prover/public-input/execution.go b/prover/public-input/execution.go index c970b31cf..05aff8308 100644 --- a/prover/public-input/execution.go +++ b/prover/public-input/execution.go @@ -2,7 +2,8 @@ package public_input import ( "errors" - "github.com/consensys/zkevm-monorepo/prover/utils" + + "github.com/consensys/linea-monorepo/prover/utils" ) type Execution struct { diff --git a/prover/symbolic/constant.go b/prover/symbolic/constant.go index 536191508..7f03c2c51 100644 --- a/prover/symbolic/constant.go +++ b/prover/symbolic/constant.go @@ -6,9 +6,9 @@ import ( "reflect" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/common/mempool" - sv "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/maths/common/mempool" + sv "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" ) // Constant is an implementation of [Operator] which represents a constant value diff --git a/prover/symbolic/constructor_new.go b/prover/symbolic/constructor_new.go index 8d99d9473..41c0212f0 100644 --- a/prover/symbolic/constructor_new.go +++ b/prover/symbolic/constructor_new.go @@ -1,8 +1,8 @@ package symbolic import ( - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" ) // Add constructs a symbolic expression representing the sum of its inputs. diff --git a/prover/symbolic/csv.go b/prover/symbolic/csv.go index 965c18078..9ba77d858 100644 --- a/prover/symbolic/csv.go +++ b/prover/symbolic/csv.go @@ -6,9 +6,9 @@ import ( "io" "strings" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" ) const ( diff --git a/prover/symbolic/evaluation.go b/prover/symbolic/evaluation.go index 62296659b..d5953efb6 100644 --- a/prover/symbolic/evaluation.go +++ b/prover/symbolic/evaluation.go @@ -5,11 +5,11 @@ import ( "sync" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/common/mempool" - sv "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/parallel" + "github.com/consensys/linea-monorepo/prover/maths/common/mempool" + sv "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/parallel" ) const ( diff --git a/prover/symbolic/evaluation_bench_test.go b/prover/symbolic/evaluation_bench_test.go index c51948d31..220c718d5 100644 --- a/prover/symbolic/evaluation_bench_test.go +++ b/prover/symbolic/evaluation_bench_test.go @@ -5,12 +5,12 @@ import ( "path" "testing" - "github.com/consensys/zkevm-monorepo/prover/backend/files" - "github.com/consensys/zkevm-monorepo/prover/maths/common/mempool" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/serialization" - "github.com/consensys/zkevm-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/backend/files" + "github.com/consensys/linea-monorepo/prover/maths/common/mempool" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/serialization" + "github.com/consensys/linea-monorepo/prover/symbolic" "github.com/stretchr/testify/assert" ) diff --git a/prover/symbolic/evaluation_board.go b/prover/symbolic/evaluation_board.go index 3abe3a85d..c4de7498b 100644 --- a/prover/symbolic/evaluation_board.go +++ b/prover/symbolic/evaluation_board.go @@ -1,10 +1,10 @@ package symbolic import ( - "github.com/consensys/zkevm-monorepo/prover/maths/common/mempool" - sv "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/common/mempool" + sv "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/sirupsen/logrus" ) diff --git a/prover/symbolic/evaluation_test.go b/prover/symbolic/evaluation_test.go index d02fb3b5c..e86d2cc5f 100644 --- a/prover/symbolic/evaluation_test.go +++ b/prover/symbolic/evaluation_test.go @@ -3,9 +3,9 @@ package symbolic import ( "testing" - sv "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" + sv "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" "github.com/stretchr/testify/require" ) diff --git a/prover/symbolic/expression.go b/prover/symbolic/expression.go index 835bf99ea..32b9efb31 100644 --- a/prover/symbolic/expression.go +++ b/prover/symbolic/expression.go @@ -5,11 +5,11 @@ import ( "reflect" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/common/mempool" - sv "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/collection" + "github.com/consensys/linea-monorepo/prover/maths/common/mempool" + sv "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/collection" ) // anchoredExpression represents symbolic expression pinned into an overarching diff --git a/prover/symbolic/expression_board.go b/prover/symbolic/expression_board.go index 089fc5422..45a2a972e 100644 --- a/prover/symbolic/expression_board.go +++ b/prover/symbolic/expression_board.go @@ -1,8 +1,8 @@ package symbolic import ( - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" ) /* diff --git a/prover/symbolic/expression_test.go b/prover/symbolic/expression_test.go index f8acba991..0f833f4d5 100644 --- a/prover/symbolic/expression_test.go +++ b/prover/symbolic/expression_test.go @@ -3,9 +3,9 @@ package symbolic import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils/collection" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils/collection" "github.com/stretchr/testify/require" ) diff --git a/prover/symbolic/lincomb.go b/prover/symbolic/lincomb.go index 098fe00aa..d5e7d0050 100644 --- a/prover/symbolic/lincomb.go +++ b/prover/symbolic/lincomb.go @@ -5,10 +5,10 @@ import ( "reflect" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/common/mempool" - sv "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/common/mempool" + sv "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" ) // LinComb is an [Operator] symbolizing linear combinations of expressions with diff --git a/prover/symbolic/pattern.go b/prover/symbolic/pattern.go index be24f9396..1149d9779 100644 --- a/prover/symbolic/pattern.go +++ b/prover/symbolic/pattern.go @@ -1,6 +1,6 @@ package symbolic -import "github.com/consensys/zkevm-monorepo/prover/maths/field" +import "github.com/consensys/linea-monorepo/prover/maths/field" /* IsMul returns true if an expression is a mul at the top-level diff --git a/prover/symbolic/polyeval.go b/prover/symbolic/polyeval.go index b8fd37d72..f4e0f209e 100644 --- a/prover/symbolic/polyeval.go +++ b/prover/symbolic/polyeval.go @@ -4,11 +4,11 @@ import ( "fmt" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/common/mempool" - "github.com/consensys/zkevm-monorepo/prover/maths/common/poly" - sv "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/common/mempool" + "github.com/consensys/linea-monorepo/prover/maths/common/poly" + sv "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" ) /* diff --git a/prover/symbolic/product.go b/prover/symbolic/product.go index 677a3b950..cd83b7f81 100644 --- a/prover/symbolic/product.go +++ b/prover/symbolic/product.go @@ -7,11 +7,11 @@ import ( "reflect" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/common/mempool" - sv "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/gnarkutil" + "github.com/consensys/linea-monorepo/prover/maths/common/mempool" + sv "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/gnarkutil" ) var ( diff --git a/prover/symbolic/simplification.go b/prover/symbolic/simplification.go index a41818b92..7a51a6974 100644 --- a/prover/symbolic/simplification.go +++ b/prover/symbolic/simplification.go @@ -1,7 +1,7 @@ package symbolic import ( - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/maths/field" ) // regroupTerms takes a list of expressions and magnitudes and regroups the diff --git a/prover/symbolic/simplification_test.go b/prover/symbolic/simplification_test.go index 679178a85..4b8bb615e 100644 --- a/prover/symbolic/simplification_test.go +++ b/prover/symbolic/simplification_test.go @@ -3,7 +3,7 @@ package symbolic import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/maths/field" "github.com/stretchr/testify/assert" ) diff --git a/prover/symbolic/simplify/cost_stat.go b/prover/symbolic/simplify/cost_stat.go index cad97bea2..f33ecc8db 100644 --- a/prover/symbolic/simplify/cost_stat.go +++ b/prover/symbolic/simplify/cost_stat.go @@ -3,7 +3,7 @@ package simplify import ( "math/bits" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" + sym "github.com/consensys/linea-monorepo/prover/symbolic" ) // Returns the cost of evaluating the expression in number of multiplications diff --git a/prover/symbolic/simplify/cost_stat_test.go b/prover/symbolic/simplify/cost_stat_test.go index 23275701d..aa6ca87a5 100644 --- a/prover/symbolic/simplify/cost_stat_test.go +++ b/prover/symbolic/simplify/cost_stat_test.go @@ -3,7 +3,7 @@ package simplify import ( "testing" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" + sym "github.com/consensys/linea-monorepo/prover/symbolic" "github.com/stretchr/testify/assert" ) diff --git a/prover/symbolic/simplify/factor.go b/prover/symbolic/simplify/factor.go index b2f49e1e5..614656b31 100644 --- a/prover/symbolic/simplify/factor.go +++ b/prover/symbolic/simplify/factor.go @@ -6,9 +6,9 @@ import ( "math" "sort" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/field" + sym "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/sirupsen/logrus" ) diff --git a/prover/symbolic/simplify/factor_test.go b/prover/symbolic/simplify/factor_test.go index 7a36d0c7a..60bb8ba71 100644 --- a/prover/symbolic/simplify/factor_test.go +++ b/prover/symbolic/simplify/factor_test.go @@ -4,8 +4,8 @@ import ( "fmt" "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/maths/field" + sym "github.com/consensys/linea-monorepo/prover/symbolic" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/prover/symbolic/simplify/rmpolyeval.go b/prover/symbolic/simplify/rmpolyeval.go index fcce64400..78171d828 100644 --- a/prover/symbolic/simplify/rmpolyeval.go +++ b/prover/symbolic/simplify/rmpolyeval.go @@ -1,7 +1,7 @@ package simplify import ( - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" + sym "github.com/consensys/linea-monorepo/prover/symbolic" ) // removePolyEval rewrites all the polyeval as an equivalent sums of products diff --git a/prover/symbolic/simplify/simplify.go b/prover/symbolic/simplify/simplify.go index 98d852832..705ac3601 100644 --- a/prover/symbolic/simplify/simplify.go +++ b/prover/symbolic/simplify/simplify.go @@ -3,8 +3,8 @@ package simplify import ( - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" + sym "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" ) var ( diff --git a/prover/symbolic/variable.go b/prover/symbolic/variable.go index d0eab6925..60b382472 100644 --- a/prover/symbolic/variable.go +++ b/prover/symbolic/variable.go @@ -5,10 +5,10 @@ import ( "reflect" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/maths/common/mempool" - sv "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/common/mempool" + sv "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" "golang.org/x/crypto/blake2b" ) diff --git a/prover/utils/collection/mapping.go b/prover/utils/collection/mapping.go index 5dc06bfce..d1c796b13 100644 --- a/prover/utils/collection/mapping.go +++ b/prover/utils/collection/mapping.go @@ -3,7 +3,7 @@ package collection import ( "fmt" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils" ) // Mapping wraps a map and adds utility functions diff --git a/prover/utils/collection/vecvec.go b/prover/utils/collection/vecvec.go index 392966583..e700e64c4 100644 --- a/prover/utils/collection/vecvec.go +++ b/prover/utils/collection/vecvec.go @@ -1,6 +1,6 @@ package collection -import "github.com/consensys/zkevm-monorepo/prover/utils" +import "github.com/consensys/linea-monorepo/prover/utils" // VecVec is a wrapper around double vecs // The inner slice is append only diff --git a/prover/utils/collection/vecvec_test.go b/prover/utils/collection/vecvec_test.go index d5e69b78e..aa013ac4a 100644 --- a/prover/utils/collection/vecvec_test.go +++ b/prover/utils/collection/vecvec_test.go @@ -3,7 +3,7 @@ package collection_test import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/utils/collection" + "github.com/consensys/linea-monorepo/prover/utils/collection" "github.com/stretchr/testify/require" ) diff --git a/prover/utils/csvtraces/csvtraces.go b/prover/utils/csvtraces/csvtraces.go index 86ed285da..91a35b46f 100644 --- a/prover/utils/csvtraces/csvtraces.go +++ b/prover/utils/csvtraces/csvtraces.go @@ -8,11 +8,11 @@ import ( "os" "strings" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" ) type cfg struct { diff --git a/prover/utils/gnarkutil/mimc_loose_packing.go b/prover/utils/gnarkutil/mimc_loose_packing.go index 790a131dd..1700c824e 100644 --- a/prover/utils/gnarkutil/mimc_loose_packing.go +++ b/prover/utils/gnarkutil/mimc_loose_packing.go @@ -8,7 +8,7 @@ import ( "github.com/consensys/gnark-crypto/hash" "github.com/consensys/gnark/constraint/solver" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils" ) // ins: nbBatches, [end byte positions], payload... diff --git a/prover/utils/hex_test.go b/prover/utils/hex_test.go index 311a3fbe9..3070c0f55 100644 --- a/prover/utils/hex_test.go +++ b/prover/utils/hex_test.go @@ -6,7 +6,7 @@ import ( "errors" "testing" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils" ) func TestHexDecodeStringSuccess(t *testing.T) { diff --git a/prover/utils/parallel/par_test.go b/prover/utils/parallel/par_test.go index 2fc264ffe..9fb16c17f 100644 --- a/prover/utils/parallel/par_test.go +++ b/prover/utils/parallel/par_test.go @@ -3,7 +3,7 @@ package parallel_test import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/utils/parallel" + "github.com/consensys/linea-monorepo/prover/utils/parallel" ) func TestParChunky(t *testing.T) { diff --git a/prover/utils/parallel/parallel.go b/prover/utils/parallel/parallel.go index a38954915..99932c9d1 100644 --- a/prover/utils/parallel/parallel.go +++ b/prover/utils/parallel/parallel.go @@ -5,7 +5,7 @@ import ( "runtime/debug" "sync" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils" ) // Execute process in parallel the work function diff --git a/prover/utils/profiling/profiling.go b/prover/utils/profiling/profiling.go index 056ba6ccb..3da7f1570 100644 --- a/prover/utils/profiling/profiling.go +++ b/prover/utils/profiling/profiling.go @@ -6,7 +6,7 @@ import ( "os" "strings" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/pkg/profile" "github.com/sirupsen/logrus" ) diff --git a/prover/utils/types/account_test.go b/prover/utils/types/account_test.go index aefe6fcd5..ad7f31802 100644 --- a/prover/utils/types/account_test.go +++ b/prover/utils/types/account_test.go @@ -7,7 +7,7 @@ import ( "strconv" "testing" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/prover/utils/types/bytes32.go b/prover/utils/types/bytes32.go index b37950a87..e41fd96b8 100644 --- a/prover/utils/types/bytes32.go +++ b/prover/utils/types/bytes32.go @@ -6,8 +6,8 @@ import ( "math/big" "reflect" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" ) // Bytes32 represents an arbtrary bytes string of 32 bytes. It is used to diff --git a/prover/utils/types/common.go b/prover/utils/types/common.go index a81edda30..922f00175 100644 --- a/prover/utils/types/common.go +++ b/prover/utils/types/common.go @@ -7,7 +7,7 @@ import ( "math/big" "strconv" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils" ) func DecodeQuotedHexString(b []byte) ([]byte, error) { diff --git a/prover/utils/types/common_test.go b/prover/utils/types/common_test.go index aeee3d730..538122305 100644 --- a/prover/utils/types/common_test.go +++ b/prover/utils/types/common_test.go @@ -7,7 +7,7 @@ import ( "math/rand" "testing" - "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/utils/types" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/prover/utils/types/ethaddress.go b/prover/utils/types/ethaddress.go index 1816618ee..b3b12c679 100644 --- a/prover/utils/types/ethaddress.go +++ b/prover/utils/types/ethaddress.go @@ -6,7 +6,7 @@ import ( "fmt" "io" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils" ) // EthAddress represents an ethereum address. It consists of 20bytes and is the diff --git a/prover/utils/types/full_bytes_32.go b/prover/utils/types/full_bytes_32.go index dcd75effa..2f9dfc215 100644 --- a/prover/utils/types/full_bytes_32.go +++ b/prover/utils/types/full_bytes_32.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils" ) // Full bytes32 is a wrapper around bytes32 used to specifically represent diff --git a/prover/utils/types/full_bytes_32_test.go b/prover/utils/types/full_bytes_32_test.go index 0063644d5..aceda05e3 100644 --- a/prover/utils/types/full_bytes_32_test.go +++ b/prover/utils/types/full_bytes_32_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/stretchr/testify/assert" ) diff --git a/prover/utils/utils_test.go b/prover/utils/utils_test.go index 7b166c155..169fe1af7 100644 --- a/prover/utils/utils_test.go +++ b/prover/utils/utils_test.go @@ -3,7 +3,7 @@ package utils_test import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/stretchr/testify/require" ) diff --git a/prover/zkevm/arithmetization/arithmetization.go b/prover/zkevm/arithmetization/arithmetization.go index a1598e473..85456604f 100644 --- a/prover/zkevm/arithmetization/arithmetization.go +++ b/prover/zkevm/arithmetization/arithmetization.go @@ -4,9 +4,9 @@ import ( "fmt" "github.com/consensys/go-corset/pkg/air" - "github.com/consensys/zkevm-monorepo/prover/backend/files" - "github.com/consensys/zkevm-monorepo/prover/config" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/backend/files" + "github.com/consensys/linea-monorepo/prover/config" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" ) // Settings specifies the parameters for the arithmetization part of the zkEVM. diff --git a/prover/zkevm/arithmetization/assignment.go b/prover/zkevm/arithmetization/assignment.go index 1bbf95708..3d751aff4 100644 --- a/prover/zkevm/arithmetization/assignment.go +++ b/prover/zkevm/arithmetization/assignment.go @@ -7,11 +7,11 @@ import ( "github.com/consensys/go-corset/pkg/air" "github.com/consensys/go-corset/pkg/trace" - "github.com/consensys/zkevm-monorepo/prover/config" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/config" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" "github.com/sirupsen/logrus" ) diff --git a/prover/zkevm/arithmetization/definition.go b/prover/zkevm/arithmetization/definition.go index cb1522148..cbca545e2 100644 --- a/prover/zkevm/arithmetization/definition.go +++ b/prover/zkevm/arithmetization/definition.go @@ -10,12 +10,12 @@ import ( "github.com/consensys/go-corset/pkg/schema/assignment" "github.com/consensys/go-corset/pkg/schema/constraint" "github.com/consensys/go-corset/pkg/trace" - "github.com/consensys/zkevm-monorepo/prover/config" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/config" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" ) // schemaScanner is a transient scanner structure whose goal is to port the diff --git a/prover/zkevm/arithmetization/definition_test.go b/prover/zkevm/arithmetization/definition_test.go index 115110bfd..ded24e3d7 100644 --- a/prover/zkevm/arithmetization/definition_test.go +++ b/prover/zkevm/arithmetization/definition_test.go @@ -4,12 +4,12 @@ import ( "reflect" "testing" - "github.com/consensys/zkevm-monorepo/prover/config" - "github.com/consensys/zkevm-monorepo/prover/protocol/coin" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils/collection" + "github.com/consensys/linea-monorepo/prover/config" + "github.com/consensys/linea-monorepo/prover/protocol/coin" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils/collection" "github.com/stretchr/testify/require" ) diff --git a/prover/zkevm/checker.go b/prover/zkevm/checker.go index 7b57c02fb..afc343e43 100644 --- a/prover/zkevm/checker.go +++ b/prover/zkevm/checker.go @@ -3,10 +3,10 @@ package zkevm import ( "sync" - "github.com/consensys/zkevm-monorepo/prover/config" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/zkevm/arithmetization" + "github.com/consensys/linea-monorepo/prover/config" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/zkevm/arithmetization" ) var ( diff --git a/prover/zkevm/full.go b/prover/zkevm/full.go index 28c1769bf..395c0fb32 100644 --- a/prover/zkevm/full.go +++ b/prover/zkevm/full.go @@ -3,25 +3,25 @@ package zkevm import ( "sync" - "github.com/consensys/zkevm-monorepo/prover/config" - "github.com/consensys/zkevm-monorepo/prover/crypto/ringsis" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/cleanup" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/mimc" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/selfrecursion" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/vortex" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/zkevm/arithmetization" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/ecarith" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/ecdsa" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/ecpair" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/keccak" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/sha2" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/modexp" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/statemanager" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/statemanager/accumulator" + "github.com/consensys/linea-monorepo/prover/config" + "github.com/consensys/linea-monorepo/prover/crypto/ringsis" + "github.com/consensys/linea-monorepo/prover/protocol/compiler" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/cleanup" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/mimc" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/selfrecursion" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/vortex" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/zkevm/arithmetization" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/ecarith" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/ecdsa" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/ecpair" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/keccak" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/sha2" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/modexp" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/statemanager" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/statemanager/accumulator" ) const ( diff --git a/prover/zkevm/partial.go b/prover/zkevm/partial.go index 39057f358..9435cbe43 100644 --- a/prover/zkevm/partial.go +++ b/prover/zkevm/partial.go @@ -3,11 +3,11 @@ package zkevm import ( "sync" - "github.com/consensys/zkevm-monorepo/prover/config" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/vortex" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/zkevm/arithmetization" + "github.com/consensys/linea-monorepo/prover/config" + "github.com/consensys/linea-monorepo/prover/protocol/compiler" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/vortex" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/zkevm/arithmetization" ) const ( diff --git a/prover/zkevm/prover/common/common_constraints/common_constraints.go b/prover/zkevm/prover/common/common_constraints/common_constraints.go index 899c2b050..67be02653 100644 --- a/prover/zkevm/prover/common/common_constraints/common_constraints.go +++ b/prover/zkevm/prover/common/common_constraints/common_constraints.go @@ -3,10 +3,10 @@ package commonconstraints import ( "strings" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" ) // MustZeroWhenInactive constraints the column to cancel when inactive. diff --git a/prover/zkevm/prover/common/hashing.go b/prover/zkevm/prover/common/hashing.go index 340ed7d51..a82cdbb32 100644 --- a/prover/zkevm/prover/common/hashing.go +++ b/prover/zkevm/prover/common/hashing.go @@ -1,15 +1,15 @@ package common import ( - "github.com/consensys/zkevm-monorepo/prover/crypto/mimc" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/column/verifiercol" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizardutils" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/parallel" + "github.com/consensys/linea-monorepo/prover/crypto/mimc" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/column/verifiercol" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/protocol/wizardutils" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/parallel" ) // HashingCtx is the wizard context responsible for hashing a table row-wise. diff --git a/prover/zkevm/prover/common/hashing_test.go b/prover/zkevm/prover/common/hashing_test.go index 5c9bd940d..8019e89e2 100644 --- a/prover/zkevm/prover/common/hashing_test.go +++ b/prover/zkevm/prover/common/hashing_test.go @@ -4,11 +4,11 @@ import ( "fmt" "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" ) func TestHashing(t *testing.T) { diff --git a/prover/zkevm/prover/common/round_zero.go b/prover/zkevm/prover/common/round_zero.go index 5c08d714d..8ea6340c2 100644 --- a/prover/zkevm/prover/common/round_zero.go +++ b/prover/zkevm/prover/common/round_zero.go @@ -3,8 +3,8 @@ package common import ( "strings" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" ) // It commits to the columns of round zero, from the same module. diff --git a/prover/zkevm/prover/common/vector_builder.go b/prover/zkevm/prover/common/vector_builder.go index ccbeefe8c..35808ebb2 100644 --- a/prover/zkevm/prover/common/vector_builder.go +++ b/prover/zkevm/prover/common/vector_builder.go @@ -1,12 +1,12 @@ package common import ( - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/types" ) // VectorBuilder is a convenience structure to assign columns by appending diff --git a/prover/zkevm/prover/ecarith/ecadd.go b/prover/zkevm/prover/ecarith/ecadd.go index cf27db6b5..fd01d31ec 100644 --- a/prover/zkevm/prover/ecarith/ecadd.go +++ b/prover/zkevm/prover/ecarith/ecadd.go @@ -8,9 +8,9 @@ import ( "github.com/consensys/gnark/std/algebra/emulated/sw_bn254" "github.com/consensys/gnark/std/math/bitslice" "github.com/consensys/gnark/std/math/emulated" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/plonk" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/plonk" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" ) const ( diff --git a/prover/zkevm/prover/ecarith/ecadd_test.go b/prover/zkevm/prover/ecarith/ecadd_test.go index 90fd3fa81..c67f25f23 100644 --- a/prover/zkevm/prover/ecarith/ecadd_test.go +++ b/prover/zkevm/prover/ecarith/ecadd_test.go @@ -3,10 +3,10 @@ package ecarith import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/plonk" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils/csvtraces" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/plonk" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils/csvtraces" ) func TestEcAddIntegration(t *testing.T) { diff --git a/prover/zkevm/prover/ecarith/ecmul.go b/prover/zkevm/prover/ecarith/ecmul.go index 7a1d5f99a..df52f0a6a 100644 --- a/prover/zkevm/prover/ecarith/ecmul.go +++ b/prover/zkevm/prover/ecarith/ecmul.go @@ -9,9 +9,9 @@ import ( "github.com/consensys/gnark/std/algebra/emulated/sw_bn254" "github.com/consensys/gnark/std/math/bitslice" "github.com/consensys/gnark/std/math/emulated" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/plonk" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/plonk" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" ) const ( diff --git a/prover/zkevm/prover/ecarith/ecmul_test.go b/prover/zkevm/prover/ecarith/ecmul_test.go index ca0eb7a04..7d4c1ebac 100644 --- a/prover/zkevm/prover/ecarith/ecmul_test.go +++ b/prover/zkevm/prover/ecarith/ecmul_test.go @@ -9,10 +9,10 @@ import ( "github.com/consensys/gnark-crypto/ecc" "github.com/consensys/gnark/backend" "github.com/consensys/gnark/test" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/plonk" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils/csvtraces" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/plonk" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils/csvtraces" ) var ( diff --git a/prover/zkevm/prover/ecarith/limits.go b/prover/zkevm/prover/ecarith/limits.go index 2d8d944a7..43a7d4cfb 100644 --- a/prover/zkevm/prover/ecarith/limits.go +++ b/prover/zkevm/prover/ecarith/limits.go @@ -1,6 +1,6 @@ package ecarith -import "github.com/consensys/zkevm-monorepo/prover/utils" +import "github.com/consensys/linea-monorepo/prover/utils" // Limits defines the upper limits on the size of the circuit and the number of // gnark circuits. The total number of allowed EC_MUL precompile calls is diff --git a/prover/zkevm/prover/ecdsa/address_test.go b/prover/zkevm/prover/ecdsa/address_test.go index a8e17d10a..9c7dbe62b 100644 --- a/prover/zkevm/prover/ecdsa/address_test.go +++ b/prover/zkevm/prover/ecdsa/address_test.go @@ -3,12 +3,12 @@ package ecdsa import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/generic" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/generic/testdata" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/keccak" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic/testdata" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/keccak" "github.com/stretchr/testify/assert" ) diff --git a/prover/zkevm/prover/ecdsa/adress.go b/prover/zkevm/prover/ecdsa/adress.go index 907234bce..a80135813 100644 --- a/prover/zkevm/prover/ecdsa/adress.go +++ b/prover/zkevm/prover/ecdsa/adress.go @@ -1,19 +1,19 @@ package ecdsa import ( - "github.com/consensys/zkevm-monorepo/prover/crypto/keccak" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/byte32cmp" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/projection" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/generic" + "github.com/consensys/linea-monorepo/prover/crypto/keccak" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/byte32cmp" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/projection" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/common" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" ) // Address submodule is responsible for the columns holding the address of the sender, diff --git a/prover/zkevm/prover/ecdsa/antichamber.go b/prover/zkevm/prover/ecdsa/antichamber.go index 24392d5d0..c5fff035c 100644 --- a/prover/zkevm/prover/ecdsa/antichamber.go +++ b/prover/zkevm/prover/ecdsa/antichamber.go @@ -1,13 +1,13 @@ package ecdsa import ( - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/plonk" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/generic" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/plonk" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" ) const ( diff --git a/prover/zkevm/prover/ecdsa/antichamber_columns.go b/prover/zkevm/prover/ecdsa/antichamber_columns.go index 51978ca33..ba90073b4 100644 --- a/prover/zkevm/prover/ecdsa/antichamber_columns.go +++ b/prover/zkevm/prover/ecdsa/antichamber_columns.go @@ -1,6 +1,6 @@ package ecdsa -import "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" +import "github.com/consensys/linea-monorepo/prover/protocol/ifaces" func (ac *antichamber) cols(withActive bool) []ifaces.Column { res := []ifaces.Column{ diff --git a/prover/zkevm/prover/ecdsa/antichamber_constraints.go b/prover/zkevm/prover/ecdsa/antichamber_constraints.go index 930132d36..890dbb8c9 100644 --- a/prover/zkevm/prover/ecdsa/antichamber_constraints.go +++ b/prover/zkevm/prover/ecdsa/antichamber_constraints.go @@ -1,10 +1,10 @@ package ecdsa import ( - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" ) // csIsActive constraints that IsActive module to be only one for antichamber rounds. diff --git a/prover/zkevm/prover/ecdsa/antichamber_test.go b/prover/zkevm/prover/ecdsa/antichamber_test.go index 715267e5e..b572df6fc 100644 --- a/prover/zkevm/prover/ecdsa/antichamber_test.go +++ b/prover/zkevm/prover/ecdsa/antichamber_test.go @@ -9,14 +9,14 @@ import ( "github.com/consensys/gnark-crypto/ecc/secp256k1/ecdsa" fr_secp256k1 "github.com/consensys/gnark-crypto/ecc/secp256k1/fr" - "github.com/consensys/zkevm-monorepo/prover/crypto/keccak" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/plonk" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/csvtraces" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/generic" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/generic/testdata" + "github.com/consensys/linea-monorepo/prover/crypto/keccak" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/plonk" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/csvtraces" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic/testdata" "golang.org/x/crypto/sha3" ) diff --git a/prover/zkevm/prover/ecdsa/circuit.go b/prover/zkevm/prover/ecdsa/circuit.go index b1722db6e..fdec4223c 100644 --- a/prover/zkevm/prover/ecdsa/circuit.go +++ b/prover/zkevm/prover/ecdsa/circuit.go @@ -10,7 +10,7 @@ import ( "github.com/consensys/gnark/std/math/bitslice" "github.com/consensys/gnark/std/math/emulated" "github.com/consensys/gnark/std/math/emulated/emparams" - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/maths/field" ) type EcRecoverInstance struct { diff --git a/prover/zkevm/prover/ecdsa/ecdata.go b/prover/zkevm/prover/ecdsa/ecdata.go index 32b61470a..303ac3079 100644 --- a/prover/zkevm/prover/ecdsa/ecdata.go +++ b/prover/zkevm/prover/ecdsa/ecdata.go @@ -1,12 +1,12 @@ package ecdsa import ( - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/projection" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/projection" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" ) var ( diff --git a/prover/zkevm/prover/ecdsa/ecdata_test.go b/prover/zkevm/prover/ecdsa/ecdata_test.go index 389d74d0e..64f269a76 100644 --- a/prover/zkevm/prover/ecdsa/ecdata_test.go +++ b/prover/zkevm/prover/ecdsa/ecdata_test.go @@ -4,9 +4,9 @@ import ( "os" "testing" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils/csvtraces" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils/csvtraces" ) func TestEcDataAssignData(t *testing.T) { diff --git a/prover/zkevm/prover/ecdsa/ecdsa.go b/prover/zkevm/prover/ecdsa/ecdsa.go index 408a9b8f0..fae9b5fe0 100644 --- a/prover/zkevm/prover/ecdsa/ecdsa.go +++ b/prover/zkevm/prover/ecdsa/ecdsa.go @@ -1,9 +1,9 @@ package ecdsa import ( - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/plonk" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/generic" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/plonk" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" ) type EcdsaZkEvm struct { diff --git a/prover/zkevm/prover/ecdsa/txn_signature.go b/prover/zkevm/prover/ecdsa/txn_signature.go index e0d6c2af3..1d8915332 100644 --- a/prover/zkevm/prover/ecdsa/txn_signature.go +++ b/prover/zkevm/prover/ecdsa/txn_signature.go @@ -1,16 +1,16 @@ package ecdsa import ( - "github.com/consensys/zkevm-monorepo/prover/crypto/keccak" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" - commonconstraints "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common/common_constraints" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/generic" + "github.com/consensys/linea-monorepo/prover/crypto/keccak" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" + commonconstraints "github.com/consensys/linea-monorepo/prover/zkevm/prover/common/common_constraints" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" ) // TxSignature is responsible for assigning the relevant columns for transaction-Hash, diff --git a/prover/zkevm/prover/ecdsa/txn_signature_test.go b/prover/zkevm/prover/ecdsa/txn_signature_test.go index 4541c20a8..0216f3f30 100644 --- a/prover/zkevm/prover/ecdsa/txn_signature_test.go +++ b/prover/zkevm/prover/ecdsa/txn_signature_test.go @@ -3,11 +3,11 @@ package ecdsa import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/generic/testdata" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/keccak" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/common" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic/testdata" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/keccak" "github.com/stretchr/testify/assert" ) diff --git a/prover/zkevm/prover/ecdsa/unaligned_gnark.go b/prover/zkevm/prover/ecdsa/unaligned_gnark.go index 82b5c54c1..03e250ca8 100644 --- a/prover/zkevm/prover/ecdsa/unaligned_gnark.go +++ b/prover/zkevm/prover/ecdsa/unaligned_gnark.go @@ -4,15 +4,15 @@ import ( "math/big" "github.com/consensys/gnark-crypto/ecc/secp256k1/ecdsa" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/projection" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/projection" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" ) const ( diff --git a/prover/zkevm/prover/ecdsa/unaligned_gnark_test.go b/prover/zkevm/prover/ecdsa/unaligned_gnark_test.go index 8a75ef682..1575ed190 100644 --- a/prover/zkevm/prover/ecdsa/unaligned_gnark_test.go +++ b/prover/zkevm/prover/ecdsa/unaligned_gnark_test.go @@ -4,9 +4,9 @@ import ( "os" "testing" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils/csvtraces" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils/csvtraces" ) func TestUnalignedGnarkDataAssign(t *testing.T) { diff --git a/prover/zkevm/prover/ecdsa/utils.go b/prover/zkevm/prover/ecdsa/utils.go index 02e59f943..3461df1a5 100644 --- a/prover/zkevm/prover/ecdsa/utils.go +++ b/prover/zkevm/prover/ecdsa/utils.go @@ -1,9 +1,9 @@ package ecdsa import ( - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" ) // -- utils. Copied from prover/zkevm/prover/statemanager/statesummary/state_summary.go diff --git a/prover/zkevm/prover/ecdsa/utils_for_test.go b/prover/zkevm/prover/ecdsa/utils_for_test.go index 8d4ea81f2..56a52096a 100644 --- a/prover/zkevm/prover/ecdsa/utils_for_test.go +++ b/prover/zkevm/prover/ecdsa/utils_for_test.go @@ -1,14 +1,14 @@ package ecdsa import ( - "github.com/consensys/zkevm-monorepo/prover/crypto/keccak" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/generic" + "github.com/consensys/linea-monorepo/prover/crypto/keccak" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" "golang.org/x/crypto/sha3" ) diff --git a/prover/zkevm/prover/ecpair/ecpair.go b/prover/zkevm/prover/ecpair/ecpair.go index e0bba35b2..7623be886 100644 --- a/prover/zkevm/prover/ecpair/ecpair.go +++ b/prover/zkevm/prover/ecpair/ecpair.go @@ -1,9 +1,9 @@ package ecpair import ( - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/plonk" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/plonk" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" ) func createColFn(comp *wizard.CompiledIOP, rootName string, size int) func(name string) ifaces.Column { diff --git a/prover/zkevm/prover/ecpair/ecpair_assignment.go b/prover/zkevm/prover/ecpair/ecpair_assignment.go index 28ee953c9..542748d33 100644 --- a/prover/zkevm/prover/ecpair/ecpair_assignment.go +++ b/prover/zkevm/prover/ecpair/ecpair_assignment.go @@ -2,10 +2,10 @@ package ecpair import ( "github.com/consensys/gnark-crypto/ecc/bn254" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/common" ) // Assign assigns the data to the circuit diff --git a/prover/zkevm/prover/ecpair/ecpair_constraints.go b/prover/zkevm/prover/ecpair/ecpair_constraints.go index d9f20f9ff..5a414716b 100644 --- a/prover/zkevm/prover/ecpair/ecpair_constraints.go +++ b/prover/zkevm/prover/ecpair/ecpair_constraints.go @@ -1,11 +1,11 @@ package ecpair import ( - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/projection" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/projection" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" ) func (ec *ECPair) csBinaryConstraints(comp *wizard.CompiledIOP) { diff --git a/prover/zkevm/prover/ecpair/ecpair_test.go b/prover/zkevm/prover/ecpair/ecpair_test.go index d5f2a839f..34a69d57e 100644 --- a/prover/zkevm/prover/ecpair/ecpair_test.go +++ b/prover/zkevm/prover/ecpair/ecpair_test.go @@ -3,10 +3,10 @@ package ecpair import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/plonk" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils/csvtraces" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/plonk" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils/csvtraces" ) type pairingDataTestCase struct { diff --git a/prover/zkevm/prover/ecpair/limits.go b/prover/zkevm/prover/ecpair/limits.go index 8a946855c..23e3a34c5 100644 --- a/prover/zkevm/prover/ecpair/limits.go +++ b/prover/zkevm/prover/ecpair/limits.go @@ -1,7 +1,7 @@ package ecpair import ( - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils" ) // Limits for bounds for different calls to gnark circuits diff --git a/prover/zkevm/prover/ecpair/utils.go b/prover/zkevm/prover/ecpair/utils.go index 7ee8c0a27..9eac4bad3 100644 --- a/prover/zkevm/prover/ecpair/utils.go +++ b/prover/zkevm/prover/ecpair/utils.go @@ -3,8 +3,8 @@ package ecpair import ( "github.com/consensys/gnark-crypto/ecc/bn254" "github.com/consensys/gnark-crypto/ecc/bn254/fp" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" ) func convG1WizardToGnark(limbs [nbG1Limbs]field.Element) bn254.G1Affine { diff --git a/prover/zkevm/prover/hash/generic/gen_byte_module.go b/prover/zkevm/prover/hash/generic/gen_byte_module.go index 927285af9..4d1a67cc7 100644 --- a/prover/zkevm/prover/hash/generic/gen_byte_module.go +++ b/prover/zkevm/prover/hash/generic/gen_byte_module.go @@ -3,9 +3,9 @@ package generic import ( "bytes" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" ) // GenericByteModule encodes the limbs with a left alignment approach diff --git a/prover/zkevm/prover/hash/generic/gen_byte_module_test.go b/prover/zkevm/prover/hash/generic/gen_byte_module_test.go index 5642a2b68..b5057ad7d 100644 --- a/prover/zkevm/prover/hash/generic/gen_byte_module_test.go +++ b/prover/zkevm/prover/hash/generic/gen_byte_module_test.go @@ -3,10 +3,10 @@ package generic import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/common" "github.com/stretchr/testify/assert" ) diff --git a/prover/zkevm/prover/hash/generic/testdata/gen.go b/prover/zkevm/prover/hash/generic/testdata/gen.go index fbcea6747..65f0d9602 100644 --- a/prover/zkevm/prover/hash/generic/testdata/gen.go +++ b/prover/zkevm/prover/hash/generic/testdata/gen.go @@ -4,12 +4,12 @@ import ( "fmt" "math/rand" - "github.com/consensys/zkevm-monorepo/prover/backend/files" - "github.com/consensys/zkevm-monorepo/prover/crypto/keccak" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/generic" + "github.com/consensys/linea-monorepo/prover/backend/files" + "github.com/consensys/linea-monorepo/prover/crypto/keccak" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/common" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" ) // it receives columns hashNum and toHash and generates GenDataModule. diff --git a/prover/zkevm/prover/hash/importpad/common.go b/prover/zkevm/prover/hash/importpad/common.go index 411ec7454..fcd38745c 100644 --- a/prover/zkevm/prover/hash/importpad/common.go +++ b/prover/zkevm/prover/hash/importpad/common.go @@ -3,8 +3,8 @@ package importpad import ( "math/big" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" ) func leftAlign(x uint64, nBytes int) field.Element { diff --git a/prover/zkevm/prover/hash/importpad/import_pad.go b/prover/zkevm/prover/hash/importpad/import_pad.go index a6c7dbe1a..3d21a38bf 100644 --- a/prover/zkevm/prover/hash/importpad/import_pad.go +++ b/prover/zkevm/prover/hash/importpad/import_pad.go @@ -1,16 +1,16 @@ package importpad import ( - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/projection" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common" - cs "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common/common_constraints" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/generic" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/projection" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/common" + cs "github.com/consensys/linea-monorepo/prover/zkevm/prover/common/common_constraints" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" ) // ImportAndPadInputs collect the inputs of the [ImportAndPad] function. diff --git a/prover/zkevm/prover/hash/importpad/import_pad_test.go b/prover/zkevm/prover/hash/importpad/import_pad_test.go index 6a204b9ed..c0b4fd1cd 100644 --- a/prover/zkevm/prover/hash/importpad/import_pad_test.go +++ b/prover/zkevm/prover/hash/importpad/import_pad_test.go @@ -4,12 +4,12 @@ import ( "encoding/hex" "testing" - "github.com/consensys/zkevm-monorepo/prover/crypto/keccak" - "github.com/consensys/zkevm-monorepo/prover/crypto/sha2" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils/csvtraces" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/generic" + "github.com/consensys/linea-monorepo/prover/crypto/keccak" + "github.com/consensys/linea-monorepo/prover/crypto/sha2" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils/csvtraces" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" "github.com/stretchr/testify/assert" ) diff --git a/prover/zkevm/prover/hash/importpad/lookup.go b/prover/zkevm/prover/hash/importpad/lookup.go index 6b03e7f0d..2913aba0c 100644 --- a/prover/zkevm/prover/hash/importpad/lookup.go +++ b/prover/zkevm/prover/hash/importpad/lookup.go @@ -1,11 +1,11 @@ package importpad import ( - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" ) // newLookup creates a range-checking lookup table to ensure that the padding diff --git a/prover/zkevm/prover/hash/importpad/padding_keccak.go b/prover/zkevm/prover/hash/importpad/padding_keccak.go index 2f9cdde3b..c270425b3 100644 --- a/prover/zkevm/prover/hash/importpad/padding_keccak.go +++ b/prover/zkevm/prover/hash/importpad/padding_keccak.go @@ -1,12 +1,12 @@ package importpad import ( - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/generic" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" ) // keccakPadder implements the [padder] interface. The struct is empty mainly diff --git a/prover/zkevm/prover/hash/importpad/padding_mimc.go b/prover/zkevm/prover/hash/importpad/padding_mimc.go index 72e076e25..964c90e53 100644 --- a/prover/zkevm/prover/hash/importpad/padding_mimc.go +++ b/prover/zkevm/prover/hash/importpad/padding_mimc.go @@ -1,11 +1,11 @@ package importpad import ( - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/generic" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" ) // mimcPadder implements the [padder] interface and zero-pads the input streams. diff --git a/prover/zkevm/prover/hash/importpad/padding_sha2.go b/prover/zkevm/prover/hash/importpad/padding_sha2.go index c17d03f79..26dd6e936 100644 --- a/prover/zkevm/prover/hash/importpad/padding_sha2.go +++ b/prover/zkevm/prover/hash/importpad/padding_sha2.go @@ -1,14 +1,14 @@ package importpad import ( - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/generic" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/common" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" ) // sha2Padder implements the [padder] interface for the SHA2 hash function. diff --git a/prover/zkevm/prover/hash/importpad/testdata/gen.go b/prover/zkevm/prover/hash/importpad/testdata/gen.go index 4cfc672bc..426d39f60 100644 --- a/prover/zkevm/prover/hash/importpad/testdata/gen.go +++ b/prover/zkevm/prover/hash/importpad/testdata/gen.go @@ -4,8 +4,8 @@ import ( "fmt" "math/rand" - "github.com/consensys/zkevm-monorepo/prover/backend/files" - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/backend/files" + "github.com/consensys/linea-monorepo/prover/maths/field" ) func main() { diff --git a/prover/zkevm/prover/hash/importpad/unsafe_gen_importation.go b/prover/zkevm/prover/hash/importpad/unsafe_gen_importation.go index 29e62f8a0..2ba2b3702 100644 --- a/prover/zkevm/prover/hash/importpad/unsafe_gen_importation.go +++ b/prover/zkevm/prover/hash/importpad/unsafe_gen_importation.go @@ -3,8 +3,8 @@ package importpad import ( "fmt" - "github.com/consensys/zkevm-monorepo/prover/backend/files" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/backend/files" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" ) // It prints the Importation columns, it is not safe to be used directly for test. diff --git a/prover/zkevm/prover/hash/keccak/acc_module/data_acc.go b/prover/zkevm/prover/hash/keccak/acc_module/data_acc.go index 81d6e4c0f..8019ff20a 100644 --- a/prover/zkevm/prover/hash/keccak/acc_module/data_acc.go +++ b/prover/zkevm/prover/hash/keccak/acc_module/data_acc.go @@ -2,17 +2,17 @@ package gen_acc import ( - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - projection "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/projection" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common" - commonconstraints "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common/common_constraints" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/generic" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" + projection "github.com/consensys/linea-monorepo/prover/protocol/dedicated/projection" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/common" + commonconstraints "github.com/consensys/linea-monorepo/prover/zkevm/prover/common/common_constraints" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" ) const ( diff --git a/prover/zkevm/prover/hash/keccak/acc_module/data_acc_test.go b/prover/zkevm/prover/hash/keccak/acc_module/data_acc_test.go index c9ce9137a..8bbf15e63 100644 --- a/prover/zkevm/prover/hash/keccak/acc_module/data_acc_test.go +++ b/prover/zkevm/prover/hash/keccak/acc_module/data_acc_test.go @@ -3,10 +3,10 @@ package gen_acc import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/generic" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/generic/testdata" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic/testdata" "github.com/stretchr/testify/assert" ) diff --git a/prover/zkevm/prover/hash/keccak/acc_module/info_acc.go b/prover/zkevm/prover/hash/keccak/acc_module/info_acc.go index e6d103869..90dec74f6 100644 --- a/prover/zkevm/prover/hash/keccak/acc_module/info_acc.go +++ b/prover/zkevm/prover/hash/keccak/acc_module/info_acc.go @@ -1,17 +1,17 @@ package gen_acc import ( - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - projection "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/projection" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common" - commonconstraints "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common/common_constraints" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/generic" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" + projection "github.com/consensys/linea-monorepo/prover/protocol/dedicated/projection" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/common" + commonconstraints "github.com/consensys/linea-monorepo/prover/zkevm/prover/common/common_constraints" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" ) // The sub-module GenericInfoAccumulator filters the data from different [generic.GenInfoModule], diff --git a/prover/zkevm/prover/hash/keccak/acc_module/info_acc_test.go b/prover/zkevm/prover/hash/keccak/acc_module/info_acc_test.go index 1dc592cf5..d93b725e1 100644 --- a/prover/zkevm/prover/hash/keccak/acc_module/info_acc_test.go +++ b/prover/zkevm/prover/hash/keccak/acc_module/info_acc_test.go @@ -3,10 +3,10 @@ package gen_acc import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/generic" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/common" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" "github.com/stretchr/testify/assert" ) diff --git a/prover/zkevm/prover/hash/keccak/base_conversion/bc_input.go b/prover/zkevm/prover/hash/keccak/base_conversion/bc_input.go index dde86081b..5b5b63c1f 100644 --- a/prover/zkevm/prover/hash/keccak/base_conversion/bc_input.go +++ b/prover/zkevm/prover/hash/keccak/base_conversion/bc_input.go @@ -15,16 +15,16 @@ package base_conversion import ( "slices" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common" - commonconstraints "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common/common_constraints" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/generic" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/keccak/keccakf" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/common" + commonconstraints "github.com/consensys/linea-monorepo/prover/zkevm/prover/common/common_constraints" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/keccak/keccakf" ) const ( diff --git a/prover/zkevm/prover/hash/keccak/base_conversion/bc_input_test.go b/prover/zkevm/prover/hash/keccak/base_conversion/bc_input_test.go index 878c91a31..5921cf805 100644 --- a/prover/zkevm/prover/hash/keccak/base_conversion/bc_input_test.go +++ b/prover/zkevm/prover/hash/keccak/base_conversion/bc_input_test.go @@ -4,12 +4,12 @@ import ( "crypto/rand" "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/generic" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/common" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" "github.com/stretchr/testify/assert" ) diff --git a/prover/zkevm/prover/hash/keccak/base_conversion/bc_output.go b/prover/zkevm/prover/hash/keccak/base_conversion/bc_output.go index 0f9f7c0fb..df637ecf1 100644 --- a/prover/zkevm/prover/hash/keccak/base_conversion/bc_output.go +++ b/prover/zkevm/prover/hash/keccak/base_conversion/bc_output.go @@ -1,14 +1,14 @@ package base_conversion import ( - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/keccak/keccakf" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/common" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/keccak/keccakf" ) // HashBaseConversionInput stores the input for [newHashBaseConversion] diff --git a/prover/zkevm/prover/hash/keccak/base_conversion/bc_output_test.go b/prover/zkevm/prover/hash/keccak/base_conversion/bc_output_test.go index ec47b4da6..16372071f 100644 --- a/prover/zkevm/prover/hash/keccak/base_conversion/bc_output_test.go +++ b/prover/zkevm/prover/hash/keccak/base_conversion/bc_output_test.go @@ -4,13 +4,13 @@ import ( "math/rand" "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/keccak/keccakf" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/common" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/keccak/keccakf" "github.com/stretchr/testify/assert" ) diff --git a/prover/zkevm/prover/hash/keccak/base_conversion/decompose_be.go b/prover/zkevm/prover/hash/keccak/base_conversion/decompose_be.go index 6c967ea2e..74741513d 100644 --- a/prover/zkevm/prover/hash/keccak/base_conversion/decompose_be.go +++ b/prover/zkevm/prover/hash/keccak/base_conversion/decompose_be.go @@ -1,11 +1,11 @@ package base_conversion import ( - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/common" ) // DecompositionInputs stors the inputs for [DecomposeBE] diff --git a/prover/zkevm/prover/hash/keccak/base_conversion/decompose_be_test.go b/prover/zkevm/prover/hash/keccak/base_conversion/decompose_be_test.go index a49c02439..d630e99d3 100644 --- a/prover/zkevm/prover/hash/keccak/base_conversion/decompose_be_test.go +++ b/prover/zkevm/prover/hash/keccak/base_conversion/decompose_be_test.go @@ -4,11 +4,11 @@ import ( "math/rand" "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/common" "github.com/stretchr/testify/assert" ) diff --git a/prover/zkevm/prover/hash/keccak/base_conversion/lookups.go b/prover/zkevm/prover/hash/keccak/base_conversion/lookups.go index 83efaddd6..4abf4c247 100644 --- a/prover/zkevm/prover/hash/keccak/base_conversion/lookups.go +++ b/prover/zkevm/prover/hash/keccak/base_conversion/lookups.go @@ -4,12 +4,12 @@ import ( "encoding/binary" "math" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/keccak/keccakf" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/keccak/keccakf" ) type lookUpTables struct { diff --git a/prover/zkevm/prover/hash/keccak/keccak_over_blocks.go b/prover/zkevm/prover/hash/keccak/keccak_over_blocks.go index 6185edd6c..af4d14484 100644 --- a/prover/zkevm/prover/hash/keccak/keccak_over_blocks.go +++ b/prover/zkevm/prover/hash/keccak/keccak_over_blocks.go @@ -1,15 +1,15 @@ package keccak import ( - "github.com/consensys/zkevm-monorepo/prover/crypto/keccak" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/keccak/base_conversion" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/keccak/keccakf" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/packing/dedicated/spaghettifier" + "github.com/consensys/linea-monorepo/prover/crypto/keccak" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/common" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/keccak/base_conversion" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/keccak/keccakf" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/packing/dedicated/spaghettifier" ) type LaneInfo struct { diff --git a/prover/zkevm/prover/hash/keccak/keccak_over_blocks_test.go b/prover/zkevm/prover/hash/keccak/keccak_over_blocks_test.go index 882e7ecff..b2397055b 100644 --- a/prover/zkevm/prover/hash/keccak/keccak_over_blocks_test.go +++ b/prover/zkevm/prover/hash/keccak/keccak_over_blocks_test.go @@ -4,13 +4,13 @@ import ( "crypto/rand" "testing" - "github.com/consensys/zkevm-monorepo/prover/crypto/keccak" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/generic" + "github.com/consensys/linea-monorepo/prover/crypto/keccak" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/common" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" "github.com/stretchr/testify/assert" ) diff --git a/prover/zkevm/prover/hash/keccak/keccak_single_provider.go b/prover/zkevm/prover/hash/keccak/keccak_single_provider.go index fd2bdafe2..931f652f0 100644 --- a/prover/zkevm/prover/hash/keccak/keccak_single_provider.go +++ b/prover/zkevm/prover/hash/keccak/keccak_single_provider.go @@ -4,13 +4,13 @@ package keccak import ( - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/projection" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/generic" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/importpad" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/packing" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/projection" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/importpad" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/packing" ) // KeccakSingleProviderInput stores the inputs for [NewKeccakSingleProvider] diff --git a/prover/zkevm/prover/hash/keccak/keccak_single_provider_test.go b/prover/zkevm/prover/hash/keccak/keccak_single_provider_test.go index 26f237970..6c07405de 100644 --- a/prover/zkevm/prover/hash/keccak/keccak_single_provider_test.go +++ b/prover/zkevm/prover/hash/keccak/keccak_single_provider_test.go @@ -3,10 +3,10 @@ package keccak import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/generic" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/generic/testdata" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic/testdata" "github.com/stretchr/testify/assert" ) diff --git a/prover/zkevm/prover/hash/keccak/keccak_zkevm.go b/prover/zkevm/prover/hash/keccak/keccak_zkevm.go index 95d253a72..5e0f58f8c 100644 --- a/prover/zkevm/prover/hash/keccak/keccak_zkevm.go +++ b/prover/zkevm/prover/hash/keccak/keccak_zkevm.go @@ -6,10 +6,10 @@ package keccak import ( - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/generic" - gen_acc "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/keccak/acc_module" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" + gen_acc "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/keccak/acc_module" ) type KeccakZkEVM struct { diff --git a/prover/zkevm/prover/hash/keccak/keccak_zkevm_test.go b/prover/zkevm/prover/hash/keccak/keccak_zkevm_test.go index 8dc4de5d5..1c3a9b2af 100644 --- a/prover/zkevm/prover/hash/keccak/keccak_zkevm_test.go +++ b/prover/zkevm/prover/hash/keccak/keccak_zkevm_test.go @@ -3,10 +3,10 @@ package keccak import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/generic" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/generic/testdata" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic/testdata" "github.com/stretchr/testify/assert" ) diff --git a/prover/zkevm/prover/hash/keccak/keccakf/io.go b/prover/zkevm/prover/hash/keccak/keccakf/io.go index 56509ebd5..4cd848aec 100644 --- a/prover/zkevm/prover/hash/keccak/keccakf/io.go +++ b/prover/zkevm/prover/hash/keccak/keccakf/io.go @@ -1,16 +1,16 @@ package keccakf import ( - "github.com/consensys/zkevm-monorepo/prover/crypto/keccak" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/projection" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common" - commonconstraints "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common/common_constraints" + "github.com/consensys/linea-monorepo/prover/crypto/keccak" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/projection" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/common" + commonconstraints "github.com/consensys/linea-monorepo/prover/zkevm/prover/common/common_constraints" ) const ( diff --git a/prover/zkevm/prover/hash/keccak/keccakf/io_test.go b/prover/zkevm/prover/hash/keccak/keccakf/io_test.go index 5ece47ff5..80a4e424c 100644 --- a/prover/zkevm/prover/hash/keccak/keccakf/io_test.go +++ b/prover/zkevm/prover/hash/keccak/keccakf/io_test.go @@ -4,10 +4,10 @@ import ( "math/rand" "testing" - "github.com/consensys/zkevm-monorepo/prover/crypto/keccak" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/crypto/keccak" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" "github.com/stretchr/testify/assert" ) diff --git a/prover/zkevm/prover/hash/keccak/keccakf/keccakf.go b/prover/zkevm/prover/hash/keccak/keccakf/keccakf.go index 3251e342c..ea3c77e38 100644 --- a/prover/zkevm/prover/hash/keccak/keccakf/keccakf.go +++ b/prover/zkevm/prover/hash/keccak/keccakf/keccakf.go @@ -4,14 +4,14 @@ package keccakf import ( - "github.com/consensys/zkevm-monorepo/prover/crypto/keccak" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/parallel" + "github.com/consensys/linea-monorepo/prover/crypto/keccak" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/parallel" ) const ( diff --git a/prover/zkevm/prover/hash/keccak/keccakf/keccakf_test.go b/prover/zkevm/prover/hash/keccak/keccakf/keccakf_test.go index fcb178e60..68f1d5df2 100644 --- a/prover/zkevm/prover/hash/keccak/keccakf/keccakf_test.go +++ b/prover/zkevm/prover/hash/keccak/keccakf/keccakf_test.go @@ -8,13 +8,13 @@ import ( "sync" "testing" - "github.com/consensys/zkevm-monorepo/prover/crypto/keccak" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/innerproduct" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/lookup" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/permutation" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/specialqueries" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/crypto/keccak" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/innerproduct" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/lookup" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/permutation" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/specialqueries" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" "github.com/stretchr/testify/assert" ) diff --git a/prover/zkevm/prover/hash/keccak/keccakf/lookups.go b/prover/zkevm/prover/hash/keccak/keccakf/lookups.go index 063945741..3f8a01a09 100644 --- a/prover/zkevm/prover/hash/keccak/keccakf/lookups.go +++ b/prover/zkevm/prover/hash/keccak/keccakf/lookups.go @@ -1,13 +1,13 @@ package keccakf import ( - "github.com/consensys/zkevm-monorepo/prover/crypto/keccak" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/crypto/keccak" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" ) // LookupTables instantiates all the tables used by the keccakf wizard. diff --git a/prover/zkevm/prover/hash/keccak/keccakf/lookups_test.go b/prover/zkevm/prover/hash/keccak/keccakf/lookups_test.go index 3b88b60a2..7ddb2f37b 100644 --- a/prover/zkevm/prover/hash/keccak/keccakf/lookups_test.go +++ b/prover/zkevm/prover/hash/keccak/keccakf/lookups_test.go @@ -5,8 +5,8 @@ package keccakf import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/crypto/keccak" - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/crypto/keccak" + "github.com/consensys/linea-monorepo/prover/maths/field" "github.com/stretchr/testify/assert" ) diff --git a/prover/zkevm/prover/hash/keccak/keccakf/pichiiota.go b/prover/zkevm/prover/hash/keccak/keccakf/pichiiota.go index b9d47b879..062908255 100644 --- a/prover/zkevm/prover/hash/keccak/keccakf/pichiiota.go +++ b/prover/zkevm/prover/hash/keccak/keccakf/pichiiota.go @@ -1,15 +1,15 @@ package keccakf import ( - "github.com/consensys/zkevm-monorepo/prover/crypto/keccak" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/parallel" + "github.com/consensys/linea-monorepo/prover/crypto/keccak" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/parallel" ) // Wizard submodule responsible for handling the piChiIota step of keccakf. This step diff --git a/prover/zkevm/prover/hash/keccak/keccakf/pichiiota_test.go b/prover/zkevm/prover/hash/keccak/keccakf/pichiiota_test.go index eec80dbcc..36404e39f 100644 --- a/prover/zkevm/prover/hash/keccak/keccakf/pichiiota_test.go +++ b/prover/zkevm/prover/hash/keccak/keccakf/pichiiota_test.go @@ -6,12 +6,12 @@ import ( "math/rand" "testing" - "github.com/consensys/zkevm-monorepo/prover/crypto/keccak" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/crypto/keccak" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/stretchr/testify/assert" ) diff --git a/prover/zkevm/prover/hash/keccak/keccakf/rho.go b/prover/zkevm/prover/hash/keccak/keccakf/rho.go index 11e42d84b..5a5cb26d6 100644 --- a/prover/zkevm/prover/hash/keccak/keccakf/rho.go +++ b/prover/zkevm/prover/hash/keccak/keccakf/rho.go @@ -3,13 +3,13 @@ package keccakf import ( "math/big" - "github.com/consensys/zkevm-monorepo/prover/crypto/keccak" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils/parallel" + "github.com/consensys/linea-monorepo/prover/crypto/keccak" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils/parallel" ) // rho is a wizard gadget responsible for the rho and pi steps of the keccakf diff --git a/prover/zkevm/prover/hash/keccak/keccakf/rho_test.go b/prover/zkevm/prover/hash/keccak/keccakf/rho_test.go index 0bc57c8a9..b31cbb03d 100644 --- a/prover/zkevm/prover/hash/keccak/keccakf/rho_test.go +++ b/prover/zkevm/prover/hash/keccak/keccakf/rho_test.go @@ -6,12 +6,12 @@ import ( "math/rand" "testing" - "github.com/consensys/zkevm-monorepo/prover/crypto/keccak" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/crypto/keccak" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/stretchr/testify/assert" ) diff --git a/prover/zkevm/prover/hash/keccak/keccakf/theta.go b/prover/zkevm/prover/hash/keccak/keccakf/theta.go index 884281cc3..75e872b93 100644 --- a/prover/zkevm/prover/hash/keccak/keccakf/theta.go +++ b/prover/zkevm/prover/hash/keccak/keccakf/theta.go @@ -3,14 +3,14 @@ package keccakf import ( "math/big" - "github.com/consensys/zkevm-monorepo/prover/crypto/keccak" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils/parallel" + "github.com/consensys/linea-monorepo/prover/crypto/keccak" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils/parallel" ) // SEGMENT size is how many elements we compute in parallel during the proving diff --git a/prover/zkevm/prover/hash/keccak/keccakf/theta_test.go b/prover/zkevm/prover/hash/keccak/keccakf/theta_test.go index cb20d893e..0c18d6055 100644 --- a/prover/zkevm/prover/hash/keccak/keccakf/theta_test.go +++ b/prover/zkevm/prover/hash/keccak/keccakf/theta_test.go @@ -6,11 +6,11 @@ import ( "math/rand" "testing" - "github.com/consensys/zkevm-monorepo/prover/crypto/keccak" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/crypto/keccak" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/stretchr/testify/assert" ) diff --git a/prover/zkevm/prover/hash/keccak/keccakf/utils.go b/prover/zkevm/prover/hash/keccak/keccakf/utils.go index 6dfcbd803..fe478e311 100644 --- a/prover/zkevm/prover/hash/keccak/keccakf/utils.go +++ b/prover/zkevm/prover/hash/keccak/keccakf/utils.go @@ -5,11 +5,11 @@ import ( "strconv" "strings" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" ) // Converts a U64 to a given base, the base should be given in field element diff --git a/prover/zkevm/prover/hash/keccak/keccakf/utils_test.go b/prover/zkevm/prover/hash/keccak/keccakf/utils_test.go index 6d671726c..6b4322641 100644 --- a/prover/zkevm/prover/hash/keccak/keccakf/utils_test.go +++ b/prover/zkevm/prover/hash/keccak/keccakf/utils_test.go @@ -6,7 +6,7 @@ import ( "math/rand" "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/maths/field" "github.com/stretchr/testify/assert" ) diff --git a/prover/zkevm/prover/hash/packing/block.go b/prover/zkevm/prover/hash/packing/block.go index 8f7b7e8da..4c06a599b 100644 --- a/prover/zkevm/prover/hash/packing/block.go +++ b/prover/zkevm/prover/hash/packing/block.go @@ -1,15 +1,15 @@ package packing import ( - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/generic" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/common" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" ) // blockInput stores the inputs for [newBlock] function. diff --git a/prover/zkevm/prover/hash/packing/block_test.go b/prover/zkevm/prover/hash/packing/block_test.go index 8b1fdadfd..8977ec1ed 100644 --- a/prover/zkevm/prover/hash/packing/block_test.go +++ b/prover/zkevm/prover/hash/packing/block_test.go @@ -3,15 +3,15 @@ package packing import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/generic" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/common" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" "github.com/stretchr/testify/assert" ) diff --git a/prover/zkevm/prover/hash/packing/cld.go b/prover/zkevm/prover/hash/packing/cld.go index 7455bedc5..c8ee6bde3 100644 --- a/prover/zkevm/prover/hash/packing/cld.go +++ b/prover/zkevm/prover/hash/packing/cld.go @@ -3,17 +3,17 @@ package packing import ( "math/big" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - iszero "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common" - commonconstraints "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common/common_constraints" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/generic" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/packing/dedicated" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + iszero "github.com/consensys/linea-monorepo/prover/protocol/dedicated" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/common" + commonconstraints "github.com/consensys/linea-monorepo/prover/zkevm/prover/common/common_constraints" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/packing/dedicated" ) // It stores the inputs for [newDecomposition] function. diff --git a/prover/zkevm/prover/hash/packing/cld_test.go b/prover/zkevm/prover/hash/packing/cld_test.go index 6d3635479..86c3b7616 100644 --- a/prover/zkevm/prover/hash/packing/cld_test.go +++ b/prover/zkevm/prover/hash/packing/cld_test.go @@ -3,11 +3,11 @@ package packing import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/generic" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/common" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" "github.com/stretchr/testify/assert" ) diff --git a/prover/zkevm/prover/hash/packing/cleaning.go b/prover/zkevm/prover/hash/packing/cleaning.go index 26aa4d7ed..d74d5b5dc 100644 --- a/prover/zkevm/prover/hash/packing/cleaning.go +++ b/prover/zkevm/prover/hash/packing/cleaning.go @@ -3,13 +3,13 @@ package packing import ( "math/big" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common" - commonconstraints "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common/common_constraints" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/common" + commonconstraints "github.com/consensys/linea-monorepo/prover/zkevm/prover/common/common_constraints" ) // cleaningInputs collects the inputs of [NewClean] function. diff --git a/prover/zkevm/prover/hash/packing/cleaning_test.go b/prover/zkevm/prover/hash/packing/cleaning_test.go index 05c808c07..91e225da1 100644 --- a/prover/zkevm/prover/hash/packing/cleaning_test.go +++ b/prover/zkevm/prover/hash/packing/cleaning_test.go @@ -3,10 +3,10 @@ package packing import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/generic" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" "github.com/stretchr/testify/assert" ) diff --git a/prover/zkevm/prover/hash/packing/dedicated/accumulate_upto.go b/prover/zkevm/prover/hash/packing/dedicated/accumulate_upto.go index 6f5937db2..e7d25fe49 100644 --- a/prover/zkevm/prover/hash/packing/dedicated/accumulate_upto.go +++ b/prover/zkevm/prover/hash/packing/dedicated/accumulate_upto.go @@ -3,15 +3,15 @@ package dedicated import ( "strconv" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/common" ) // AccumulatorInputs stores the inputs for [AccumulateUpToMax] function. diff --git a/prover/zkevm/prover/hash/packing/dedicated/accumulate_upto_test.go b/prover/zkevm/prover/hash/packing/dedicated/accumulate_upto_test.go index e966c1fd7..8f459b28b 100644 --- a/prover/zkevm/prover/hash/packing/dedicated/accumulate_upto_test.go +++ b/prover/zkevm/prover/hash/packing/dedicated/accumulate_upto_test.go @@ -5,13 +5,13 @@ import ( "math/big" "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/column/verifiercol" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/column/verifiercol" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/common" "github.com/stretchr/testify/assert" ) diff --git a/prover/zkevm/prover/hash/packing/dedicated/len_consistency.go b/prover/zkevm/prover/hash/packing/dedicated/len_consistency.go index 3c81c0dee..c0153a3e9 100644 --- a/prover/zkevm/prover/hash/packing/dedicated/len_consistency.go +++ b/prover/zkevm/prover/hash/packing/dedicated/len_consistency.go @@ -4,15 +4,15 @@ import ( "slices" "strconv" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/byte32cmp" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common" - commonconstraints "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common/common_constraints" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/byte32cmp" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/common" + commonconstraints "github.com/consensys/linea-monorepo/prover/zkevm/prover/common/common_constraints" ) // LcInputs stores the inputs for [LengthConsistency] function. diff --git a/prover/zkevm/prover/hash/packing/dedicated/len_consistency_test.go b/prover/zkevm/prover/hash/packing/dedicated/len_consistency_test.go index 83083374c..059740f42 100644 --- a/prover/zkevm/prover/hash/packing/dedicated/len_consistency_test.go +++ b/prover/zkevm/prover/hash/packing/dedicated/len_consistency_test.go @@ -4,11 +4,11 @@ import ( "crypto/rand" "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/common" "github.com/stretchr/testify/assert" ) diff --git a/prover/zkevm/prover/hash/packing/dedicated/pip_query.go b/prover/zkevm/prover/hash/packing/dedicated/pip_query.go index 790288867..19c47e3b6 100644 --- a/prover/zkevm/prover/hash/packing/dedicated/pip_query.go +++ b/prover/zkevm/prover/hash/packing/dedicated/pip_query.go @@ -1,12 +1,12 @@ package dedicated import ( - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" ) // InsertPartitionedIP registers a partitioned inner-product (PIP) query. diff --git a/prover/zkevm/prover/hash/packing/dedicated/pip_test.go b/prover/zkevm/prover/hash/packing/dedicated/pip_test.go index dd3253515..ca9413149 100644 --- a/prover/zkevm/prover/hash/packing/dedicated/pip_test.go +++ b/prover/zkevm/prover/hash/packing/dedicated/pip_test.go @@ -3,10 +3,10 @@ package dedicated import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" "github.com/stretchr/testify/assert" ) diff --git a/prover/zkevm/prover/hash/packing/dedicated/spaghettifier/spaghettifier.go b/prover/zkevm/prover/hash/packing/dedicated/spaghettifier/spaghettifier.go index 404d6ddce..60d825bf9 100644 --- a/prover/zkevm/prover/hash/packing/dedicated/spaghettifier/spaghettifier.go +++ b/prover/zkevm/prover/hash/packing/dedicated/spaghettifier/spaghettifier.go @@ -1,13 +1,13 @@ package spaghettifier import ( - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/common" ) // SpaghettificationInputs collects the arguments of the [NewSpaghettification] diff --git a/prover/zkevm/prover/hash/packing/dedicated/spaghettifier/spaghettifier_test.go b/prover/zkevm/prover/hash/packing/dedicated/spaghettifier/spaghettifier_test.go index 0357f156d..683b893d2 100644 --- a/prover/zkevm/prover/hash/packing/dedicated/spaghettifier/spaghettifier_test.go +++ b/prover/zkevm/prover/hash/packing/dedicated/spaghettifier/spaghettifier_test.go @@ -3,9 +3,9 @@ package spaghettifier import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils/csvtraces" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils/csvtraces" ) func TestSpaghettify(t *testing.T) { diff --git a/prover/zkevm/prover/hash/packing/lane.go b/prover/zkevm/prover/hash/packing/lane.go index 055cc134c..49795ffb2 100644 --- a/prover/zkevm/prover/hash/packing/lane.go +++ b/prover/zkevm/prover/hash/packing/lane.go @@ -1,17 +1,17 @@ package packing import ( - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/projection" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common" - commonconstraints "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common/common_constraints" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/packing/dedicated" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/projection" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/common" + commonconstraints "github.com/consensys/linea-monorepo/prover/zkevm/prover/common/common_constraints" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/packing/dedicated" ) // laneRepackingInputs collects the inputs of the [newLane] function. diff --git a/prover/zkevm/prover/hash/packing/lane_test.go b/prover/zkevm/prover/hash/packing/lane_test.go index 3a25a872f..a64a386cb 100644 --- a/prover/zkevm/prover/hash/packing/lane_test.go +++ b/prover/zkevm/prover/hash/packing/lane_test.go @@ -3,12 +3,12 @@ package packing import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/generic" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/common" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" "github.com/stretchr/testify/assert" ) diff --git a/prover/zkevm/prover/hash/packing/lookups.go b/prover/zkevm/prover/hash/packing/lookups.go index de5204805..a13f05289 100644 --- a/prover/zkevm/prover/hash/packing/lookups.go +++ b/prover/zkevm/prover/hash/packing/lookups.go @@ -3,11 +3,11 @@ package packing import ( "math/big" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" ) type lookUpTables struct { diff --git a/prover/zkevm/prover/hash/packing/packing.go b/prover/zkevm/prover/hash/packing/packing.go index ddaaf5359..abfa6e481 100644 --- a/prover/zkevm/prover/hash/packing/packing.go +++ b/prover/zkevm/prover/hash/packing/packing.go @@ -3,12 +3,12 @@ package packing import ( - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/column/verifiercol" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/generic" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/packing/dedicated/spaghettifier" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/column/verifiercol" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/packing/dedicated/spaghettifier" ) const ( diff --git a/prover/zkevm/prover/hash/packing/packing_test.go b/prover/zkevm/prover/hash/packing/packing_test.go index d7cdc0eb1..258c65982 100644 --- a/prover/zkevm/prover/hash/packing/packing_test.go +++ b/prover/zkevm/prover/hash/packing/packing_test.go @@ -3,10 +3,10 @@ package packing import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/generic" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" "github.com/stretchr/testify/assert" ) diff --git a/prover/zkevm/prover/hash/packing/utils_for_test.go b/prover/zkevm/prover/hash/packing/utils_for_test.go index a486aa4fd..0e715258c 100644 --- a/prover/zkevm/prover/hash/packing/utils_for_test.go +++ b/prover/zkevm/prover/hash/packing/utils_for_test.go @@ -3,12 +3,12 @@ package packing import ( "math/rand" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/common" "github.com/sirupsen/logrus" ) diff --git a/prover/zkevm/prover/hash/sha2/assignment.go b/prover/zkevm/prover/hash/sha2/assignment.go index 9b9e9f902..e3afa0c4c 100644 --- a/prover/zkevm/prover/hash/sha2/assignment.go +++ b/prover/zkevm/prover/hash/sha2/assignment.go @@ -4,11 +4,11 @@ import ( "sync" "github.com/consensys/gnark/constraint/solver" - "github.com/consensys/zkevm-monorepo/prover/crypto/sha2" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common" + "github.com/consensys/linea-monorepo/prover/crypto/sha2" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/common" ) // sha2BlockHashingAssignment is a collection of column builder used to construct diff --git a/prover/zkevm/prover/hash/sha2/sha2.go b/prover/zkevm/prover/hash/sha2/sha2.go index 5e60711b6..731717247 100644 --- a/prover/zkevm/prover/hash/sha2/sha2.go +++ b/prover/zkevm/prover/hash/sha2/sha2.go @@ -3,14 +3,14 @@ package sha2 import ( - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/projection" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/generic" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/importpad" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/packing" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/projection" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/importpad" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/packing" ) const ( diff --git a/prover/zkevm/prover/hash/sha2/sha2_block.go b/prover/zkevm/prover/hash/sha2/sha2_block.go index fdf4403c4..aab5bafd6 100644 --- a/prover/zkevm/prover/hash/sha2/sha2_block.go +++ b/prover/zkevm/prover/hash/sha2/sha2_block.go @@ -1,17 +1,17 @@ package sha2 import ( - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/plonk" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/projection" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" - commonconstraints "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common/common_constraints" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/plonk" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/projection" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" + commonconstraints "github.com/consensys/linea-monorepo/prover/zkevm/prover/common/common_constraints" ) const ( diff --git a/prover/zkevm/prover/hash/sha2/sha2_block_test.go b/prover/zkevm/prover/hash/sha2/sha2_block_test.go index d22f4a749..b0e597973 100644 --- a/prover/zkevm/prover/hash/sha2/sha2_block_test.go +++ b/prover/zkevm/prover/hash/sha2/sha2_block_test.go @@ -4,10 +4,10 @@ import ( "strconv" "testing" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/plonk" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils/csvtraces" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/plonk" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils/csvtraces" ) type testCaseFile struct { diff --git a/prover/zkevm/prover/modexp/circuit.go b/prover/zkevm/prover/modexp/circuit.go index 5ef0bfa39..173f17965 100644 --- a/prover/zkevm/prover/modexp/circuit.go +++ b/prover/zkevm/prover/modexp/circuit.go @@ -6,7 +6,7 @@ import ( "github.com/consensys/gnark/std/math/bitslice" "github.com/consensys/gnark/std/math/emulated" "github.com/consensys/gnark/std/math/emulated/emparams" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils" ) const ( diff --git a/prover/zkevm/prover/modexp/input.go b/prover/zkevm/prover/modexp/input.go index f72b937ac..6162b1360 100644 --- a/prover/zkevm/prover/modexp/input.go +++ b/prover/zkevm/prover/modexp/input.go @@ -1,10 +1,10 @@ package modexp import ( - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" ) // input collects references to the columns of the arithmetization containing diff --git a/prover/zkevm/prover/modexp/module.go b/prover/zkevm/prover/modexp/module.go index 22b71dfa2..fbe05a69b 100644 --- a/prover/zkevm/prover/modexp/module.go +++ b/prover/zkevm/prover/modexp/module.go @@ -1,16 +1,16 @@ package modexp import ( - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/plonk" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/projection" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/variables" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/plonk" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/projection" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/variables" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" ) const ( diff --git a/prover/zkevm/prover/modexp/module_assignement.go b/prover/zkevm/prover/modexp/module_assignement.go index 0d15b588d..8d985a959 100644 --- a/prover/zkevm/prover/modexp/module_assignement.go +++ b/prover/zkevm/prover/modexp/module_assignement.go @@ -1,10 +1,10 @@ package modexp import ( - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/common" ) // antichamberAssignment is a builder structure used to incrementally compute diff --git a/prover/zkevm/prover/modexp/module_test.go b/prover/zkevm/prover/modexp/module_test.go index f0d4cbe00..5af2196e7 100644 --- a/prover/zkevm/prover/modexp/module_test.go +++ b/prover/zkevm/prover/modexp/module_test.go @@ -3,9 +3,9 @@ package modexp import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils/csvtraces" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils/csvtraces" ) func TestModExpAntichamber(t *testing.T) { diff --git a/prover/zkevm/prover/modexp/module_with_circuit_test.go b/prover/zkevm/prover/modexp/module_with_circuit_test.go index 3c0b8cc30..1d68a3311 100644 --- a/prover/zkevm/prover/modexp/module_with_circuit_test.go +++ b/prover/zkevm/prover/modexp/module_with_circuit_test.go @@ -5,10 +5,10 @@ package modexp import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/plonk" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils/csvtraces" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/plonk" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils/csvtraces" ) func TestModexpWithCircuit(t *testing.T) { diff --git a/prover/zkevm/prover/modexp/testdata/main.go b/prover/zkevm/prover/modexp/testdata/main.go index 80891897f..25592da11 100644 --- a/prover/zkevm/prover/modexp/testdata/main.go +++ b/prover/zkevm/prover/modexp/testdata/main.go @@ -7,7 +7,7 @@ import ( "math/rand" "github.com/consensys/gnark/std/math/emulated/emparams" - "github.com/consensys/zkevm-monorepo/prover/backend/files" + "github.com/consensys/linea-monorepo/prover/backend/files" ) func main() { diff --git a/prover/zkevm/prover/publicInput/arith_struct/arith_struct.go b/prover/zkevm/prover/publicInput/arith_struct/arith_struct.go index 771983e19..c9232b683 100644 --- a/prover/zkevm/prover/publicInput/arith_struct/arith_struct.go +++ b/prover/zkevm/prover/publicInput/arith_struct/arith_struct.go @@ -1,9 +1,9 @@ package arith_struct import ( - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils/csvtraces" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils/csvtraces" ) // BlockDataCols models the arithmetization's BlockData module diff --git a/prover/zkevm/prover/publicInput/execution_data_collector/execution_data_collector.go b/prover/zkevm/prover/publicInput/execution_data_collector/execution_data_collector.go index 24d5a00c4..c0eb04d6f 100644 --- a/prover/zkevm/prover/publicInput/execution_data_collector/execution_data_collector.go +++ b/prover/zkevm/prover/publicInput/execution_data_collector/execution_data_collector.go @@ -1,17 +1,17 @@ package execution_data_collector import ( - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/projection" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" - arith "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/publicInput/arith_struct" - fetch "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/publicInput/fetchers_arithmetization" - util "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/publicInput/utilities" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/projection" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" + arith "github.com/consensys/linea-monorepo/prover/zkevm/prover/publicInput/arith_struct" + fetch "github.com/consensys/linea-monorepo/prover/zkevm/prover/publicInput/fetchers_arithmetization" + util "github.com/consensys/linea-monorepo/prover/zkevm/prover/publicInput/utilities" ) /* diff --git a/prover/zkevm/prover/publicInput/execution_data_collector/execution_data_collector_hashing_test.go b/prover/zkevm/prover/publicInput/execution_data_collector/execution_data_collector_hashing_test.go index b46110cb5..9e92e4cce 100644 --- a/prover/zkevm/prover/publicInput/execution_data_collector/execution_data_collector_hashing_test.go +++ b/prover/zkevm/prover/publicInput/execution_data_collector/execution_data_collector_hashing_test.go @@ -5,17 +5,17 @@ import ( "strings" "testing" - arith "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/publicInput/arith_struct" - - "github.com/consensys/zkevm-monorepo/prover/crypto/mimc" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/generic" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/importpad" - pack "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/packing" - fetch "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/publicInput/fetchers_arithmetization" - util "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/publicInput/utilities" + arith "github.com/consensys/linea-monorepo/prover/zkevm/prover/publicInput/arith_struct" + + "github.com/consensys/linea-monorepo/prover/crypto/mimc" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/importpad" + pack "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/packing" + fetch "github.com/consensys/linea-monorepo/prover/zkevm/prover/publicInput/fetchers_arithmetization" + util "github.com/consensys/linea-monorepo/prover/zkevm/prover/publicInput/utilities" "github.com/stretchr/testify/assert" ) diff --git a/prover/zkevm/prover/publicInput/execution_data_collector/execution_data_collector_test.go b/prover/zkevm/prover/publicInput/execution_data_collector/execution_data_collector_test.go index 00b311ace..3300d7d62 100644 --- a/prover/zkevm/prover/publicInput/execution_data_collector/execution_data_collector_test.go +++ b/prover/zkevm/prover/publicInput/execution_data_collector/execution_data_collector_test.go @@ -1,12 +1,13 @@ package execution_data_collector import ( - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - arith "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/publicInput/arith_struct" - fetch "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/publicInput/fetchers_arithmetization" - util "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/publicInput/utilities" "testing" + + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + arith "github.com/consensys/linea-monorepo/prover/zkevm/prover/publicInput/arith_struct" + fetch "github.com/consensys/linea-monorepo/prover/zkevm/prover/publicInput/fetchers_arithmetization" + util "github.com/consensys/linea-monorepo/prover/zkevm/prover/publicInput/utilities" ) // TestAssignmentExecutionDataCollector tests whether the execution data collector diff --git a/prover/zkevm/prover/publicInput/execution_data_collector/execution_data_collector_vectors.go b/prover/zkevm/prover/publicInput/execution_data_collector/execution_data_collector_vectors.go index c6fc7424f..9e99adddc 100644 --- a/prover/zkevm/prover/publicInput/execution_data_collector/execution_data_collector_vectors.go +++ b/prover/zkevm/prover/publicInput/execution_data_collector/execution_data_collector_vectors.go @@ -1,7 +1,7 @@ package execution_data_collector import ( - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/maths/field" ) // ExecutionDataCollectorVectors is a helper struct used to instantiate the ExecutionDataCollector's columns diff --git a/prover/zkevm/prover/publicInput/execution_data_collector/mimc_hasher.go b/prover/zkevm/prover/publicInput/execution_data_collector/mimc_hasher.go index 7058e2c24..c7ea54bb6 100644 --- a/prover/zkevm/prover/publicInput/execution_data_collector/mimc_hasher.go +++ b/prover/zkevm/prover/publicInput/execution_data_collector/mimc_hasher.go @@ -1,15 +1,15 @@ package execution_data_collector import ( - "github.com/consensys/zkevm-monorepo/prover/crypto/mimc" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/accessors" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" - util "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/publicInput/utilities" + "github.com/consensys/linea-monorepo/prover/crypto/mimc" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/accessors" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" + util "github.com/consensys/linea-monorepo/prover/zkevm/prover/publicInput/utilities" ) type MIMCHasher struct { diff --git a/prover/zkevm/prover/publicInput/fetchers_arithmetization/block_txn_metadata_fetcher.go b/prover/zkevm/prover/publicInput/fetchers_arithmetization/block_txn_metadata_fetcher.go index 7f6a59c68..3784b5ac9 100644 --- a/prover/zkevm/prover/publicInput/fetchers_arithmetization/block_txn_metadata_fetcher.go +++ b/prover/zkevm/prover/publicInput/fetchers_arithmetization/block_txn_metadata_fetcher.go @@ -1,16 +1,16 @@ package fetchers_arithmetization import ( - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/projection" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" - arith "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/publicInput/arith_struct" - util "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/publicInput/utilities" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/projection" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" + arith "github.com/consensys/linea-monorepo/prover/zkevm/prover/publicInput/arith_struct" + util "github.com/consensys/linea-monorepo/prover/zkevm/prover/publicInput/utilities" ) type BlockTxnMetadata struct { diff --git a/prover/zkevm/prover/publicInput/fetchers_arithmetization/rlp_txn_fetcher.go b/prover/zkevm/prover/publicInput/fetchers_arithmetization/rlp_txn_fetcher.go index 40a3d86eb..57b9e135d 100644 --- a/prover/zkevm/prover/publicInput/fetchers_arithmetization/rlp_txn_fetcher.go +++ b/prover/zkevm/prover/publicInput/fetchers_arithmetization/rlp_txn_fetcher.go @@ -1,17 +1,17 @@ package fetchers_arithmetization import ( - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/accessors" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/projection" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" - arith "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/publicInput/arith_struct" - util "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/publicInput/utilities" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/accessors" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/projection" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" + arith "github.com/consensys/linea-monorepo/prover/zkevm/prover/publicInput/arith_struct" + util "github.com/consensys/linea-monorepo/prover/zkevm/prover/publicInput/utilities" ) type RlpTxnFetcher struct { diff --git a/prover/zkevm/prover/publicInput/fetchers_arithmetization/rlp_txn_fetcher_test.go b/prover/zkevm/prover/publicInput/fetchers_arithmetization/rlp_txn_fetcher_test.go index 0398227fb..4651d94ba 100644 --- a/prover/zkevm/prover/publicInput/fetchers_arithmetization/rlp_txn_fetcher_test.go +++ b/prover/zkevm/prover/publicInput/fetchers_arithmetization/rlp_txn_fetcher_test.go @@ -1,13 +1,14 @@ package fetchers_arithmetization import ( - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - arith "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/publicInput/arith_struct" - util "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/publicInput/utilities" - "github.com/stretchr/testify/assert" "testing" + + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + arith "github.com/consensys/linea-monorepo/prover/zkevm/prover/publicInput/arith_struct" + util "github.com/consensys/linea-monorepo/prover/zkevm/prover/publicInput/utilities" + "github.com/stretchr/testify/assert" ) // TestRlpTxnFetcher tests the fetching of the rlp txn data diff --git a/prover/zkevm/prover/publicInput/fetchers_arithmetization/root_hash_fetcher.go b/prover/zkevm/prover/publicInput/fetchers_arithmetization/root_hash_fetcher.go index 2656f89f7..b3376df8c 100644 --- a/prover/zkevm/prover/publicInput/fetchers_arithmetization/root_hash_fetcher.go +++ b/prover/zkevm/prover/publicInput/fetchers_arithmetization/root_hash_fetcher.go @@ -1,15 +1,15 @@ package fetchers_arithmetization import ( - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/accessors" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" - util "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/publicInput/utilities" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/statemanager/statesummary" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/accessors" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" + util "github.com/consensys/linea-monorepo/prover/zkevm/prover/publicInput/utilities" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/statemanager/statesummary" ) // RootHashFetcher is a struct used to fetch the first/final root hashes from the state summary module diff --git a/prover/zkevm/prover/publicInput/fetchers_arithmetization/root_hash_fetcher_test.go b/prover/zkevm/prover/publicInput/fetchers_arithmetization/root_hash_fetcher_test.go index 0c8bef80d..2342fbd2e 100644 --- a/prover/zkevm/prover/publicInput/fetchers_arithmetization/root_hash_fetcher_test.go +++ b/prover/zkevm/prover/publicInput/fetchers_arithmetization/root_hash_fetcher_test.go @@ -4,12 +4,12 @@ import ( "fmt" "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - stmCommon "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/statemanager/common" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/statemanager/mock" - stmgr "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/statemanager/statesummary" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + stmCommon "github.com/consensys/linea-monorepo/prover/zkevm/prover/statemanager/common" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/statemanager/mock" + stmgr "github.com/consensys/linea-monorepo/prover/zkevm/prover/statemanager/statesummary" "github.com/stretchr/testify/assert" ) diff --git a/prover/zkevm/prover/publicInput/fetchers_arithmetization/timestamp_fetcher.go b/prover/zkevm/prover/publicInput/fetchers_arithmetization/timestamp_fetcher.go index dc62ae055..dde7d303b 100644 --- a/prover/zkevm/prover/publicInput/fetchers_arithmetization/timestamp_fetcher.go +++ b/prover/zkevm/prover/publicInput/fetchers_arithmetization/timestamp_fetcher.go @@ -1,17 +1,17 @@ package fetchers_arithmetization import ( - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/accessors" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/projection" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" - arith "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/publicInput/arith_struct" - util "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/publicInput/utilities" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/accessors" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/projection" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" + arith "github.com/consensys/linea-monorepo/prover/zkevm/prover/publicInput/arith_struct" + util "github.com/consensys/linea-monorepo/prover/zkevm/prover/publicInput/utilities" ) const ( diff --git a/prover/zkevm/prover/publicInput/fetchers_arithmetization/timestamp_fetcher_test.go b/prover/zkevm/prover/publicInput/fetchers_arithmetization/timestamp_fetcher_test.go index f04c2ac60..fa4f42437 100644 --- a/prover/zkevm/prover/publicInput/fetchers_arithmetization/timestamp_fetcher_test.go +++ b/prover/zkevm/prover/publicInput/fetchers_arithmetization/timestamp_fetcher_test.go @@ -1,13 +1,14 @@ package fetchers_arithmetization import ( - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - arith "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/publicInput/arith_struct" - util "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/publicInput/utilities" - "github.com/stretchr/testify/assert" "testing" + + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + arith "github.com/consensys/linea-monorepo/prover/zkevm/prover/publicInput/arith_struct" + util "github.com/consensys/linea-monorepo/prover/zkevm/prover/publicInput/utilities" + "github.com/stretchr/testify/assert" ) // TestTimestampFetcher tests the fetching of the timestamp data diff --git a/prover/zkevm/prover/publicInput/fetchers_arithmetization/txn_data_fetcher.go b/prover/zkevm/prover/publicInput/fetchers_arithmetization/txn_data_fetcher.go index 07b15b5d6..531058fb3 100644 --- a/prover/zkevm/prover/publicInput/fetchers_arithmetization/txn_data_fetcher.go +++ b/prover/zkevm/prover/publicInput/fetchers_arithmetization/txn_data_fetcher.go @@ -1,16 +1,16 @@ package fetchers_arithmetization import ( - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/projection" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" - arith "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/publicInput/arith_struct" - util "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/publicInput/utilities" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/projection" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" + arith "github.com/consensys/linea-monorepo/prover/zkevm/prover/publicInput/arith_struct" + util "github.com/consensys/linea-monorepo/prover/zkevm/prover/publicInput/utilities" ) type TxnDataFetcher struct { diff --git a/prover/zkevm/prover/publicInput/fetchers_arithmetization/txn_data_fetcher_test.go b/prover/zkevm/prover/publicInput/fetchers_arithmetization/txn_data_fetcher_test.go index 826412353..6b82bad8b 100644 --- a/prover/zkevm/prover/publicInput/fetchers_arithmetization/txn_data_fetcher_test.go +++ b/prover/zkevm/prover/publicInput/fetchers_arithmetization/txn_data_fetcher_test.go @@ -1,11 +1,12 @@ package fetchers_arithmetization import ( - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - arith "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/publicInput/arith_struct" - util "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/publicInput/utilities" "testing" + + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + arith "github.com/consensys/linea-monorepo/prover/zkevm/prover/publicInput/arith_struct" + util "github.com/consensys/linea-monorepo/prover/zkevm/prover/publicInput/utilities" ) // TestTxnDataFetcher tests the fetching of the sender address data diff --git a/prover/zkevm/prover/publicInput/input_extractor.go b/prover/zkevm/prover/publicInput/input_extractor.go index 266ea76ef..040bc1a49 100644 --- a/prover/zkevm/prover/publicInput/input_extractor.go +++ b/prover/zkevm/prover/publicInput/input_extractor.go @@ -1,9 +1,9 @@ package publicInput import ( - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/query" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/query" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" ) // FunctionalInputExtractor is a collection over LocalOpeningQueries that can be diff --git a/prover/zkevm/prover/publicInput/logs/extracted_data.go b/prover/zkevm/prover/publicInput/logs/extracted_data.go index ee3751595..8a0de54fe 100644 --- a/prover/zkevm/prover/publicInput/logs/extracted_data.go +++ b/prover/zkevm/prover/publicInput/logs/extracted_data.go @@ -1,14 +1,14 @@ package logs import ( - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/projection" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" - util "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/publicInput/utilities" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/projection" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" + util "github.com/consensys/linea-monorepo/prover/zkevm/prover/publicInput/utilities" ) // ExtractedData contains the data extracted from the arithmetization logs: diff --git a/prover/zkevm/prover/publicInput/logs/extracted_hasher_test.go b/prover/zkevm/prover/publicInput/logs/extracted_hasher_test.go index f34208210..380115e9e 100644 --- a/prover/zkevm/prover/publicInput/logs/extracted_hasher_test.go +++ b/prover/zkevm/prover/publicInput/logs/extracted_hasher_test.go @@ -4,11 +4,11 @@ import ( "fmt" "testing" - "github.com/consensys/zkevm-monorepo/prover/backend/execution/bridge" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/backend/execution/bridge" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/types" "github.com/ethereum/go-ethereum/common" ) diff --git a/prover/zkevm/prover/publicInput/logs/hasher.go b/prover/zkevm/prover/publicInput/logs/hasher.go index d10c348cc..e83559ef5 100644 --- a/prover/zkevm/prover/publicInput/logs/hasher.go +++ b/prover/zkevm/prover/publicInput/logs/hasher.go @@ -1,15 +1,15 @@ package logs import ( - "github.com/consensys/zkevm-monorepo/prover/crypto/mimc" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/accessors" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" - publicInput "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/publicInput/utilities" + "github.com/consensys/linea-monorepo/prover/crypto/mimc" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/accessors" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" + publicInput "github.com/consensys/linea-monorepo/prover/zkevm/prover/publicInput/utilities" ) // LogHasher is used to MiMC-hash the data in LogMessages. Using a zero initial stata, diff --git a/prover/zkevm/prover/publicInput/logs/mock_logs.go b/prover/zkevm/prover/publicInput/logs/mock_logs.go index 2cc7ec35b..f76ee1c18 100644 --- a/prover/zkevm/prover/publicInput/logs/mock_logs.go +++ b/prover/zkevm/prover/publicInput/logs/mock_logs.go @@ -1,11 +1,11 @@ package logs import ( - eth "github.com/consensys/zkevm-monorepo/prover/backend/execution/statemanager" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common" + eth "github.com/consensys/linea-monorepo/prover/backend/execution/statemanager" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/common" ethCommon "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/types" ) diff --git a/prover/zkevm/prover/publicInput/logs/rolling_selector.go b/prover/zkevm/prover/publicInput/logs/rolling_selector.go index 185ad16ac..07e022492 100644 --- a/prover/zkevm/prover/publicInput/logs/rolling_selector.go +++ b/prover/zkevm/prover/publicInput/logs/rolling_selector.go @@ -1,14 +1,14 @@ package logs import ( - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/accessors" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" - util "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/publicInput/utilities" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/accessors" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" + util "github.com/consensys/linea-monorepo/prover/zkevm/prover/publicInput/utilities" ) // RollingSelector is used to fetch the last rolling hash and its associated message number diff --git a/prover/zkevm/prover/publicInput/logs/selectors.go b/prover/zkevm/prover/publicInput/logs/selectors.go index f4575e60e..430ced2c8 100644 --- a/prover/zkevm/prover/publicInput/logs/selectors.go +++ b/prover/zkevm/prover/publicInput/logs/selectors.go @@ -1,15 +1,15 @@ package logs import ( - "github.com/consensys/zkevm-monorepo/prover/backend/execution/bridge" - "github.com/consensys/zkevm-monorepo/prover/backend/execution/statemanager" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/accessors" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/backend/execution/bridge" + "github.com/consensys/linea-monorepo/prover/backend/execution/statemanager" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/accessors" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" "github.com/ethereum/go-ethereum/common" ) diff --git a/prover/zkevm/prover/publicInput/logs/testing_util.go b/prover/zkevm/prover/publicInput/logs/testing_util.go index 3b4779adc..b947711fb 100644 --- a/prover/zkevm/prover/publicInput/logs/testing_util.go +++ b/prover/zkevm/prover/publicInput/logs/testing_util.go @@ -1,10 +1,10 @@ package logs import ( - "github.com/consensys/zkevm-monorepo/prover/backend/execution/bridge" - eth "github.com/consensys/zkevm-monorepo/prover/backend/execution/statemanager" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/backend/execution/bridge" + eth "github.com/consensys/linea-monorepo/prover/backend/execution/statemanager" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils/types" ) // FirstTopicL2l1 is a helper function that outputs the Hi/Lo parts of the expected first topic of an L2L1 log diff --git a/prover/zkevm/prover/publicInput/public_input.go b/prover/zkevm/prover/publicInput/public_input.go index 920fc7c92..0d32047b6 100644 --- a/prover/zkevm/prover/publicInput/public_input.go +++ b/prover/zkevm/prover/publicInput/public_input.go @@ -1,19 +1,19 @@ package publicInput import ( - "github.com/consensys/zkevm-monorepo/prover/protocol/accessors" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/query" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/generic" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/importpad" - pack "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/packing" - arith "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/publicInput/arith_struct" - edc "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/publicInput/execution_data_collector" - fetch "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/publicInput/fetchers_arithmetization" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/publicInput/logs" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/statemanager/statesummary" + "github.com/consensys/linea-monorepo/prover/protocol/accessors" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/query" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/importpad" + pack "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/packing" + arith "github.com/consensys/linea-monorepo/prover/zkevm/prover/publicInput/arith_struct" + edc "github.com/consensys/linea-monorepo/prover/zkevm/prover/publicInput/execution_data_collector" + fetch "github.com/consensys/linea-monorepo/prover/zkevm/prover/publicInput/fetchers_arithmetization" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/publicInput/logs" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/statemanager/statesummary" "github.com/ethereum/go-ethereum/common" ) diff --git a/prover/zkevm/prover/publicInput/public_input_test.go b/prover/zkevm/prover/publicInput/public_input_test.go index a128fd230..0aab9db00 100644 --- a/prover/zkevm/prover/publicInput/public_input_test.go +++ b/prover/zkevm/prover/publicInput/public_input_test.go @@ -4,15 +4,15 @@ import ( "fmt" "testing" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" - arith "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/publicInput/arith_struct" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/publicInput/logs" - util "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/publicInput/utilities" - stmCommon "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/statemanager/common" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/statemanager/mock" - stmgr "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/statemanager/statesummary" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" + arith "github.com/consensys/linea-monorepo/prover/zkevm/prover/publicInput/arith_struct" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/publicInput/logs" + util "github.com/consensys/linea-monorepo/prover/zkevm/prover/publicInput/utilities" + stmCommon "github.com/consensys/linea-monorepo/prover/zkevm/prover/statemanager/common" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/statemanager/mock" + stmgr "github.com/consensys/linea-monorepo/prover/zkevm/prover/statemanager/statesummary" "github.com/ethereum/go-ethereum/common" ) diff --git a/prover/zkevm/prover/publicInput/utilities/utilities.go b/prover/zkevm/prover/publicInput/utilities/utilities.go index 81b607dc3..295b05f0d 100644 --- a/prover/zkevm/prover/publicInput/utilities/utilities.go +++ b/prover/zkevm/prover/publicInput/utilities/utilities.go @@ -1,15 +1,16 @@ package utilities import ( - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils/csvtraces" - "github.com/ethereum/go-ethereum/core/vm" "os" "testing" + + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils/csvtraces" + "github.com/ethereum/go-ethereum/core/vm" ) // CreateCol is a utility function to quickly register columns diff --git a/prover/zkevm/prover/statemanager/accumulator/accumulator_test.go b/prover/zkevm/prover/statemanager/accumulator/accumulator_test.go index e2386f6c2..35bf23cf4 100644 --- a/prover/zkevm/prover/statemanager/accumulator/accumulator_test.go +++ b/prover/zkevm/prover/statemanager/accumulator/accumulator_test.go @@ -5,10 +5,10 @@ import ( "fmt" "testing" - "github.com/consensys/zkevm-monorepo/prover/backend/execution/statemanager" - "github.com/consensys/zkevm-monorepo/prover/backend/files" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/backend/execution/statemanager" + "github.com/consensys/linea-monorepo/prover/backend/files" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/prover/zkevm/prover/statemanager/accumulator/assign.go b/prover/zkevm/prover/statemanager/accumulator/assign.go index 6587502d2..45bef96e9 100644 --- a/prover/zkevm/prover/statemanager/accumulator/assign.go +++ b/prover/zkevm/prover/statemanager/accumulator/assign.go @@ -3,16 +3,16 @@ package accumulator import ( "io" - "github.com/consensys/zkevm-monorepo/prover/backend/execution/statemanager" - "github.com/consensys/zkevm-monorepo/prover/crypto/mimc" - "github.com/consensys/zkevm-monorepo/prover/crypto/state-management/accumulator" - "github.com/consensys/zkevm-monorepo/prover/crypto/state-management/smt" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/merkle" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/backend/execution/statemanager" + "github.com/consensys/linea-monorepo/prover/crypto/mimc" + "github.com/consensys/linea-monorepo/prover/crypto/state-management/accumulator" + "github.com/consensys/linea-monorepo/prover/crypto/state-management/smt" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/merkle" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/types" ) // leafOpenings represents the structure for leaf openings diff --git a/prover/zkevm/prover/statemanager/accumulator/assign_test.go b/prover/zkevm/prover/statemanager/accumulator/assign_test.go index a1d2400d6..948e73907 100644 --- a/prover/zkevm/prover/statemanager/accumulator/assign_test.go +++ b/prover/zkevm/prover/statemanager/accumulator/assign_test.go @@ -3,15 +3,15 @@ package accumulator import ( "testing" - "github.com/consensys/zkevm-monorepo/prover/backend/execution/statemanager" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/common/vector" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/merkle" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/backend/execution/statemanager" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/common/vector" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/merkle" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/types" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/prover/zkevm/prover/statemanager/accumulator/define.go b/prover/zkevm/prover/statemanager/accumulator/define.go index 321425c91..66b324cc5 100644 --- a/prover/zkevm/prover/statemanager/accumulator/define.go +++ b/prover/zkevm/prover/statemanager/accumulator/define.go @@ -1,15 +1,15 @@ package accumulator import ( - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/column/verifiercol" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/byte32cmp" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/merkle" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/column/verifiercol" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/byte32cmp" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/merkle" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils/types" ) /* diff --git a/prover/zkevm/prover/statemanager/accumulator/settings.go b/prover/zkevm/prover/statemanager/accumulator/settings.go index 15f075e76..3c3110ffe 100644 --- a/prover/zkevm/prover/statemanager/accumulator/settings.go +++ b/prover/zkevm/prover/statemanager/accumulator/settings.go @@ -1,6 +1,6 @@ package accumulator -import "github.com/consensys/zkevm-monorepo/prover/utils" +import "github.com/consensys/linea-monorepo/prover/utils" // Settings collects all input parameters to dimension an [Module] during // its construction. diff --git a/prover/zkevm/prover/statemanager/accumulatorsummary/accumulator_connect_test.go b/prover/zkevm/prover/statemanager/accumulatorsummary/accumulator_connect_test.go index 284072596..9d6646f98 100644 --- a/prover/zkevm/prover/statemanager/accumulatorsummary/accumulator_connect_test.go +++ b/prover/zkevm/prover/statemanager/accumulatorsummary/accumulator_connect_test.go @@ -4,14 +4,14 @@ import ( "fmt" "testing" - "github.com/consensys/zkevm-monorepo/prover/backend/execution/statemanager" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/statemanager/accumulator" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/statemanager/common" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/statemanager/statesummary" - - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/statemanager/mock" + "github.com/consensys/linea-monorepo/prover/backend/execution/statemanager" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/statemanager/accumulator" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/statemanager/common" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/statemanager/statesummary" + + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/statemanager/mock" ) // TestAccumulatorConnector checks the data consistency between AccumulatorSummary and StateSummary diff --git a/prover/zkevm/prover/statemanager/accumulatorsummary/accumulator_connector.go b/prover/zkevm/prover/statemanager/accumulatorsummary/accumulator_connector.go index 106107287..bd3e58351 100644 --- a/prover/zkevm/prover/statemanager/accumulatorsummary/accumulator_connector.go +++ b/prover/zkevm/prover/statemanager/accumulatorsummary/accumulator_connector.go @@ -1,13 +1,13 @@ package accumulatorsummary import ( - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/statemanager/accumulator" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/statemanager/common" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/statemanager/accumulator" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/statemanager/common" ) // Constants that are used to compute the connector from AccumulatorSummary to StateSummary diff --git a/prover/zkevm/prover/statemanager/accumulatorsummary/accumulator_summary.go b/prover/zkevm/prover/statemanager/accumulatorsummary/accumulator_summary.go index fb90ae4dc..bb060cb64 100644 --- a/prover/zkevm/prover/statemanager/accumulatorsummary/accumulator_summary.go +++ b/prover/zkevm/prover/statemanager/accumulatorsummary/accumulator_summary.go @@ -1,11 +1,11 @@ package accumulatorsummary import ( - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/statemanager/accumulator" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/statemanager/common" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/statemanager/statesummary" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/statemanager/accumulator" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/statemanager/common" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/statemanager/statesummary" ) // Inputs collects the inputs of [NewModule] diff --git a/prover/zkevm/prover/statemanager/arith_columns.go b/prover/zkevm/prover/statemanager/arith_columns.go index 0fdbd935d..b2f087165 100644 --- a/prover/zkevm/prover/statemanager/arith_columns.go +++ b/prover/zkevm/prover/statemanager/arith_columns.go @@ -1,9 +1,9 @@ package statemanager import ( - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/statemanager/mimccodehash" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/statemanager/statesummary" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/statemanager/mimccodehash" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/statemanager/statesummary" ) // romLex returns the columns of the arithmetization.RomLex module of interest diff --git a/prover/zkevm/prover/statemanager/common/state_diff.go b/prover/zkevm/prover/statemanager/common/state_diff.go index e5d8c498e..9dc1c5af4 100644 --- a/prover/zkevm/prover/statemanager/common/state_diff.go +++ b/prover/zkevm/prover/statemanager/common/state_diff.go @@ -1,11 +1,11 @@ package common import ( - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils/types" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/common" ) // StateDiff is a collection of column that appears in several of the modules diff --git a/prover/zkevm/prover/statemanager/common/testing_utils.go b/prover/zkevm/prover/statemanager/common/testing_utils.go index 2e0a34916..a88b37245 100644 --- a/prover/zkevm/prover/statemanager/common/testing_utils.go +++ b/prover/zkevm/prover/statemanager/common/testing_utils.go @@ -3,9 +3,9 @@ package common import ( "math/big" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils/types" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/statemanager/mock" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/statemanager/mock" ) type TestCase struct { diff --git a/prover/zkevm/prover/statemanager/lookups.go b/prover/zkevm/prover/statemanager/lookups.go index f4ca730e6..75e681662 100644 --- a/prover/zkevm/prover/statemanager/lookups.go +++ b/prover/zkevm/prover/statemanager/lookups.go @@ -1,10 +1,10 @@ package statemanager import ( - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - mimcCodeHash "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/statemanager/mimccodehash" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/statemanager/statesummary" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + mimcCodeHash "github.com/consensys/linea-monorepo/prover/zkevm/prover/statemanager/mimccodehash" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/statemanager/statesummary" ) // lookupStateSummaryCodeHash adds the lookup constraints to ensure the MiMC diff --git a/prover/zkevm/prover/statemanager/mimccodehash/assign.go b/prover/zkevm/prover/statemanager/mimccodehash/assign.go index c4291ed47..3184b1ba0 100644 --- a/prover/zkevm/prover/statemanager/mimccodehash/assign.go +++ b/prover/zkevm/prover/statemanager/mimccodehash/assign.go @@ -1,11 +1,11 @@ package mimccodehash import ( - "github.com/consensys/zkevm-monorepo/prover/crypto/mimc" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/crypto/mimc" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" ) type assignBuilder struct { diff --git a/prover/zkevm/prover/statemanager/mimccodehash/define.go b/prover/zkevm/prover/statemanager/mimccodehash/define.go index 311320d78..37bb7451e 100644 --- a/prover/zkevm/prover/statemanager/mimccodehash/define.go +++ b/prover/zkevm/prover/statemanager/mimccodehash/define.go @@ -1,10 +1,10 @@ package mimccodehash import ( - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/symbolic" ) const ( diff --git a/prover/zkevm/prover/statemanager/mimccodehash/input.go b/prover/zkevm/prover/statemanager/mimccodehash/input.go index ac13b2d43..14a8b1c56 100644 --- a/prover/zkevm/prover/statemanager/mimccodehash/input.go +++ b/prover/zkevm/prover/statemanager/mimccodehash/input.go @@ -1,10 +1,10 @@ package mimccodehash import ( - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/symbolic" ) // The first four elements are to be populated from the ROM module, diff --git a/prover/zkevm/prover/statemanager/mimccodehash/input_consistency.go b/prover/zkevm/prover/statemanager/mimccodehash/input_consistency.go index be13ca020..24c36bd76 100644 --- a/prover/zkevm/prover/statemanager/mimccodehash/input_consistency.go +++ b/prover/zkevm/prover/statemanager/mimccodehash/input_consistency.go @@ -1,9 +1,9 @@ package mimccodehash import ( - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/projection" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/projection" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" ) // inputModules is an optional sub-component of [Module] collecting the columns diff --git a/prover/zkevm/prover/statemanager/mimccodehash/mock_test.go b/prover/zkevm/prover/statemanager/mimccodehash/mock_test.go index dcc8e7e70..de01dfd0a 100644 --- a/prover/zkevm/prover/statemanager/mimccodehash/mock_test.go +++ b/prover/zkevm/prover/statemanager/mimccodehash/mock_test.go @@ -4,9 +4,9 @@ import ( "os" "testing" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils/csvtraces" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils/csvtraces" ) func TestMiMCCodeHash(t *testing.T) { diff --git a/prover/zkevm/prover/statemanager/mock/arithmetization.go b/prover/zkevm/prover/statemanager/mock/arithmetization.go index 451fb9d56..4e1d21686 100644 --- a/prover/zkevm/prover/statemanager/mock/arithmetization.go +++ b/prover/zkevm/prover/statemanager/mock/arithmetization.go @@ -1,13 +1,14 @@ package mock import ( - eth "github.com/consensys/zkevm-monorepo/prover/backend/execution/statemanager" - "github.com/consensys/zkevm-monorepo/prover/crypto/keccak" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/types" "math/big" "sort" + + eth "github.com/consensys/linea-monorepo/prover/backend/execution/statemanager" + "github.com/consensys/linea-monorepo/prover/crypto/keccak" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/types" ) // StateManagerVectors contains all the arithmetization columns needed for the state management at the account and storage levels diff --git a/prover/zkevm/prover/statemanager/mock/basic_state.go b/prover/zkevm/prover/statemanager/mock/basic_state.go index 674d6baa0..97586f089 100644 --- a/prover/zkevm/prover/statemanager/mock/basic_state.go +++ b/prover/zkevm/prover/statemanager/mock/basic_state.go @@ -1,11 +1,12 @@ package mock import ( - "github.com/consensys/zkevm-monorepo/prover/crypto/keccak" "math/big" - "github.com/consensys/zkevm-monorepo/prover/backend/execution/statemanager" - "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/crypto/keccak" + + "github.com/consensys/linea-monorepo/prover/backend/execution/statemanager" + "github.com/consensys/linea-monorepo/prover/utils/types" ) // State is a basic in-memory data-structure storing the state of the EVM. It diff --git a/prover/zkevm/prover/statemanager/mock/basic_state_test.go b/prover/zkevm/prover/statemanager/mock/basic_state_test.go index 7e25c8e39..1187ffecf 100644 --- a/prover/zkevm/prover/statemanager/mock/basic_state_test.go +++ b/prover/zkevm/prover/statemanager/mock/basic_state_test.go @@ -1,11 +1,12 @@ package mock import ( - "github.com/consensys/zkevm-monorepo/prover/crypto/keccak" "math/big" "testing" - "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/crypto/keccak" + + "github.com/consensys/linea-monorepo/prover/utils/types" "github.com/stretchr/testify/assert" ) diff --git a/prover/zkevm/prover/statemanager/mock/shomei.go b/prover/zkevm/prover/statemanager/mock/shomei.go index d212c1b78..5048bf0cb 100644 --- a/prover/zkevm/prover/statemanager/mock/shomei.go +++ b/prover/zkevm/prover/statemanager/mock/shomei.go @@ -6,11 +6,11 @@ import ( "slices" "testing" - "github.com/consensys/zkevm-monorepo/prover/backend/execution/statemanager" - "github.com/consensys/zkevm-monorepo/prover/crypto/mimc" - "github.com/consensys/zkevm-monorepo/prover/crypto/state-management/accumulator" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/backend/execution/statemanager" + "github.com/consensys/linea-monorepo/prover/crypto/mimc" + "github.com/consensys/linea-monorepo/prover/crypto/state-management/accumulator" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/types" ) // AccountSegmentPattern (ASP) is an enum indicating the type of the account segment diff --git a/prover/zkevm/prover/statemanager/mock/shomei_test.go b/prover/zkevm/prover/statemanager/mock/shomei_test.go index 264b71c52..bf4b55965 100644 --- a/prover/zkevm/prover/statemanager/mock/shomei_test.go +++ b/prover/zkevm/prover/statemanager/mock/shomei_test.go @@ -4,7 +4,7 @@ import ( "math/big" "testing" - "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/utils/types" ) // TestContext is used to hold the data needed for running tests diff --git a/prover/zkevm/prover/statemanager/mock/state_access_log.go b/prover/zkevm/prover/statemanager/mock/state_access_log.go index 90c0d9e02..f7bb03aca 100644 --- a/prover/zkevm/prover/statemanager/mock/state_access_log.go +++ b/prover/zkevm/prover/statemanager/mock/state_access_log.go @@ -3,8 +3,8 @@ package mock import ( "math/big" - "github.com/consensys/zkevm-monorepo/prover/backend/execution/statemanager" - "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/backend/execution/statemanager" + "github.com/consensys/linea-monorepo/prover/utils/types" ) // OperationType specifies the part of an account that is touched by a state diff --git a/prover/zkevm/prover/statemanager/mock/state_access_log_test.go b/prover/zkevm/prover/statemanager/mock/state_access_log_test.go index 207b53e2d..bb18f3d8d 100644 --- a/prover/zkevm/prover/statemanager/mock/state_access_log_test.go +++ b/prover/zkevm/prover/statemanager/mock/state_access_log_test.go @@ -4,7 +4,7 @@ import ( "math/big" "testing" - "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/utils/types" "github.com/stretchr/testify/assert" ) diff --git a/prover/zkevm/prover/statemanager/state_manager.go b/prover/zkevm/prover/statemanager/state_manager.go index cb9aaa97a..2497cb3c0 100644 --- a/prover/zkevm/prover/statemanager/state_manager.go +++ b/prover/zkevm/prover/statemanager/state_manager.go @@ -1,13 +1,13 @@ package statemanager import ( - "github.com/consensys/zkevm-monorepo/prover/backend/execution/statemanager" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/statemanager/accumulator" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/statemanager/accumulatorsummary" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/statemanager/mimccodehash" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/statemanager/statesummary" + "github.com/consensys/linea-monorepo/prover/backend/execution/statemanager" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/statemanager/accumulator" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/statemanager/accumulatorsummary" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/statemanager/mimccodehash" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/statemanager/statesummary" ) // StateManager is a collection of modules responsible for attesting the diff --git a/prover/zkevm/prover/statemanager/statemanager_legacy.go b/prover/zkevm/prover/statemanager/statemanager_legacy.go index 9151039ba..11a407fae 100644 --- a/prover/zkevm/prover/statemanager/statemanager_legacy.go +++ b/prover/zkevm/prover/statemanager/statemanager_legacy.go @@ -1,16 +1,16 @@ package statemanager import ( - "github.com/consensys/zkevm-monorepo/prover/backend/execution/statemanager" - "github.com/consensys/zkevm-monorepo/prover/crypto/state-management/accumulator" - "github.com/consensys/zkevm-monorepo/prover/crypto/state-management/hashtypes" - "github.com/consensys/zkevm-monorepo/prover/crypto/state-management/smt" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/merkle" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/backend/execution/statemanager" + "github.com/consensys/linea-monorepo/prover/crypto/state-management/accumulator" + "github.com/consensys/linea-monorepo/prover/crypto/state-management/hashtypes" + "github.com/consensys/linea-monorepo/prover/crypto/state-management/smt" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/merkle" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/sirupsen/logrus" ) diff --git a/prover/zkevm/prover/statemanager/statesummary/account_peek.go b/prover/zkevm/prover/statemanager/statesummary/account_peek.go index 0381b33b6..fc1dadf91 100644 --- a/prover/zkevm/prover/statemanager/statesummary/account_peek.go +++ b/prover/zkevm/prover/statemanager/statesummary/account_peek.go @@ -1,15 +1,15 @@ package statesummary import ( - "github.com/consensys/zkevm-monorepo/prover/backend/execution/statemanager" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/byte32cmp" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils/types" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common" + "github.com/consensys/linea-monorepo/prover/backend/execution/statemanager" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/byte32cmp" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/common" ) var ( diff --git a/prover/zkevm/prover/statemanager/statesummary/accumulator_statement.go b/prover/zkevm/prover/statemanager/statesummary/accumulator_statement.go index 0f87a3df3..030c1db10 100644 --- a/prover/zkevm/prover/statemanager/statesummary/accumulator_statement.go +++ b/prover/zkevm/prover/statemanager/statesummary/accumulator_statement.go @@ -1,15 +1,15 @@ package statesummary import ( - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils/types" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common" - smCommon "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/statemanager/common" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/common" + smCommon "github.com/consensys/linea-monorepo/prover/zkevm/prover/statemanager/common" ) var ( diff --git a/prover/zkevm/prover/statemanager/statesummary/arithmetization_connector.go b/prover/zkevm/prover/statemanager/statesummary/arithmetization_connector.go index 3e2fa58a0..e9cdb8a60 100644 --- a/prover/zkevm/prover/statemanager/statesummary/arithmetization_connector.go +++ b/prover/zkevm/prover/statemanager/statesummary/arithmetization_connector.go @@ -3,12 +3,12 @@ package statesummary import ( "sync" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" ) // arithmetizationLink collects columns from the hub that are of interest for diff --git a/prover/zkevm/prover/statemanager/statesummary/arithmetization_connector_test.go b/prover/zkevm/prover/statemanager/statesummary/arithmetization_connector_test.go index 5c8ae644c..fa0b9a914 100644 --- a/prover/zkevm/prover/statemanager/statesummary/arithmetization_connector_test.go +++ b/prover/zkevm/prover/statemanager/statesummary/arithmetization_connector_test.go @@ -4,14 +4,14 @@ import ( "fmt" "testing" - "github.com/consensys/zkevm-monorepo/prover/maths/common/smartvectors" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/statemanager/common" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/statemanager/mock" + "github.com/consensys/linea-monorepo/prover/maths/common/smartvectors" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/statemanager/common" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/statemanager/mock" ) // TestIntegrationConnector checks the connector between the StateSummary diff --git a/prover/zkevm/prover/statemanager/statesummary/assignment.go b/prover/zkevm/prover/statemanager/statesummary/assignment.go index 0b1db49d7..66e076e24 100644 --- a/prover/zkevm/prover/statemanager/statesummary/assignment.go +++ b/prover/zkevm/prover/statemanager/statesummary/assignment.go @@ -4,13 +4,13 @@ import ( "io" "sync" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/common" - "github.com/consensys/zkevm-monorepo/prover/backend/execution/statemanager" - "github.com/consensys/zkevm-monorepo/prover/crypto/mimc" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/backend/execution/statemanager" + "github.com/consensys/linea-monorepo/prover/crypto/mimc" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils/types" ) // stateSummaryAssignmentBuilder is the struct holding the logic for assigning diff --git a/prover/zkevm/prover/statemanager/statesummary/hilo.go b/prover/zkevm/prover/statemanager/statesummary/hilo.go index 395553c64..44b422c13 100644 --- a/prover/zkevm/prover/statemanager/statesummary/hilo.go +++ b/prover/zkevm/prover/statemanager/statesummary/hilo.go @@ -1,11 +1,11 @@ package statesummary import ( - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils/types" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/common" ) // HiLoColumns represents a pair of column representing a sequence of bytes32 diff --git a/prover/zkevm/prover/statemanager/statesummary/state_summary.go b/prover/zkevm/prover/statemanager/statesummary/state_summary.go index 627e197f7..4cea93485 100644 --- a/prover/zkevm/prover/statemanager/statesummary/state_summary.go +++ b/prover/zkevm/prover/statemanager/statesummary/state_summary.go @@ -1,11 +1,11 @@ package statesummary import ( - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" ) // Module represents the state-summary module. It defines all the columns diff --git a/prover/zkevm/prover/statemanager/statesummary/state_summary_test.go b/prover/zkevm/prover/statemanager/statesummary/state_summary_test.go index bbba88398..3d001e427 100644 --- a/prover/zkevm/prover/statemanager/statesummary/state_summary_test.go +++ b/prover/zkevm/prover/statemanager/statesummary/state_summary_test.go @@ -4,12 +4,12 @@ import ( "fmt" "testing" - "github.com/consensys/zkevm-monorepo/prover/backend/execution/statemanager" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils/types" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/statemanager/common" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/statemanager/mock" + "github.com/consensys/linea-monorepo/prover/backend/execution/statemanager" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/statemanager/common" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/statemanager/mock" ) // TestStateSummaryInternal tests only the StateSummary module internally, without any connectors diff --git a/prover/zkevm/prover/statemanager/statesummary/storage_parser.go b/prover/zkevm/prover/statemanager/statesummary/storage_parser.go index 6bb3ff797..2e15d35e6 100644 --- a/prover/zkevm/prover/statemanager/statesummary/storage_parser.go +++ b/prover/zkevm/prover/statemanager/statesummary/storage_parser.go @@ -1,9 +1,9 @@ package statesummary import ( - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/types" ) /* diff --git a/prover/zkevm/prover/statemanager/statesummary/storage_peek.go b/prover/zkevm/prover/statemanager/statesummary/storage_peek.go index e48cb9201..af6fb5fb5 100644 --- a/prover/zkevm/prover/statemanager/statesummary/storage_peek.go +++ b/prover/zkevm/prover/statemanager/statesummary/storage_peek.go @@ -1,15 +1,15 @@ package statesummary import ( - "github.com/consensys/zkevm-monorepo/prover/crypto/mimc" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated" - "github.com/consensys/zkevm-monorepo/prover/protocol/dedicated/byte32cmp" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils/types" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/common" + "github.com/consensys/linea-monorepo/prover/crypto/mimc" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated" + "github.com/consensys/linea-monorepo/prover/protocol/dedicated/byte32cmp" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + sym "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/common" ) // StoragePeek provides the columns to represent a peek to an account storage diff --git a/prover/zkevm/settings.go b/prover/zkevm/settings.go index 93bd2da8b..2efbf9d6d 100644 --- a/prover/zkevm/settings.go +++ b/prover/zkevm/settings.go @@ -1,16 +1,16 @@ package zkevm import ( - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/zkevm/arithmetization" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/ecarith" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/ecdsa" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/ecpair" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/keccak" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/sha2" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/modexp" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/publicInput" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/statemanager" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/zkevm/arithmetization" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/ecarith" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/ecdsa" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/ecpair" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/keccak" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/sha2" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/modexp" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/publicInput" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/statemanager" ) // type alias to denote a wizard-compilation suite. This is used when calling diff --git a/prover/zkevm/witness.go b/prover/zkevm/witness.go index 88c6f2491..45ecb231e 100644 --- a/prover/zkevm/witness.go +++ b/prover/zkevm/witness.go @@ -4,8 +4,8 @@ import ( "fmt" "math/big" - "github.com/consensys/zkevm-monorepo/prover/backend/ethereum" - "github.com/consensys/zkevm-monorepo/prover/backend/execution/statemanager" + "github.com/consensys/linea-monorepo/prover/backend/ethereum" + "github.com/consensys/linea-monorepo/prover/backend/execution/statemanager" "github.com/ethereum/go-ethereum/common" ) diff --git a/prover/zkevm/zkevm.go b/prover/zkevm/zkevm.go index 6f8d0c0c2..b447c060f 100644 --- a/prover/zkevm/zkevm.go +++ b/prover/zkevm/zkevm.go @@ -1,18 +1,18 @@ package zkevm import ( - "github.com/consensys/zkevm-monorepo/prover/config" - "github.com/consensys/zkevm-monorepo/prover/protocol/serialization" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/zkevm/arithmetization" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/ecarith" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/ecdsa" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/ecpair" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/keccak" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/sha2" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/modexp" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/publicInput" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/statemanager" + "github.com/consensys/linea-monorepo/prover/config" + "github.com/consensys/linea-monorepo/prover/protocol/serialization" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/zkevm/arithmetization" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/ecarith" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/ecdsa" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/ecpair" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/keccak" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/sha2" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/modexp" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/publicInput" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/statemanager" ) // ZkEvm defines the wizard responsible for proving execution of the zk From 0f6c4d64170f253585821b5ed3175d6f60e900f6 Mon Sep 17 00:00:00 2001 From: AlexandreBelling Date: Wed, 11 Sep 2024 19:21:26 +0200 Subject: [PATCH 2/4] revert the changes for go.mod --- go.mod => prover/go.mod | 2 +- go.sum => prover/go.sum | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename go.mod => prover/go.mod (99%) rename go.sum => prover/go.sum (100%) diff --git a/go.mod b/prover/go.mod similarity index 99% rename from go.mod rename to prover/go.mod index ea83088ab..adf88f281 100644 --- a/go.mod +++ b/prover/go.mod @@ -1,4 +1,4 @@ -module github.com/consensys/linea-monorepo +module github.com/consensys/linea-monorepo/prover go 1.22.1 diff --git a/go.sum b/prover/go.sum similarity index 100% rename from go.sum rename to prover/go.sum From 685991e0a80809d00102bc411d21c202c011f482 Mon Sep 17 00:00:00 2001 From: AlexandreBelling Date: Fri, 13 Sep 2024 13:45:45 +0200 Subject: [PATCH 3/4] address every occurence to zkevm-monorepo --- prover/circuits/blobdecompression/v0/compress/io.go | 2 +- prover/circuits/execution/pi_wizard_extraction.go | 2 -- prover/lib/compressor/blob/blob.go | 2 +- prover/lib/compressor/blob/v0/blob_maker.go | 1 - prover/lib/compressor/blob/v1/blob_maker.go | 1 - prover/protocol/compiler/vortex/compiler.go | 1 - prover/protocol/compiler/vortex/gnark_verifier.go | 1 - prover/protocol/compiler/vortex/prover.go | 2 -- prover/protocol/dedicated/mimc/linear_hash.go | 2 -- prover/protocol/dedicated/plonk/rangechecker_test.go | 5 ++--- prover/zkevm/prover/ecdsa/adress.go | 2 -- prover/zkevm/prover/statemanager/state_manager.go | 4 +--- 12 files changed, 5 insertions(+), 20 deletions(-) diff --git a/prover/circuits/blobdecompression/v0/compress/io.go b/prover/circuits/blobdecompression/v0/compress/io.go index f23512139..d21ccb8e8 100644 --- a/prover/circuits/blobdecompression/v0/compress/io.go +++ b/prover/circuits/blobdecompression/v0/compress/io.go @@ -74,7 +74,7 @@ func ChecksumPaddedBytes(b []byte, validLength int, hsh hash.Hash, fieldNbBits i // UnpackIntoBytes construes every element in packed as consisting of bytesPerElem bytes, returning those bytes // it DOES NOT prove that the elements in unpacked are actually bytes -// nbBytes is the number of "valid" bytes according to the padding scheme in https://github.com/Consensys/zkevm-monorepo/blob/main/prover/lib/compressor/blob/blob_maker.go#L299 +// nbBytes is the number of "valid" bytes according to the padding scheme in https://github.com/Consensys/linea-monorepo/blob/main/prover/lib/compressor/blob/blob_maker.go#L299 // TODO @tabaie @gbotrel move the padding/packing code to gnark or compress // the very last non-zero byte in the unpacked stream is meant to encode the number of unused bytes in the last field element used. // though UnpackIntoBytes includes that last byte in unpacked, it is not counted in nbBytes diff --git a/prover/circuits/execution/pi_wizard_extraction.go b/prover/circuits/execution/pi_wizard_extraction.go index da8a40892..111187bef 100644 --- a/prover/circuits/execution/pi_wizard_extraction.go +++ b/prover/circuits/execution/pi_wizard_extraction.go @@ -29,8 +29,6 @@ func checkPublicInputs( // functional input (the txnrlp is incorrect). It should be converted into // an [api.AssertIsEqual] once this is resolved. // - // https://github.com/Consensys/zkevm-monorepo/issues/3801 - // shouldBeEqual(api, execDataHash, gnarkFuncInp.DataChecksum) api.AssertIsEqual( diff --git a/prover/lib/compressor/blob/blob.go b/prover/lib/compressor/blob/blob.go index bca5927e9..ba5bd8e27 100644 --- a/prover/lib/compressor/blob/blob.go +++ b/prover/lib/compressor/blob/blob.go @@ -40,7 +40,7 @@ func GetRepoRootPath() (string, error) { if err != nil { return "", err } - const repoName = "zkevm-monorepo" + const repoName = "linea-monorepo" i := strings.LastIndex(wd, repoName) if i == -1 { return "", errors.New("could not find repo root") diff --git a/prover/lib/compressor/blob/v0/blob_maker.go b/prover/lib/compressor/blob/v0/blob_maker.go index 4f6f82605..de6e771cd 100644 --- a/prover/lib/compressor/blob/v0/blob_maker.go +++ b/prover/lib/compressor/blob/v0/blob_maker.go @@ -163,7 +163,6 @@ func (bm *BlobMaker) Write(rlpBlock []byte, forceReset bool) (ok bool, err error if blockLen > bm.limit { // we should panic but logging / alerting is handled by the caller. - // see https://github.com/Consensys/zkevm-monorepo/issues/2326#issuecomment-1923573005 logrus.Warn("block size is larger than the blob limit. This should be checked by the coordinator, keeping the log for sanity", "block size", blockLen, "limit", bm.limit) } diff --git a/prover/lib/compressor/blob/v1/blob_maker.go b/prover/lib/compressor/blob/v1/blob_maker.go index cd45430e0..6e6b3030d 100644 --- a/prover/lib/compressor/blob/v1/blob_maker.go +++ b/prover/lib/compressor/blob/v1/blob_maker.go @@ -156,7 +156,6 @@ func (bm *BlobMaker) Write(rlpBlock []byte, forceReset bool) (ok bool, err error if blockLen > bm.Limit { // we should panic but logging / alerting is handled by the caller. - // see https://github.com/Consensys/zkevm-monorepo/issues/2326#issuecomment-1923573005 logrus.Warn("block size is larger than the blob Limit. This should be checked by the coordinator, keeping the log for sanity", "block size", blockLen, "Limit", bm.Limit) } diff --git a/prover/protocol/compiler/vortex/compiler.go b/prover/protocol/compiler/vortex/compiler.go index 228da66ec..e5ab15b72 100644 --- a/prover/protocol/compiler/vortex/compiler.go +++ b/prover/protocol/compiler/vortex/compiler.go @@ -152,7 +152,6 @@ type Ctx struct { OpenedColumns []ifaces.Column // MerkleProof (only used with the MerkleProof version) // We represents all the Merkle proof as specfied here: - // https://github.com/ConsenSys/zkevm-monorepo/issues/67 MerkleProofs ifaces.Column // The Merkle roots are represented by a size 1 column // in the wizard. diff --git a/prover/protocol/compiler/vortex/gnark_verifier.go b/prover/protocol/compiler/vortex/gnark_verifier.go index 4d6348a36..cf217bcec 100644 --- a/prover/protocol/compiler/vortex/gnark_verifier.go +++ b/prover/protocol/compiler/vortex/gnark_verifier.go @@ -240,7 +240,6 @@ func (ctx *Ctx) gnarkExplicitPublicEvaluation(api frontend.API, vr *wizard.Wizar } // unpack a list of merkle proofs from a vector as in -// https://github.com/ConsenSys/zkevm-monorepo/issues/67 func (ctx *Ctx) unpackMerkleProofsGnark(sv []frontend.Variable, entryList []frontend.Variable) (proofs [][]smt.GnarkProof) { depth := utils.Log2Ceil(ctx.NumEncodedCols()) // depth of the Merkle-tree diff --git a/prover/protocol/compiler/vortex/prover.go b/prover/protocol/compiler/vortex/prover.go index fdd73db53..bad0c99a1 100644 --- a/prover/protocol/compiler/vortex/prover.go +++ b/prover/protocol/compiler/vortex/prover.go @@ -155,7 +155,6 @@ func (ctx *Ctx) getPols(run *wizard.ProverRuntime, round int) (pols []smartvecto } // pack a list of merkle-proofs in a vector as in -// https://github.com/ConsenSys/zkevm-monorepo/issues/67 func (ctx *Ctx) packMerkleProofs(proofs [][]smt.Proof) smartvectors.SmartVector { depth := len(proofs[0][0].Siblings) // depth of the Merkle-tree @@ -210,7 +209,6 @@ func (ctx *Ctx) packMerkleProofs(proofs [][]smt.Proof) smartvectors.SmartVector } // unpack a list of merkle proofs from a vector as in -// https://github.com/ConsenSys/zkevm-monorepo/issues/67 func (ctx *Ctx) unpackMerkleProofs(sv smartvectors.SmartVector, entryList []int) (proofs [][]smt.Proof) { depth := utils.Log2Ceil(ctx.NumEncodedCols()) // depth of the Merkle-tree diff --git a/prover/protocol/dedicated/mimc/linear_hash.go b/prover/protocol/dedicated/mimc/linear_hash.go index 45fd4cd3f..24b01abd3 100644 --- a/prover/protocol/dedicated/mimc/linear_hash.go +++ b/prover/protocol/dedicated/mimc/linear_hash.go @@ -57,8 +57,6 @@ Check a linear hashby chunk of columns - period : 4 // indicates that we should hash chunks of 4 entries - expectedhash : (Hash(a, b, c, d) || Hash(e, f, g, h)) - - See : https://github.com/ConsenSys/zkevm-monorepo/issues/662 */ func CheckLinearHash( comp *wizard.CompiledIOP, diff --git a/prover/protocol/dedicated/plonk/rangechecker_test.go b/prover/protocol/dedicated/plonk/rangechecker_test.go index 95a203ee3..286db5b87 100644 --- a/prover/protocol/dedicated/plonk/rangechecker_test.go +++ b/prover/protocol/dedicated/plonk/rangechecker_test.go @@ -298,9 +298,8 @@ func (c *rangeCheckWithPublic) Define(api frontend.API) error { return nil } -// This is a simple test for testing regression -// https://github.com/Consensys/zkevm-monorepo/issues/3157. Here, we use public -// inputs which shifts the witness trace. +// This is a simple test for testing regression. +// Here, we use public inputs which shifts the witness trace. func TestErrorCase(t *testing.T) { circuit := &rangeCheckWithPublic{} diff --git a/prover/zkevm/prover/ecdsa/adress.go b/prover/zkevm/prover/ecdsa/adress.go index a80135813..7328df215 100644 --- a/prover/zkevm/prover/ecdsa/adress.go +++ b/prover/zkevm/prover/ecdsa/adress.go @@ -108,8 +108,6 @@ func newAddress(comp *wizard.CompiledIOP, size int, ecRec *EcRecover, ac *antich // Waiting for the resolution of: // - // https://github.com/Consensys/zkevm-monorepo/issues/3801 - // // // projection from txn-data to address columns // projection.InsertProjection(comp, ifaces.QueryIDf("Project_AddressHi_TxnData"), // []ifaces.Column{td.fromHi}, []ifaces.Column{addr.addressHi}, diff --git a/prover/zkevm/prover/statemanager/state_manager.go b/prover/zkevm/prover/statemanager/state_manager.go index 2497cb3c0..a115ba281 100644 --- a/prover/zkevm/prover/statemanager/state_manager.go +++ b/prover/zkevm/prover/statemanager/state_manager.go @@ -80,9 +80,7 @@ func NewStateManagerNoHub(comp *wizard.CompiledIOP, settings Settings) *StateMan sm.accumulatorSummaryConnector.ConnectToStateSummary(comp, &sm.StateSummary) sm.mimcCodeHash.ConnectToRom(comp, rom(comp), romLex(comp)) - // Waiting for the resolution of # - // - // https://github.com/Consensys/zkevm-monorepo/issues/3798 + // Waiting for the resolution of the mimc code hash issue // // lookupStateSummaryCodeHash(comp, &sm.StateSummary.Account, &sm.mimcCodeHash) From 1ea59785a46eed319ee1d8992ae66290ed3c96a6 Mon Sep 17 00:00:00 2001 From: AlexandreBelling Date: Fri, 13 Sep 2024 13:52:11 +0200 Subject: [PATCH 4/4] fixup --- prover/circuits/pi-interconnection/circuit_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prover/circuits/pi-interconnection/circuit_test.go b/prover/circuits/pi-interconnection/circuit_test.go index 58e94f16f..45c804012 100644 --- a/prover/circuits/pi-interconnection/circuit_test.go +++ b/prover/circuits/pi-interconnection/circuit_test.go @@ -5,7 +5,7 @@ import ( "fmt" "testing" - "github.com/consensys/zkevm-monorepo/prover/config" + "github.com/consensys/linea-monorepo/prover/config" "github.com/leanovate/gopter" "github.com/leanovate/gopter/gen" "github.com/leanovate/gopter/prop"