From eb37971183f3f24abf201abab837147f95209dd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Andr=C3=B3il?= Date: Tue, 18 Feb 2025 14:48:48 +0100 Subject: [PATCH 1/2] fix spelling errors in rollup.go --- tx-submitter/services/rollup.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tx-submitter/services/rollup.go b/tx-submitter/services/rollup.go index a8d6e108..20f978e3 100644 --- a/tx-submitter/services/rollup.go +++ b/tx-submitter/services/rollup.go @@ -683,7 +683,7 @@ func (r *Rollup) rollup() error { } // set batch cache - // it shoud be removed after the batch is committed + // it should be removed after the batch is committed r.batchCache.Set(batchIndex, batch) signature, err := r.buildSignatureInput(batch) @@ -1345,7 +1345,7 @@ func (r *Rollup) InitFeeMetricsSum() error { return fmt.Errorf("put rollupFeeSum to leveldb failed, key: %s, %w", rollupSumKey, err) } } else { - return fmt.Errorf("get data from leveldb faild, key: %s, %w", rollupSumKey, err) + return fmt.Errorf("get data from leveldb failed, key: %s, %w", rollupSumKey, err) } } log.Info("rollupFeeSum: %f", rollupFeeSum) @@ -1358,7 +1358,7 @@ func (r *Rollup) InitFeeMetricsSum() error { return fmt.Errorf("put finalizeFeeSum to leveldb failed, key: %s, %w", finalizeSumKey, err) } } else { - return fmt.Errorf("get data from leveldb faild, key: %s, %w", finalizeSumKey, err) + return fmt.Errorf("get data from leveldb failed, key: %s, %w", finalizeSumKey, err) } } log.Info("finalizeFeeSum: %f", finalizeFeeSum) @@ -1371,7 +1371,7 @@ func (r *Rollup) InitFeeMetricsSum() error { return fmt.Errorf("put collectedL1FeeSum to leveldb failed, key: %s, %w", collectedL1FeeSumKey, err) } } else { - return fmt.Errorf("get data from leveldb faild, key: %s, %w", collectedL1FeeSumKey, err) + return fmt.Errorf("get data from leveldb failed, key: %s, %w", collectedL1FeeSumKey, err) } } r.collectedL1FeeSum = collectedL1FeeSum From b7e598bb8e41dfbfa43d6d487739596372281ffa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Andr=C3=B3il?= Date: Tue, 18 Feb 2025 14:51:08 +0100 Subject: [PATCH 2/2] Fix typos README.md --- contracts/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/README.md b/contracts/README.md index 2d6f3608..d89245d3 100644 --- a/contracts/README.md +++ b/contracts/README.md @@ -9,7 +9,7 @@ This package contains the smart contracts that compose the on-chain component. | Name | Proxy Type | Description | | ---------------------------------------------------------------------------------- | ----------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------ | | [`L1CrossDomainMessenger`](../../specs/messengers.md) | [`ResolvedDelegateProxy`](./contracts/legacy/ResolvedDelegateProxy.sol) | High-level interface for sending messages to and receiving messages from M | -| [`L1StandardBridge`](../../specs/bridges.md) | [`L1ChugSplashProxy`](./contracts/legacy/L1ChugSplashProxy.sol) | Standardized system for transfering ERC20 tokens to/from Mo r p h | +| [`L1StandardBridge`](../../specs/bridges.md) | [`L1ChugSplashProxy`](./contracts/legacy/L1ChugSplashProxy.sol) | Standardized system for transferring ERC20 tokens to/from Mo r p h | | [`Rollup`](../../specs/proposals.md#rollup.sol) | [`Proxy`](./contracts/universal/Proxy.sol) | Stores commitments to the state of Morph which can be used by contracts on L1 to access L2 state | | [`MorphPortal`](../../specs/deposits.md#deposit-contract) | [`Proxy`](./contracts/universal/Proxy.sol) | Low-level message passing interface | | [`MorphMintableERC20Factory`](../../specs/predeploys.md#morphmintableerc20factory) | [`Proxy`](./contracts/universal/Proxy.sol) | Deploys standard `MorphMintableERC20` tokens that are compatible with either `StandardBridge` | @@ -79,7 +79,7 @@ yarn test You must have [Echidna](https://github.com/crytic/echidna) installed. -Contracts targetted for Echidna testing are located in `./contracts/echidna`. +Contracts targeted for Echidna testing are located in `./contracts/echidna`. Each target contract is tested with a separate yarn command, for example: ```shell