Skip to content

Commit

Permalink
chore: rename to linea-monorepo
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-marchand committed Jul 31, 2024
1 parent a001342 commit 33107ef
Show file tree
Hide file tree
Showing 700 changed files with 3,213 additions and 3,183 deletions.
4 changes: 2 additions & 2 deletions bridge-ui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
19 changes: 0 additions & 19 deletions bridge-ui/RELEASE-NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]

<a name="v0.6.4"></a>
Expand All @@ -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]

<a name="v0.6.3"></a>
Expand All @@ -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]

<a name="v0.6.2"></a>
Expand All @@ -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]

<a name="v0.6.1"></a>
Expand All @@ -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]

<a name="v0.6.0"></a>
Expand All @@ -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]

<a name="v0.5.4"></a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion coordinator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion docs/architecture-description.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
4 changes: 2 additions & 2 deletions e2e/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
6 changes: 3 additions & 3 deletions gradle/publishing.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "zkevm-monorepo",
"name": "linea-monorepo",
"author": "Consensys Software Inc.",
"engines": {
"node": ">=18",
Expand Down
2 changes: 1 addition & 1 deletion prover/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion prover/README.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
23 changes: 12 additions & 11 deletions prover/backend/aggregation/craft.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion prover/backend/aggregation/craft_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
14 changes: 7 additions & 7 deletions prover/backend/aggregation/prove.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion prover/backend/aggregation/request.go
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
16 changes: 8 additions & 8 deletions prover/backend/blobdecompression/prove.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion prover/backend/blobdecompression/request.go
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions prover/backend/blobsubmission/blobcompression_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions prover/backend/blobsubmission/craft.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
4 changes: 2 additions & 2 deletions prover/backend/blobsubmission/craft_eip4844.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion prover/backend/ethereum/signature.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion prover/backend/ethereum/tx_encoding.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion prover/backend/execution/bridge/l2l1logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion prover/backend/execution/bridge/rolling_hash_updated.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
8 changes: 4 additions & 4 deletions prover/backend/execution/craft.go
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion prover/backend/execution/hashing.go
Original file line number Diff line number Diff line change
@@ -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() {

Expand Down
16 changes: 8 additions & 8 deletions prover/backend/execution/prove.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
8 changes: 4 additions & 4 deletions prover/backend/execution/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Loading

0 comments on commit 33107ef

Please sign in to comment.