Skip to content

Commit

Permalink
feature: Support EIPs upto Cancun
Browse files Browse the repository at this point in the history
Update genesis file for Spark testnet to include configuration for EIP-1559 support.

Add new EIP
  • Loading branch information
gr8h committed Jun 25, 2024
1 parent be00ee1 commit c6a9059
Show file tree
Hide file tree
Showing 2 changed files with 90 additions and 20 deletions.
2 changes: 1 addition & 1 deletion VERSION.FUSE.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.0.5
6.0.1
108 changes: 89 additions & 19 deletions src/Nethermind/Chains/spark.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@
"validators": {
"multi": {
"0": {
"list": [
"0xba7829b381f07cca0d186bdf619fdc6c7f756d0a"
]
"list": ["0xba7829b381f07cca0d186bdf619fdc6c7f756d0a"]
},
"1000": {
"safeContract": "0xC8c3a332f9e4CE6bfFFcf967026cB006Db2311c7"
Expand Down Expand Up @@ -80,6 +78,22 @@
"eip2028Transition": "0x13d620",
"eip2929Transition": "0x13d620",
"eip2930Transition": "0x13d620",
"eip1559Transition": "0xE06938",
"eip1559BaseFeeMaxChangeDenominator": "0x8",
"eip1559ElasticityMultiplier": "0x2",
"eip1559BaseFeeInitialValue": "0x3b9aca00",
"eip1559BaseFeeMinValue": "0x2540be400",
"eip1559BaseFeeMinValueTransition": "0xF4FC04",
"eip2565Transition": "0xF4FC04",
"eip3198Transition": "0xF4FC04",
"eip3529Transition": "0xF4FC04",
"eip3541Transition": "0xF4FC04",
"eip3651TransitionTimestamp": "0x664746C0",
"eip3855TransitionTimestamp": "0x664746C0",
"eip3860TransitionTimestamp": "0x664746C0",
"eip1153TransitionTimestamp": "0x664746C0",
"eip5656TransitionTimestamp": "0x664746C0",
"eip6780TransitionTimestamp": "0x664746C0",
"maxCodeSize": 24576,
"maxCodeSizeTransition": "0x0"
},
Expand Down Expand Up @@ -149,46 +163,102 @@
"0x0000000000000000000000000000000000000005": {
"builtin": {
"name": "modexp",
"activate_at": 0,
"pricing": {
"modexp": {
"divisor": 20
"0": {
"price": {
"modexp": {
"divisor": 20
}
}
},
"0xF4FC04": {
"info": "EIP-2565: ModExp Gas Cost.",
"price": {
"modexp2565": {}
}
}
}
}
},
"0x0000000000000000000000000000000000000006": {
"builtin": {
"name": "alt_bn128_add",
"activate_at": 0,
"pricing": {
"linear": {
"base": 500,
"word": 0
"0": {
"price": {
"alt_bn128_const_operations": {
"price": 500
}
}
},
"0xF4FC04": {
"info": "EIP-1108 Istanbul HF",
"price": {
"alt_bn128_const_operations": {
"price": 150
}
}
}
}
}
},
"0x0000000000000000000000000000000000000007": {
"builtin": {
"name": "alt_bn128_mul",
"activate_at": 0,
"pricing": {
"linear": {
"base": 40000,
"word": 0
"0": {
"price": {
"alt_bn128_const_operations": {
"price": 4000
}
}
},
"0xF4FC04": {
"info": "EIP-1108 Istanbul HF",
"price": {
"alt_bn128_const_operations": {
"price": 6000
}
}
}
}
}
},
"0x0000000000000000000000000000000000000008": {
"builtin": {
"name": "alt_bn128_pairing",
"activate_at": 0,
"pricing": {
"alt_bn128_pairing": {
"base": 100000,
"pair": 80000
"0": {
"price": {
"alt_bn128_pairing": {
"base": 100000,
"pair": 80000
}
}
},
"0xF4FC04": {
"info": "EIP-1108 Istanbul HF",
"price": {
"alt_bn128_pairing": {
"base": 45000,
"pair": 34000
}
}
}
}
}
},
"0x0000000000000000000000000000000000000009": {
"builtin": {
"name": "blake2_f",
"pricing": {
"0xF4FC04": {
"info": "EIP-152 Istanbul HF",
"price": {
"blake2_f": {
"gas_per_round": 1
}
}
}
}
}
Expand All @@ -197,4 +267,4 @@
"balance": "300000000000000000000000000"
}
}
}
}

0 comments on commit c6a9059

Please sign in to comment.