Skip to content
Merged
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
22a8f26
fix cliam all
SegueII Oct 20, 2024
4e5aeef
update test
SegueII Oct 20, 2024
ba430eb
update bindings
SegueII Oct 20, 2024
b567e55
fix get all delegators in pagination
SegueII Oct 21, 2024
cc05d5d
update bindings
SegueII Oct 21, 2024
6cc2a43
fix dos attack vulnerability
SegueII Oct 23, 2024
33e8d34
add nonce for L1 -> L2 staker msg
SegueII Oct 23, 2024
ebed116
Fix l1geth deployment (#622)
FletcherMan Nov 1, 2024
fad88ab
Add usdc flatten contract file (#621)
Kukoomomo Nov 1, 2024
4ebd6a3
Bump contract version to 0.1.0 (#615)
Kukoomomo Nov 1, 2024
bace8d1
Update bindings (#623)
chengwenxi Nov 1, 2024
4c766db
Add fee sum storage (#619)
WorldDogs Nov 1, 2024
f09a670
fix(tx-submitter): Fixed transaction fee calculation issue
WorldDogs Nov 5, 2024
677527c
Merge pull request #629 from morph-l2/fix_calcfee
WorldDogs Nov 5, 2024
c7df550
update test
SegueII Nov 6, 2024
7d5f4a6
Add derivation confirmations (#630)
curryxbo Nov 7, 2024
0ebf173
feat(tx-submitter): Add L1 Block Growth Monitoring Feature
WorldDogs Nov 8, 2024
bc1c60a
Merge branch 'main' into add_l1_block_increase_monitor
WorldDogs Nov 8, 2024
c83e12e
start monitoring
WorldDogs Nov 8, 2024
44be198
Add usdc migration and flatten contracts (#633)
Kukoomomo Nov 11, 2024
c4bacdf
Merge branch 'main' into add_l1_block_increase_monitor
WorldDogs Nov 11, 2024
74e8c2a
adjust l1monitor service start order
WorldDogs Nov 11, 2024
18a51b2
fix(tx-submitter): add mutex to protect latestBlockTime in BlockMonitor
WorldDogs Nov 11, 2024
117bfbd
update gov
SegueII Nov 12, 2024
4ec7bef
update bindings
SegueII Nov 12, 2024
81fda3f
Merge branch 'main' into fix-gov
SegueII Nov 12, 2024
fabf40b
Merge branch 'main' into stake-msg
SegueII Nov 12, 2024
cc11b07
Merge branch 'main' into fix-claim-all
SegueII Nov 12, 2024
36bbf6a
Merge branch 'main' into fix-get-delegators
SegueII Nov 12, 2024
ad25030
update nonce
SegueII Nov 12, 2024
e6861bd
update test
SegueII Nov 12, 2024
15e623a
fix test
SegueII Nov 12, 2024
82ac03b
update bindings
SegueII Nov 12, 2024
177ec30
prevent overflow
SegueII Nov 12, 2024
d308e37
update bindings
SegueII Nov 12, 2024
4e40150
refactor(tx-submitter): introduce constant for block time
WorldDogs Nov 12, 2024
578b096
Fix migration (#635)
Kukoomomo Nov 12, 2024
fe88606
correct block monitoring logic and time calculation
WorldDogs Nov 13, 2024
3e909ae
Merge branch 'main' into add_l1_block_increase_monitor
WorldDogs Nov 13, 2024
254704e
Add usdc master minter flatten file (#637)
Kukoomomo Nov 13, 2024
affe445
Merge branch 'main' into add_l1_block_increase_monitor
WorldDogs Nov 13, 2024
36a6656
Merge pull request #632 from morph-l2/add_l1_block_increase_monitor
WorldDogs Nov 13, 2024
65b99be
Batch upgrade for removing skip map (#628)
FletcherMan Nov 13, 2024
55f2252
clean test
SegueII Nov 14, 2024
4dca79f
Merge branch 'main' into fix-claim-all
SegueII Nov 14, 2024
9474c17
clean test
SegueII Nov 14, 2024
d302171
Merge branch 'main' into fix-gov
SegueII Nov 14, 2024
62fa351
clean test
SegueII Nov 14, 2024
feb0bc9
Merge branch 'main' into stake-msg
SegueII Nov 14, 2024
1beb812
clean test
SegueII Nov 14, 2024
08aded3
Merge branch 'main' into fix-get-delegators
SegueII Nov 14, 2024
e24f4a1
Merge pull request #604 from morph-l2/stake-msg
SegueII Nov 15, 2024
026af6b
Merge pull request #603 from morph-l2/fix-gov
SegueII Nov 15, 2024
846319a
Merge branch 'main' into fix-claim-all
SegueII Nov 15, 2024
ec87648
Merge pull request #594 from morph-l2/fix-claim-all
SegueII Nov 15, 2024
7387fe9
Merge branch 'main' into fix-get-delegators
SegueII Nov 15, 2024
61e1cf3
clean test
SegueII Nov 15, 2024
3e19f69
update bindings
SegueII Nov 15, 2024
c56fb93
Merge pull request #598 from morph-l2/fix-get-delegators
SegueII Nov 15, 2024
5eafefe
Add initialize2 for rollup to set state root (#641)
Kukoomomo Nov 20, 2024
0c5e025
mainnet upgrade rollup (#644)
songyaoshun Nov 20, 2024
c95ba43
Check genesis batch is zero (#646)
chengwenxi Nov 21, 2024
c34ea51
feat(tx-submitter): add rollup loss control functionality
WorldDogs Nov 21, 2024
67dca82
Merge branch 'main' into rollup_control_batch_income
WorldDogs Nov 21, 2024
83f701e
update block size config (#648)
FletcherMan Nov 25, 2024
b210d8b
Merge pull request #647 from morph-l2/rollup_control_batch_income
WorldDogs Nov 26, 2024
8d921dd
Add base height for derivation node (#650)
curryxbo Nov 28, 2024
6f1854b
recover SkippedL1Txs name
FletcherMan Nov 28, 2024
ce5eac5
Merge pull request #652 from morph-l2/fix_block_bytes_unmarshal
FletcherMan Nov 28, 2024
36e160d
Fix set failed index failed (#654)
WorldDogs Nov 29, 2024
d500021
Fix upgrade batch (#655)
chengwenxi Nov 29, 2024
4b52f1d
update for holesky build rule
MarvelFisher Dec 3, 2024
4b0ecad
Merge pull request #656 from morph-l2/feature/holesky-ops
FletcherMan Dec 3, 2024
231e9b2
Setup devnet nodes (#663)
FletcherMan Dec 5, 2024
6902660
fix devnet up (#666)
FletcherMan Dec 6, 2024
a303500
Oracle compatible with skip map version (#667)
curryxbo Dec 6, 2024
184defc
Concurrent contract deployment & Dockerfile optimization (#665)
FletcherMan Dec 6, 2024
1381d45
remove skip map (#664)
anylots Dec 6, 2024
a2adeca
feat(event): replace file storage with leveldb for event info (#657)
WorldDogs Dec 6, 2024
e28101d
Fix fetch batch operation dispatching (#668)
curryxbo Dec 6, 2024
7d286fb
Revert rollup control batch income (#670)
WorldDogs Dec 9, 2024
ddd115f
refactor(tx-submitter): improve batch cache management (#671)
WorldDogs Dec 9, 2024
1137e3a
fix(tx-submitter): eventInfoStorage not init (#677)
WorldDogs Dec 13, 2024
25acbfd
Fix oracle getBatches (#676)
curryxbo Dec 16, 2024
ae2ea5a
Skip processing l1 msg that has already been processed by snapshot (#…
curryxbo Dec 16, 2024
e4739ab
add make target for qanet (#679)
MarvelFisher Dec 18, 2024
ee63715
Remove drop messages function (#681)
Kukoomomo Dec 18, 2024
fc22179
Update message queue gas limit config (#683)
Kukoomomo Dec 20, 2024
7ccafe6
Fee vault fix (#674)
Kukoomomo Dec 23, 2024
732f380
Add prover workflow (#684)
chengwenxi Dec 23, 2024
598d30c
update geth (#688)
FletcherMan Dec 24, 2024
01b9499
update revm & programVkey (#686)
anylots Dec 25, 2024
74230be
Merge hotfix (#690)
WorldDogs Dec 26, 2024
85a8031
update makefile and update deploy config
Dec 31, 2024
77ca534
update makefile and update deploy config
Dec 31, 2024
d83906b
update makefile and update deploy config
Dec 31, 2024
1617518
Merge pull request #700 from morph-l2/update_makefile
lqS0317 Dec 31, 2024
6212d32
fix: Add return value checks for ERC20 transfers in L2Staking
mulukenmenberu Jan 6, 2025
39b8dfd
fix verifier upgrade task (#708)
chengwenxi Jan 9, 2025
57fd0a5
[Lido Audit OZ]: Lido Audit Fix (#698)
Kukoomomo Jan 13, 2025
6361197
Merge pull request #704 from mulukenmenberu/mulefix
SegueII Jan 15, 2025
119f2d5
fix(tx-submitter): prevent panic by returning error (#713)
WorldDogs Jan 20, 2025
b75462d
fix(tx-submitter): update gas fee cap when replacing tip with min tip…
WorldDogs Jan 23, 2025
7fce589
add testnet deploy config (#716)
anylots Feb 7, 2025
b51aa12
Fix typos in `rollup.go`, `executor.go`, `staking_upgrade.ts`, and `L…
Dimitrolito Feb 8, 2025
f4698e4
fix: improve error handling and code clarity in overflow_test.ts (#711)
DeVikingMark Feb 8, 2025
1f705d5
Fix spelling error (#718)
Marcofann Feb 12, 2025
a1c6c5f
Move block context to blob (#649)
chengwenxi Feb 14, 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
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
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
e37c4ff
update go-ethereum dependency (#748)
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
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
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 36 additions & 23 deletions .github/workflows/prover.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,38 @@
name: Prover

# on:
# push:
# branches:
# - main
# paths:
# - "prover/**"
# - ".github/workflows/prover.yaml"
# pull_request:
# paths:
# - "prover/**"
# - ".github/workflows/prover.yaml"
#
# defaults:
# run:
# working-directory: "prover"
#
# jobs:
# check:
# runs-on: ubuntu-22.04
# steps:
# - uses: actions/checkout@v3
# - name: Run build
# run: make build-prover
on:
push:
branches:
- main
paths:
- "prover/**"
- ".github/workflows/prover.yaml"
pull_request:
paths:
- "prover/**"
- ".github/workflows/prover.yaml"

defaults:
run:
working-directory: "prover"

jobs:
fmt:
name: fmt
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- run: cargo fmt --all --check

build:
name: build
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: make build-shadow-prove && make build-shadow-prove
14 changes: 14 additions & 0 deletions MakefileEks.mk
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,20 @@ build-bk-prod-morph-prod-testnet-to-morph-gas-price-oracle-holesky:
start-bk-prod-morph-prod-testnet-to-morph-gas-price-oracle-holesky:
/data/secret-manager-wrapper ./app

# gas-oracle
# hoodi
build-bk-prod-morph-prod-testnet-to-morph-gas-price-oracle-hoodi:
if [ ! -d dist ]; then mkdir -p dist; fi
cd $(PWD)/gas-oracle/app && cargo build --release
cp gas-oracle/app/target/release/app dist/
aws s3 cp s3://morph-0582-morph-technical-department-testnet-data/testnet/hoodi/morph-setup/secret-manager-wrapper.tar.gz ./
tar -xvzf secret-manager-wrapper.tar.gz


start-bk-prod-morph-prod-testnet-to-morph-gas-price-oracle-hoodi:
/data/secret-manager-wrapper ./app


# prover
# testnet
build-bk-prod-morph-prod-testnet-to-morph-prover-holesky:
Expand Down
2 changes: 1 addition & 1 deletion ops/devnet-morph/devnet/setup_nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def setup_devnet_nodes():
print("Error: Failed to build Tendermint. Exiting.")
sys.exit(1)

os.chdir(ops_dir)
os.chdir(root_dir)
print("Tendermint build process completed.")

# Check if .devnet directory already exists
Expand Down
2 changes: 1 addition & 1 deletion ops/docker/Dockerfile.l1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ethereum/client-go:v1.12.2
FROM ethereum/client-go:v1.14.11

RUN apk add --no-cache jq

Expand Down
4 changes: 2 additions & 2 deletions ops/docker/Dockerfile.l1-beacon
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ COPY ops/docker/consensus /consensus
COPY ops/docker/execution /execution
RUN ./prysmctl testnet generate-genesis --fork=deneb --num-validators=64 --genesis-time-delay=0 --output-ssz=/consensus/genesis.ssz --chain-config-file=/consensus/config.yml --geth-genesis-json-in=/execution/genesis.json --geth-genesis-json-out=/execution/genesis.json

FROM ethereum/client-go:latest as geth-genesis
FROM ethereum/client-go:v1.14.11 as geth-genesis
COPY --from=chain-genesis /execution /execution
RUN geth --datadir=/execution init /execution/genesis.json
RUN geth --datadir=/execution --state.scheme=hash init /execution/genesis.json


FROM gcr.io/prysmaticlabs/prysm/beacon-chain:v4.2.1 as beacon-chain
Expand Down
2 changes: 1 addition & 1 deletion ops/docker/docker-compose-4nodes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ services:
# APIs to allow for proof-of-stake consensus via Prysm.
l1:
container_name: l1-geth
image: ethereum/client-go:v1.13.12
image: ethereum/client-go:v1.14.11
command:
- --http
- --http.api=web3,debug,eth,txpool,net,engine
Expand Down
10 changes: 5 additions & 5 deletions ops/l2-genesis/deploy-config/qanet-deploy-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@
"morphTokenOwner": "0x716173f5BBE0b4B51AaDF5A5840fA9A79D01636E",
"morphTokenInitialSupply": 1000000000,
"morphTokenDailyInflationRate": 1596535874529,

"l2StakingSequencerMaxSize": 4,
"l2StakingUnDelegatedLockEpochs": 2,
"l2StakingRewardStartTime": 1728000000,
"l2StakingAddresses": [
"0x25d36d94b64165f72a817ae0ff9bad2ce6914c70",
"0x4a1f64dec538835c125874e275edca367bf6022a",
"0xbb8605961105bb3dcd0e86ef94a1bf9fb2270a29",
"0x7d7201ad7da2b9b9ab9a36c454a3c2d55c4fbdd8"
"0x675cfc328f9f2e79a51e499b2be44462270572fe",
"0xb096665645994775eeba8aa114752d569734dcb4",
"0x3a587733d38e5487d2a7e81d84625f25c99ab3a1",
"0xb6346ded94fc61b637763610d0c59846b7781080"
],
"l2StakingTmKeys": [
"0x5280d0eee2a64d3ad29480d15ffd1b048ce5908f180b5ccd65cc3dcf00941abb",
Expand Down
3 changes: 3 additions & 0 deletions ops/l2-genesis/morph-chain-ops/genesis/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ type DeployConfig struct {
//MorphTokenDailyInflationRate uint64 `json:"morphTokenDailyInflationRate"`

FundDevAccounts bool `json:"fundDevAccounts"`

// Upgrade configs
Morph203Time *uint64 `json:"morph203Time,omitempty"`
}

// GetDeployedAddresses will get the deployed addresses of deployed L1 contracts
Expand Down
6 changes: 6 additions & 0 deletions ops/l2-genesis/morph-chain-ops/genesis/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ func NewL2Genesis(config *DeployConfig, block *types.Block) (*core.Genesis, erro
sequencerFeeVaultReceipt = predeploys.L2TxFeeVaultAddr
}

var morph203Time *uint64
if config.Morph203Time != nil {
morph203Time = config.Morph203Time
}

morphChainConfig := params.ChainConfig{
ChainID: new(big.Int).SetUint64(config.L2ChainID),
HomesteadBlock: big.NewInt(0),
Expand All @@ -55,6 +60,7 @@ func NewL2Genesis(config *DeployConfig, block *types.Block) (*core.Genesis, erro
ShanghaiBlock: big.NewInt(0),
BernoulliBlock: big.NewInt(0),
CurieBlock: big.NewInt(0),
Morph203Time: morph203Time,
TerminalTotalDifficulty: big.NewInt(0),
Morph: params.MorphConfig{
UseZktrie: true,
Expand Down
6 changes: 2 additions & 4 deletions prover/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ stop-server:


build-shadow-prove:
cd bin/shadow-prove
cargo build --release
cd bin/shadow-prove && cargo build --release

build-challenge:
cd bin/challenge
cargo build --release
cd bin/challenge && cargo build --release
Loading