From c159b18225b8ae04dc1a2edcb96def87e2bfc396 Mon Sep 17 00:00:00 2001 From: Hesham Shabanah Date: Tue, 20 Feb 2024 17:01:12 +0100 Subject: [PATCH] fix: Updated fuse/spark bootnodes (#9, #10) Co-authored-by: Aliaksei Malyshau <91066845+AliakseiMalyshau@users.noreply.github.com> --- src/Nethermind/Chains/fuse.json | 175 ++++++++++++++++++++++++++++--- src/Nethermind/Chains/spark.json | 63 +++++++++-- 2 files changed, 214 insertions(+), 24 deletions(-) diff --git a/src/Nethermind/Chains/fuse.json b/src/Nethermind/Chains/fuse.json index da26f3fc3eb..e9d6f355c1c 100644 --- a/src/Nethermind/Chains/fuse.json +++ b/src/Nethermind/Chains/fuse.json @@ -10,7 +10,9 @@ "validators": { "multi": { "0": { - "list": ["0xd9176e84898a0054680aec3f7c056b200c3d96c3"] + "list": [ + "0xd9176e84898a0054680aec3f7c056b200c3d96c3" + ] }, "100": { "safeContract": "0x3014ca10b91cb3D0AD85fEf7A3Cb95BCAc9c0f79" @@ -24,7 +26,7 @@ "gasLimitBoundDivisor": "0x400", "maximumExtraDataSize": "0x20", "minGasLimit": "0x1388", - "networkID" : "0x07a", + "networkID": "0x07a", "eip155Transition": 0, "validateChainIdTransition": 0, "eip140Transition": 0, @@ -60,20 +62,163 @@ "gasLimit": "0x989680" }, "nodes": [ - "enode://c78e7cce5e84a3a6c723d10dc40a033ad50dbc835b3a1f1d85b1a4f299afe8e3a8112fe26b045e23370bbf22c179d0d9f6e4f8302bf72dea67fa3b684232d6eb@3.125.148.125:30303", - "enode://0690b49d2de17516e8776df4cd171da148769e43e9ac0c9b1ef6e9f6f6a983f5d508ce44bbb6e974c663611c3c03492cdf3d6838907e0ce392c125741912d8a5@3.121.55.130:30303", - "enode://7bc2e851cad345437984d6550b1b98d7029b694f2793e2c592637a793b243760060a5a3e00d6212b75f1c534a97b41d532221071242d01116e9ff3c8dcc95672@95.217.1.4:30303" + "enode://60ca021ca7a60c5fedeb39344d6ef282c6c8574c87bf492dcef7ed8dd9611c5a33da2b286f12eb81554c403718565a749d5028c9bcfc1d5b90b8d105ac04da4b@35.205.73.124:30303", + "enode://550041c1883866ee537ddf220c0ea84b614bce27e9adb8de85b3b86bd745d7ed9575043a78fabe192f1f0ceee71a343f1d5b35f09e6bb41f24ac69bfe214f414@34.76.228.61:30303" ], "accounts": { - "0x0000000000000000000000000000000000000001": { "balance": "1", "builtin": { "name": "ecrecover", "pricing": { "linear": { "base": 3000, "word": 0 } } } }, - "0x0000000000000000000000000000000000000002": { "balance": "1", "builtin": { "name": "sha256", "pricing": { "linear": { "base": 60, "word": 12 } } } }, - "0x0000000000000000000000000000000000000003": { "balance": "1", "builtin": { "name": "ripemd160", "pricing": { "linear": { "base": 600, "word": 120 } } } }, - "0x0000000000000000000000000000000000000004": { "balance": "1", "builtin": { "name": "identity", "pricing": { "linear": { "base": 15, "word": 3 } } } }, - "0x0000000000000000000000000000000000000005": { "builtin": { "name": "modexp", "pricing": { "0": { "price": { "modexp": { "divisor": 20 } } }, "0xd29240": { "info": "EIP-2565: ModExp Gas Cost.", "price": { "modexp2565": {} } } } } }, - "0x0000000000000000000000000000000000000006": { "builtin": { "name": "alt_bn128_add", "pricing": { "0": { "price": { "alt_bn128_const_operations": { "price": 500 } } }, "0xd29240": { "info": "EIP-1108 Istanbul HF", "price": { "alt_bn128_const_operations": { "price": 150 } } } } } }, - "0x0000000000000000000000000000000000000007": { "builtin": { "name": "alt_bn128_mul", "pricing": { "0": { "price": { "alt_bn128_const_operations": { "price": 4000 } } }, "0xd29240": { "info": "EIP-1108 Istanbul HF", "price": { "alt_bn128_const_operations": { "price": 6000 } } } } } }, - "0x0000000000000000000000000000000000000008": { "builtin": { "name": "alt_bn128_pairing", "pricing": { "0": { "price": { "alt_bn128_pairing": { "base": 100000, "pair": 80000 } } }, "0xd29240": { "info": "EIP-1108 Istanbul HF", "price": { "alt_bn128_pairing": { "base": 45000, "pair": 34000 } } } } } }, - "0x0000000000000000000000000000000000000009": { "builtin": { "name": "blake2_f", "pricing": { "0xd29240": { "info": "EIP-152 Istanbul HF", "price": { "blake2_f": { "gas_per_round": 1 } } } } } }, - "0xd9176e84898a0054680aec3f7c056b200c3d96c3": { "balance": "300000000000000000000000000" } + "0x0000000000000000000000000000000000000001": { + "balance": "1", + "builtin": { + "name": "ecrecover", + "pricing": { + "linear": { + "base": 3000, + "word": 0 + } + } + } + }, + "0x0000000000000000000000000000000000000002": { + "balance": "1", + "builtin": { + "name": "sha256", + "pricing": { + "linear": { + "base": 60, + "word": 12 + } + } + } + }, + "0x0000000000000000000000000000000000000003": { + "balance": "1", + "builtin": { + "name": "ripemd160", + "pricing": { + "linear": { + "base": 600, + "word": 120 + } + } + } + }, + "0x0000000000000000000000000000000000000004": { + "balance": "1", + "builtin": { + "name": "identity", + "pricing": { + "linear": { + "base": 15, + "word": 3 + } + } + } + }, + "0x0000000000000000000000000000000000000005": { + "builtin": { + "name": "modexp", + "pricing": { + "0": { + "price": { + "modexp": { + "divisor": 20 + } + } + }, + "0xd29240": { + "info": "EIP-2565: ModExp Gas Cost.", + "price": { + "modexp2565": {} + } + } + } + } + }, + "0x0000000000000000000000000000000000000006": { + "builtin": { + "name": "alt_bn128_add", + "pricing": { + "0": { + "price": { + "alt_bn128_const_operations": { + "price": 500 + } + } + }, + "0xd29240": { + "info": "EIP-1108 Istanbul HF", + "price": { + "alt_bn128_const_operations": { + "price": 150 + } + } + } + } + } + }, + "0x0000000000000000000000000000000000000007": { + "builtin": { + "name": "alt_bn128_mul", + "pricing": { + "0": { + "price": { + "alt_bn128_const_operations": { + "price": 4000 + } + } + }, + "0xd29240": { + "info": "EIP-1108 Istanbul HF", + "price": { + "alt_bn128_const_operations": { + "price": 6000 + } + } + } + } + } + }, + "0x0000000000000000000000000000000000000008": { + "builtin": { + "name": "alt_bn128_pairing", + "pricing": { + "0": { + "price": { + "alt_bn128_pairing": { + "base": 100000, + "pair": 80000 + } + } + }, + "0xd29240": { + "info": "EIP-1108 Istanbul HF", + "price": { + "alt_bn128_pairing": { + "base": 45000, + "pair": 34000 + } + } + } + } + } + }, + "0x0000000000000000000000000000000000000009": { + "builtin": { + "name": "blake2_f", + "pricing": { + "0xd29240": { + "info": "EIP-152 Istanbul HF", + "price": { + "blake2_f": { + "gas_per_round": 1 + } + } + } + } + } + }, + "0xd9176e84898a0054680aec3f7c056b200c3d96c3": { + "balance": "300000000000000000000000000" + } } } \ No newline at end of file diff --git a/src/Nethermind/Chains/spark.json b/src/Nethermind/Chains/spark.json index d5fce97ed0d..02240ce9288 100644 --- a/src/Nethermind/Chains/spark.json +++ b/src/Nethermind/Chains/spark.json @@ -10,7 +10,9 @@ "validators": { "multi": { "0": { - "list": ["0xba7829b381f07cca0d186bdf619fdc6c7f756d0a"] + "list": [ + "0xba7829b381f07cca0d186bdf619fdc6c7f756d0a" + ] }, "1000": { "safeContract": "0xC8c3a332f9e4CE6bfFFcf967026cB006Db2311c7" @@ -91,61 +93,104 @@ "difficulty": "0x20000", "gasLimit": "0x5F5E100" }, + "nodes": [ + "enode://008870748a938f4a6599d83c1238f719b0a67e4ae2d32e7542628c43f8af4185bd54124a0a4b80ec54a95098f8ae08174c5bc7fadb0349c0b70332dff22af061@35.205.144.49:30303", + "enode://d377e5a6fb2d0b44b98e1382c9c16633bdd407843f83f21d17b09fdfa5f79175eb55113c6789fa50b7717d08cb3b24b7485951afa0fe9ca696919202e35170a6@34.34.138.246:30303" + ], "accounts": { "0x0000000000000000000000000000000000000001": { "balance": "1", "builtin": { "name": "ecrecover", - "pricing": { "linear": { "base": 3000, "word": 0 } } + "pricing": { + "linear": { + "base": 3000, + "word": 0 + } + } } }, "0x0000000000000000000000000000000000000002": { "balance": "1", "builtin": { "name": "sha256", - "pricing": { "linear": { "base": 60, "word": 12 } } + "pricing": { + "linear": { + "base": 60, + "word": 12 + } + } } }, "0x0000000000000000000000000000000000000003": { "balance": "1", "builtin": { "name": "ripemd160", - "pricing": { "linear": { "base": 600, "word": 120 } } + "pricing": { + "linear": { + "base": 600, + "word": 120 + } + } } }, "0x0000000000000000000000000000000000000004": { "balance": "1", "builtin": { "name": "identity", - "pricing": { "linear": { "base": 15, "word": 3 } } + "pricing": { + "linear": { + "base": 15, + "word": 3 + } + } } }, "0x0000000000000000000000000000000000000005": { "builtin": { "name": "modexp", "activate_at": 0, - "pricing": { "modexp": { "divisor": 20 } } + "pricing": { + "modexp": { + "divisor": 20 + } + } } }, "0x0000000000000000000000000000000000000006": { "builtin": { "name": "alt_bn128_add", "activate_at": 0, - "pricing": { "linear": { "base": 500, "word": 0 } } + "pricing": { + "linear": { + "base": 500, + "word": 0 + } + } } }, "0x0000000000000000000000000000000000000007": { "builtin": { "name": "alt_bn128_mul", "activate_at": 0, - "pricing": { "linear": { "base": 40000, "word": 0 } } + "pricing": { + "linear": { + "base": 40000, + "word": 0 + } + } } }, "0x0000000000000000000000000000000000000008": { "builtin": { "name": "alt_bn128_pairing", "activate_at": 0, - "pricing": { "alt_bn128_pairing": { "base": 100000, "pair": 80000 } } + "pricing": { + "alt_bn128_pairing": { + "base": 100000, + "pair": 80000 + } + } } }, "0xba7829b381f07cca0d186bdf619fdc6c7f756d0a": {