Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document Dusk-4 #6

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions dusk-4/evm/genesis.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"config": {
"chainId": 912559,
"homesteadBlock": 0,
"eip150Block": 0,
"eip155Block": 0,
"eip158Block": 0,
"byzantiumBlock": 0,
"constantinopleBlock": 0,
"petersburgBlock": 0,
"istanbulBlock": 0,
"berlinBlock": 0,
"londonBlock": 0,
"terminalTotalDifficulty": 0,
"terminalTotalDifficultyPassed": true,
"ethash": {},
"astriaOverrideGenesisExtraData": false,
"astriaSequencerInitialHeight": 903,
"astriaRollupName": "astria-dusk-4-evm",
"astriaCelestiaInitialHeight": 1423678,
"astriaCelestiaHeightVariance": 100,
"astriaBridgeAddresses": ["0x0eef997a04cafe529dccaeafa86f70fe327276b1"],
"astriaBridgeAllowedAssetDenom": "nria"
},
"difficulty": "10000000",
"gasLimit": "8000000",
"alloc": {
}
}
13 changes: 13 additions & 0 deletions dusk-4/sequencer/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Astria Dusknet 4 Sequencer

## Software Versions

| Software | Version | Links |
|------------|---------|-------|
| Sequencer | v0.10.1 | [Docker](http://ghcr.io/astriaorg/sequencer:0.10.1--sequencer), [Code](https://github.com/astriaorg/astria/tree/v0.10.1--sequencer/crates/astria-sequencer) |
| CometBFT | v0.37.x | [Docker](http://docker.io/cometbft/cometbft:v0.37.x), [Code](https://github.com/cometbft/cometbft/tree/v0.37.x) |


## Config

The `timeout_commit` property for CometBFT should be set to 2s
104 changes: 104 additions & 0 deletions dusk-4/sequencer/genesis.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
{
"jsonrpc": "2.0",
"id": -1,
"result": {
"genesis": {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
{
"jsonrpc": "2.0",
"id": -1,
"result": {
"genesis": {
{

"genesis_time": "2023-09-22T17:22:35.092832Z",
"chain_id": "astria-dusk-4",
"initial_height": "1",
"consensus_params": {
"block": {
"max_bytes": "22020096",
"max_gas": "-1"
},
"evidence": {
"max_age_num_blocks": "100000",
"max_age_duration": "172800000000000",
"max_bytes": "1048576"
},
"validator": {
"pub_key_types": [
"ed25519"
]
},
"version": {
"app": "0"
}
},
"validators": [
{
"address": "230592632006DB2733444BB6DE11DB3F4B2F9AE4",
"pub_key": {
"type": "tendermint/PubKeyEd25519",
"value": "MkFfCdvuQpfMmoQcLCMSv5A/xTxIhg14iuZglzVaWF8="
},
"power": "1",
"name": "node0"
},
{
"address": "6F35496BCC8CF0EF9E2AC090FAEF578152549518",
"pub_key": {
"type": "tendermint/PubKeyEd25519",
"value": "CeKTMbL61MvTZ5hoA0hKL1REQUhejnNhEtKtSbg2Vso="
},
"power": "1",
"name": "node1"
},
{
"address": "115F94D8C98FFD73FE65182611140F0EDC7C3C94",
"pub_key": {
"type": "tendermint/PubKeyEd25519",
"value": "lvQ6hEiSjx5YCGTWn+ROCTxagqHUqAxZCG1+Z5ds2kU="
},
"power": "1",
"name": "node2"
},
{
"address": "60B5F4FED5CDE1F43E71CD03A4ACDCABB5724455",
"pub_key": {
"type": "tendermint/PubKeyEd25519",
"value": "ixbsw2r9ME9ikcWTwWSdtk+AxNNQ4PyzOjNnyiMMe58="
},
"power": "1",
"name": "node3"
}
],
"app_hash": "",
"app_state": {
"accounts": [
{
"address": "3fff1c39b9d163bfb9bcbf9dfea78675f1b4bc2c",
"balance": 3.402823669209385e+38
},
{
"address": "2e046327a2ccac7c8f8018ed44e43184b502eb3e",
"balance": 3.402823669209385e+38
},
{
"address": "8618a88a4827ad8ffb4a757048d320172f5eb245",
"balance": 3.402823669209385e+38
},
{
"address": "0eef997a04cafe529dccaeafa86f70fe327276b1",
"balance": 3.402823669209385e+38
}
],
"authority_sudo_address": "1c0c490f1b5528d8173c5de46d131160e4b2c0c3",
"native_asset_base_denomination": "nria",
"allowed_fee_assets": [
"nria"
],
"ibc_sudo_address": "1c0c490f1b5528d8173c5de46d131160e4b2c0c3",
"ibc_relayer_addresses": [
"1c0c490f1b5528d8173c5de46d131160e4b2c0c3",
"34fec43c7fcab9aef3b3cf8aba855e41ee69ca3a"
],
"ibc_params": {
"ibc_enabled": true,
"inbound_ics20_transfers_enabled": true,
"outbound_ics20_transfers_enabled": true
}
}
}
}
}
Comment on lines +97 to +99
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
}
}
}
}

4 changes: 4 additions & 0 deletions dusk-4/sequencer/peers.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[email protected]:26656
[email protected]:26656
[email protected]:26656
[email protected]:26656