mirror of
https://github.com/luxfi/netrunner.git
synced 2026-07-27 00:04:23 +00:00
rename: Etna → Quasar Edition in netrunner genesis + example
- genesis.json: cChainGenesis embedded JSON
"etnaTimestamp": 253399622400 → "quasarTimestamp": 253399622400
- examples/local/testnet/main.go: setEtnaTimestamp builder helper
"etnaTimestamp" config key → "quasarTimestamp"
Matches luxfi/upgrade + luxfi/genesis SoT renames.
Leaves .github/workflows/docker.yml runner-label WIP untouched.
This commit is contained in:
@@ -76,7 +76,7 @@ func activateEVMUpgrades(genesisJSON []byte) ([]byte, error) {
|
|||||||
"cortinaBlockTimestamp",
|
"cortinaBlockTimestamp",
|
||||||
"durangoTimestamp",
|
"durangoTimestamp",
|
||||||
"durangoBlockTimestamp",
|
"durangoBlockTimestamp",
|
||||||
"etnaTimestamp",
|
"quasarTimestamp",
|
||||||
"fortunaTimestamp",
|
"fortunaTimestamp",
|
||||||
"graniteTimestamp",
|
"graniteTimestamp",
|
||||||
"cancunTime",
|
"cancunTime",
|
||||||
|
|||||||
+1
-1
@@ -4099,7 +4099,7 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"cChainGenesis": "{\n \"config\": {\n \"chainId\": 96369,\n \"homesteadBlock\": 0,\n \"eip150Block\": 0,\n \"eip155Block\": 0,\n \"eip158Block\": 0,\n \"byzantiumBlock\": 0,\n \"constantinopleBlock\": 0,\n \"petersburgBlock\": 0,\n \"istanbulBlock\": 0,\n \"muirGlacierBlock\": 0,\n \"berlinBlock\": 0,\n \"londonBlock\": 0,\n \"arrowGlacierBlock\": 0,\n \"grayGlacierBlock\": 0,\n \"mergeNetsplitBlock\": 0,\n \"shanghaiTime\": 0,\n \"cancunTime\": 253399622400,\n \"terminalTotalDifficulty\": 0,\n \"banffBlockTimestamp\": 253399622400,\n \"cortinaBlockTimestamp\": 253399622400,\n \"durangoBlockTimestamp\": 253399622400,\n \"etnaTimestamp\": 253399622400,\n \"fortunaTimestamp\": 253399622400,\n \"graniteTimestamp\": 253399622400,\n \"blobSchedule\": {\n \"cancun\": {\n \"max\": 6,\n \"target\": 3,\n \"baseFeeUpdateFraction\": 3338477\n }\n },\n \"feeConfig\": {\n \"gasLimit\": 12000000,\n \"targetBlockRate\": 2,\n \"minBaseFee\": 25000000000,\n \"targetGas\": 60000000,\n \"baseFeeChangeDenominator\": 36,\n \"minBlockGasCost\": 0,\n \"maxBlockGasCost\": 1000000,\n \"blockGasCostStep\": 200000\n },\n \"evmTimestamp\": 0,\n \"warpConfig\": {\n \"blockTimestamp\": 1730446786,\n \"quorumNumerator\": 67,\n \"requirePrimaryNetworkSigners\": false\n }\n },\n \"nonce\": \"0x0\",\n \"timestamp\": \"0x672485c2\",\n \"extraData\": \"0x\",\n \"gasLimit\": \"0xb71b00\",\n \"difficulty\": \"0x0\",\n \"mixHash\": \"0x0000000000000000000000000000000000000000000000000000000000000000\",\n \"coinbase\": \"0x0000000000000000000000000000000000000000\",\n \"alloc\": {\n \"0200000000000000000000000000000000000005\": {\n \"balance\": \"0x0\",\n \"nonce\": \"0x1\",\n \"code\": \"0x01\"\n },\n \"0x9011E888251AB053B7bD1cdB598Db4f9DEd94714\": {\n \"balance\": \"0x193e5939a08ce9dbd480000000\"\n }\n },\n \"stateRoot\": \"0x2d1cedac263020c5c56ef962f6abe0da1f5217bdc6468f8c9258a0ea23699e80\",\n \"number\": \"0x0\",\n \"gasUsed\": \"0x0\",\n \"parentHash\": \"0x0000000000000000000000000000000000000000000000000000000000000000\",\n \"baseFeePerGas\": \"0x5d21dba00\",\n \"skipPostMergeFields\": true,\n \"genesisHash\": \"0x3f4fa2a0b0ce089f52bf0ae9199c75ffdd76ecafc987794050cb0d286f1ec61e\"\n}\n",
|
"cChainGenesis": "{\n \"config\": {\n \"chainId\": 96369,\n \"homesteadBlock\": 0,\n \"eip150Block\": 0,\n \"eip155Block\": 0,\n \"eip158Block\": 0,\n \"byzantiumBlock\": 0,\n \"constantinopleBlock\": 0,\n \"petersburgBlock\": 0,\n \"istanbulBlock\": 0,\n \"muirGlacierBlock\": 0,\n \"berlinBlock\": 0,\n \"londonBlock\": 0,\n \"arrowGlacierBlock\": 0,\n \"grayGlacierBlock\": 0,\n \"mergeNetsplitBlock\": 0,\n \"shanghaiTime\": 0,\n \"cancunTime\": 253399622400,\n \"terminalTotalDifficulty\": 0,\n \"banffBlockTimestamp\": 253399622400,\n \"cortinaBlockTimestamp\": 253399622400,\n \"durangoBlockTimestamp\": 253399622400,\n \"quasarTimestamp\": 253399622400,\n \"fortunaTimestamp\": 253399622400,\n \"graniteTimestamp\": 253399622400,\n \"blobSchedule\": {\n \"cancun\": {\n \"max\": 6,\n \"target\": 3,\n \"baseFeeUpdateFraction\": 3338477\n }\n },\n \"feeConfig\": {\n \"gasLimit\": 12000000,\n \"targetBlockRate\": 2,\n \"minBaseFee\": 25000000000,\n \"targetGas\": 60000000,\n \"baseFeeChangeDenominator\": 36,\n \"minBlockGasCost\": 0,\n \"maxBlockGasCost\": 1000000,\n \"blockGasCostStep\": 200000\n },\n \"evmTimestamp\": 0,\n \"warpConfig\": {\n \"blockTimestamp\": 1730446786,\n \"quorumNumerator\": 67,\n \"requirePrimaryNetworkSigners\": false\n }\n },\n \"nonce\": \"0x0\",\n \"timestamp\": \"0x672485c2\",\n \"extraData\": \"0x\",\n \"gasLimit\": \"0xb71b00\",\n \"difficulty\": \"0x0\",\n \"mixHash\": \"0x0000000000000000000000000000000000000000000000000000000000000000\",\n \"coinbase\": \"0x0000000000000000000000000000000000000000\",\n \"alloc\": {\n \"0200000000000000000000000000000000000005\": {\n \"balance\": \"0x0\",\n \"nonce\": \"0x1\",\n \"code\": \"0x01\"\n },\n \"0x9011E888251AB053B7bD1cdB598Db4f9DEd94714\": {\n \"balance\": \"0x193e5939a08ce9dbd480000000\"\n }\n },\n \"stateRoot\": \"0x2d1cedac263020c5c56ef962f6abe0da1f5217bdc6468f8c9258a0ea23699e80\",\n \"number\": \"0x0\",\n \"gasUsed\": \"0x0\",\n \"parentHash\": \"0x0000000000000000000000000000000000000000000000000000000000000000\",\n \"baseFeePerGas\": \"0x5d21dba00\",\n \"skipPostMergeFields\": true,\n \"genesisHash\": \"0x3f4fa2a0b0ce089f52bf0ae9199c75ffdd76ecafc987794050cb0d286f1ec61e\"\n}\n",
|
||||||
"initialStakeDuration": 31536000,
|
"initialStakeDuration": 31536000,
|
||||||
"initialStakeDurationOffset": 5400,
|
"initialStakeDurationOffset": 5400,
|
||||||
"initialStakedFunds": [
|
"initialStakedFunds": [
|
||||||
|
|||||||
Reference in New Issue
Block a user