xlayer migrated to op-stack

This commit is contained in:
goldsquid
2025-11-08 05:03:09 +07:00
parent 572238029c
commit 9c3c2849c0
5 changed files with 411 additions and 0 deletions

24
op/xlayer/geth.toml Normal file
View File

@@ -0,0 +1,24 @@
[Node.P2P]
DiscoveryV5 = true
[Eth.GPO]
Blocks = 20
Percentile = 60
MaxHeaderHistory = 1024
MaxBlockHistory = 1024
MaxPrice = "5000000000000000000000"
IgnorePrice = "2000000000000000000"
[Eth.GPO.XLayer]
Type = "follower"
UpdatePeriod = 100000000000
Default = "100000000"
KafkaURL = "localhost:9092"
Topic = "middle_coinPrice_push"
GroupID = "geth-consumer"
L1CoinId = 15756
L2CoinId = 7184
DefaultL1CoinPrice = 2000.0
DefaultL2CoinPrice = 0.5
Factor = 0.1

View File

@@ -0,0 +1,45 @@
{
"genesis": {
"l1": {
"hash": "0xd6058858cd52906bf6025167275128e1b37627dfb25e84165a1e7dacab6b1a48",
"number": 23668700
},
"l2": {
"hash": "0xdc33d8c0ec9de14fc2c21bd6077309a0a856df22821bd092a2513426e096a789",
"number": 42810021
},
"l2_time": 1761567143,
"system_config": {
"batcherAddr": "0xdfd6c636dcb5a013c2431316c4a0762b84e70a5d",
"overhead": "0x0000000000000000000000000000000000000000000000000000000000000000",
"scalar": "0x010000000000000000000000000000000000000000000000000c3c9d00000558",
"gasLimit": 50000000,
"eip1559Params": "0x0000000000000000",
"operatorFeeParams": "0x0000000000000000000000000000000000000000000000000000000000000000",
"minBaseFee": 0
}
},
"block_time": 1,
"max_sequencer_drift": 600,
"seq_window_size": 7200,
"channel_timeout": 300,
"l1_chain_id": 1,
"l2_chain_id": 196,
"regolith_time": 0,
"canyon_time": 0,
"delta_time": 0,
"ecotone_time": 0,
"fjord_time": 0,
"granite_time": 0,
"holocene_time": 0,
"isthmus_time": 0,
"batch_inbox_address": "0x002bde9b0c0857aee2cffdea6b8723eaf5989449",
"deposit_contract_address": "0x64057ad1ddac804d0d26a7275b193d9daca19993",
"l1_system_config_address": "0x5065809af286321a05fbf85713b5d5de7c8f0433",
"protocol_versions_address": "0xc1fb115d8249a7e6b27c8bc6914cab7edf0b0f7e",
"chain_op_config": {
"eip1559Elasticity": 1,
"eip1559Denominator": 100000000,
"eip1559DenominatorCanyon": 100000000
}
}

View File

@@ -0,0 +1,45 @@
{
"genesis": {
"l1": {
"hash": "0x0ec957b104f8125b88f874dde8d8f236e9f952eb941102076406b108afaafc6e",
"number": 9430730
},
"l2": {
"hash": "0xccb16eb07b7a718c2ee374df57b0e28c9ac9d8d18ca6d3204cfbba661067855a",
"number": 12241700
},
"l2_time": 1760699568,
"system_config": {
"batcherAddr": "0x8edf9b54e1c693b7b0caea85e6a005c35e229124",
"overhead": "0x0000000000000000000000000000000000000000000000000000000000000000",
"scalar": "0x010000000000000000000000000000000000000000000000000c3c9d00000558",
"gasLimit": 30000000,
"eip1559Params": "0x0000000000000000",
"operatorFeeParams": "0x0000000000000000000000000000000000000000000000000000000000000000",
"minBaseFee": 0
}
},
"block_time": 1,
"max_sequencer_drift": 600,
"seq_window_size": 3600,
"channel_timeout": 300,
"l1_chain_id": 11155111,
"l2_chain_id": 1952,
"regolith_time": 0,
"canyon_time": 0,
"delta_time": 0,
"ecotone_time": 0,
"fjord_time": 0,
"granite_time": 0,
"holocene_time": 0,
"isthmus_time": 0,
"batch_inbox_address": "0x006737cc6980a7786a477ce46b491845509b19dc",
"deposit_contract_address": "0x1529a34331d7d85c8868fc88ec730ae56d3ec9c0",
"l1_system_config_address": "0x06be4b4a9a28ff8eed6da09447bc5daa676efac3",
"protocol_versions_address": "0x4e753a62ad7da17508dbc54a58e1e231c152baa2",
"chain_op_config": {
"eip1559Elasticity": 1,
"eip1559Denominator": 100000000,
"eip1559DenominatorCanyon": 250
}
}