Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
136 commits
Select commit Hold shift + click to select a range
d47cee4
Merge main (#589)
SegueII Oct 18, 2024
bfc77f7
Contract deploy update (#591)
Kukoomomo Oct 18, 2024
bd3efbb
Merge pull request #596 from morph-l2/main
FletcherMan Oct 20, 2024
e61d475
Merge pull request #597 from morph-l2/main
chengwenxi Oct 21, 2024
24b616b
Merge pull request #600 from morph-l2/main
FletcherMan Oct 21, 2024
404fa03
Merge pull request #607 from morph-l2/main
chengwenxi Oct 25, 2024
465b9cc
Update bindings (#623)
chengwenxi Nov 1, 2024
abcff34
Add fee sum storage (#619)
WorldDogs Nov 1, 2024
4e7c972
fix(tx-submitter): Fixed transaction fee calculation issue
WorldDogs Nov 5, 2024
a5749a7
Merge pull request #618 from morph-l2/review
WorldDogs Nov 7, 2024
debb3bc
Add usdc migration and flatten contracts (#633) (#634)
Kukoomomo Nov 12, 2024
278ac64
Add usdc master minter flatten file (#637)
Kukoomomo Nov 13, 2024
9c95aee
Add usdc master minter flatten file (#639)
Kukoomomo Nov 13, 2024
375d1f0
Add initialize2 for rollup to set state root (#641)
Kukoomomo Nov 20, 2024
5d63835
mainnet upgrade rollup (#644)
songyaoshun Nov 20, 2024
113c1d2
update bindings
Kukoomomo Nov 20, 2024
1ba31e9
Merge remote-tracking branch 'origin/release/0.4.x' into review
Kukoomomo Nov 20, 2024
e608d89
Rollup upgrade (#645)
Kukoomomo Nov 26, 2024
2856958
update for holesky build rule
MarvelFisher Dec 3, 2024
d335729
Pick `removeSkipMap` feature related code and update bindings (#659)
FletcherMan Dec 4, 2024
c04b331
remove skip map (#664)
anylots Dec 6, 2024
a7da1cf
Pick oracle changes for skipMap feature (#673)
FletcherMan Dec 10, 2024
9545853
Fix oracle getBatches (#676) (#685)
curryxbo Dec 23, 2024
f3c569d
Fixes and improments for submitter (#672)
WorldDogs Dec 23, 2024
58224dc
Merge branch 'review' of github.com:morph-l2/morph into review
Kukoomomo Dec 23, 2024
1a80a68
Remove drop messages function (#681)
Kukoomomo Dec 18, 2024
ca399cb
Update message queue gas limit config (#683)
Kukoomomo Dec 20, 2024
a4630eb
Fee vault fix (#674)
Kukoomomo Dec 23, 2024
7e788c9
feat(tx-submitter): add tip fee bump functionality (#682)
WorldDogs Dec 23, 2024
e12d564
Merge branch 'release/0.4.x' into review
WorldDogs Dec 23, 2024
87a70f1
Fix submitter testcase (#687)
WorldDogs Dec 23, 2024
03a738c
update go-ethereum dependency
FletcherMan Dec 25, 2024
d06acc3
update revm & programVkey (#686)
anylots Dec 25, 2024
af4158b
Merge pull request #658 from morph-l2/review
FletcherMan Dec 31, 2024
1f705d5
Fix spelling error (#718)
Marcofann Feb 12, 2025
a1c6c5f
Move block context to blob (#649)
chengwenxi Feb 14, 2025
ebc5a40
Lido Gateway Audit Fix (#709)
Kukoomomo Feb 16, 2025
9e1d0de
Add lido gateway upgrade script (#721)
Kukoomomo Feb 17, 2025
a407b46
update go-ethereum dependency (#723)
FletcherMan Feb 25, 2025
ee19580
small improvements for submitter (#727)
WorldDogs Mar 3, 2025
db42adc
Add ChainID to DynamicFeeTx constructor (#728)
WorldDogs Mar 4, 2025
72ceffc
fix(tx-submitter): prevent panic by returning error (#713)
WorldDogs Jan 20, 2025
01eacdf
fix(tx-submitter): update gas fee cap when replacing tip with min tip…
WorldDogs Jan 23, 2025
904c3f2
small improvements for submitter (#727)
WorldDogs Mar 3, 2025
6c9a973
Add ChainID to DynamicFeeTx constructor (#728)
WorldDogs Mar 4, 2025
19d4944
feat: enhance batch cache with node fetching capability
Mar 11, 2025
2e8e530
fix: add BatchFetcher to Rollup service initialization
Mar 11, 2025
2923e24
refactor: lint
Mar 11, 2025
2293719
refactor: remove unnecessary mutex in batch cache test
Mar 11, 2025
e896ae5
Merge pull request #734 from morph-l2/feat/enhance-batch-cache
WorldDogs Mar 11, 2025
26fe5ba
Merge pull request #729 from morph-l2/fix_op_submitter
WorldDogs Mar 11, 2025
7e58a88
refactor: update signer to use LatestSignerForChainID
Mar 19, 2025
de03c80
Merge pull request #737 from morph-l2/fix_tx_type_unsupported
WorldDogs Mar 19, 2025
f61bd47
feat(tx-submitter): optimize rollup transaction processing (squashed …
Mar 21, 2025
96e2b50
Prover update for morph203 (#736)
chengwenxi Mar 26, 2025
8d6969f
refactor(rollup): remove caching logic (#741)
WorldDogs Mar 27, 2025
7f79e0a
feat(metrics): add last committed and finalized batch metrics (#742)
WorldDogs Mar 28, 2025
0c7a997
fix(tx-submitter): ensure correct feecap on resubmission (#747)
WorldDogs Apr 11, 2025
0fadff3
Optimize batch for reducing rollup cost (#743)
FletcherMan Apr 15, 2025
e37c4ff
update go-ethereum dependency (#748)
FletcherMan Apr 15, 2025
a1e7783
upgrade dependency (#749)
FletcherMan Apr 15, 2025
20e5ef4
Get all blobs corresponding to this timestamp when filter failed (#745)
curryxbo Apr 23, 2025
2f95c43
When not found blob return error (#753)
curryxbo Apr 25, 2025
9ee2c20
Get all blobs corresponding to this timestamp when filter failed (#74…
curryxbo Apr 25, 2025
bb825ee
Upgrade geth version to morph-v2.0.5 (#756)
curryxbo Apr 28, 2025
78f17e0
Add morph token (#768)
SegueII Jul 30, 2025
d98f515
Clean (#770)
Kukoomomo Jul 31, 2025
6bfa7df
update task for token upgrade (#771)
Kukoomomo Jul 31, 2025
8097851
Config rm (#775)
Kukoomomo Aug 28, 2025
48eee2d
Add hoodi gas-oracle build (#784)
Kukoomomo Sep 25, 2025
53c4ecf
Merge remote-tracking branch 'origin/release/0.4.x' into sync_release
Sep 30, 2025
e70260a
Merge pull request #786 from morph-l2/sync_release
FletcherMan Sep 30, 2025
d43953b
Revert to 0.4.4 (#788)
SegueII Oct 15, 2025
70158ca
Merge pull request #787 from morph-l2/main
FletcherMan Oct 15, 2025
a985264
pump go-ethereum version & support parsing setCodeTx (#782)
FletcherMan Oct 20, 2025
2223d98
Merge pull request #789 from morph-l2/main
FletcherMan Oct 20, 2025
be68120
add config for hoodi testnet (#781)
MarvelFisher Oct 21, 2025
8084ced
Merge pull request #790 from morph-l2/main
FletcherMan Oct 21, 2025
7f2a108
Bump go/geth version (#796)
FletcherMan Nov 3, 2025
44854a1
Merge pull request #797 from morph-l2/main
FletcherMan Nov 4, 2025
05359af
EKS config sync to release (#785)
Kukoomomo Nov 4, 2025
eeb106c
specified gitmodules via tag (#799)
FletcherMan Nov 4, 2025
64a3b43
submitter: add blob config set for blob fee calc (#798)
Kukoomomo Nov 4, 2025
3e02ce8
Submitter: add blob version check for blobTx (#800)
Kukoomomo Nov 6, 2025
415ca28
ops: refactor layer1 for devnet tools (#802)
FletcherMan Nov 7, 2025
28a6c0c
Ignore verify blob proof (#806)
curryxbo Nov 10, 2025
5cbff64
Merge pull request #803 from morph-l2/main
FletcherMan Nov 12, 2025
211e976
fix l2staking go bindings (#810)
FletcherMan Nov 12, 2025
9c1424b
Fix bug for invalid sequencer BLS key (#808)
Kukoomomo Nov 12, 2025
3cb4687
Merge pull request #811 from morph-l2/main
FletcherMan Nov 14, 2025
fb98607
ERC20 Price (#792)
Kukoomomo Nov 14, 2025
e3d05fe
Token register balance slot update (#812)
Kukoomomo Nov 17, 2025
4866a26
Update geth version (#815)
curryxbo Nov 20, 2025
20fea41
Tidy up configs (#816)
FletcherMan Nov 21, 2025
f85ddba
update geth submodule to morph-v2.0.9 (#817)
FletcherMan Nov 21, 2025
4a72352
Merge remote-tracking branch 'origin/release/0.4.x' into fix_conflict
Nov 21, 2025
6c2cb34
Fix conflict (#818)
FletcherMan Nov 21, 2025
26233de
Merge pull request #819 from morph-l2/params
chengwenxi Nov 24, 2025
cdfd03d
Alt fee oracle (#809)
curryxbo Nov 27, 2025
df65943
Add metrics for finalize batch check (#820)
Kukoomomo Nov 28, 2025
e75a2de
Sync Prover mainnet fix (#821)
anylots Dec 8, 2025
aa7f191
Use a fixed priority_fee for gas-oracle tx (#824)
anylots Dec 8, 2025
24abaa7
Fix GetBlobSidecarsEnhanced (#825)
curryxbo Dec 10, 2025
7df07a7
Add token price oracle metrics and stable coins (#826)
curryxbo Dec 12, 2025
cb12de2
fix(node): Fix validator set hash mismatch at height 18409547 (#828)
FletcherMan Dec 15, 2025
27e80af
Emerald prover (#822)
chengwenxi Dec 16, 2025
18b49b2
feat(node): add version subcommand to morphnode (#837)
FletcherMan Dec 17, 2025
e64256e
Audit Fix (#838)
Kukoomomo Dec 17, 2025
b3e1d2a
update go-ethereum & tidy up (#839)
FletcherMan Dec 19, 2025
9392ad9
Merge pull request #814 from morph-l2/main
FletcherMan Dec 19, 2025
75e2984
make feeToken slot cold in revm (#840)
anylots Dec 22, 2025
96c7524
Merge pull request #841 from morph-l2/main
anylots Dec 23, 2025
71d75d9
Update MakefileEks.mk (#842)
curryxbo Dec 25, 2025
6413a72
Merge pull request #843 from morph-l2/main
FletcherMan Dec 25, 2025
3ee14af
Add nonce checking (#845)
curryxbo Dec 29, 2025
700ebef
Add external sign (#844)
curryxbo Jan 6, 2026
ec6f0b2
Merge pull request #850 from morph-l2/main
FletcherMan Jan 6, 2026
b2636b1
Derivation support altfeetx type (#852)
curryxbo Jan 7, 2026
1f4e42c
Merge pull request #853 from morph-l2/main
FletcherMan Jan 7, 2026
2c90c3f
Set bls sig to nil (#848)
Kukoomomo Jan 16, 2026
9b49a94
Sequencer failure (#849)
Kukoomomo Jan 16, 2026
9ae1755
feature: block tag support(safe&finalize)
Jan 15, 2026
6ef1f62
feature(block-tag): rename some vars
Jan 19, 2026
5b82a4f
update go sum
Jan 19, 2026
c21550a
bump tendermint to version v0.3.3
Jan 19, 2026
872a4e6
Merge pull request #858 from morph-l2/bump_tendermint
FletcherMan Jan 19, 2026
a58ed9b
merge main
Jan 19, 2026
c97d36b
fix log
Jan 19, 2026
1f47e41
Merge pull request #857 from morph-l2/feat/block_tag
tomatoishealthy Jan 22, 2026
b03ec12
Merge pull request #859 from morph-l2/main
tomatoishealthy Jan 22, 2026
badbb96
fix: remove L1 eth rpc flag check
Jan 22, 2026
b2f87e2
Merge pull request #860 from morph-l2/fix/flag_check
FletcherMan Jan 22, 2026
3f2350b
Merge pull request #861 from morph-l2/main
FletcherMan Jan 22, 2026
dcd0112
ZK to MPT (#827)
curryxbo Feb 11, 2026
7efc270
support derive commitBatchWithProof event (#880)
curryxbo Feb 11, 2026
128d569
Merge pull request #883 from morph-l2/main
FletcherMan Feb 11, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.22.x
go-version: 1.24.x
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deployer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.22.x
go-version: 1.24.x
- name: Lint
run: |
rm -rf $HOME/.cache/golangci-lint
Expand All @@ -40,6 +40,6 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.22.x
go-version: 1.24.x
- name: Run tests
run: make test
4 changes: 2 additions & 2 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.22.x
go-version: 1.24.x
- name: Lint
run: |
rm -rf $HOME/.cache/golangci-lint
Expand All @@ -40,7 +40,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.22.x
go-version: 1.24.x
- name: Run build
run: make build
- name: Run tests
Expand Down
88 changes: 44 additions & 44 deletions .github/workflows/oracle.yml
Original file line number Diff line number Diff line change
@@ -1,47 +1,47 @@
name: Oracle
# name: Oracle

on:
push:
branches:
- main
paths:
- "oracle/**"
- ".github/workflows/oracle.yaml"
pull_request:
paths:
- "build/**"
- "bindings/**"
- "node/**"
- "oracle/**"
- ".github/workflows/oracle.yaml"
# on:
# push:
# branches:
# - main
# paths:
# - "oracle/**"
# - ".github/workflows/oracle.yaml"
# pull_request:
# paths:
# - "build/**"
# - "bindings/**"
# - "node/**"
# - "oracle/**"
# - ".github/workflows/oracle.yaml"

defaults:
run:
working-directory: "oracle"
# defaults:
# run:
# working-directory: "oracle"

jobs:
check:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.22.x
- name: Lint
run: |
rm -rf $HOME/.cache/golangci-lint
make lint
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.22.x
- name: Run build
run: make build
- name: Run tests
run: make test
# jobs:
# check:
# if: github.event.pull_request.draft == false
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - name: Install Go
# uses: actions/setup-go@v5
# with:
# go-version: 1.24.x
# - name: Lint
# run: |
# rm -rf $HOME/.cache/golangci-lint
# make lint
# test:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - name: Install Go
# uses: actions/setup-go@v5
# with:
# go-version: 1.24.x
# - name: Run build
# run: make build
# - name: Run tests
# run: make test
5 changes: 2 additions & 3 deletions .github/workflows/prover.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,9 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- run: rustup component add rustfmt --toolchain nightly-2024-07-07
- run: cargo fmt --all --check

build:
name: build
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tx-submitter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.22.x
go-version: 1.24.x
- name: Lint
run: |
rm -rf $HOME/.cache/golangci-lint
Expand All @@ -41,7 +41,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.22.x
go-version: 1.24.x
- name: Run build
run: make build
- name: Run tests
Expand Down
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,18 @@ ops/l2-genesis/.devnet
ops/l2-genesis/.qanet
ops/l2-genesis/.testnet
ops/l2-genesis/.holesky
ops/l2-genesis/.hoodi
ops/l2-genesis/.mainnet
ops/l2-genesis/.morphtestnet
ops/devnet-morph/devnet/__pycache__
contracts/qanetL1.json
contracts/holesky.json
contracts/hoodi.json
contracts/mainnet.json
.env

# logs
*.log
*.log

# mpt-switch-test (local testing only)
ops/mpt-switch-test
1 change: 0 additions & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
[submodule "go-ethereum"]
path = go-ethereum
url = https://github.com/morph-l2/go-ethereum.git
branch = main
24 changes: 24 additions & 0 deletions Dockerfile.l2-node
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Build Stage
FROM ghcr.io/morph-l2/go-ubuntu-builder:go-1.24-ubuntu as builder

# Set working directory and copy necessary files
COPY . /morph
WORKDIR /morph/node

# Run build command
RUN make build

# Final Stage
FROM ghcr.io/morph-l2/go-ubuntu-builder:go-1.24-ubuntu

# Update and install dependencies, then clean up unnecessary files
RUN apt-get -qq update \
&& apt-get -qq install -y --no-install-recommends ca-certificates \
&& rm -rf /var/lib/apt/lists/*

# Copy the built binaries from the builder image to the final image
COPY --from=builder /morph/node/build/bin/tendermint /usr/local/bin/
COPY --from=builder /morph/node/build/bin/morphnode /usr/local/bin/

# Set the default command
CMD ["morphnode", "--home", "/data"]
25 changes: 19 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
################## update dependencies ####################
ETHEREUM_SUBMODULE_COMMIT_OR_TAG := morph-v2.1.2
ETHEREUM_TARGET_VERSION := morph-v2.1.2
TENDERMINT_TARGET_VERSION := v0.3.3

ETHEREUM_TARGET_VERSION := v1.10.14-0.20241224100051-1582a364edc0
TENDERMINT_TARGET_VERSION := v0.3.1

ETHEREUM_MODULE_NAME := github.com/morph-l2/go-ethereum
TENDERMINT_MODULE_NAME := github.com/morph-l2/tendermint
Expand Down Expand Up @@ -30,6 +31,7 @@ update_all_mod:
@$(MAKE) update_mod MODULE=ops/tools
@$(MAKE) update_mod MODULE=oracle
@$(MAKE) update_mod MODULE=tx-submitter
@$(MAKE) update_mod MODULE=token-price-oracle


update:
Expand All @@ -39,7 +41,13 @@ update:

submodules:
git submodule update --init
git submodule update --remote
@if [ -d "go-ethereum" ]; then \
echo "Updating go-ethereum submodule to tag $(ETHEREUM_SUBMODULE_COMMIT_OR_TAG)..."; \
cd go-ethereum && \
git fetch --tags && \
git checkout $(ETHEREUM_SUBMODULE_COMMIT_OR_TAG) && \
cd ..; \
fi
Comment on lines +44 to +50
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
echo "=== Checking go-ethereum submodule remote and tags ==="
if [ -d "go-ethereum" ]; then
  cd go-ethereum
  echo "Remote URL:"
  git remote -v
  echo -e "\nAvailable tags matching morph-v2:"
  git tag | grep "morph-v2" || echo "No matching tags found locally"
  echo -e "\nTotal tags:"
  git tag | wc -l
else
  echo "go-ethereum submodule not initialized"
fi

Repository: chengwenxi/morph

Length of output: 328


The morph-v2.1.2 tag does not exist in the go-ethereum submodule and will cause git checkout on line 48 to fail.

The tag verification confirms that no tags matching morph-v2 are available. Without this tag, running make submodules will fail. Either ensure the tag exists in the go-ethereum submodule, point to a commit hash that exists, or use a branch reference instead of a tag.

🤖 Prompt for AI Agents
In `@Makefile` around lines 44 - 50, The Makefile currently attempts to git
checkout $(ETHEREUM_SUBMODULE_COMMIT_OR_TAG) in the go-ethereum submodule which
fails because the tag morph-v2.1.2 doesn't exist; update this by either setting
ETHEREUM_SUBMODULE_COMMIT_OR_TAG to a valid commit hash or a branch name that
exists in the go-ethereum submodule, or change the Makefile logic around the git
checkout (the block that cd's into go-ethereum and runs git fetch --tags && git
checkout $(ETHEREUM_SUBMODULE_COMMIT_OR_TAG)) to verify the ref exists and fall
back to fetching the desired branch/commit (e.g., check git show-ref or git
rev-parse before checkout and use origin/<branch> or a known commit if the tag
is missing).

.PHONY: submodules

################## bindings ####################
Expand All @@ -58,12 +66,13 @@ lint-sol:
.PHONY: lint-sol

lint-go:
go work sync
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Clarify oracle linting being commented out.

Line 67 comments out make -C oracle lint, effectively disabling the linting check for the oracle module. Confirm whether this is intentional (e.g., work-in-progress, known issues, or deliberate deprioritization) or accidental.

If intentional, document the reason in a code comment or PR description. If unintended, uncomment the line.

Also applies to: 67-67

🤖 Prompt for AI Agents
Makefile around lines 61-61: the Makefile currently has the oracle lint step
commented out (line ~67 per review) which disables linting for the oracle
module; either uncomment the make -C oracle lint line to re-enable the check if
this was accidental, or if intentional add an inline comment above that line (or
the PR description) documenting why linting is disabled (e.g., WIP, known issues
with oracle linting, or deliberate deprioritization) and reference any tracking
issue or plan to re-enable it.

make -C bindings lint
make -C contracts lint-go
make -C node lint
make -C ops/l2-genesis lint
make -C ops/tools lint
make -C oracle lint
## make -C oracle lint
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Clarify why oracle linting is disabled.

Line 73 comments out make -C oracle lint, disabling linting for the oracle module. Confirm whether this is intentional (e.g., work-in-progress, known issues) or accidental. If intentional, document the reason with an inline comment or reference a tracking issue. If unintended, uncomment the line.

🤖 Prompt for AI Agents
Makefile line 73: the `make -C oracle lint` target is commented out; either
reinstate it or document why it's disabled. If linting was accidentally
disabled, uncomment the line so the oracle module runs linting; if intentional,
replace the commented line with a short inline comment explaining the reason
(e.g., "disabled due to known lint failures tracked in ISSUE-123" or
"work-in-progress: re-enable after refactor - see PR #456") and include a
reference to the issue/PR. Ensure the comment is concise and actionable.

make -C tx-submitter lint
.PHONY: lint-go

Expand Down Expand Up @@ -120,7 +129,7 @@ go-rust-alpine-builder:
go-ubuntu-builder:
@if [ -z "$(shell docker images -q morph/go-ubuntu-builder 2> /dev/null)" ]; then \
echo "Docker image morph/go-ubuntu-builder does not exist. Building..."; \
cd ops/docker/intermediate && docker build -t morph/go-ubuntu-builder:go-1.22-ubuntu . -f go-ubuntu-builder.Dockerfile; \
cd ops/docker/intermediate && docker build -t morph/go-ubuntu-builder:go-1.24-ubuntu . -f go-ubuntu-builder.Dockerfile; \
else \
echo "Docker image morph/go-ubuntu-builder already exists."; \
fi
Expand All @@ -140,7 +149,7 @@ devnet-down:
cd ops/docker && docker compose -f docker-compose-4nodes.yml down
.PHONY: devnet-down

devnet-clean-build: devnet-down
devnet-clean-build: devnet-down devnet-l1-clean
docker volume ls --filter name=docker-* --format='{{.Name}}' | xargs -r docker volume rm
rm -rf ops/l2-genesis/.devnet
rm -rf ops/docker/.devnet
Expand All @@ -156,6 +165,10 @@ devnet-clean: devnet-clean-build
devnet-l1:
python3 ops/devnet-morph/main.py --polyrepo-dir=. --only-l1

devnet-l1-clean:
@cd ops/docker && ./layer1/scripts/clean.sh
.PHONY: devnet-l1-clean

devnet-logs:
@(cd ops/docker && docker-compose logs -f)
.PHONY: devnet-logs
Expand Down
22 changes: 11 additions & 11 deletions MakefileEc2.mk
Original file line number Diff line number Diff line change
Expand Up @@ -22,34 +22,34 @@ build-bk-prod-morph-prod-mainnet-to-morph-tx-submitter:
tar -czvf tx-submitter.tar.gz dist
aws s3 cp tx-submitter.tar.gz s3://morph-0582-morph-technical-department-mainnet-data/morph-setup/tx-submitter.tar.gz

# build for holesky
build-bk-prod-morph-prod-testnet-to-morph-node-holesky:
# build for qanet
build-bk-test-morph-test-qanet-to-morph-node-qanet:
if [ ! -d dist ]; then mkdir -p dist; fi
cd $(PWD)/node && make build
cp node/build/bin/morphnode dist/
cp node/build/bin/tendermint dist/
tar -czvf morph-node.tar.gz dist
aws s3 cp morph-node.tar.gz s3://morph-0582-morph-technical-department-testnet-data/testnet/holesky/morph-setup/morph-node.tar.gz
aws s3 cp morph-node.tar.gz s3://morph-7637-morph-technical-department-qanet-data/morph-setup/morph-node.tar.gz

build-bk-prod-morph-prod-testnet-to-morph-tx-submitter-holesky:
build-bk-test-morph-test-qanet-to-morph-tx-submitter-qanet:
if [ ! -d dist ]; then mkdir -p dist; fi
env GO111MODULE=on CGO_LDFLAGS="-ldl" CGO_ENABLED=1 go build -v $(LDFLAGS) -o tx-submitter/tx-submitter ./tx-submitter/cmd
cp tx-submitter/tx-submitter dist/
tar -czvf tx-submitter.tar.gz dist
aws s3 cp tx-submitter.tar.gz s3://morph-0582-morph-technical-department-testnet-data/testnet/holesky/morph-setup/tx-submitter.tar.gz


build-bk-test-morph-test-qanet-to-morph-node-qanet:
aws s3 cp tx-submitter.tar.gz s3://morph-7637-morph-technical-department-qanet-data/morph-setup/tx-submitter.tar.gz
Comment thread
coderabbitai[bot] marked this conversation as resolved.
# build for hoodi
build-bk-prod-morph-prod-testnet-to-morph-node-hoodi:
if [ ! -d dist ]; then mkdir -p dist; fi
cd $(PWD)/node && make build
cp node/build/bin/morphnode dist/
cp node/build/bin/tendermint dist/
tar -czvf morph-node.tar.gz dist
aws s3 cp morph-node.tar.gz s3://morph-7637-morph-technical-department-qanet-data/morph-setup/morph-node.tar.gz
aws s3 cp morph-node.tar.gz s3://morph-0582-morph-technical-department-testnet-data/testnet/hoodi/morph-setup/morph-node.tar.gz

build-bk-test-morph-test-qanet-to-morph-tx-submitter-qanet:
build-bk-prod-morph-prod-testnet-to-morph-tx-submitter-hoodi:
if [ ! -d dist ]; then mkdir -p dist; fi
env GO111MODULE=on CGO_LDFLAGS="-ldl" CGO_ENABLED=1 go build -v $(LDFLAGS) -o tx-submitter/tx-submitter ./tx-submitter/cmd
cp tx-submitter/tx-submitter dist/
tar -czvf tx-submitter.tar.gz dist
aws s3 cp tx-submitter.tar.gz s3://morph-7637-morph-technical-department-qanet-data/morph-setup/tx-submitter.tar.gz
aws s3 cp tx-submitter.tar.gz s3://morph-0582-morph-technical-department-testnet-data/testnet/hoodi/morph-setup/tx-submitter.tar.gz
Loading