diff --git a/bridge-ui/README.md b/bridge-ui/README.md index ea90a6622..8dd14cdbe 100644 --- a/bridge-ui/README.md +++ b/bridge-ui/README.md @@ -11,9 +11,9 @@ Private configuration variables are store on GitHub Secrets. ### Get a Frontend Tag - Retrieve an existing tag. - - Get a Tag from [GitHub Actions](https://github.com/Consensys/zkevm-monorepo/actions) on `Bridge UI Build and Publish` job, `Set Docker Tag` action. + - Get a Tag from [GitHub Actions](https://github.com/Consensys/linea-monorepo/actions) on `Bridge UI Build and Publish` job, `Set Docker Tag` action. - Or create a new tag. - - Create a PR and merge the last version to develop branch, and get a Tag from [GitHub Actions](https://github.com/Consensys/zkevm-monorepo/actions) on `Bridge UI Build and Publish` job, `Set Docker Tag` action. + - Create a PR and merge the last version to develop branch, and get a Tag from [GitHub Actions](https://github.com/Consensys/linea-monorepo/actions) on `Bridge UI Build and Publish` job, `Set Docker Tag` action. Example: diff --git a/bridge-ui/RELEASE-NOTES.md b/bridge-ui/RELEASE-NOTES.md index 745cce7af..08a4662fb 100644 --- a/bridge-ui/RELEASE-NOTES.md +++ b/bridge-ui/RELEASE-NOTES.md @@ -7,9 +7,6 @@ Description: - Fix ETH and USDC history fetching issue -Technical implementation: -- [PR](https://github.com/Consensys/zkevm-monorepo/pull/3328) - [Changes][v0.6.5] @@ -21,9 +18,6 @@ Technical implementation: Description: - Add claim message as a recipient feature -Technical implementation: -- [PR](https://github.com/Consensys/zkevm-monorepo/pull/3132) - [Changes][v0.6.4] @@ -36,9 +30,6 @@ Description: - Update shortcuts doc url - Update shortcuts description -Technical implementation: -- [PR](https://github.com/Consensys/zkevm-monorepo/pull/3220) - [Changes][v0.6.3] @@ -51,10 +42,6 @@ Description: - Update link for third party bridges on the landing page to https://linea.build/apps?types=bridge - Enable shortcuts for easy bridging from L1 -> Linea -Technical implementation: -- [PR for third party bridges](https://github.com/Consensys/zkevm-monorepo/pull/3116) -- [PR to enable shortcuts](https://github.com/Consensys/zkevm-monorepo/pull/2883) - [Changes][v0.6.2] @@ -66,9 +53,6 @@ Technical implementation: Description: - Fix ERC20 abi approve function return types to support USDT -Technical implementation: -[PR](https://github.com/Consensys/zkevm-monorepo/pull/2932) - [Changes][v0.6.1] @@ -81,9 +65,6 @@ Description: - Add support for Linea Sepolia testnet - Remove support for Linea Goerli testnet -Technical implementation: -[PR](https://github.com/Consensys/zkevm-monorepo/pull/2735) - [Changes][v0.6.0] diff --git a/buildSrc/src/main/groovy/net.consensys.zkevm.linea-native-libs-helper.gradle b/buildSrc/src/main/groovy/net.consensys.zkevm.linea-native-libs-helper.gradle index a4dccc53c..38f49a13c 100644 --- a/buildSrc/src/main/groovy/net.consensys.zkevm.linea-native-libs-helper.gradle +++ b/buildSrc/src/main/groovy/net.consensys.zkevm.linea-native-libs-helper.gradle @@ -31,7 +31,7 @@ static def getReleaseAsset( String releaseTagName, String githubAccessToken ) { - def urlStr = 'https://api.github.com/repos/ConsenSys/zkevm-monorepo/releases' + def urlStr = 'https://api.github.com/repos/ConsenSys/linea-monorepo/releases' def json = downloadAndParseJson(urlStr, ['Authorization': "token ${githubAccessToken}"]) def release = json.find { it.tag_name == releaseTagName } if (release == null) { diff --git a/coordinator/Dockerfile b/coordinator/Dockerfile index 6a82c154f..862cc2706 100644 --- a/coordinator/Dockerfile +++ b/coordinator/Dockerfile @@ -23,7 +23,7 @@ LABEL org.label-schema.build-date=$BUILD_DATE \ org.label-schema.description="Coordinator for Linea" \ org.label-schema.url="https://consensys.io/" \ org.label-schema.vcs-ref=$VCS_REF \ - org.label-schema.vcs-url="https://github.com/ConsenSys/zkevm-monorepo" \ + org.label-schema.vcs-url="https://github.com/ConsenSys/linea-monorepo" \ org.label-schema.vendor="ConsenSys" \ org.label-schema.version=$VERSION \ org.label-schema.schema-version="1.0" diff --git a/docs/architecture-description.md b/docs/architecture-description.md index 3ac00c254..9e1a6c80c 100644 --- a/docs/architecture-description.md +++ b/docs/architecture-description.md @@ -847,7 +847,7 @@ Internally, the message service computes a rolling hash. It’s computed recursi Linea’s coordinator, which is subscribing to L1 events, detects the L1 finalized (2 epochs to avoid reorgs) cross-chain MessageSent event and anchors it on L2. The coordinator anchors the messages by batches. -Anchoring (Anchoring is the process for placing a "cross-chain validity reference", that must exist for any message to be claimed) of messages is done through the executed via [anchorL1L2MessageHashes](https://github.com/Consensys/zkevm-monorepo/blob/main/contracts/contracts/messageService/l2/L2MessageManager.sol#L35) which is inherited by the [L2MessageService](https://github.com/Consensys/zkevm-monorepo/blob/main/contracts/contracts/messageService/l2/L2MessageService.sol) smart contract. +Anchoring (Anchoring is the process for placing a "cross-chain validity reference", that must exist for any message to be claimed) of messages is done through the executed via [anchorL1L2MessageHashes](https://github.com/Consensys/linea-monorepo/blob/main/contracts/contracts/messageService/l2/L2MessageManager.sol#L35) which is inherited by the [L2MessageService](https://github.com/Consensys/linea-monorepo/blob/main/contracts/contracts/messageService/l2/L2MessageService.sol) smart contract. To anchor a message, the coordinator collects all L1-L2 message logs from which it gets the message hash, the rolling hash, the nonce (unique message number) and the L1 block number. Note that the L1 block number facilitates the processing but is not anchored on L2. diff --git a/e2e/README.md b/e2e/README.md index bb9df7b2f..2a8425884 100644 --- a/e2e/README.md +++ b/e2e/README.md @@ -23,14 +23,14 @@ the steps output, can be used to debug containers. ## Debugging test in vscode -Install the `vscode-jest` plugin and open `zkevm-monorepo/e2e/` directory. Use the following config in `zkevm-monorepo/e2e/.vscode/settings.json` +Install the `vscode-jest` plugin and open `linea/e2e/` directory. Use the following config in `linea/e2e/.vscode/settings.json` ``` { "jest.autoRun": { "watch": false }, "jest.jestCommandLine": "pnpm run test:e2e:vscode --", } ``` -and the following config in `zkevm-monorepo/e2e/.vscode/launch.json` +and the following config in `linea/e2e/.vscode/launch.json` ``` { "configurations": [ diff --git a/gradle/publishing.gradle b/gradle/publishing.gradle index 3992ce8d3..4b84b4f4a 100644 --- a/gradle/publishing.gradle +++ b/gradle/publishing.gradle @@ -34,9 +34,9 @@ publishing { } scm { - url = 'https://github.com/Consensys/zkevm-monorepo' - connection = 'scm:git://github.com/Consensys/zkevm-monorepo.git' - developerConnection = 'scm:git:ssh://github.com:Consensys/zkevm-monorepo.git' + url = 'https://github.com/Consensys/linea-monorepo' + connection = 'scm:git://github.com/Consensys/linea-monorepo.git' + developerConnection = 'scm:git:ssh://github.com:Consensys/linea-monorepo.git' } developers { diff --git a/package.json b/package.json index 5337e090e..5e480890f 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "zkevm-monorepo", + "name": "linea-monorepo", "author": "Consensys Software Inc.", "engines": { "node": ">=18", diff --git a/prover/Makefile b/prover/Makefile index e93d6102e..5ea2dc176 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/README.md b/prover/README.md index 68590458e..c9968ea84 100644 --- a/prover/README.md +++ b/prover/README.md @@ -1,4 +1,4 @@ -# zkevm-monorepo/prover +# linea-monorepo/prover This directory contains the implementation of the prover of Linea. As part of it, it contains an implementation of the Vortex polynomial commitment, of the diff --git a/prover/backend/aggregation/craft.go b/prover/backend/aggregation/craft.go index eef794602..8fd1f4c23 100644 --- a/prover/backend/aggregation/craft.go +++ b/prover/backend/aggregation/craft.go @@ -5,21 +5,22 @@ import ( "encoding/binary" "encoding/json" "fmt" - public_input "github.com/consensys/zkevm-monorepo/prover/public-input" "path" + 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 a9da96fb2..8b8fde23e 100644 --- a/prover/backend/aggregation/prove.go +++ b/prover/backend/aggregation/prove.go @@ -6,13 +6,13 @@ import ( "path/filepath" "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 4736661f2..e37982d7c 100644 --- a/prover/backend/aggregation/request.go +++ b/prover/backend/aggregation/request.go @@ -1,7 +1,7 @@ package aggregation import ( - "github.com/consensys/zkevm-monorepo/prover/circuits/aggregation" + "github.com/consensys/linea-monorepo/prover/circuits/aggregation" ) // 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 7bae6e0fa..0eb29525c 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 c60929e80..557137b24 100644 --- a/prover/backend/ethereum/signature.go +++ b/prover/backend/ethereum/signature.go @@ -4,7 +4,7 @@ import ( "bytes" "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/common/hexutil" "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/l2l1logs.go b/prover/backend/execution/bridge/l2l1logs.go index dd637d253..d227d4b58 100644 --- a/prover/backend/execution/bridge/l2l1logs.go +++ b/prover/backend/execution/bridge/l2l1logs.go @@ -5,7 +5,7 @@ import ( "math/big" "reflect" - "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/common/hexutil" "github.com/ethereum/go-ethereum/core/types" diff --git a/prover/backend/execution/bridge/rolling_hash_updated.go b/prover/backend/execution/bridge/rolling_hash_updated.go index f8ac44b26..14a83bcb0 100644 --- a/prover/backend/execution/bridge/rolling_hash_updated.go +++ b/prover/backend/execution/bridge/rolling_hash_updated.go @@ -3,7 +3,7 @@ package bridge import ( "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/crypto" diff --git a/prover/backend/execution/craft.go b/prover/backend/execution/craft.go index 665696f44..96f562289 100644 --- a/prover/backend/execution/craft.go +++ b/prover/backend/execution/craft.go @@ -1,10 +1,10 @@ package execution 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/config" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/backend/execution/bridge" + "github.com/consensys/linea-monorepo/prover/backend/execution/statemanager" + "github.com/consensys/linea-monorepo/prover/config" + "github.com/consensys/linea-monorepo/prover/utils" ) // Craft prover's functional inputs diff --git a/prover/backend/execution/hashing.go b/prover/backend/execution/hashing.go index 80c891e8d..8919b6a07 100644 --- a/prover/backend/execution/hashing.go +++ b/prover/backend/execution/hashing.go @@ -1,6 +1,6 @@ package execution -import "github.com/consensys/zkevm-monorepo/prover/utils" +import "github.com/consensys/linea-monorepo/prover/utils" func (j *Response) ComputeProofInput() { diff --git a/prover/backend/execution/prove.go b/prover/backend/execution/prove.go index ec4973b31..dddbd3f44 100644 --- a/prover/backend/execution/prove.go +++ b/prover/backend/execution/prove.go @@ -2,14 +2,14 @@ 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/maths/field" - "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/maths/field" + "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 29168bd80..33c7e015b 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 63e918439..79766323a 100644 --- a/prover/backend/execution/response.go +++ b/prover/backend/execution/response.go @@ -1,8 +1,8 @@ package execution import ( - "github.com/consensys/zkevm-monorepo/prover/backend/execution/bridge" - "github.com/consensys/zkevm-monorepo/prover/config" + "github.com/consensys/linea-monorepo/prover/backend/execution/bridge" + "github.com/consensys/linea-monorepo/prover/config" ) // JSON schema of the message to return as an output of the prover 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 5cff49998..884dfc50f 100644 --- a/prover/backend/execution/statemanager/proof_checks.go +++ b/prover/backend/execution/statemanager/proof_checks.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" "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 6a06cdfb8..d4edce39c 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 850136bd7..0f20416d3 100644 --- a/prover/backend/execution/testcase_gen/cli.go +++ b/prover/backend/execution/testcase_gen/cli.go @@ -5,7 +5,7 @@ import ( "math" "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/common/hexutil" ) diff --git a/prover/backend/execution/testcase_gen/rand_gen.go b/prover/backend/execution/testcase_gen/rand_gen.go index 44fc4a285..bdd23e086 100644 --- a/prover/backend/execution/testcase_gen/rand_gen.go +++ b/prover/backend/execution/testcase_gen/rand_gen.go @@ -6,11 +6,11 @@ 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/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/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/hexutil" "github.com/ethereum/go-ethereum/core/types" diff --git a/prover/circuits/aggregation/circuit.go b/prover/circuits/aggregation/circuit.go index 9c27cbf89..41adadef0 100644 --- a/prover/circuits/aggregation/circuit.go +++ b/prover/circuits/aggregation/circuit.go @@ -4,18 +4,19 @@ package aggregation import ( "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/math/emulated" "github.com/consensys/gnark/std/rangecheck" emPlonk "github.com/consensys/gnark/std/recursion/plonk" - "github.com/consensys/zkevm-monorepo/prover/circuits/internal" - "github.com/consensys/zkevm-monorepo/prover/circuits/pi-interconnection/keccak" - public_input "github.com/consensys/zkevm-monorepo/prover/public-input" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/utils/types" - "slices" + "github.com/consensys/linea-monorepo/prover/circuits/internal" + "github.com/consensys/linea-monorepo/prover/circuits/pi-interconnection/keccak" + public_input "github.com/consensys/linea-monorepo/prover/public-input" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils/types" ) // 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 11bac058e..84b44f9af 100644 --- a/prover/circuits/aggregation/circuit_test.go +++ b/prover/circuits/aggregation/circuit_test.go @@ -1,13 +1,14 @@ package aggregation import ( + "testing" + "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/circuits/internal" - "github.com/consensys/zkevm-monorepo/prover/circuits/internal/test_utils" - "github.com/consensys/zkevm-monorepo/prover/circuits/pi-interconnection/keccak" - public_input "github.com/consensys/zkevm-monorepo/prover/public-input" + "github.com/consensys/linea-monorepo/prover/circuits/internal" + "github.com/consensys/linea-monorepo/prover/circuits/internal/test_utils" + "github.com/consensys/linea-monorepo/prover/circuits/pi-interconnection/keccak" + public_input "github.com/consensys/linea-monorepo/prover/public-input" "github.com/stretchr/testify/assert" - "testing" ) func TestPublicInput(t *testing.T) { 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 39ca70d1d..9382e69ef 100644 --- a/prover/circuits/aggregation/proof_claim.go +++ b/prover/circuits/aggregation/proof_claim.go @@ -9,8 +9,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 fff1ec698..1c72f3514 100644 --- a/prover/circuits/aggregation/prover.go +++ b/prover/circuits/aggregation/prover.go @@ -7,7 +7,7 @@ import ( "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/linea-monorepo/prover/circuits" "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 830966ae2..8be4bbde7 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/circuits/internal" - "math/big" - "math/bits" + "github.com/consensys/linea-monorepo/prover/circuits/internal" ) 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 77cbd33aa..cd855f089 100644 --- a/prover/circuits/blobdecompression/public-input/pi_test.go +++ b/prover/circuits/blobdecompression/public-input/pi_test.go @@ -8,7 +8,6 @@ import ( "encoding/hex" "encoding/json" "fmt" - "github.com/consensys/zkevm-monorepo/prover/circuits/internal" "math/big" "os" "path/filepath" @@ -16,7 +15,9 @@ 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/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 d68254429..a5bf5bd41 100644 --- a/prover/circuits/blobdecompression/v0/circuit.go +++ b/prover/circuits/blobdecompression/v0/circuit.go @@ -2,19 +2,20 @@ package v0 import ( "fmt" + "github.com/consensys/gnark/std/rangecheck" - "github.com/consensys/zkevm-monorepo/prover/circuits/internal" + "github.com/consensys/linea-monorepo/prover/circuits/internal" 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 212386c67..13452d723 100644 --- a/prover/circuits/blobdecompression/v0/compress/internal/io.go +++ b/prover/circuits/blobdecompression/v0/compress/internal/io.go @@ -8,7 +8,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 f9798dc39..62b58eb31 100644 --- a/prover/circuits/blobdecompression/v0/compress/internal/io_test.go +++ b/prover/circuits/blobdecompression/v0/compress/internal/io_test.go @@ -12,9 +12,9 @@ import ( "github.com/consensys/gnark/std/math/bits" test_vector_utils "github.com/consensys/gnark/std/utils/test_vectors_utils" "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..d21ccb8e8 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 @@ -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/blobdecompression/v0/compress/lzss/snark.go b/prover/circuits/blobdecompression/v0/compress/lzss/snark.go index ad748e1ff..69354a72d 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 ef1db4635..6808acd42 100644 --- a/prover/circuits/blobdecompression/v0/compress/lzss/snark_test.go +++ b/prover/circuits/blobdecompression/v0/compress/lzss/snark_test.go @@ -6,7 +6,7 @@ import ( "os" "testing" - "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/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 3fd3de500..ede5ab2b1 100644 --- a/prover/circuits/blobdecompression/v0/compress/lzss/snark_testing.go +++ b/prover/circuits/blobdecompression/v0/compress/lzss/snark_testing.go @@ -3,8 +3,8 @@ package lzss import ( "github.com/consensys/gnark/frontend" test_vector_utils "github.com/consensys/gnark/std/utils/test_vectors_utils" - "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/linea-monorepo/prover/circuits/blobdecompression/v0/compress" + "github.com/consensys/linea-monorepo/prover/lib/compressor/blob/v0/compress/lzss" ) type DecompressionTestCircuit struct { diff --git a/prover/circuits/blobdecompression/v0/hash_any_test.go b/prover/circuits/blobdecompression/v0/hash_any_test.go index 826d3df4a..e750fb3a1 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 f7dd15bf0..55df1fe32 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 f6dfc05c6..d31b1172e 100644 --- a/prover/circuits/blobdecompression/v1/assign_test.go +++ b/prover/circuits/blobdecompression/v1/assign_test.go @@ -5,20 +5,21 @@ package v1_test import ( "encoding/base64" "encoding/hex" + "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/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" - "github.com/consensys/zkevm-monorepo/prover/crypto/mimc/gkrmimc" - 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" + "github.com/consensys/linea-monorepo/prover/crypto/mimc/gkrmimc" + 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" - "testing" ) func prepareTestBlob(t require.TestingT) (c, a frontend.Circuit) { diff --git a/prover/circuits/blobdecompression/v1/circuit.go b/prover/circuits/blobdecompression/v1/circuit.go index a4baab20b..34f11cabe 100644 --- a/prover/circuits/blobdecompression/v1/circuit.go +++ b/prover/circuits/blobdecompression/v1/circuit.go @@ -4,6 +4,8 @@ import ( "bytes" "errors" "fmt" + "math/big" + "github.com/consensys/gnark-crypto/ecc" fr377 "github.com/consensys/gnark-crypto/ecc/bls12-377/fr" fr381 "github.com/consensys/gnark-crypto/ecc/bls12-381/fr" @@ -16,11 +18,10 @@ import ( "github.com/consensys/gnark/std/hash/mimc" "github.com/consensys/gnark/std/rangecheck" test_vector_utils "github.com/consensys/gnark/std/utils/test_vectors_utils" - "github.com/consensys/zkevm-monorepo/prover/circuits/internal" - "github.com/consensys/zkevm-monorepo/prover/crypto/mimc/gkrmimc" - "math/big" + "github.com/consensys/linea-monorepo/prover/circuits/internal" + "github.com/consensys/linea-monorepo/prover/crypto/mimc/gkrmimc" - 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 1ddae4dea..6325deeac 100644 --- a/prover/circuits/blobdecompression/v1/snark.go +++ b/prover/circuits/blobdecompression/v1/snark.go @@ -11,7 +11,7 @@ import ( "math/big" "math/bits" - "github.com/consensys/zkevm-monorepo/prover/circuits/internal" + "github.com/consensys/linea-monorepo/prover/circuits/internal" "github.com/consensys/gnark/constraint/solver" "github.com/consensys/gnark/frontend" @@ -19,9 +19,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 57cbba538..ae89ff0a1 100644 --- a/prover/circuits/blobdecompression/v1/snark_test.go +++ b/prover/circuits/blobdecompression/v1/snark_test.go @@ -4,10 +4,11 @@ import ( "bytes" "crypto/rand" "errors" - "github.com/consensys/zkevm-monorepo/prover/circuits/blobdecompression/v1/test_utils" - cInternal "github.com/consensys/zkevm-monorepo/prover/circuits/internal" "testing" + "github.com/consensys/linea-monorepo/prover/circuits/blobdecompression/v1/test_utils" + cInternal "github.com/consensys/linea-monorepo/prover/circuits/internal" + "github.com/consensys/gnark-crypto/ecc" fr381 "github.com/consensys/gnark-crypto/ecc/bls12-381/fr" "github.com/consensys/gnark-crypto/hash" @@ -16,8 +17,8 @@ import ( "github.com/consensys/gnark/std/hash/mimc" test_vector_utils "github.com/consensys/gnark/std/utils/test_vectors_utils" "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/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 9e85acc94..0d916b131 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 f7d1529cd..09da6c632 100644 --- a/prover/circuits/execution/builder.go +++ b/prover/circuits/execution/builder.go @@ -5,9 +5,9 @@ import ( "github.com/consensys/gnark/constraint" "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/frontend/cs/scs" - "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/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/zkevm" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/publicInput" ) type builder struct { diff --git a/prover/circuits/execution/circuit.go b/prover/circuits/execution/circuit.go index 62206efb7..18f53e69e 100644 --- a/prover/circuits/execution/circuit.go +++ b/prover/circuits/execution/circuit.go @@ -6,11 +6,11 @@ import ( "github.com/consensys/gnark/backend" "github.com/consensys/gnark/backend/plonk" "github.com/consensys/gnark/frontend" - "github.com/consensys/zkevm-monorepo/prover/circuits" - "github.com/consensys/zkevm-monorepo/prover/crypto/mimc/gkrmimc" - "github.com/consensys/zkevm-monorepo/prover/maths/field" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/publicInput" + "github.com/consensys/linea-monorepo/prover/circuits" + "github.com/consensys/linea-monorepo/prover/crypto/mimc/gkrmimc" + "github.com/consensys/linea-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "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 78898bf6a..f672e27b4 100644 --- a/prover/circuits/execution/pi.go +++ b/prover/circuits/execution/pi.go @@ -2,14 +2,15 @@ package execution import ( "encoding/binary" + "hash" + "slices" + "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/utils/types" - "hash" - "slices" + "github.com/consensys/linea-monorepo/prover/circuits/internal" + "github.com/consensys/linea-monorepo/prover/crypto/mimc" + "github.com/consensys/linea-monorepo/prover/utils/types" ) // FunctionalPublicInputQSnark the information on this execution that cannot be extracted from other input in the same aggregation batch diff --git a/prover/circuits/execution/pi_test.go b/prover/circuits/execution/pi_test.go index b97daf433..0a475ac43 100644 --- a/prover/circuits/execution/pi_test.go +++ b/prover/circuits/execution/pi_test.go @@ -1,10 +1,11 @@ package execution import ( + "testing" + "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/std/hash/mimc" - "github.com/consensys/zkevm-monorepo/prover/circuits/internal/test_utils" - "testing" + "github.com/consensys/linea-monorepo/prover/circuits/internal/test_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 2a601256c..2b00d6d39 100644 --- a/prover/circuits/execution/pi_wizard_extraction.go +++ b/prover/circuits/execution/pi_wizard_extraction.go @@ -3,9 +3,9 @@ package execution 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 9e82522f7..d6e681a4f 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/test_utils/test_utils.go b/prover/circuits/internal/test_utils/test_utils.go index 984e73703..043acddd2 100644 --- a/prover/circuits/internal/test_utils/test_utils.go +++ b/prover/circuits/internal/test_utils/test_utils.go @@ -6,16 +6,17 @@ import ( "encoding/hex" "errors" "fmt" + "math/big" + "os" + "strings" + "testing" + "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" "golang.org/x/exp/constraints" - "math/big" - "os" - "strings" - "testing" ) func printAsHexHint(_ *big.Int, ins, outs []*big.Int) error { diff --git a/prover/circuits/internal/utils.go b/prover/circuits/internal/utils.go index f5ef073d9..4808eee04 100644 --- a/prover/circuits/internal/utils.go +++ b/prover/circuits/internal/utils.go @@ -3,6 +3,9 @@ package internal import ( "encoding/binary" "errors" + "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-crypto/hash" @@ -14,10 +17,8 @@ import ( "github.com/consensys/gnark/std/lookup/logderivlookup" "github.com/consensys/gnark/std/math/emulated" "github.com/consensys/gnark/std/rangecheck" - "github.com/consensys/zkevm-monorepo/prover/circuits/internal/plonk" + "github.com/consensys/linea-monorepo/prover/circuits/internal/plonk" "golang.org/x/exp/constraints" - "math/big" - "slices" ) // @reviewer: let's discuss which of these may be good candidates for gnark/std diff --git a/prover/circuits/internal/utils_test.go b/prover/circuits/internal/utils_test.go index 13a4faf79..d362e0aa6 100644 --- a/prover/circuits/internal/utils_test.go +++ b/prover/circuits/internal/utils_test.go @@ -3,16 +3,17 @@ package internal_test import ( "crypto/rand" "fmt" + "testing" + bn254fr "github.com/consensys/gnark-crypto/ecc/bn254/fr" "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/std/hash/mimc" "github.com/consensys/gnark/std/math/emulated" test_vector_utils "github.com/consensys/gnark/std/utils/test_vectors_utils" - "github.com/consensys/zkevm-monorepo/prover/circuits/internal" - "github.com/consensys/zkevm-monorepo/prover/circuits/internal/test_utils" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/circuits/internal" + "github.com/consensys/linea-monorepo/prover/circuits/internal/test_utils" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/stretchr/testify/assert" - "testing" ) func TestChecksumSlice(t *testing.T) { diff --git a/prover/circuits/pi-interconnection/assign.go b/prover/circuits/pi-interconnection/assign.go index 36827a867..7e2636071 100644 --- a/prover/circuits/pi-interconnection/assign.go +++ b/prover/circuits/pi-interconnection/assign.go @@ -4,18 +4,19 @@ import ( "bytes" "encoding/base64" "errors" + "hash" + "github.com/consensys/gnark-crypto/ecc/bls12-381/fr" - "github.com/consensys/zkevm-monorepo/prover/backend/blobsubmission" - "github.com/consensys/zkevm-monorepo/prover/circuits/aggregation" - 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" + "github.com/consensys/linea-monorepo/prover/circuits/aggregation" + 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 ExecutionRequest struct { diff --git a/prover/circuits/pi-interconnection/bench/main.go b/prover/circuits/pi-interconnection/bench/main.go index 08cdcc673..4f75995b5 100644 --- a/prover/circuits/pi-interconnection/bench/main.go +++ b/prover/circuits/pi-interconnection/bench/main.go @@ -2,20 +2,21 @@ package main import ( "fmt" + "time" + "github.com/consensys/gnark-crypto/ecc" "github.com/consensys/gnark/backend" "github.com/consensys/gnark/backend/plonk" "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/frontend/cs/scs" "github.com/consensys/gnark/test/unsafekzg" - "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/crypto/mimc/gkrmimc" - "time" + "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/crypto/mimc/gkrmimc" - //"github.com/consensys/zkevm-monorepo/prover/circuits/pi-interconnection/test_utils" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" + //"github.com/consensys/linea-monorepo/prover/circuits/pi-interconnection/test_utils" + "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 02edb970f..b6f7a9326 100644 --- a/prover/circuits/pi-interconnection/circuit.go +++ b/prover/circuits/pi-interconnection/circuit.go @@ -11,14 +11,14 @@ import ( "github.com/consensys/gnark/std/hash/mimc" "github.com/consensys/gnark/std/lookup/logderivlookup" "github.com/consensys/gnark/std/math/cmp" - "github.com/consensys/zkevm-monorepo/prover/circuits/aggregation" - 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" + "github.com/consensys/linea-monorepo/prover/circuits/aggregation" + 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 dc6c4eab3..22865d22b 100644 --- a/prover/circuits/pi-interconnection/circuit_test.go +++ b/prover/circuits/pi-interconnection/circuit_test.go @@ -3,17 +3,18 @@ package pi_interconnection import ( "errors" "fmt" + "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/test" - "github.com/consensys/zkevm-monorepo/prover/backend/aggregation" - "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/aggregation" + "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" "golang.org/x/crypto/sha3" - "testing" ) func TestMerkle(t *testing.T) { diff --git a/prover/circuits/pi-interconnection/compile/test_compile.go b/prover/circuits/pi-interconnection/compile/test_compile.go index c1ff5c76f..63fc50eb9 100644 --- a/prover/circuits/pi-interconnection/compile/test_compile.go +++ b/prover/circuits/pi-interconnection/compile/test_compile.go @@ -2,13 +2,14 @@ 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" - "github.com/consensys/zkevm-monorepo/prover/circuits/internal/test_utils" - pi_interconnection "github.com/consensys/zkevm-monorepo/prover/circuits/pi-interconnection" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/circuits/internal/test_utils" + pi_interconnection "github.com/consensys/linea-monorepo/prover/circuits/pi-interconnection" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" "github.com/stretchr/testify/assert" ) diff --git a/prover/circuits/pi-interconnection/e2e_test.go b/prover/circuits/pi-interconnection/e2e_test.go index ae2e4d6b9..f5f7c9210 100644 --- a/prover/circuits/pi-interconnection/e2e_test.go +++ b/prover/circuits/pi-interconnection/e2e_test.go @@ -5,23 +5,24 @@ package pi_interconnection_test import ( "encoding/base64" "fmt" + "testing" + "github.com/consensys/gnark-crypto/ecc" "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/crypto/mimc/gkrmimc" - 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/crypto/mimc/gkrmimc" + 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" - "testing" ) // TODO test with random values instead of small ones 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 f836ce649..46795eb3d 100644 --- a/prover/circuits/pi-interconnection/keccak/assign_test.go +++ b/prover/circuits/pi-interconnection/keccak/assign_test.go @@ -1,13 +1,14 @@ package keccak import ( + "testing" + "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/linea-monorepo/prover/circuits/internal" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" "github.com/stretchr/testify/assert" - "testing" ) func TestAssign(t *testing.T) { diff --git a/prover/circuits/pi-interconnection/keccak/customize_keccak.go b/prover/circuits/pi-interconnection/keccak/customize_keccak.go index 879cf5c64..18f9d38d9 100644 --- a/prover/circuits/pi-interconnection/keccak/customize_keccak.go +++ b/prover/circuits/pi-interconnection/keccak/customize_keccak.go @@ -4,13 +4,13 @@ import ( "bytes" "encoding/binary" - "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/utils" + "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/utils" - wKeccak "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/keccak" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/keccak/keccakf" + wKeccak "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/keccak" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/keccak/keccakf" ) type module wKeccak.Module 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 da8cc53c4..d62e3afef 100644 --- a/prover/circuits/pi-interconnection/keccak/snark.go +++ b/prover/circuits/pi-interconnection/keccak/snark.go @@ -8,11 +8,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 b7a9a1258..d880c1d08 100644 --- a/prover/circuits/pi-interconnection/keccak/snark_test.go +++ b/prover/circuits/pi-interconnection/keccak/snark_test.go @@ -2,19 +2,20 @@ package keccak import ( "fmt" - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" "math/big" "slices" "testing" + "github.com/consensys/linea-monorepo/prover/protocol/compiler/dummy" + "github.com/consensys/gnark-crypto/ecc" "github.com/consensys/gnark/frontend" test_vector_utils "github.com/consensys/gnark/std/utils/test_vectors_utils" "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" ) 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 4cc26500a..ddef526cc 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 9d29c1246..6a962202c 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 bce796419..d63451dc9 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 9982e6d31..af9f4109f 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 f5562718a..3dc824087 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" ) func MakeDefine(cfg *config.Config) wizard.DefineFunc { 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 2af312a3b..27290fa45 100644 --- a/prover/cmd/dev-tools/state-manager-inspector/cmd/run.go +++ b/prover/cmd/dev-tools/state-manager-inspector/cmd/run.go @@ -11,9 +11,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 8c62e5f5a..52f2957cc 100644 --- a/prover/cmd/prover/cmd/setup.go +++ b/prover/cmd/prover/cmd/setup.go @@ -9,21 +9,21 @@ import ( "path/filepath" "strings" - 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/config.go b/prover/config/config.go index b534ff846..bbd39070b 100644 --- a/prover/config/config.go +++ b/prover/config/config.go @@ -8,7 +8,7 @@ import ( "path" "text/template" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/ethereum/go-ethereum/common" "github.com/go-playground/validator/v10" "github.com/sirupsen/logrus" diff --git a/prover/config/traces_limit.go b/prover/config/traces_limit.go index 39d2e0b7f..d5f4d6601 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 efe4e7429..a546ca825 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 e7c47a786..ac8e37918 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 d289ed368..1ef29fc61 100644 --- a/prover/crypto/mimc/gkrmimc/gkrcircuit.go +++ b/prover/crypto/mimc/gkrmimc/gkrcircuit.go @@ -12,8 +12,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 df97d46be..40692dc97 100644 --- a/prover/crypto/mimc/gkrmimc/helper.go +++ b/prover/crypto/mimc/gkrmimc/helper.go @@ -9,9 +9,9 @@ import ( "github.com/consensys/gnark/frontend" "github.com/consensys/gnark/std/gkr" "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" "github.com/sirupsen/logrus" ) 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 681238759..5d020a6d5 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 72cf7185e..f5084147f 100644 --- a/prover/crypto/ringsis/ringis.go +++ b/prover/crypto/ringsis/ringis.go @@ -10,14 +10,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 8299698ae..11b2514a5 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 4e97b471d..b30ca90f7 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 1622126f7..10593f2e8 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 9ab7c3142..48450456b 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 cfe7a0d63..c4d3d60d5 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 5af7aa8c7..8e6d59bed 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 //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 801718b80..1d1fb166b 100644 --- a/prover/crypto/state-management/accumulator/deletion.go +++ b/prover/crypto/state-management/accumulator/deletion.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" ) // 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 87f7099cc..6d45f7a01 100644 --- a/prover/crypto/state-management/accumulator/insertion.go +++ b/prover/crypto/state-management/accumulator/insertion.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" ) // 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 1f2ebb2e8..0152a5a7e 100644 --- a/prover/crypto/state-management/accumulator/readnonzero.go +++ b/prover/crypto/state-management/accumulator/readnonzero.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" "github.com/pkg/errors" ) diff --git a/prover/crypto/state-management/accumulator/readzero.go b/prover/crypto/state-management/accumulator/readzero.go index 8ddc433ad..89ba76d30 100644 --- a/prover/crypto/state-management/accumulator/readzero.go +++ b/prover/crypto/state-management/accumulator/readzero.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" ) // 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 aa62a70a0..99fa27f65 100644 --- a/prover/crypto/state-management/accumulator/update.go +++ b/prover/crypto/state-management/accumulator/update.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" "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 beb55f54f..29b31ca6b 100644 --- a/prover/crypto/vortex/commitment.go +++ b/prover/crypto/vortex/commitment.go @@ -4,13 +4,13 @@ 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/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/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" ) // MerkleCommitment represents a (merkle-mode) Vortex commitment 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 ada3a223e..30d51692a 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 854c17d58..4425284fe 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 3d2558f0e..255e75561 100644 --- a/prover/crypto/vortex/reedsolomon.go +++ b/prover/crypto/vortex/reedsolomon.go @@ -3,9 +3,9 @@ package vortex 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/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 ed6a8a559..2b9377c2c 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 3db5626de..f0023e17c 100644 --- a/prover/example/test_cases/framework_test.go +++ b/prover/example/test_cases/framework_test.go @@ -8,20 +8,20 @@ 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/gkrmimc" - "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/crypto/mimc/gkrmimc" + "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 85b65705a..d28c4a51e 100644 --- a/prover/example/test_cases/local_opening_test.go +++ b/prover/example/test_cases/local_opening_test.go @@ -8,12 +8,12 @@ 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/gkrmimc" - "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/crypto/mimc/gkrmimc" + "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/go.mod b/prover/go.mod index 97a387ec8..65345785e 100644 --- a/prover/go.mod +++ b/prover/go.mod @@ -1,4 +1,4 @@ -module github.com/consensys/zkevm-monorepo/prover +module github.com/consensys/linea-monorepo/prover go 1.21.0 diff --git a/prover/integration/circuit-testing/aggregation/main.go b/prover/integration/circuit-testing/aggregation/main.go index 4f0bcffa1..0f691674e 100644 --- a/prover/integration/circuit-testing/aggregation/main.go +++ b/prover/integration/circuit-testing/aggregation/main.go @@ -10,11 +10,11 @@ import ( frBw6 "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/circuits/aggregation" - "github.com/consensys/zkevm-monorepo/prover/circuits/dummy" - "github.com/consensys/zkevm-monorepo/prover/circuits/emulation" - "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/emulation" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/sirupsen/logrus" ) diff --git a/prover/lib/compressor/blob/blob.go b/prover/lib/compressor/blob/blob.go index 2ede531e7..ba5bd8e27 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 { @@ -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/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 44ee40d1e..3f09b2ab3 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 90787085b..b4733f553 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 cd20ea252..c7c6a1289 100644 --- a/prover/lib/compressor/blob/v1/encode_test.go +++ b/prover/lib/compressor/blob/v1/encode_test.go @@ -6,12 +6,13 @@ import ( "bytes" "encoding/hex" "fmt" - v1 "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob/v1" - "github.com/consensys/zkevm-monorepo/prover/lib/compressor/blob/v1/test_utils" "testing" - "github.com/consensys/zkevm-monorepo/prover/backend/ethereum" - "github.com/consensys/zkevm-monorepo/prover/utils" + 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/backend/ethereum" + "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/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/smartvectors.go b/prover/maths/common/mempool/smartvectors.go index 34dfd0202..3897a5a4f 100644 --- a/prover/maths/common/mempool/smartvectors.go +++ b/prover/maths/common/mempool/smartvectors.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" ) // Pool pools the allocation for slices of [field.Element] of size `Size`. It 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 460b653ce..5be4816df 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 923f1ba9c..f446cf39a 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 267ebc5a0..fb75b9885 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 ddc26c098..34f060236 100644 --- a/prover/maths/common/smartvectors/fft.go +++ b/prover/maths/common/smartvectors/fft.go @@ -1,8 +1,8 @@ package smartvectors import ( - "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" ) // 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 17e0360b0..316bd34c0 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 24739d00d..6208ab819 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 443ba5b7b..a288c9b3f 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 2161dcbfd..27a2590fc 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 58bd82597..2ad05eaae 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 fc2556256..d58ce4ab4 100644 --- a/prover/maths/common/vector/vector.go +++ b/prover/maths/common/vector/vector.go @@ -7,8 +7,8 @@ import ( "math/rand" "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 79bd2df2e..b90972b8e 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 796ae67d4..31fc377c6 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 144bdcafb..38e725214 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 fba26f6da..fd96ae072 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 b6d7603d1..acd03f306 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 10fd17aa8..9651a60f1 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 c0ad892bc..ce6612898 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 0f96b586e..20692cda5 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 932aaee5e..a7c94bf7d 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 a8c2b2f78..a8e146b5a 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 f38fd72aa..4f7cdbe46 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/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 15813a29c..7a04d92ff 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" ) const ( diff --git a/prover/protocol/compiler/globalcs/evaluation.go b/prover/protocol/compiler/globalcs/evaluation.go index 18eac9250..82f5c75d2 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 4964f1bec..ed5d2aad2 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 fcc1fb236..afb66265c 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 7fcc9096f..9701aa7d5 100644 --- a/prover/protocol/compiler/lookup/compiler.go +++ b/prover/protocol/compiler/lookup/compiler.go @@ -1,14 +1,14 @@ package lookup import ( - "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 ee281abe2..887ffe9b3 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 fa44bf196..a9ff7ddea 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 31545f0ae..a165a0528 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 56188d31e..70cb71224 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 930c4275e..7aad812be 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" ) // Apply the self-recursion transformation over a vortex compiled diff --git a/prover/protocol/compiler/selfrecursion/selfrecursion_test.go b/prover/protocol/compiler/selfrecursion/selfrecursion_test.go index df4d3be7e..695f5328c 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 3a9e8db9c..960d3985e 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 75467c09d..97c316640 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 4c8bb2274..6827af37b 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 eba30b4cf..156aaf738 100644 --- a/prover/protocol/compiler/univariates/multi_to_single_point.go +++ b/prover/protocol/compiler/univariates/multi_to_single_point.go @@ -7,18 +7,18 @@ import ( "sync" "github.com/consensys/gnark/frontend" - "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/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 62071200c..c58ac69f8 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 bbcbd2e6d..a7c4d64b4 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 4221bb652..f78555bbc 100644 --- a/prover/protocol/compiler/vortex/gnark_verifier_test.go +++ b/prover/protocol/compiler/vortex/gnark_verifier_test.go @@ -8,14 +8,14 @@ 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/gkrmimc" - "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/mimc/gkrmimc" + "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..f8566c57b 100644 --- a/prover/protocol/dedicated/merkle/merkle.go +++ b/prover/protocol/dedicated/merkle/merkle.go @@ -1,13 +1,13 @@ 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 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 f040c7897..1a92441d2 100644 --- a/prover/protocol/dedicated/plonk/alignment.go +++ b/prover/protocol/dedicated/plonk/alignment.go @@ -6,14 +6,14 @@ 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/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/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 e6de9188f..d3219a2fe 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 daf023b7d..5540fad9e 100644 --- a/prover/protocol/dedicated/plonk/compile.go +++ b/prover/protocol/dedicated/plonk/compile.go @@ -5,16 +5,16 @@ 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/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/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" ) // PlonkCheck adds a PLONK circuit in the wizard. Namely, the function takes a diff --git a/prover/protocol/dedicated/plonk/context.go b/prover/protocol/dedicated/plonk/context.go index f633aa1f1..618cee6b1 100644 --- a/prover/protocol/dedicated/plonk/context.go +++ b/prover/protocol/dedicated/plonk/context.go @@ -10,12 +10,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 9220e2a56..96fba355d 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 91735a806..764beeaf6 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 7b02c4212..edda64bcc 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 2072eb1f2..76be411cf 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 0c6797e1e..88b666778 100644 --- a/prover/protocol/dedicated/projection/projection.go +++ b/prover/protocol/dedicated/projection/projection.go @@ -29,16 +29,16 @@ 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/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" ) // projectionProverAction is a compilation artefact generated during the 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 790d5f709..25622ad34 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 dbd011242..953284c65 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 f42d6cf3a..1c80013b5 100644 --- a/prover/protocol/query/inclusion.go +++ b/prover/protocol/query/inclusion.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" ) // 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 0d20bec27..a1a7d472d 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 3e573d13d..f1cf226f8 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() { @@ -65,7 +65,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/serialization.go b/prover/protocol/serialization/serialization.go index 30ba085f8..0a8b0de31 100644 --- a/prover/protocol/serialization/serialization.go +++ b/prover/protocol/serialization/serialization.go @@ -6,10 +6,10 @@ import ( "fmt" "reflect" - "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/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" "github.com/iancoleman/strcase" ) diff --git a/prover/protocol/serialization/serialization_test.go b/prover/protocol/serialization/serialization_test.go index 68fb9a4b4..76c306195 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 7607e45cc..44f475c9d 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 7e08c86f4..3450ba870 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" ) // artefactDir is the directory used to store the artefacts. The directory is diff --git a/prover/protocol/wizard/builder.go b/prover/protocol/wizard/builder.go index 5d6f2b648..af225f32c 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 cd366b08c..2b90393be 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/fiatshamir.go b/prover/protocol/wizard/fiatshamir.go index c27598b78..a50cad25c 100644 --- a/prover/protocol/wizard/fiatshamir.go +++ b/prover/protocol/wizard/fiatshamir.go @@ -4,7 +4,7 @@ import ( "crypto/sha256" "io" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils" ) // CompiledIOPSerializer is a function capable of serializing a Compiled-IOP diff --git a/prover/protocol/wizard/gnark_verifier.go b/prover/protocol/wizard/gnark_verifier.go index d8f8fa4bf..96b9d5297 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 cd3784061..df90c8713 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 6de518a09..9914547ee 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 d0ad457f7..90f2b3e4f 100644 --- a/prover/public-input/aggregation.go +++ b/prover/public-input/aggregation.go @@ -1,10 +1,11 @@ package public_input import ( + "hash" + bn254fr "github.com/consensys/gnark-crypto/ecc/bn254/fr" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/utils" "golang.org/x/crypto/sha3" - "hash" ) // Aggregation collects all the field that are used to construct the public diff --git a/prover/symbolic/constant.go b/prover/symbolic/constant.go index d8926c457..90c2c0b6b 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/evaluation.go b/prover/symbolic/evaluation.go index 740ff80e9..1a2a452b7 100644 --- a/prover/symbolic/evaluation.go +++ b/prover/symbolic/evaluation.go @@ -4,11 +4,11 @@ import ( "fmt" "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_test.go b/prover/symbolic/evaluation_test.go index 172ba94d8..67ddfd81b 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 98689ed60..441c34f70 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 3c4f6229f..99e30d404 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 ba616fd81..6a2820fd5 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 d0c70a95d..0e91b0ff3 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 1ed576e86..654fdafa7 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 1834d41dc..cadae4e4d 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 2c4b59a76..82ded6c5d 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/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 ed2f8ac1b..2d952f232 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 c577bbec9..41d09fd1c 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 397269b8c..58f422b0e 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 754395814..1b3577d40 100644 --- a/prover/zkevm/arithmetization/arithmetization.go +++ b/prover/zkevm/arithmetization/arithmetization.go @@ -1,8 +1,8 @@ package arithmetization import ( - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/zkevm/arithmetization/define" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/zkevm/arithmetization/define" ) // Settings specifies the parameters for the arithmetization part of the zk-EVM. diff --git a/prover/zkevm/arithmetization/corset.go b/prover/zkevm/arithmetization/corset.go index 8cf4c7d80..c58f84d57 100644 --- a/prover/zkevm/arithmetization/corset.go +++ b/prover/zkevm/arithmetization/corset.go @@ -12,10 +12,10 @@ import ( "unsafe" "github.com/consensys/gnark-crypto/ecc/bls12-377/fr" - "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/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/utils" "github.com/sirupsen/logrus" ) diff --git a/prover/zkevm/arithmetization/define/builder_wrapper.go b/prover/zkevm/arithmetization/define/builder_wrapper.go index d6ccc77c0..b2e5869dc 100644 --- a/prover/zkevm/arithmetization/define/builder_wrapper.go +++ b/prover/zkevm/arithmetization/define/builder_wrapper.go @@ -3,11 +3,11 @@ package define 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/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" + "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" "github.com/sirupsen/logrus" ) diff --git a/prover/zkevm/arithmetization/define/define.go b/prover/zkevm/arithmetization/define/define.go index 0b73e1c25..baa0a8404 100644 --- a/prover/zkevm/arithmetization/define/define.go +++ b/prover/zkevm/arithmetization/define/define.go @@ -3,7 +3,7 @@ package define import ( _ "embed" - "github.com/consensys/zkevm-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/symbolic" ) func ZkEVMDefine(build *Builder) { diff --git a/prover/zkevm/arithmetization/define/handle_wrapper.go b/prover/zkevm/arithmetization/define/handle_wrapper.go index b0bf9559c..2b28be036 100644 --- a/prover/zkevm/arithmetization/define/handle_wrapper.go +++ b/prover/zkevm/arithmetization/define/handle_wrapper.go @@ -1,10 +1,10 @@ package define import ( - "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/protocol/column" + "github.com/consensys/linea-monorepo/prover/protocol/ifaces" + "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" "github.com/sirupsen/logrus" ) diff --git a/prover/zkevm/arithmetization/define/settings.go b/prover/zkevm/arithmetization/define/settings.go index 9fd8508f6..e8f7a589a 100644 --- a/prover/zkevm/arithmetization/define/settings.go +++ b/prover/zkevm/arithmetization/define/settings.go @@ -1,6 +1,6 @@ package define -import "github.com/consensys/zkevm-monorepo/prover/config" +import "github.com/consensys/linea-monorepo/prover/config" // Settings specifies the parameters for the arithmetization part of the // zk-EVM. diff --git a/prover/zkevm/arithmetization/nocorset.go b/prover/zkevm/arithmetization/nocorset.go index 5cef030b7..e1d5da832 100644 --- a/prover/zkevm/arithmetization/nocorset.go +++ b/prover/zkevm/arithmetization/nocorset.go @@ -3,7 +3,7 @@ package arithmetization import ( - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" ) // This function and this tags exists so it is possible to test the entirety diff --git a/prover/zkevm/checker.go b/prover/zkevm/checker.go index 469e7e9af..bf0aea747 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 a61f3e987..b391ca344 100644 --- a/prover/zkevm/full.go +++ b/prover/zkevm/full.go @@ -3,16 +3,16 @@ 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/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/zkevm/arithmetization" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/statemanager" + "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/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/zkevm/arithmetization" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/statemanager" ) const ( diff --git a/prover/zkevm/partial.go b/prover/zkevm/partial.go index d2505d1f5..62bf61236 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 61ace06da..fee8c6ec6 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 ea936660a..cbdde1109 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 a180f6ce9..c29c50232 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 46eec90c7..0055a4aca 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 b7fe066a5..a6940cd5f 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 c6681e949..10c34b116 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/ecrecover/antichamber/address_test.go b/prover/zkevm/prover/ecrecover/antichamber/address_test.go index 9908237ba..5dc81b3f7 100644 --- a/prover/zkevm/prover/ecrecover/antichamber/address_test.go +++ b/prover/zkevm/prover/ecrecover/antichamber/address_test.go @@ -3,12 +3,12 @@ package antichamber 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/datatransfer/acc_module" - "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/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/datatransfer/acc_module" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/keccak" "github.com/stretchr/testify/assert" ) diff --git a/prover/zkevm/prover/ecrecover/antichamber/adress.go b/prover/zkevm/prover/ecrecover/antichamber/adress.go index 70e87de23..06f69627b 100644 --- a/prover/zkevm/prover/ecrecover/antichamber/adress.go +++ b/prover/zkevm/prover/ecrecover/antichamber/adress.go @@ -1,18 +1,18 @@ package antichamber 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/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/hash/datatransfer/dedicated" - "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/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/hash/datatransfer/dedicated" + "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/ecrecover/antichamber/antichamber.go b/prover/zkevm/prover/ecrecover/antichamber/antichamber.go index a2a0d4b91..c271beff2 100644 --- a/prover/zkevm/prover/ecrecover/antichamber/antichamber.go +++ b/prover/zkevm/prover/ecrecover/antichamber/antichamber.go @@ -1,13 +1,13 @@ package antichamber 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/ecrecover" + "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/ecrecover" ) const ( diff --git a/prover/zkevm/prover/ecrecover/antichamber/antichamber_columns.go b/prover/zkevm/prover/ecrecover/antichamber/antichamber_columns.go index 27c6d465c..4dfd99166 100644 --- a/prover/zkevm/prover/ecrecover/antichamber/antichamber_columns.go +++ b/prover/zkevm/prover/ecrecover/antichamber/antichamber_columns.go @@ -1,6 +1,6 @@ package antichamber -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/ecrecover/antichamber/antichamber_constraints.go b/prover/zkevm/prover/ecrecover/antichamber/antichamber_constraints.go index d9ed43ef0..ca50f12ee 100644 --- a/prover/zkevm/prover/ecrecover/antichamber/antichamber_constraints.go +++ b/prover/zkevm/prover/ecrecover/antichamber/antichamber_constraints.go @@ -1,10 +1,10 @@ package antichamber 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/ecrecover/antichamber/antichamber_test.go b/prover/zkevm/prover/ecrecover/antichamber/antichamber_test.go index b6b50b606..6bc33e227 100644 --- a/prover/zkevm/prover/ecrecover/antichamber/antichamber_test.go +++ b/prover/zkevm/prover/ecrecover/antichamber/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/datatransfer/acc_module" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/generic" + "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/datatransfer/acc_module" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" "golang.org/x/crypto/sha3" ) diff --git a/prover/zkevm/prover/ecrecover/antichamber/ecdata.go b/prover/zkevm/prover/ecrecover/antichamber/ecdata.go index c3de39ce2..4c87edc8c 100644 --- a/prover/zkevm/prover/ecrecover/antichamber/ecdata.go +++ b/prover/zkevm/prover/ecrecover/antichamber/ecdata.go @@ -1,13 +1,13 @@ package antichamber 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/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/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" ) var ( diff --git a/prover/zkevm/prover/ecrecover/antichamber/ecdata_test.go b/prover/zkevm/prover/ecrecover/antichamber/ecdata_test.go index e02e943ce..26750f326 100644 --- a/prover/zkevm/prover/ecrecover/antichamber/ecdata_test.go +++ b/prover/zkevm/prover/ecrecover/antichamber/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/ecrecover/antichamber/txn_signature.go b/prover/zkevm/prover/ecrecover/antichamber/txn_signature.go index 0ca8bf6a2..af73bf34a 100644 --- a/prover/zkevm/prover/ecrecover/antichamber/txn_signature.go +++ b/prover/zkevm/prover/ecrecover/antichamber/txn_signature.go @@ -1,13 +1,13 @@ package antichamber 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/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/zkevm/prover/hash/generic" ) // TxSignature is responsible for assigning the relevant columns for transaction-Hash, diff --git a/prover/zkevm/prover/ecrecover/antichamber/txn_signature_test.go b/prover/zkevm/prover/ecrecover/antichamber/txn_signature_test.go index f859d6e03..fa33ea9fd 100644 --- a/prover/zkevm/prover/ecrecover/antichamber/txn_signature_test.go +++ b/prover/zkevm/prover/ecrecover/antichamber/txn_signature_test.go @@ -3,11 +3,11 @@ package antichamber 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/datatransfer/acc_module" - "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/protocol/compiler/dummy" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/datatransfer/acc_module" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/keccak" "github.com/stretchr/testify/assert" ) diff --git a/prover/zkevm/prover/ecrecover/antichamber/unaligned_gnark.go b/prover/zkevm/prover/ecrecover/antichamber/unaligned_gnark.go index 8ff7a2c2e..483fa291a 100644 --- a/prover/zkevm/prover/ecrecover/antichamber/unaligned_gnark.go +++ b/prover/zkevm/prover/ecrecover/antichamber/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/ecrecover/antichamber/unaligned_gnark_test.go b/prover/zkevm/prover/ecrecover/antichamber/unaligned_gnark_test.go index 3b4373578..c19769dc4 100644 --- a/prover/zkevm/prover/ecrecover/antichamber/unaligned_gnark_test.go +++ b/prover/zkevm/prover/ecrecover/antichamber/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/ecrecover/antichamber/utils.go b/prover/zkevm/prover/ecrecover/antichamber/utils.go index ecd372dc5..303ca9f9e 100644 --- a/prover/zkevm/prover/ecrecover/antichamber/utils.go +++ b/prover/zkevm/prover/ecrecover/antichamber/utils.go @@ -1,9 +1,9 @@ package antichamber 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/ecrecover/antichamber/utils_for_test.go b/prover/zkevm/prover/ecrecover/antichamber/utils_for_test.go index 152218242..17ca5c593 100644 --- a/prover/zkevm/prover/ecrecover/antichamber/utils_for_test.go +++ b/prover/zkevm/prover/ecrecover/antichamber/utils_for_test.go @@ -1,14 +1,14 @@ package antichamber import ( - permTrace "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" + permTrace "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/ecrecover/circuit.go b/prover/zkevm/prover/ecrecover/circuit.go index e258fdf59..214a30179 100644 --- a/prover/zkevm/prover/ecrecover/circuit.go +++ b/prover/zkevm/prover/ecrecover/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/hash/datatransfer/acc_module/bridging_test.go b/prover/zkevm/prover/hash/datatransfer/acc_module/bridging_test.go index df54addbc..7b77d4694 100644 --- a/prover/zkevm/prover/hash/datatransfer/acc_module/bridging_test.go +++ b/prover/zkevm/prover/hash/datatransfer/acc_module/bridging_test.go @@ -3,12 +3,12 @@ package acc_module import ( "testing" - permTrace "github.com/consensys/zkevm-monorepo/prover/crypto/keccak" - "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/datatransfer/datatransfer" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/generic" + permTrace "github.com/consensys/linea-monorepo/prover/crypto/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/datatransfer/datatransfer" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" "github.com/stretchr/testify/assert" ) diff --git a/prover/zkevm/prover/hash/datatransfer/acc_module/data_trace.go b/prover/zkevm/prover/hash/datatransfer/acc_module/data_trace.go index 26ca021fa..2de1f8b32 100644 --- a/prover/zkevm/prover/hash/datatransfer/acc_module/data_trace.go +++ b/prover/zkevm/prover/hash/datatransfer/acc_module/data_trace.go @@ -3,16 +3,16 @@ package acc_module 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" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - 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" - "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/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" + 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" + "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" ) const ( diff --git a/prover/zkevm/prover/hash/datatransfer/acc_module/data_trace_test.go b/prover/zkevm/prover/hash/datatransfer/acc_module/data_trace_test.go index 419135207..61669e2eb 100644 --- a/prover/zkevm/prover/hash/datatransfer/acc_module/data_trace_test.go +++ b/prover/zkevm/prover/hash/datatransfer/acc_module/data_trace_test.go @@ -3,10 +3,10 @@ package acc_module import ( "testing" - permTrace "github.com/consensys/zkevm-monorepo/prover/crypto/keccak" - "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" + permTrace "github.com/consensys/linea-monorepo/prover/crypto/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/hash/generic" "github.com/stretchr/testify/assert" ) diff --git a/prover/zkevm/prover/hash/datatransfer/acc_module/info_trace.go b/prover/zkevm/prover/hash/datatransfer/acc_module/info_trace.go index 422b586a2..42a6a3aa9 100644 --- a/prover/zkevm/prover/hash/datatransfer/acc_module/info_trace.go +++ b/prover/zkevm/prover/hash/datatransfer/acc_module/info_trace.go @@ -1,17 +1,17 @@ package acc_module 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" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - 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" - "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/utils" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/datatransfer/datatransfer" - "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/column" + 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" + "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/datatransfer/datatransfer" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" ) type InfoModule struct { diff --git a/prover/zkevm/prover/hash/datatransfer/acc_module/info_trace_test.go b/prover/zkevm/prover/hash/datatransfer/acc_module/info_trace_test.go index 20505f0f2..dd69e66b4 100644 --- a/prover/zkevm/prover/hash/datatransfer/acc_module/info_trace_test.go +++ b/prover/zkevm/prover/hash/datatransfer/acc_module/info_trace_test.go @@ -3,11 +3,11 @@ package acc_module import ( "testing" - permTrace "github.com/consensys/zkevm-monorepo/prover/crypto/keccak" - "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/datatransfer/datatransfer" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/generic" + permTrace "github.com/consensys/linea-monorepo/prover/crypto/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/hash/datatransfer/datatransfer" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" "github.com/stretchr/testify/assert" ) diff --git a/prover/zkevm/prover/hash/datatransfer/acc_module/utils.go b/prover/zkevm/prover/hash/datatransfer/acc_module/utils.go index 480d105ae..733e4f21c 100644 --- a/prover/zkevm/prover/hash/datatransfer/acc_module/utils.go +++ b/prover/zkevm/prover/hash/datatransfer/acc_module/utils.go @@ -1,10 +1,10 @@ package acc_module 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/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" ) // Extract a shallow copy of the active zone of a column. Meaning the unpadded diff --git a/prover/zkevm/prover/hash/datatransfer/acc_module/utils_for_testing.go b/prover/zkevm/prover/hash/datatransfer/acc_module/utils_for_testing.go index 19f44ce4a..128267770 100644 --- a/prover/zkevm/prover/hash/datatransfer/acc_module/utils_for_testing.go +++ b/prover/zkevm/prover/hash/datatransfer/acc_module/utils_for_testing.go @@ -5,11 +5,11 @@ import ( "math/big" mrand "math/rand" - "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/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/wizard" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" "github.com/sirupsen/logrus" "golang.org/x/crypto/sha3" ) diff --git a/prover/zkevm/prover/hash/datatransfer/datatransfer/base-conversion.go b/prover/zkevm/prover/hash/datatransfer/datatransfer/base-conversion.go index d958c5f36..7c14209ea 100644 --- a/prover/zkevm/prover/hash/datatransfer/datatransfer/base-conversion.go +++ b/prover/zkevm/prover/hash/datatransfer/datatransfer/base-conversion.go @@ -1,14 +1,14 @@ package datatransfer 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" - "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/zkevm/prover/hash/keccak/keccakf" + "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" + "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/keccak/keccakf" ) // The submodule baseConversion implements the base conversion over the lanes, in order to export them to the keccakf. diff --git a/prover/zkevm/prover/hash/datatransfer/datatransfer/base_conversion_test.go b/prover/zkevm/prover/hash/datatransfer/datatransfer/base_conversion_test.go index 21b5443d4..2c0293e9f 100644 --- a/prover/zkevm/prover/hash/datatransfer/datatransfer/base_conversion_test.go +++ b/prover/zkevm/prover/hash/datatransfer/datatransfer/base_conversion_test.go @@ -3,11 +3,11 @@ package datatransfer import ( "testing" - permTrace "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/zkevm-monorepo/prover/zkevm/prover/hash/generic" + permTrace "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/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" "github.com/stretchr/testify/assert" ) diff --git a/prover/zkevm/prover/hash/datatransfer/datatransfer/cld.go b/prover/zkevm/prover/hash/datatransfer/datatransfer/cld.go index 575ec06aa..96a89280b 100644 --- a/prover/zkevm/prover/hash/datatransfer/datatransfer/cld.go +++ b/prover/zkevm/prover/hash/datatransfer/datatransfer/cld.go @@ -3,12 +3,12 @@ package datatransfer 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/symbolic" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/datatransfer/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/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/datatransfer/dedicated" ) // CleanLimbDecomposition (CLD) module is responsible for cleaning the limbs, diff --git a/prover/zkevm/prover/hash/datatransfer/datatransfer/cld_test.go b/prover/zkevm/prover/hash/datatransfer/datatransfer/cld_test.go index 0d3747af7..6547b9b2d 100644 --- a/prover/zkevm/prover/hash/datatransfer/datatransfer/cld_test.go +++ b/prover/zkevm/prover/hash/datatransfer/datatransfer/cld_test.go @@ -3,10 +3,10 @@ package datatransfer import ( "testing" - permTrace "github.com/consensys/zkevm-monorepo/prover/crypto/keccak" - "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" + permTrace "github.com/consensys/linea-monorepo/prover/crypto/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/hash/generic" "github.com/stretchr/testify/assert" ) diff --git a/prover/zkevm/prover/hash/datatransfer/datatransfer/customize_datatransfer.go b/prover/zkevm/prover/hash/datatransfer/datatransfer/customize_datatransfer.go index e56e61138..70afcaeea 100644 --- a/prover/zkevm/prover/hash/datatransfer/datatransfer/customize_datatransfer.go +++ b/prover/zkevm/prover/hash/datatransfer/datatransfer/customize_datatransfer.go @@ -1,12 +1,12 @@ package datatransfer import ( - "github.com/consensys/zkevm-monorepo/prover/crypto/keccak" - permTrace "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/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/crypto/keccak" + permTrace "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/wizard" + "github.com/consensys/linea-monorepo/prover/utils" ) // NewCustomizedDataTransfer initializes a submodule for a special case where the lanes are provided directly. diff --git a/prover/zkevm/prover/hash/datatransfer/datatransfer/data_importing.go b/prover/zkevm/prover/hash/datatransfer/datatransfer/data_importing.go index 8285a188d..31509622f 100644 --- a/prover/zkevm/prover/hash/datatransfer/datatransfer/data_importing.go +++ b/prover/zkevm/prover/hash/datatransfer/datatransfer/data_importing.go @@ -1,15 +1,15 @@ package datatransfer 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/projection" - "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/zkevm/prover/hash/datatransfer/dedicated" - "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/projection" + "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/zkevm/prover/hash/datatransfer/dedicated" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" ) const ( diff --git a/prover/zkevm/prover/hash/datatransfer/datatransfer/data_importing_test.go b/prover/zkevm/prover/hash/datatransfer/datatransfer/data_importing_test.go index 626a672a2..751a589d0 100644 --- a/prover/zkevm/prover/hash/datatransfer/datatransfer/data_importing_test.go +++ b/prover/zkevm/prover/hash/datatransfer/datatransfer/data_importing_test.go @@ -3,10 +3,10 @@ package datatransfer import ( "testing" - permTrace "github.com/consensys/zkevm-monorepo/prover/crypto/keccak" - "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" + permTrace "github.com/consensys/linea-monorepo/prover/crypto/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/hash/generic" "github.com/stretchr/testify/assert" ) diff --git a/prover/zkevm/prover/hash/datatransfer/datatransfer/data_transfer.go b/prover/zkevm/prover/hash/datatransfer/datatransfer/data_transfer.go index 05261d6a1..d8efc3d80 100644 --- a/prover/zkevm/prover/hash/datatransfer/datatransfer/data_transfer.go +++ b/prover/zkevm/prover/hash/datatransfer/datatransfer/data_transfer.go @@ -10,10 +10,10 @@ It includes; package datatransfer import ( - permTrace "github.com/consensys/zkevm-monorepo/prover/crypto/keccak" - "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" + permTrace "github.com/consensys/linea-monorepo/prover/crypto/keccak" + "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/hash/datatransfer/datatransfer/data_transfer_test.go b/prover/zkevm/prover/hash/datatransfer/datatransfer/data_transfer_test.go index c5cbab120..230e78327 100644 --- a/prover/zkevm/prover/hash/datatransfer/datatransfer/data_transfer_test.go +++ b/prover/zkevm/prover/hash/datatransfer/datatransfer/data_transfer_test.go @@ -5,14 +5,14 @@ import ( "sync" "testing" - permTrace "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/zkevm-monorepo/prover/zkevm/prover/hash/generic" + permTrace "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/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" "github.com/stretchr/testify/assert" ) diff --git a/prover/zkevm/prover/hash/datatransfer/datatransfer/info_trace.go b/prover/zkevm/prover/hash/datatransfer/datatransfer/info_trace.go index 86a67a8d3..c035ac31e 100644 --- a/prover/zkevm/prover/hash/datatransfer/datatransfer/info_trace.go +++ b/prover/zkevm/prover/hash/datatransfer/datatransfer/info_trace.go @@ -1,14 +1,14 @@ package datatransfer 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/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/zkevm/prover/hash/keccak/keccakf" + "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" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/keccak/keccakf" ) const ( diff --git a/prover/zkevm/prover/hash/datatransfer/datatransfer/info_trace_test.go b/prover/zkevm/prover/hash/datatransfer/datatransfer/info_trace_test.go index 98f370a90..986a4a456 100644 --- a/prover/zkevm/prover/hash/datatransfer/datatransfer/info_trace_test.go +++ b/prover/zkevm/prover/hash/datatransfer/datatransfer/info_trace_test.go @@ -3,10 +3,10 @@ package datatransfer import ( "testing" - permTrace "github.com/consensys/zkevm-monorepo/prover/crypto/keccak" - "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" + permTrace "github.com/consensys/linea-monorepo/prover/crypto/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/hash/generic" "github.com/stretchr/testify/assert" ) diff --git a/prover/zkevm/prover/hash/datatransfer/datatransfer/lane.go b/prover/zkevm/prover/hash/datatransfer/datatransfer/lane.go index b59dcad33..6c5e086cb 100644 --- a/prover/zkevm/prover/hash/datatransfer/datatransfer/lane.go +++ b/prover/zkevm/prover/hash/datatransfer/datatransfer/lane.go @@ -1,16 +1,16 @@ package datatransfer 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/projection" - "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/hash/datatransfer/dedicated" + "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/projection" + "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/hash/datatransfer/dedicated" ) type lane struct { diff --git a/prover/zkevm/prover/hash/datatransfer/datatransfer/lane_test.go b/prover/zkevm/prover/hash/datatransfer/datatransfer/lane_test.go index f5ea34af5..8311f7d74 100644 --- a/prover/zkevm/prover/hash/datatransfer/datatransfer/lane_test.go +++ b/prover/zkevm/prover/hash/datatransfer/datatransfer/lane_test.go @@ -3,10 +3,10 @@ package datatransfer import ( "testing" - permTrace "github.com/consensys/zkevm-monorepo/prover/crypto/keccak" - "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" + permTrace "github.com/consensys/linea-monorepo/prover/crypto/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/hash/generic" "github.com/stretchr/testify/assert" ) diff --git a/prover/zkevm/prover/hash/datatransfer/datatransfer/lookups.go b/prover/zkevm/prover/hash/datatransfer/datatransfer/lookups.go index 31818e75d..11133c285 100644 --- a/prover/zkevm/prover/hash/datatransfer/datatransfer/lookups.go +++ b/prover/zkevm/prover/hash/datatransfer/datatransfer/lookups.go @@ -3,12 +3,12 @@ package datatransfer 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/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/datatransfer/datatransfer/padding.go b/prover/zkevm/prover/hash/datatransfer/datatransfer/padding.go index 40d7c7da9..1dacb062b 100644 --- a/prover/zkevm/prover/hash/datatransfer/datatransfer/padding.go +++ b/prover/zkevm/prover/hash/datatransfer/datatransfer/padding.go @@ -1,15 +1,15 @@ package datatransfer 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" - "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/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" + "github.com/consensys/linea-monorepo/prover/utils" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" ) // it check that the number of padded zeroes for hash is not larger than the block size. This prevents the attack where the prover appends zero blocks. diff --git a/prover/zkevm/prover/hash/datatransfer/datatransfer/padding_keccak.go b/prover/zkevm/prover/hash/datatransfer/datatransfer/padding_keccak.go index bf26dbe6e..482d15f0b 100644 --- a/prover/zkevm/prover/hash/datatransfer/datatransfer/padding_keccak.go +++ b/prover/zkevm/prover/hash/datatransfer/datatransfer/padding_keccak.go @@ -1,13 +1,13 @@ package datatransfer 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" - "github.com/consensys/zkevm-monorepo/prover/symbolic" - sym "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/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/symbolic" + sym "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" ) // InsertPadding asserts if the padding over the given (gbm) columns is done correctly. diff --git a/prover/zkevm/prover/hash/datatransfer/datatransfer/padding_sha2.go b/prover/zkevm/prover/hash/datatransfer/datatransfer/padding_sha2.go index 96bf89b59..23f8a54a6 100644 --- a/prover/zkevm/prover/hash/datatransfer/datatransfer/padding_sha2.go +++ b/prover/zkevm/prover/hash/datatransfer/datatransfer/padding_sha2.go @@ -1,14 +1,14 @@ package datatransfer 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" - "github.com/consensys/zkevm-monorepo/prover/symbolic" - 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/symbolic" + sym "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" ) // InsertPadding asserts if the padding over the given (gbm) columns is done correctly. diff --git a/prover/zkevm/prover/hash/datatransfer/datatransfer/padding_test.go b/prover/zkevm/prover/hash/datatransfer/datatransfer/padding_test.go index 90e5cd4ba..4e51d96e7 100644 --- a/prover/zkevm/prover/hash/datatransfer/datatransfer/padding_test.go +++ b/prover/zkevm/prover/hash/datatransfer/datatransfer/padding_test.go @@ -3,12 +3,12 @@ package datatransfer import ( "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" - "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" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" "github.com/stretchr/testify/assert" ) diff --git a/prover/zkevm/prover/hash/datatransfer/datatransfer/spaghettize_cld.go b/prover/zkevm/prover/hash/datatransfer/datatransfer/spaghettize_cld.go index 068ab18f5..20fc15e3d 100644 --- a/prover/zkevm/prover/hash/datatransfer/datatransfer/spaghettize_cld.go +++ b/prover/zkevm/prover/hash/datatransfer/datatransfer/spaghettize_cld.go @@ -1,13 +1,13 @@ package datatransfer 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" - "github.com/consensys/zkevm-monorepo/prover/symbolic" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/datatransfer/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/ifaces" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/datatransfer/dedicated" ) // The spaghettizedCLD module implements the utility to spaghetize the CLD columns. diff --git a/prover/zkevm/prover/hash/datatransfer/datatransfer/spaghettize_cld_test.go b/prover/zkevm/prover/hash/datatransfer/datatransfer/spaghettize_cld_test.go index 148dc548a..0796a2b82 100644 --- a/prover/zkevm/prover/hash/datatransfer/datatransfer/spaghettize_cld_test.go +++ b/prover/zkevm/prover/hash/datatransfer/datatransfer/spaghettize_cld_test.go @@ -3,10 +3,10 @@ package datatransfer import ( "testing" - permTrace "github.com/consensys/zkevm-monorepo/prover/crypto/keccak" - "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" + permTrace "github.com/consensys/linea-monorepo/prover/crypto/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/hash/generic" "github.com/stretchr/testify/assert" ) diff --git a/prover/zkevm/prover/hash/datatransfer/datatransfer/utils.go b/prover/zkevm/prover/hash/datatransfer/datatransfer/utils.go index e8460f247..21617e43c 100644 --- a/prover/zkevm/prover/hash/datatransfer/datatransfer/utils.go +++ b/prover/zkevm/prover/hash/datatransfer/datatransfer/utils.go @@ -5,11 +5,11 @@ import ( "strings" "unsafe" - "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/symbolic" - "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/ifaces" + "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" ) // deriveName derives column names. diff --git a/prover/zkevm/prover/hash/datatransfer/datatransfer/utils_for_testing.go b/prover/zkevm/prover/hash/datatransfer/datatransfer/utils_for_testing.go index 40ec1bbfd..96b9d7910 100644 --- a/prover/zkevm/prover/hash/datatransfer/datatransfer/utils_for_testing.go +++ b/prover/zkevm/prover/hash/datatransfer/datatransfer/utils_for_testing.go @@ -5,12 +5,12 @@ import ( "math/big" mrand "math/rand" - "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/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/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/sirupsen/logrus" "golang.org/x/crypto/sha3" ) diff --git a/prover/zkevm/prover/hash/datatransfer/dedicated/istargetval_query.go b/prover/zkevm/prover/hash/datatransfer/dedicated/istargetval_query.go index fa7f6a70c..3fece76b0 100644 --- a/prover/zkevm/prover/hash/datatransfer/dedicated/istargetval_query.go +++ b/prover/zkevm/prover/hash/datatransfer/dedicated/istargetval_query.go @@ -1,11 +1,11 @@ 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/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/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" ) /* diff --git a/prover/zkevm/prover/hash/datatransfer/dedicated/istargetval_test.go b/prover/zkevm/prover/hash/datatransfer/dedicated/istargetval_test.go index 34eba545a..fb90ad221 100644 --- a/prover/zkevm/prover/hash/datatransfer/dedicated/istargetval_test.go +++ b/prover/zkevm/prover/hash/datatransfer/dedicated/istargetval_test.go @@ -3,12 +3,12 @@ package dedicated 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/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/stretchr/testify/assert" ) diff --git a/prover/zkevm/prover/hash/datatransfer/dedicated/pip_query.go b/prover/zkevm/prover/hash/datatransfer/dedicated/pip_query.go index 89be316d4..633f42906 100644 --- a/prover/zkevm/prover/hash/datatransfer/dedicated/pip_query.go +++ b/prover/zkevm/prover/hash/datatransfer/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" - "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" + "github.com/consensys/linea-monorepo/prover/symbolic" ) // InsertPartitionedIP registers a partitioned inner-product (PIP) query. diff --git a/prover/zkevm/prover/hash/datatransfer/dedicated/pip_test.go b/prover/zkevm/prover/hash/datatransfer/dedicated/pip_test.go index 7c850122c..e2758af67 100644 --- a/prover/zkevm/prover/hash/datatransfer/dedicated/pip_test.go +++ b/prover/zkevm/prover/hash/datatransfer/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/datatransfer/dedicated/spaghetti_query.go b/prover/zkevm/prover/hash/datatransfer/dedicated/spaghetti_query.go index 8e0813a0e..4f7784785 100644 --- a/prover/zkevm/prover/hash/datatransfer/dedicated/spaghetti_query.go +++ b/prover/zkevm/prover/hash/datatransfer/dedicated/spaghetti_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" - "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" + "github.com/consensys/linea-monorepo/prover/symbolic" ) // It checks if spaghettiOfMatrix is a filtered spaghetti of matrix diff --git a/prover/zkevm/prover/hash/datatransfer/dedicated/spaghetti_test.go b/prover/zkevm/prover/hash/datatransfer/dedicated/spaghetti_test.go index 89b2419aa..9e28d36ce 100644 --- a/prover/zkevm/prover/hash/datatransfer/dedicated/spaghetti_test.go +++ b/prover/zkevm/prover/hash/datatransfer/dedicated/spaghetti_test.go @@ -5,11 +5,11 @@ import ( "math/big" "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/zkevm/prover/hash/generic/byte_module_definition.go b/prover/zkevm/prover/hash/generic/byte_module_definition.go index 121b723ec..72b9f0f25 100644 --- a/prover/zkevm/prover/hash/generic/byte_module_definition.go +++ b/prover/zkevm/prover/hash/generic/byte_module_definition.go @@ -1,6 +1,6 @@ package generic -import "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" +import "github.com/consensys/linea-monorepo/prover/protocol/ifaces" // Definition of the tx-rlp module var RLP_TXN = GenericByteModuleDefinition{ diff --git a/prover/zkevm/prover/hash/generic/gen_byte_module.go b/prover/zkevm/prover/hash/generic/gen_byte_module.go index 0a5b8f3e5..0feb22a34 100644 --- a/prover/zkevm/prover/hash/generic/gen_byte_module.go +++ b/prover/zkevm/prover/hash/generic/gen_byte_module.go @@ -3,13 +3,13 @@ package generic import ( "bytes" - "github.com/consensys/zkevm-monorepo/prover/crypto/keccak" - "github.com/consensys/zkevm-monorepo/prover/crypto/sha2" - "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/crypto/keccak" + "github.com/consensys/linea-monorepo/prover/crypto/sha2" + "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" ) // 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 7ec5f7156..0cee4e19f 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 d9794e75f..4052f2ce7 100644 --- a/prover/zkevm/prover/hash/generic/testdata/gen.go +++ b/prover/zkevm/prover/hash/generic/testdata/gen.go @@ -4,11 +4,11 @@ import ( "fmt" "math/rand" - "github.com/consensys/zkevm-monorepo/prover/backend/files" - "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/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 809f75ead..165a56fa7 100644 --- a/prover/zkevm/prover/hash/importpad/import_pad.go +++ b/prover/zkevm/prover/hash/importpad/import_pad.go @@ -1,15 +1,15 @@ 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/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/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 2bbe28b75..7be72ffe5 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 dfa4e8f3b..ce8f7b567 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 23e6f12ee..87af406f6 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 5d59f2282..4487ff31d 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/acc_generic.go b/prover/zkevm/prover/hash/keccak/acc_module/acc_generic.go index 734206e0b..0b0640177 100644 --- a/prover/zkevm/prover/hash/keccak/acc_module/acc_generic.go +++ b/prover/zkevm/prover/hash/keccak/acc_module/acc_generic.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" - "github.com/consensys/zkevm-monorepo/prover/protocol/column" - 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" - "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/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" + 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" + "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" ) const ( diff --git a/prover/zkevm/prover/hash/keccak/acc_module/acc_generic_test.go b/prover/zkevm/prover/hash/keccak/acc_module/acc_generic_test.go index a9677031b..ea51ddf2c 100644 --- a/prover/zkevm/prover/hash/keccak/acc_module/acc_generic_test.go +++ b/prover/zkevm/prover/hash/keccak/acc_module/acc_generic_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/base_conversion.go/bc_input.go b/prover/zkevm/prover/hash/keccak/base_conversion.go/bc_input.go index dde86081b..5b5b63c1f 100644 --- a/prover/zkevm/prover/hash/keccak/base_conversion.go/bc_input.go +++ b/prover/zkevm/prover/hash/keccak/base_conversion.go/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.go/bc_input_test.go b/prover/zkevm/prover/hash/keccak/base_conversion.go/bc_input_test.go index 878c91a31..5921cf805 100644 --- a/prover/zkevm/prover/hash/keccak/base_conversion.go/bc_input_test.go +++ b/prover/zkevm/prover/hash/keccak/base_conversion.go/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.go/bc_output.go b/prover/zkevm/prover/hash/keccak/base_conversion.go/bc_output.go index 0c82baeb8..cc0df30f6 100644 --- a/prover/zkevm/prover/hash/keccak/base_conversion.go/bc_output.go +++ b/prover/zkevm/prover/hash/keccak/base_conversion.go/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.go/bc_output_test.go b/prover/zkevm/prover/hash/keccak/base_conversion.go/bc_output_test.go index ec47b4da6..16372071f 100644 --- a/prover/zkevm/prover/hash/keccak/base_conversion.go/bc_output_test.go +++ b/prover/zkevm/prover/hash/keccak/base_conversion.go/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.go/decompose_be.go b/prover/zkevm/prover/hash/keccak/base_conversion.go/decompose_be.go index 6c967ea2e..74741513d 100644 --- a/prover/zkevm/prover/hash/keccak/base_conversion.go/decompose_be.go +++ b/prover/zkevm/prover/hash/keccak/base_conversion.go/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.go/decompose_be_test.go b/prover/zkevm/prover/hash/keccak/base_conversion.go/decompose_be_test.go index a49c02439..d630e99d3 100644 --- a/prover/zkevm/prover/hash/keccak/base_conversion.go/decompose_be_test.go +++ b/prover/zkevm/prover/hash/keccak/base_conversion.go/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.go/lookups.go b/prover/zkevm/prover/hash/keccak/base_conversion.go/lookups.go index 4d0f5965e..599d2b6e6 100644 --- a/prover/zkevm/prover/hash/keccak/base_conversion.go/lookups.go +++ b/prover/zkevm/prover/hash/keccak/base_conversion.go/lookups.go @@ -3,12 +3,12 @@ package base_conversion import ( "encoding/binary" - "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.go b/prover/zkevm/prover/hash/keccak/keccak.go index 1bfda85c2..82442b553 100644 --- a/prover/zkevm/prover/hash/keccak/keccak.go +++ b/prover/zkevm/prover/hash/keccak/keccak.go @@ -5,15 +5,15 @@ package keccak import ( "runtime" - "github.com/consensys/zkevm-monorepo/prover/crypto/keccak" - "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/datatransfer/acc_module" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/datatransfer/datatransfer" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/datatransfer/dedicated" - g "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/crypto/keccak" + "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/datatransfer/acc_module" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/datatransfer/datatransfer" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/datatransfer/dedicated" + g "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/keccak/keccakf" ) // A trace provider represents a module capable sending data to the keccak diff --git a/prover/zkevm/prover/hash/keccak/keccak_test.go b/prover/zkevm/prover/hash/keccak/keccak_test.go index a187303d9..1f247c037 100644 --- a/prover/zkevm/prover/hash/keccak/keccak_test.go +++ b/prover/zkevm/prover/hash/keccak/keccak_test.go @@ -5,15 +5,15 @@ import ( "sync" "testing" - "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/zkevm-monorepo/prover/zkevm/prover/hash/datatransfer/acc_module" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/datatransfer/datatransfer" - "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/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/consensys/linea-monorepo/prover/zkevm/prover/hash/datatransfer/acc_module" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/datatransfer/datatransfer" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/generic" "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 92ed78ab4..78a7744b2 100644 --- a/prover/zkevm/prover/hash/keccak/keccakf/io.go +++ b/prover/zkevm/prover/hash/keccak/keccakf/io.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/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/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" + "github.com/consensys/linea-monorepo/prover/symbolic" + "github.com/consensys/linea-monorepo/prover/utils" ) const ( diff --git a/prover/zkevm/prover/hash/keccak/keccakf/io_test.go b/prover/zkevm/prover/hash/keccak/keccakf/io_test.go index e0ecfa95f..537548c78 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 bb49357a8..f57a06c80 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 65fc34da7..3171d23ed 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 8f26673a3..2c54b2baf 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 9138237fb..ea96c0c6c 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 2dae8fff8..48a72ef97 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 35e62df92..1afe507b8 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 ea2833afa..ac4ab3b56 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/keccak/new_keccak.go b/prover/zkevm/prover/hash/keccak/new_keccak.go index b0c64ca67..5862bec2f 100644 --- a/prover/zkevm/prover/hash/keccak/new_keccak.go +++ b/prover/zkevm/prover/hash/keccak/new_keccak.go @@ -3,18 +3,18 @@ package keccak import ( - "github.com/consensys/zkevm-monorepo/prover/crypto/keccak" - "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/zkevm/prover/hash/generic" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/importpad" - gen_acc "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/keccak/acc_module" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/keccak/base_conversion.go" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/keccak/keccakf" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/packing" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/packing/dedicated/spaghettifier" + "github.com/consensys/linea-monorepo/prover/crypto/keccak" + "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/zkevm/prover/hash/generic" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/importpad" + gen_acc "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/keccak/acc_module" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/keccak/base_conversion.go" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/keccak/keccakf" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/packing" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/packing/dedicated/spaghettifier" ) const ( diff --git a/prover/zkevm/prover/hash/keccak/new_keccak_test.go b/prover/zkevm/prover/hash/keccak/new_keccak_test.go index f92f99205..777fb6b54 100644 --- a/prover/zkevm/prover/hash/keccak/new_keccak_test.go +++ b/prover/zkevm/prover/hash/keccak/new_keccak_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/sha2/assignment.go b/prover/zkevm/prover/hash/sha2/assignment.go index 6efa5a304..7b5e54996 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 6794cad8f..e346e85e8 100644 --- a/prover/zkevm/prover/hash/sha2/sha2.go +++ b/prover/zkevm/prover/hash/sha2/sha2.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_test.go b/prover/zkevm/prover/hash/sha2/sha2_test.go index 118202f7d..a57426a30 100644 --- a/prover/zkevm/prover/hash/sha2/sha2_test.go +++ b/prover/zkevm/prover/hash/sha2/sha2_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 b94147911..9936a6a04 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 deb58167c..6f72f9926 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 26b43ebbe..b4391dbf7 100644 --- a/prover/zkevm/prover/modexp/module_assignement.go +++ b/prover/zkevm/prover/modexp/module_assignement.go @@ -1,9 +1,9 @@ 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/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/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 238ed59fb..c72409aa1 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 6c5b230ac..9b70d4782 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/packing/block.go b/prover/zkevm/prover/packing/block.go index aef8719d2..18f1fb7ef 100644 --- a/prover/zkevm/prover/packing/block.go +++ b/prover/zkevm/prover/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/packing/block_test.go b/prover/zkevm/prover/packing/block_test.go index a9e47415f..1f943bcec 100644 --- a/prover/zkevm/prover/packing/block_test.go +++ b/prover/zkevm/prover/packing/block_test.go @@ -3,14 +3,14 @@ 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/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/hash/generic" "github.com/stretchr/testify/assert" ) diff --git a/prover/zkevm/prover/packing/cld.go b/prover/zkevm/prover/packing/cld.go index 3264cfc2f..5abd45230 100644 --- a/prover/zkevm/prover/packing/cld.go +++ b/prover/zkevm/prover/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/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/packing/dedicated" ) // It stores the inputs for [newDecomposition] function. diff --git a/prover/zkevm/prover/packing/cld_test.go b/prover/zkevm/prover/packing/cld_test.go index a3ff358a5..ab22b815b 100644 --- a/prover/zkevm/prover/packing/cld_test.go +++ b/prover/zkevm/prover/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/packing/cleaning.go b/prover/zkevm/prover/packing/cleaning.go index 943d56470..d3e4674d3 100644 --- a/prover/zkevm/prover/packing/cleaning.go +++ b/prover/zkevm/prover/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/packing/cleaning_test.go b/prover/zkevm/prover/packing/cleaning_test.go index f34678069..b5820414c 100644 --- a/prover/zkevm/prover/packing/cleaning_test.go +++ b/prover/zkevm/prover/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/packing/dedicated/accumulate_upto.go b/prover/zkevm/prover/packing/dedicated/accumulate_upto.go index be5613ebd..7e8e9e087 100644 --- a/prover/zkevm/prover/packing/dedicated/accumulate_upto.go +++ b/prover/zkevm/prover/packing/dedicated/accumulate_upto.go @@ -1,16 +1,16 @@ 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/dedicated" - "github.com/consensys/zkevm-monorepo/prover/protocol/ifaces" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/symbolic" - 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" + "github.com/consensys/linea-monorepo/prover/symbolic" + 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/packing/dedicated/accumulate_upto_test.go b/prover/zkevm/prover/packing/dedicated/accumulate_upto_test.go index 1f8f1a63e..b67445b89 100644 --- a/prover/zkevm/prover/packing/dedicated/accumulate_upto_test.go +++ b/prover/zkevm/prover/packing/dedicated/accumulate_upto_test.go @@ -5,12 +5,12 @@ import ( "math/big" "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/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/stretchr/testify/assert" ) diff --git a/prover/zkevm/prover/packing/dedicated/len_consistency.go b/prover/zkevm/prover/packing/dedicated/len_consistency.go index 0a47cdd35..6fc131811 100644 --- a/prover/zkevm/prover/packing/dedicated/len_consistency.go +++ b/prover/zkevm/prover/packing/dedicated/len_consistency.go @@ -3,15 +3,15 @@ package dedicated import ( "slices" - "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/packing/dedicated/len_consistency_test.go b/prover/zkevm/prover/packing/dedicated/len_consistency_test.go index 83083374c..059740f42 100644 --- a/prover/zkevm/prover/packing/dedicated/len_consistency_test.go +++ b/prover/zkevm/prover/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/packing/dedicated/pip_query.go b/prover/zkevm/prover/packing/dedicated/pip_query.go index 75f7480cb..4feacaf3e 100644 --- a/prover/zkevm/prover/packing/dedicated/pip_query.go +++ b/prover/zkevm/prover/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/packing/dedicated/pip_test.go b/prover/zkevm/prover/packing/dedicated/pip_test.go index dd3253515..ca9413149 100644 --- a/prover/zkevm/prover/packing/dedicated/pip_test.go +++ b/prover/zkevm/prover/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/packing/dedicated/spaghettifier/spaghettifier.go b/prover/zkevm/prover/packing/dedicated/spaghettifier/spaghettifier.go index 404d6ddce..60d825bf9 100644 --- a/prover/zkevm/prover/packing/dedicated/spaghettifier/spaghettifier.go +++ b/prover/zkevm/prover/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/packing/dedicated/spaghettifier/spaghettifier_test.go b/prover/zkevm/prover/packing/dedicated/spaghettifier/spaghettifier_test.go index 0357f156d..683b893d2 100644 --- a/prover/zkevm/prover/packing/dedicated/spaghettifier/spaghettifier_test.go +++ b/prover/zkevm/prover/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/packing/lane.go b/prover/zkevm/prover/packing/lane.go index 31449ba5d..e022b5e8c 100644 --- a/prover/zkevm/prover/packing/lane.go +++ b/prover/zkevm/prover/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/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/packing/dedicated" ) // laneRepackingInputs collects the inputs of the [newLane] function. diff --git a/prover/zkevm/prover/packing/lane_test.go b/prover/zkevm/prover/packing/lane_test.go index 3a25a872f..a64a386cb 100644 --- a/prover/zkevm/prover/packing/lane_test.go +++ b/prover/zkevm/prover/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/packing/lookups.go b/prover/zkevm/prover/packing/lookups.go index de5204805..a13f05289 100644 --- a/prover/zkevm/prover/packing/lookups.go +++ b/prover/zkevm/prover/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/packing/packing.go b/prover/zkevm/prover/packing/packing.go index f4117c146..5e4d2f995 100644 --- a/prover/zkevm/prover/packing/packing.go +++ b/prover/zkevm/prover/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/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/packing/dedicated/spaghettifier" ) const ( diff --git a/prover/zkevm/prover/packing/packing_test.go b/prover/zkevm/prover/packing/packing_test.go index 928cfe15d..f068f8ec9 100644 --- a/prover/zkevm/prover/packing/packing_test.go +++ b/prover/zkevm/prover/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/packing/utils_for_test.go b/prover/zkevm/prover/packing/utils_for_test.go index a486aa4fd..0e715258c 100644 --- a/prover/zkevm/prover/packing/utils_for_test.go +++ b/prover/zkevm/prover/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/publicInput/execdatahashing/execution_data_hashing.go b/prover/zkevm/prover/publicInput/execdatahashing/execution_data_hashing.go index ccda1fc4d..0a586f588 100644 --- a/prover/zkevm/prover/publicInput/execdatahashing/execution_data_hashing.go +++ b/prover/zkevm/prover/publicInput/execdatahashing/execution_data_hashing.go @@ -4,14 +4,14 @@ import ( "fmt" "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/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" - sym "github.com/consensys/zkevm-monorepo/prover/symbolic" + "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" + "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" ) // ExecDataHashingInput collect the inputs of the presently-specified [execDataHashing] diff --git a/prover/zkevm/prover/publicInput/execdatahashing/execution_data_hashing_test.go b/prover/zkevm/prover/publicInput/execdatahashing/execution_data_hashing_test.go index 9a7020f16..72a16764a 100644 --- a/prover/zkevm/prover/publicInput/execdatahashing/execution_data_hashing_test.go +++ b/prover/zkevm/prover/publicInput/execdatahashing/execution_data_hashing_test.go @@ -3,11 +3,11 @@ package execdatahashing import ( "testing" - "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/utils/csvtraces" + "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/utils/csvtraces" "github.com/stretchr/testify/assert" ) diff --git a/prover/zkevm/prover/publicInput/execution_data_collector.go b/prover/zkevm/prover/publicInput/execution_data_collector.go index b9a09f5fa..447aa77b1 100644 --- a/prover/zkevm/prover/publicInput/execution_data_collector.go +++ b/prover/zkevm/prover/publicInput/execution_data_collector.go @@ -1,16 +1,16 @@ package publicInput 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" - 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" + 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_test.go b/prover/zkevm/prover/publicInput/execution_data_collector_test.go index f2240f3a1..a6d6c1617 100644 --- a/prover/zkevm/prover/publicInput/execution_data_collector_test.go +++ b/prover/zkevm/prover/publicInput/execution_data_collector_test.go @@ -1,11 +1,12 @@ package publicInput import ( - "github.com/consensys/zkevm-monorepo/prover/protocol/compiler/dummy" - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - fetch "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/publicInput/fetchers_arithmetization" - "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" + fetch "github.com/consensys/linea-monorepo/prover/zkevm/prover/publicInput/fetchers_arithmetization" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/publicInput/utilities" ) func TestExecutionDataCollector(t *testing.T) { diff --git a/prover/zkevm/prover/publicInput/execution_data_collector_vectors.go b/prover/zkevm/prover/publicInput/execution_data_collector_vectors.go index fe8aebaf4..f776c99b9 100644 --- a/prover/zkevm/prover/publicInput/execution_data_collector_vectors.go +++ b/prover/zkevm/prover/publicInput/execution_data_collector_vectors.go @@ -1,7 +1,7 @@ package publicInput import ( - "github.com/consensys/zkevm-monorepo/prover/maths/field" + "github.com/consensys/linea-monorepo/prover/maths/field" ) type ExecutionDataCollectorVectors 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 9231ea5dc..d3ef7fa11 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,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/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" - 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" + 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 2815e484c..796011a00 100644 --- a/prover/zkevm/prover/publicInput/fetchers_arithmetization/rlp_txn_fetcher.go +++ b/prover/zkevm/prover/publicInput/fetchers_arithmetization/rlp_txn_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/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/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" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/publicInput/utilities" ) // RlpTxn models the arithmetization's RlpTxn module 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 0b99dddea..073da5c70 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,10 +1,11 @@ package fetchers_arithmetization import ( - "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/publicInput/utilities" "testing" + + "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/publicInput/utilities" ) // 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 a607b93f1..d53c4ae20 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" - "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" + "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 da909b37a..97ab2cdde 100644 --- a/prover/zkevm/prover/publicInput/fetchers_arithmetization/timestamp_fetcher.go +++ b/prover/zkevm/prover/publicInput/fetchers_arithmetization/timestamp_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/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" - "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" + "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 04ce5757b..c752d42c9 100644 --- a/prover/zkevm/prover/publicInput/fetchers_arithmetization/timestamp_fetcher_test.go +++ b/prover/zkevm/prover/publicInput/fetchers_arithmetization/timestamp_fetcher_test.go @@ -1,12 +1,13 @@ 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" - "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" + "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 3fd0b03a9..7e2e4d8f2 100644 --- a/prover/zkevm/prover/publicInput/fetchers_arithmetization/txn_data_fetcher.go +++ b/prover/zkevm/prover/publicInput/fetchers_arithmetization/txn_data_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/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/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" + "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 8dd2a8719..34c3dd1c6 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,10 +1,11 @@ package fetchers_arithmetization import ( - "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/publicInput/utilities" "testing" + + "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/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 51b046fed..039bc5c37 100644 --- a/prover/zkevm/prover/publicInput/input_extractor.go +++ b/prover/zkevm/prover/publicInput/input_extractor.go @@ -1,7 +1,7 @@ package publicInput import ( - "github.com/consensys/zkevm-monorepo/prover/protocol/query" + "github.com/consensys/linea-monorepo/prover/protocol/query" ) // 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 b95a736f2..d6886e7da 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" - "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" + "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 990dab512..6d1147248 100644 --- a/prover/zkevm/prover/publicInput/logs/extracted_hasher_test.go +++ b/prover/zkevm/prover/publicInput/logs/extracted_hasher_test.go @@ -2,15 +2,16 @@ package logs import ( "fmt" - "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/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/ethereum/go-ethereum/common" "testing" + + "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/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" ) // 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/logs/hasher.go b/prover/zkevm/prover/publicInput/logs/hasher.go index 3ec09c8c2..edcb7046a 100644 --- a/prover/zkevm/prover/publicInput/logs/hasher.go +++ b/prover/zkevm/prover/publicInput/logs/hasher.go @@ -1,14 +1,14 @@ 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/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/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 d6482e035..1adcb3bdb 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" - "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" + "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 b7e91f1fe..a1a0e5376 100644 --- a/prover/zkevm/prover/publicInput/logs/selectors.go +++ b/prover/zkevm/prover/publicInput/logs/selectors.go @@ -1,16 +1,16 @@ 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/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/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/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/ethereum/go-ethereum/common" ) diff --git a/prover/zkevm/prover/publicInput/public_input.go b/prover/zkevm/prover/publicInput/public_input.go index 219a6215b..f9edb42ec 100644 --- a/prover/zkevm/prover/publicInput/public_input.go +++ b/prover/zkevm/prover/publicInput/public_input.go @@ -1,6 +1,6 @@ package publicInput -import fetch "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/publicInput/fetchers_arithmetization" +import fetch "github.com/consensys/linea-monorepo/prover/zkevm/prover/publicInput/fetchers_arithmetization" // PublicInput collects a number of submodules responsible for collecting the // wizard witness data holding the public inputs of the execution circuit. diff --git a/prover/zkevm/prover/publicInput/utilities/utilities.go b/prover/zkevm/prover/publicInput/utilities/utilities.go index f97a4adc1..494d39a77 100644 --- a/prover/zkevm/prover/publicInput/utilities/utilities.go +++ b/prover/zkevm/prover/publicInput/utilities/utilities.go @@ -1,14 +1,15 @@ package utilities 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/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/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 89e326929..01aa238fb 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 e7b4c1c4e..8d2804f84 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 3396052f5..fbe904141 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 4f31da314..e080075f0 100644 --- a/prover/zkevm/prover/statemanager/mock/shomei.go +++ b/prover/zkevm/prover/statemanager/mock/shomei.go @@ -5,9 +5,9 @@ import ( "slices" "testing" - "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/execution/statemanager" + "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 8489715d6..85e4f2797 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 b4b8c9833..ac840a07e 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 a129cfdb2..8ad20ed68 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 3aa9fd3ba..7343cea81 100644 --- a/prover/zkevm/prover/statemanager/statesummary/account_peek.go +++ b/prover/zkevm/prover/statemanager/statesummary/account_peek.go @@ -1,14 +1,14 @@ package statesummary import ( - "github.com/consensys/zkevm-monorepo/prover/backend/execution/statemanager" - "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/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" ) // AccountPeek contains the view of the State-summary module regarding accounts. diff --git a/prover/zkevm/prover/statemanager/statesummary/accumulator_statement.go b/prover/zkevm/prover/statemanager/statesummary/accumulator_statement.go index 21964f84c..bd58f5c73 100644 --- a/prover/zkevm/prover/statemanager/statesummary/accumulator_statement.go +++ b/prover/zkevm/prover/statemanager/statesummary/accumulator_statement.go @@ -1,14 +1,14 @@ package statesummary import ( - "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/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/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 ccf775cf9..3784a9907 100644 --- a/prover/zkevm/prover/statemanager/statesummary/assignment.go +++ b/prover/zkevm/prover/statemanager/statesummary/assignment.go @@ -5,13 +5,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 1ce1709bc..03d55e9e7 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 90cddcf6c..42ec00490 100644 --- a/prover/zkevm/prover/statemanager/statesummary/state_summary_test.go +++ b/prover/zkevm/prover/statemanager/statesummary/state_summary_test.go @@ -4,10 +4,10 @@ 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/zkevm/prover/statemanager/common" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/statemanager/mock" + "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/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 b5178c83f..12be00b9f 100644 --- a/prover/zkevm/prover/statemanager/statesummary/storage_parser.go +++ b/prover/zkevm/prover/statemanager/statesummary/storage_parser.go @@ -1,8 +1,8 @@ package statesummary import ( - "github.com/consensys/zkevm-monorepo/prover/protocol/wizard" - "github.com/consensys/zkevm-monorepo/prover/utils/types" + "github.com/consensys/linea-monorepo/prover/protocol/wizard" + "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 7d246d90c..6b139644b 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 3365b3b37..0e2b387db 100644 --- a/prover/zkevm/settings.go +++ b/prover/zkevm/settings.go @@ -1,10 +1,10 @@ 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/hash/keccak" - "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/hash/keccak" + "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 9b887a336..131b4e0fd 100644 --- a/prover/zkevm/witness.go +++ b/prover/zkevm/witness.go @@ -1,7 +1,7 @@ package zkevm import ( - "github.com/consensys/zkevm-monorepo/prover/backend/execution/statemanager" + "github.com/consensys/linea-monorepo/prover/backend/execution/statemanager" ) // Witness is a collection of prover inputs used to derive an assignment to the diff --git a/prover/zkevm/zkevm.go b/prover/zkevm/zkevm.go index fb222ab5c..d9a3cb8b8 100644 --- a/prover/zkevm/zkevm.go +++ b/prover/zkevm/zkevm.go @@ -1,13 +1,13 @@ package zkevm import ( - "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/hash/generic" - "github.com/consensys/zkevm-monorepo/prover/zkevm/prover/hash/keccak" - "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/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/hash/generic" + "github.com/consensys/linea-monorepo/prover/zkevm/prover/hash/keccak" + "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 diff --git a/traces-api-facade/Dockerfile b/traces-api-facade/Dockerfile index 4f78e72d0..5717ad018 100644 --- a/traces-api-facade/Dockerfile +++ b/traces-api-facade/Dockerfile @@ -21,7 +21,7 @@ LABEL org.label-schema.build-date=$BUILD_DATE \ org.label-schema.description="Linea Traces API" \ org.label-schema.url="https://consensys.io/" \ org.label-schema.vcs-ref=$VCS_REF \ - org.label-schema.vcs-url="https://github.com/ConsenSys/zkevm-monorepo" \ + org.label-schema.vcs-url="https://github.com/ConsenSys/linea-monorepo" \ org.label-schema.vendor="ConsenSys" \ org.label-schema.version=$VERSION \ org.label-schema.schema-version="1.0" diff --git a/ts-libs/linea-native-libs/src/scripts/build.ts b/ts-libs/linea-native-libs/src/scripts/build.ts index 4d7b6486c..a9a5bb6c3 100644 --- a/ts-libs/linea-native-libs/src/scripts/build.ts +++ b/ts-libs/linea-native-libs/src/scripts/build.ts @@ -23,7 +23,7 @@ async function downloadAndParseJson(url: string, headers: Record } async function getReleaseAssetUrl(authToken: string, nativeLibReleaseTag: string): Promise { - const urlStr = "https://api.github.com/repos/ConsenSys/zkevm-monorepo/releases"; + const urlStr = "https://api.github.com/repos/ConsenSys/linea-monorepo/releases"; const json = await downloadAndParseJson(urlStr, { Authorization: `token ${authToken}` }); const release = json.find((release: any) => release.tag_name === nativeLibReleaseTag); @@ -38,7 +38,7 @@ async function getReleaseAssetUrl(authToken: string, nativeLibReleaseTag: string } const asset = release.assets.find((asset: any) => asset.name.includes(nativeLibReleaseTag)); - return `https://${authToken}:@api.github.com/repos/Consensys/zkevm-monorepo/releases/assets/${asset.id}`; + return `https://${authToken}:@api.github.com/repos/Consensys/linea-monorepo/releases/assets/${asset.id}`; } async function downloadFileUsingCurl(authToken: string, url: string, outputFilePath: string): Promise {