Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
6 changes: 3 additions & 3 deletions astria/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

| Software | Version | Links |
|------------|---------|-------|
| Sequencer | v1.0.0 | [Docker](http://ghcr.io/astriaorg/sequencer:1.0.0-rc.1), [Code](https://github.com/astriaorg/astria/tree/sequencer-v1.0.0/crates/astria-sequencer) |
| CometBFT | v0.38.11 | [Docker](http://docker.io/cometbft/cometbft:v0.38.11), [Code](https://github.com/cometbft/cometbft/tree/v0.38.11) |
| Sequencer-relayer | v1.0.0 | [Docker](http://ghcr.io/astriaorg/sequencer-relayer:1.0.0-rc.1), [Code](https://github.com/astriaorg/astria/tree/sequencer-relayer-v1.0.0/crates/astria-sequencer-relayer) |
| Sequencer | v3.0.0 | [Docker](http://ghcr.io/astriaorg/sequencer:3.0.0), [Code](https://github.com/astriaorg/astria/tree/sequencer-v3.0.0/crates/astria-sequencer) |
| CometBFT | v0.38.17 | [Docker](http://docker.io/cometbft/cometbft:v0.38.17), [Code](https://github.com/cometbft/cometbft/tree/v0.38.17) |
| Sequencer-relayer | v1.0.0 | [Docker](http://ghcr.io/astriaorg/sequencer-relayer:1.0.0), [Code](https://github.com/astriaorg/astria/tree/sequencer-relayer-v1.0.0/crates/astria-sequencer-relayer) |

## Config

Expand Down
113 changes: 3 additions & 110 deletions astria/full-node-values.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
global:
namespace: "" # add namespace here
useTTY: true
network: mainnet

# Override value example for full-node from main chart
moniker: '' # add moniker here

images:
sequencer:
tag: "1.0.0"
cometbft:
tag: "v0.38.11"

# When deploying in a production environment should use a secret provider
# This is configured for use with GCP, need to set own resource names
# and keys
Expand Down Expand Up @@ -76,113 +71,11 @@ cometbft:
secret:
resourceName: "projects/$PROJECT_ID/secrets/privValidatorKey/versions/latest"

genesis:
chainId: astria
genesisTime: "2024-10-25T21:20:00.000000Z"
authoritySudoAddress: astria1f7d96l29kz22q2tcwrpg925dxt7z8jtsjgs9uh
nativeAssetBaseDenomination: false
allowedFeeAssets: []
ibc:
enabled: true
inboundEnabled: true
outboundEnabled: true
sudoAddress: astria1v70qrgnua42f4x3kl40d60ae2zftftmqe4c7gy
relayerAddresses:
- astria1pz0txxwcenc98vx6alnprcef46kyrvrya8cs8p
genesisAccounts: []
fees:
feeChange:
base: "0"
multiplier: "0"
sudoAddressChange:
base: "0"
multiplier: "0"
feeAssetChange:
base: "0"
multiplier: "0"
validatorUpdate:
base: "0"
multiplier: "0"
ibcSudoChange:
base: "0"
multiplier: "0"
ibcRelayerChange:
base: "0"
multiplier: "0"
ibcRelay:
base: "0"
multiplier: "0"
initBridgeAccount:
base: "10000000"
multiplier: "0"
bridgeSudoChange:
base: "1000000"
multiplier: "0"
rollupDataSubmission: false
bridgeLock: false
transfer: false
bridgeUnlock: false
ics20Withdrawal: false
validators:
# Astria astria0
- name: astria0
power: '100'
address: 63FD0CE49F485F167A8B94B9E80DBBD351FA9F98
pubKey: 8rPKInUBqFKv7Wie/O4G9P6wHWccMfifpeU/BlhFaHw=
# Astria astria1
- name: astria1
power: '100'
address: 4E72A7432B5C0FAEC21CF251535781723A8248A7
pubKey: IzGYindOUk15ZL6bh6j8+fjSRgjeoL93txgA9ETfFXI=
# Astria astria2
- name: astria2
power: '100'
address: 47BD55BC6E3CA4A8519C372744AEE40C9340B8B4
pubKey: S9VKKZgwdtiWWll3PT1yn+xgqZLci+MMtPmH2wuux+w=
# Astria node3
- name: astria3
power: '100'
address: 3A7E64DFA6E11958B5A0903EA4C3D5A8E662C503
pubKey: XntgAVoWJS7SE7hSw9OHyHBrP50+l8mZc/ctaQWIseQ=
# Nodes.Guru
- name: Nodes.Guru
power: '25'
address: 8F6D2388C4C068A0217F75E914C3FBA8E28079B7
pubKey: S4vhA0z7Gw5p3Yszwnlm+BdXELSOeRH4/jBL2r55zo8=
# Qubelabs
- name: Qubelabs
power: '25'
address: 3CB3760D29B485C711D27D5AC5CE6B4AF048263D
pubKey: KA/DKcILRpYVybz9ZHh784yZr9WvvCHRKzy+Av9KlUg=
# DSRV
- name: DSRV
power: '25'
address: 19685F5CFF69B64EF6C50E8BB4BA506DB1E1BB5C
pubKey: jqnJZ1Op4TPiNTHNVFyvXtdRuObhDhnl1cKyH/FO3kY=
# Nocturnal Labs
- name: Nocturnal Labs
power: '25'
address: 816B7C75D3C43D5F700D67975F020D938AF882F9
pubKey: IdsrfKarwcDa0ToNrDfRXPByuYdlwSDxvwJlJM0mc9A=
# P-OPS Team
- name: P-OPS Team
power: '25'
address: 4E8AD81B9361FBF6DBC853514F1B259A75B2D5C0
pubKey: hCbuIHcC8Ivufr1hR/cPUPetS0snT9fSzgMQgWKZx9c=
# Tessellated
- name: Tessellated
power: '25'
address: 666CBCE466D0DECDBBB3982AF747B74E0BD44030
pubKey: gyhVdvDyxSV2XH0jby1vnmQitPowjm/pn1CDVprre2c=
# P2P.ORG - P2P Validator
- name: P2P.ORG - P2P Validator
power: '25'
address: 4FBB2E3BF3B5DDD7FCD5C4A028336F680098A1FB
pubKey: GLN47O9Iea9yKR9m8FMpZ180KL52Ht1i3yO9xu760Ew=

sequencer:
metrics:
enabled: true
priceFeed:
enabled: false
otel:
enabled: true
endpoint: http://otel-collector.monitoring.svc.cluster.local:4317
Expand Down
24 changes: 18 additions & 6 deletions astria/full-node.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ source $HOME/.cargo/env
```bash
git clone https://github.com/cometbft/cometbft
cd cometbft
git checkout tags/v0.38.11
git checkout tags/v0.38.17
make install
cd ../
```
Expand All @@ -71,7 +71,7 @@ cd ../
```bash
git clone https://github.com/astriaorg/astria.git
cd astria
git checkout tags/sequencer-v1.0.0
git checkout tags/sequencer-v3.0.0
cd crates/astria-sequencer/
cargo build --release
cd ../../../
Expand Down Expand Up @@ -125,16 +125,28 @@ architecture setups [here](https://docs.cometbft.com/v0.38/core/validators#valid
> ❗ Replace `/home/astria_org` **everywhere below** with the absolute path to
> your preferred directory. `systemd` requires this to be an absolute path!

#### Get Upgrades File

```bash
curl -o upgrades.json -s https://raw.githubusercontent.com/astriaorg/networks/main/astria/upgrades.json
mv upgrades.json /home/astria_org/upgrades.json
```


#### From `/home/astria_org`

> The .env file copied below has other settings you may want to change with
> regards to general configuration, especially around metrics and logging. It
> is self-documented.
>
> The bash script below uses sed to update the `ASTRIA_SEQUENCER_UPGRADES_FILEPATH`
> and the `ASTRIA_SEQUENCER_DB_FILEPATH` properties

```bash
mkdir /home/astria_org/sequencer-v1.0.0
cp ~/astria/target/release/astria-sequencer /home/astria_org/sequencer-v1.0.0/astria-sequencer
mkdir /home/astria_org/sequencer-v3.0.0
cp ~/astria/target/release/astria-sequencer /home/astria_org/sequencer-v3.0.0/astria-sequencer
cp ~/astria/crates/astria-sequencer/local.env.example /home/astria_org/astria-sequencer.env
sed -i'.bak' 's/"\/path\/to"/"\/home\/astria_org"/g' /home/astria_org/astria-sequencer.env
mkdir /home/astria_org/astria_db
sed -i'.bak' 's/"\/tmp\/astria_db"/"\/home\/astria_org\/astria_db"/g' /home/astria_org/astria-sequencer.env
```
Expand Down Expand Up @@ -197,7 +209,7 @@ Description=astria sequencer

[Service]
EnvironmentFile=/home/astria_org/astria-sequencer.env
ExecStart=/home/astria_org/sequencer-v1.0.0/astria-sequencer
ExecStart=/home/astria_org/sequencer-v3.0.0/astria-sequencer

# Restart service on failure
Restart=on-failure
Expand Down Expand Up @@ -316,5 +328,5 @@ has default storage classes.
### Install

```bash
helm install astria-full-node astria/sequencer --version 1.0.0-rc.4 \
helm install astria-full-node astria/sequencer --version 3.0.0 \
--namespace astria-astria-node --create-namespace -f full-node-values.yaml
21 changes: 21 additions & 0 deletions astria/upgrades.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"aspen": {
"baseInfo": {
"activationHeight": "8159500",
"appVersion": "3"
},
"priceFeedChange": {
"marketMapGenesis": {
"marketMap": {
"markets": {}
}
},
"oracleGenesis": {
"currencyPairGenesis": [],
"nextId": "0"
}
},
"validatorUpdateActionChange": {},
"ibcAcknowledgementFailureChange": {}
}
}
4 changes: 2 additions & 2 deletions dawn-1/sequencer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

| Software | Version | Links |
|------------|---------|-------|
| Sequencer | v1.0.0-rc.1 | [Docker](http://ghcr.io/astriaorg/sequencer:1.0.0-rc.1), [Code](https://github.com/astriaorg/astria/tree/sequencer-v1.0.0-rc.1/crates/astria-sequencer) |
| CometBFT | v0.38.11 | [Docker](http://docker.io/cometbft/cometbft:v0.38.11), [Code](https://github.com/cometbft/cometbft/tree/v0.38.11) |
| Sequencer | v3.0.0-rc.2 | [Docker](http://ghcr.io/astriaorg/sequencer:3.0.0-rc.2), [Code](https://github.com/astriaorg/astria/tree/sequencer-v3.0.0-rc.2/crates/astria-sequencer) |
| CometBFT | v0.38.17 | [Docker](http://docker.io/cometbft/cometbft:v0.38.17), [Code](https://github.com/cometbft/cometbft/tree/v0.38.17) |
| Sequencer-relayer | v1.0.0-rc.1 | [Docker](http://ghcr.io/astriaorg/sequencer-relayer:1.0.0-rc.1), [Code](https://github.com/astriaorg/astria/tree/sequencer-relayer-v1.0.0-rc.1/crates/astria-sequencer-relayer) |

## Config
Expand Down
77 changes: 4 additions & 73 deletions dawn-1/sequencer/full-node-values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
global:
namespace: "" # add namespace here
useTTY: true
network: "dawn-1"

# Override value example for full-node from main chart
moniker: '' # add moniker here
Expand Down Expand Up @@ -44,84 +45,14 @@ cometbft:
secret:
resourceName: "projects/$PROJECT_ID/secrets/privValidatorKey/versions/latest"

genesis:
chainId: dawn-1
genesisTime: "2024-10-16T21:13:04.150435Z"
# dawn-1-sudo-key-pkey
authoritySudoAddress: astria1qzs2g8ft4z5nacr40n93uxufgjqya9uqjmhhuj
nativeAssetBaseDenomination: "nria"
allowedFeeAssets: [] # Will be populated by sudo command
ibc:
enabled: true
inboundEnabled: true
outboundEnabled: true
sudoAddress: astria1p2lgmfyg2pszet8hstd22x7kzler7ahtf53w3r
relayerAddresses: [] # Will be populated by sudo command
genesisAccounts:
- address: astria1qzs2g8ft4z5nacr40n93uxufgjqya9uqjmhhuj
balance: "100000000000000000"
validators:
# Astria astria0
- name: astria0
power: '25'
address: 8F75C00017C59F326043A5A9054CB7C7421820D1
pubKey: lCInm5huYMUyplra1m67dfbhodnLX0YTo11xR9Za3Hw=
# Astria astria1
- name: astria1
power: '25'
address: 2DF1961B30F05D130F78BDEFC787CA5BF286A720
pubKey: oCF7nuz+1rKIBB7Yg8vqvZCLwC8fxdNRDmFMghKEcFM=
# Astria astria2
- name: astria2
power: '25'
address: EFCB40DAFA5A579BC4EEB08BAF89B9BDFC415291
pubKey: VRru43aqcqEb1QP2SRHVoUf+ArdddJ9WGgxDwEsrSw8=
# Astria node3
- name: astria3
power: '25'
address: 704DC2FBE0C2C88AFBDBE3AAC95E61C4865D0C4C
pubKey: p48+N7lI4xPaFIrRCAXqZSuzZO01vM4mSRDYqhwzGJA=
# Nodes.Guru
- name: Nodes.Guru
power: '1'
address: 1E96A71EC2205C55065C249719B691C9C10846B9
pubKey: GQ7oQo8pIZRcxvfm992cChf4nI5iRgNI3EzKK+4WrzY=
# Qubelabs
- name: Qubelabs
power: '1'
address: 50803720316D985B2FCD94C74105AFB836F6AB51
pubKey: pENCCfKZ+1qVxS7SSo3NYT1G0fUBql4nblaK2Wq6afA=
# DSRV
- name: DSRV
power: '1'
address: 5EA04241DCFCCCBCC6CAD46C2EA41317D98EFAC3
pubKey: FcCm9xUn8er0J+D6FnSVaJt7g/5J+JfUrigz91V+9BA=
# Nocturnal Labs
- name: Nocturnal Labs
power: '1'
address: F5BB9D2C9BC52D1F551D3B86A5AEB7C8B7AC97B9
pubKey: +KFHGN5eVHMpyxQdHYWiDFwQ4EWWNHWvpfUvlOGn7kM=
# P-OPS Team
- name: P-OPS Team
power: '1'
address: 8E097B67FA4DAC2858CB94D7CFE00B0B82C9321F
pubKey: NSsJJkx8puK0CEX1iZc+7rHBBo/DNrpXFxTsAYdgvgY=
# Tessellated
- name: Tessellated
power: '1'
address: 5F9F7087258A7ED9DA8217B9A8623FF04695978D
pubKey: r1151CNaMFBFa6ii3MyLyDzxsK49iTgZ9NqkPy59WPM=
# P2P.ORG - P2P Validator
- name: P2P.ORG - P2P Validator
power: '1'
address: 7B87C3E324F871A123B24BD36CCBB9BEC5DFCC0F
pubKey: 5v6vQJ+DYLhIZEzw96TMLgqS1A73czffLz1ilDgziWs=

sequencer:
metrics:
enabled: true
priceFeed:
enabled: false
otel:
enabled: true
enabled: false
endpoint: http://otel-collector.monitoring.svc.cluster.local:4317
tracesEndpoint: http://otel-collector.monitoring.svc.cluster.local:4317
tracesCompression: gzip
Expand Down
21 changes: 16 additions & 5 deletions dawn-1/sequencer/full-node.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ cd ../
```bash
git clone https://github.com/astriaorg/astria.git
cd astria
git checkout tags/sequencer-v1.0.0-rc.1
git checkout tags/sequencer-v3.0.0-rc.2
Copy link
Member

Choose a reason for hiding this comment

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

why rc.2 here when we use v3.0.0 for mainnet full node?

cd crates/astria-sequencer/
cargo build --release
cd ../../../
Expand Down Expand Up @@ -125,16 +125,27 @@ architecture setups [here](https://docs.cometbft.com/v0.38/core/validators#valid
> ❗ Replace `/home/astria_org` **everywhere below** with the absolute path to
> your preferred directory. `systemd` requires this to be an absolute path!

#### Get Upgrades File

```bash
curl -o upgrades.json -s https://raw.githubusercontent.com/astriaorg/networks/main/dawn-1/sequencer/upgrades.json
mv upgrades.json /home/astria_org/upgrades.json
```

#### From `/home/astria_org`

> The .env file copied below has other settings you may want to change with
> regards to general configuration, especially around metrics and logging. It
> is self-documented.
>
> The bash script below uses sed to update the `ASTRIA_SEQUENCER_UPGRADES_FILEPATH`
> and the `ASTRIA_SEQUENCER_DB_FILEPATH` properties

```bash
mkdir /home/astria_org/sequencer-1.0.0-rc.1
cp ~/astria/target/release/astria-sequencer /home/astria_org/sequencer-1.0.0-rc.1/astria-sequencer
mkdir /home/astria_org/sequencer-3.0.0-rc.2
Copy link
Member

Choose a reason for hiding this comment

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

same question on rc2 as above

cp ~/astria/target/release/astria-sequencer /home/astria_org/sequencer-3.0.0-rc.2/astria-sequencer
cp ~/astria/crates/astria-sequencer/local.env.example /home/astria_org/astria-sequencer.env
sed -i'.bak' 's/"\/path\/to"/"\/home\/astria_org"/g' /home/astria_org/astria-sequencer.env
mkdir /home/astria_org/astria_db
sed -i'.bak' 's/"\/tmp\/astria_db"/"\/home\/astria_org\/astria_db"/g' /home/astria_org/astria-sequencer.env
```
Expand Down Expand Up @@ -197,7 +208,7 @@ Description=astria sequencer

[Service]
EnvironmentFile=/home/astria_org/astria-sequencer.env
ExecStart=/home/astria_org/sequencer-1.0.0-rc.1/astria-sequencer
ExecStart=/home/astria_org/sequencer-3.0.0-rc.2/astria-sequencer

# Restart service on failure
Restart=on-failure
Expand Down Expand Up @@ -316,5 +327,5 @@ has default storage classes.
### Install

```bash
helm install dawn-1-full-node astria/sequencer --version 1.0.0-rc.1 \
helm install dawn-1-full-node astria/sequencer --version 3.0.0-rc.2 \
--namespace astria-dawn-1-node --create-namespace -f full-node-values.yaml
Loading