-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved the local genesis.json and justfile to `/dev` directory, this requires just commands to be run with: ```shell just -f dev/justfile <recipe> ``` This should be merged alongside updates to the docs in this PR: astriaorg/docs#95 --------- Co-authored-by: Sam Bukowski <[email protected]> Co-authored-by: Jesse Snyder <[email protected]>
- Loading branch information
1 parent
681831d
commit b0bacf6
Showing
2 changed files
with
78 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"config": { | ||
"chainId": 1337, | ||
"homesteadBlock": 0, | ||
"eip150Block": 0, | ||
"eip155Block": 0, | ||
"eip158Block": 0, | ||
"byzantiumBlock": 0, | ||
"constantinopleBlock": 0, | ||
"petersburgBlock": 0, | ||
"istanbulBlock": 0, | ||
"berlinBlock": 0, | ||
"londonBlock": 0, | ||
"shanghaiTime": 0, | ||
"terminalTotalDifficulty": 0, | ||
"terminalTotalDifficultyPassed": true, | ||
"ethash": {}, | ||
"astriaRollupName": "astria-test-chain-1", | ||
"astriaOverrideGenesisExtraData": true, | ||
"astriaSequencerInitialHeight": 2, | ||
"astriaSequencerAddressPrefix": "astria", | ||
"astriaCelestiaInitialHeight": 2, | ||
"astriaCelestiaHeightVariance": 10, | ||
"astriaBridgeAddresses": [], | ||
"astriaBridgeSenderAddress": "0x0000000000000000000000000000000000000000", | ||
"astriaFeeCollectors": { | ||
"1": "0xaC21B97d35Bf75A7dAb16f35b111a50e78A72F30" | ||
}, | ||
"astriaEIP1559Params": { | ||
"1": { "minBaseFee": 0, "elasticityMultiplier": 2, "BaseFeeChangeDenominator": 8 } | ||
} | ||
}, | ||
"difficulty": "10000000", | ||
"gasLimit": "8000000", | ||
"alloc": { | ||
"0xA2A7d9CA42EF412EEFbb3D0157d5f199Af7f2780": { "balance": "300000000000000000000" } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
default: | ||
@just --list | ||
|
||
set dotenv-load | ||
set fallback | ||
|
||
# build a local geth binary | ||
build: | ||
cd .. && make geth | ||
|
||
# initialize a local geth node | ||
init: | ||
../build/bin/geth --db.engine pebble \ | ||
--state.scheme=path \ | ||
init geth-genesis-local.json | ||
|
||
# start a local geth node | ||
run: | ||
../build/bin/geth \ | ||
--http \ | ||
--http.addr=0.0.0.0 \ | ||
--http.port=8545 \ | ||
--http.corsdomain="*" \ | ||
--http.vhosts="*" \ | ||
--http.api=eth,net,web3,debug,txpool \ | ||
--ws \ | ||
--ws.addr=0.0.0.0 \ | ||
--ws.port=8546 \ | ||
--ws.origins="*" \ | ||
--grpc \ | ||
--grpc.addr=0.0.0.0 \ | ||
--grpc.port=50051 \ | ||
--db.engine=pebble \ | ||
--state.scheme=path | ||
|
||
# this is specifically for mac os | ||
clean: | ||
rm -rf ~/Library/Ethereum/ | ||
|
||
clean-restart: clean init run |