Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
ba55c96
refactor
SegueII Dec 30, 2024
c30ae29
update l2 staking contracts
SegueII Jan 13, 2025
8e74bf0
fix sth
SegueII Jan 13, 2025
7ae396d
update bindings makefile
SegueII Jan 13, 2025
abf8bde
update l2 staking
SegueII Jan 13, 2025
d3a7c89
update test
SegueII Jan 13, 2025
974760c
update contract
SegueII Feb 19, 2025
2d0e273
update bindings
SegueII Feb 21, 2025
9323fff
update bingdings
SegueII Feb 21, 2025
9bc490d
add coinbase
FletcherMan Mar 4, 2025
15ce92d
add miner to block context
FletcherMan Mar 7, 2025
9dddbe4
fix contracts
SegueII Mar 29, 2025
db92cb7
update test
SegueII Mar 29, 2025
27a8caa
clean gov contracts
SegueII Mar 30, 2025
4db2ab1
update gov test
SegueII Mar 30, 2025
f2fddc3
update test
SegueII Mar 30, 2025
e01450e
update bindings
SegueII Mar 30, 2025
8211752
update tasks
SegueII Mar 30, 2025
72b7cab
update gov
SegueII Mar 30, 2025
432aae8
update bindings
SegueII Mar 30, 2025
a64b095
Merge branch 'main' into staking-refactor
SegueII Mar 30, 2025
27abeae
fix l2 staking
SegueII Apr 25, 2025
f0df478
update bindings
SegueII Apr 25, 2025
43532ce
feat: remove L2Gov contract dependency (#754)
WorldDogs Apr 25, 2025
1e0edc6
update ops
SegueII Apr 25, 2025
132c79d
update go mod
SegueII Apr 25, 2025
9c80801
Decode coinbase from blobs (#744)
curryxbo Apr 25, 2025
805b6a9
Merge remote-tracking branch 'origin/features/coinbase' into staking-…
FletcherMan Apr 27, 2025
d5516c5
update geth and configure upgrade time
FletcherMan Apr 28, 2025
7553bac
SYSTEM deploy
Kukoomomo Apr 28, 2025
1327c7b
remove oracle
FletcherMan Apr 28, 2025
74ad694
Fix deocde batch (#757)
curryxbo Apr 29, 2025
0db15fd
make RollupEpochFlag optional (#758)
WorldDogs Apr 29, 2025
a948655
Update geth version (#759)
curryxbo May 7, 2025
6dd6efa
clean makefile
SegueII May 8, 2025
e687b94
update contracts
SegueII May 15, 2025
c64e295
update bindings
SegueII May 15, 2025
9c89909
update L2StakingRewardStartTime
SegueII May 15, 2025
d15d716
fix claim undelegation when reward not started
SegueII May 15, 2025
b0eca0f
update bindings
SegueII May 15, 2025
48666cc
fix unlockEpoch
SegueII Jun 6, 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
47 changes: 0 additions & 47 deletions .github/workflows/oracle.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[submodule "go-ethereum"]
path = go-ethereum
url = https://github.com/morph-l2/go-ethereum.git
branch = main
branch = features/coinbase
7 changes: 2 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
################## update dependencies ####################

ETHEREUM_TARGET_VERSION := v1.10.14-0.20250218031646-de5160c106de
ETHEREUM_TARGET_VERSION := v1.10.14-0.20250507031230-2fbc3c0550c3
TENDERMINT_TARGET_VERSION := v0.3.2-0.20250115141431-c84dfe5c8533

ETHEREUM_MODULE_NAME := github.com/morph-l2/go-ethereum
Expand Down Expand Up @@ -28,7 +28,6 @@ update_all_mod:
@$(MAKE) update_mod MODULE=node
@$(MAKE) update_mod MODULE=ops/l2-genesis
@$(MAKE) update_mod MODULE=ops/tools
@$(MAKE) update_mod MODULE=oracle
@$(MAKE) update_mod MODULE=tx-submitter


Expand Down Expand Up @@ -63,7 +62,6 @@ lint-go:
make -C node lint
make -C ops/l2-genesis lint
make -C ops/tools lint
make -C oracle lint
make -C tx-submitter lint
.PHONY: lint-go

Expand All @@ -86,7 +84,6 @@ fmt-go:
cd $(PWD)/node/ && go mod tidy
cd $(PWD)/ops/l2-genesis/ && go mod tidy
cd $(PWD)/ops/tools/ && go mod tidy
cd $(PWD)/oracle/ && go mod tidy
cd $(PWD)/tx-submitter/ && go mod tidy
find . -name '*.go' -type f -not -path "./go-ethereum*" -not -name '*.pb.go' | xargs gofmt -w -s
find . -name '*.go' -type f -not -path "./go-ethereum*" -not -name '*.pb.go' | xargs misspell -w
Expand Down Expand Up @@ -128,7 +125,7 @@ go-ubuntu-builder:

################## devnet 4 nodes ####################

devnet-up: submodules go-ubuntu-builder
devnet-up: go-ubuntu-builder
python3 ops/devnet-morph/main.py --polyrepo-dir=.
.PHONY: devnet-up

Expand Down
37 changes: 1 addition & 36 deletions MakefileEks.mk
Original file line number Diff line number Diff line change
Expand Up @@ -70,29 +70,6 @@ build-bk-prod-morph-prod-mainnet-to-morph-shadow-proving:
start-bk-prod-morph-prod-mainnet-to-morph-shadow-proving:
/data/secret-manager-wrapper ./shadow-proving

# staking-oracle
# mainnet
build-bk-prod-morph-prod-mainnet-to-morph-staking-oracle:
if [ ! -d dist ]; then mkdir -p dist; fi
env GO111MODULE=on CGO_LDFLAGS="-ldl" CGO_ENABLED=1 go build -v $(LDFLAGS) -o oracle/staking-oracle ./oracle/cmd/staking-oracle
cp oracle/staking-oracle dist/
aws s3 cp s3://morph-0582-morph-technical-department-mainnet-data/morph-setup/secret-manager-wrapper.tar.gz ./
tar -xvzf secret-manager-wrapper.tar.gz

start-bk-prod-morph-prod-mainnet-to-morph-staking-oracle:
/data/secret-manager-wrapper ./staking-oracle

# qanet
build-bk-test-morph-test-qanet-to-morph-staking-oracle-qanet:
if [ ! -d dist ]; then mkdir -p dist; fi
env GO111MODULE=on CGO_LDFLAGS="-ldl" CGO_ENABLED=1 go build -v $(LDFLAGS) -o oracle/staking-oracle ./oracle/cmd/staking-oracle
cp oracle/staking-oracle dist/
aws s3 cp s3://morph-7637-morph-technical-department-qanet-data/morph-setup/secret-manager-wrapper.tar.gz ./
tar -xvzf secret-manager-wrapper.tar.gz

start-bk-test-morph-test-qanet-to-morph-staking-oracle-qanet:
/data/secret-manager-wrapper ./staking-oracle


# gas-oracle
# testnet
Expand Down Expand Up @@ -143,16 +120,4 @@ build-bk-prod-morph-prod-testnet-to-morph-shadow-proving-holesky:
tar -xvzf secret-manager-wrapper.tar.gz

start-bk-prod-morph-prod-testnet-to-morph-shadow-proving-holesky:
/data/secret-manager-wrapper ./shadow-proving

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

start-bk-prod-morph-prod-testnet-to-morph-staking-oracle-holesky:
/data/secret-manager-wrapper ./staking-oracle
/data/secret-manager-wrapper ./shadow-proving
8 changes: 1 addition & 7 deletions bindings/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ bindings: \
l2-gov-bindings \
l2-sequencer-bindings \
l2-staking-bindings \
l2-distribute-bindings \
l2-record-bindings \
l2-eth-gateway-bindings \
l2-standard-erc20-gateway-bindings \
l2-gateway-router-bindings \
Expand Down Expand Up @@ -126,10 +124,6 @@ l2-sequencer-bindings: compile
./gen_bindings.sh contracts/l2/staking/Sequencer.sol:Sequencer $(pkg)
l2-staking-bindings: compile
./gen_bindings.sh contracts/l2/staking/L2Staking.sol:L2Staking $(pkg)
l2-distribute-bindings: compile
./gen_bindings.sh contracts/l2/staking/Distribute.sol:Distribute $(pkg)
l2-record-bindings: compile
./gen_bindings.sh contracts/l2/staking/Record.sol:Record $(pkg)

# Gateways
l2-eth-gateway-bindings: compile
Expand Down Expand Up @@ -191,7 +185,7 @@ more: compile-forge
go run ./gen/main.go \
-artifacts ../contracts/artifacts \
-out ./bindings \
-contracts ProxyAdmin,TransparentUpgradeableProxy,L1MessageQueueWithGasPriceOracle,L1USDCGateway,L1Staking,L1CrossDomainMessenger,L1StandardERC20Gateway,L1ETHGateway,L1ERC20Gateway,L1GatewayRouter,L1WETHGateway,L1LidoGateway,Rollup,MultipleVersionRollupVerifier,L2CrossDomainMessenger,GasPriceOracle,L2ToL1MessagePasser,L2TxFeeVault,Sequencer,Gov,Distribute,L2Staking,Record,L2ETHGateway,L2StandardERC20Gateway,L2GatewayRouter,L2WETHGateway,L2ERC20Gateway,L2ERC721Gateway,L2ERC1155Gateway,L2LidoGateway,MorphToken,MorphStandardERC20,MorphStandardERC20Factory,WrappedEther,L2USDCGateway,EnforcedTxGateway,L1ERC721Gateway,L1ERC1155Gateway,L1ReverseCustomGateway,L2WithdrawLockERC20Gateway,L2ReverseCustomGateway,Whitelist,ZkEvmVerifierV1,L2WstETHToken \
-contracts ProxyAdmin,TransparentUpgradeableProxy,L1MessageQueueWithGasPriceOracle,L1USDCGateway,L1Staking,L1CrossDomainMessenger,L1StandardERC20Gateway,L1ETHGateway,L1ERC20Gateway,L1GatewayRouter,L1WETHGateway,L1LidoGateway,Rollup,MultipleVersionRollupVerifier,L2CrossDomainMessenger,GasPriceOracle,L2ToL1MessagePasser,L2TxFeeVault,Sequencer,Gov,L2Staking,L2ETHGateway,L2StandardERC20Gateway,L2GatewayRouter,L2WETHGateway,L2ERC20Gateway,L2ERC721Gateway,L2ERC1155Gateway,L2LidoGateway,MorphToken,MorphStandardERC20,MorphStandardERC20Factory,WrappedEther,L2USDCGateway,EnforcedTxGateway,L1ERC721Gateway,L1ERC1155Gateway,L1ReverseCustomGateway,L2WithdrawLockERC20Gateway,L2ReverseCustomGateway,Whitelist,ZkEvmVerifierV1,L2WstETHToken \
-package bindings

mkdir:
Expand Down
1 change: 0 additions & 1 deletion bindings/bin/distribute_deployed.hex

This file was deleted.

Loading