Skip to content

Commit

Permalink
Add missing chainspec for local eth devnet (#29)
Browse files Browse the repository at this point in the history
* Add missing chainspec + dependency in Makefile

* Update genesis.json
  • Loading branch information
krzysztofziobro authored Nov 15, 2023
1 parent f367c61 commit d31860c
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 2 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
geth/
jwt.hex
history
genesis.json

# aleph node blockchain data
backup-stash/
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ watch-azero:

.PHONY: compile-azero
compile-azero: # compile azero contracts and generate artifacts
compile-azero:
compile-azero: azero-deps
cd azero && npm run compile

.PHONY: deploy-azero
Expand Down
40 changes: 40 additions & 0 deletions devnet-eth/execution/genesis.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"config": {
"chainId": 12345,
"homesteadBlock": 0,
"daoForkSupport": true,
"eip150Block": 0,
"eip155Block": 0,
"eip158Block": 0,
"byzantiumBlock": 0,
"constantinopleBlock": 0,
"petersburgBlock": 0,
"istanbulBlock": 0,
"muirGlacierBlock": 0,
"berlinBlock": 0,
"londonBlock": 0,
"arrowGlacierBlock": 0,
"grayGlacierBlock": 0,
"shanghaiTime": 1700059692,
"terminalTotalDifficulty": 0,
"terminalTotalDifficultyPassed": true
},
"nonce": "0x0",
"timestamp": "0x6554da2c",
"extraData": "0x0000000000000000000000000000000000000000000000000000000000000000123463a4b065722e99115d6c222f267d9cabb5240000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"gasLimit": "0x2faf0800",
"difficulty": "0x1",
"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"coinbase": "0x0000000000000000000000000000000000000000",
"alloc": {
"ee88da44b4901d7f86970c52dc5139af80c83edd": {
"balance": "0x54b40b1f852bda00000"
}
},
"number": "0x0",
"gasUsed": "0x0",
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"baseFeePerGas": null,
"excessBlobGas": null,
"blobGasUsed": null
}

0 comments on commit d31860c

Please sign in to comment.