Skip to content

Commit

Permalink
Update the genesis file for the Spark to new EIPs (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
gr8h authored May 16, 2024
1 parent 8097bf5 commit 69c3592
Show file tree
Hide file tree
Showing 2 changed files with 84 additions and 16 deletions.
2 changes: 1 addition & 1 deletion VERSION.FUSE.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.0.0
6.0.0
98 changes: 83 additions & 15 deletions src/Nethermind/Chains/spark.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,18 @@
"eip1559BaseFeeMaxChangeDenominator": "0x8",
"eip1559ElasticityMultiplier": "0x2",
"eip1559BaseFeeInitialValue": "0x3b9aca00",
"eip1559BaseFeeMinValue": "0x2540be400",
"eip1559BaseFeeMinValueTransition": "0xF4B906",
"eip2565Transition": "0xF4B906",
"eip3198Transition": "0xF4B906",
"eip3529Transition": "0xF4B906",
"eip3541Transition": "0xF4B906",
"eip3651TransitionTimestamp": "0x6645FFCC",
"eip3855TransitionTimestamp": "0x6645FFCC",
"eip3860TransitionTimestamp": "0x6645FFCC",
"eip1153TransitionTimestamp": "0x6645FFCC",
"eip5656TransitionTimestamp": "0x6645FFCC",
"eip6780TransitionTimestamp": "0x6645FFCC",
"maxCodeSize": 24576,
"maxCodeSizeTransition": "0x0"
},
Expand Down Expand Up @@ -151,46 +163,102 @@
"0x0000000000000000000000000000000000000005": {
"builtin": {
"name": "modexp",
"activate_at": 0,
"pricing": {
"modexp": {
"divisor": 20
"0": {
"price": {
"modexp": {
"divisor": 20
}
}
},
"0xF4B906": {
"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
}
}
},
"0xF4B906": {
"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
}
}
},
"0xF4B906": {
"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
}
}
},
"0xF4B906": {
"info": "EIP-1108 Istanbul HF",
"price": {
"alt_bn128_pairing": {
"base": 45000,
"pair": 34000
}
}
}
}
}
},
"0x0000000000000000000000000000000000000009": {
"builtin": {
"name": "blake2_f",
"pricing": {
"0xF4B906": {
"info": "EIP-152 Istanbul HF",
"price": {
"blake2_f": {
"gas_per_round": 1
}
}
}
}
}
Expand Down

0 comments on commit 69c3592

Please sign in to comment.