From fe095e107674d662297d549e3432f5c1f78aec89 Mon Sep 17 00:00:00 2001 From: goldsquid Date: Sat, 8 Nov 2025 05:06:42 +0700 Subject: [PATCH] fix --- op/xlayer/{ => mainnet}/geth.toml | 0 op/xlayer/testnet/geth.toml | 24 ++++++++++++++++++++++++ 2 files changed, 24 insertions(+) rename op/xlayer/{ => mainnet}/geth.toml (100%) create mode 100644 op/xlayer/testnet/geth.toml diff --git a/op/xlayer/geth.toml b/op/xlayer/mainnet/geth.toml similarity index 100% rename from op/xlayer/geth.toml rename to op/xlayer/mainnet/geth.toml diff --git a/op/xlayer/testnet/geth.toml b/op/xlayer/testnet/geth.toml new file mode 100644 index 00000000..603630c0 --- /dev/null +++ b/op/xlayer/testnet/geth.toml @@ -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 +