diff --git a/astria/README.md b/astria/README.md index d83b406..31c9e63 100644 --- a/astria/README.md +++ b/astria/README.md @@ -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 diff --git a/astria/full-node-values.yaml b/astria/full-node-values.yaml index ec1e112..0370821 100644 --- a/astria/full-node-values.yaml +++ b/astria/full-node-values.yaml @@ -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 @@ -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 diff --git a/astria/full-node.md b/astria/full-node.md index 88d0801..63aa974 100644 --- a/astria/full-node.md +++ b/astria/full-node.md @@ -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 ../ ``` @@ -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 ../../../ @@ -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 ``` @@ -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 @@ -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 diff --git a/astria/upgrades.json b/astria/upgrades.json new file mode 100644 index 0000000..92d013e --- /dev/null +++ b/astria/upgrades.json @@ -0,0 +1,21 @@ +{ + "aspen": { + "baseInfo": { + "activationHeight": "8159500", + "appVersion": "3" + }, + "priceFeedChange": { + "marketMapGenesis": { + "marketMap": { + "markets": {} + } + }, + "oracleGenesis": { + "currencyPairGenesis": [], + "nextId": "0" + } + }, + "validatorUpdateActionChange": {}, + "ibcAcknowledgementFailureChange": {} + } +} diff --git a/dawn-1/sequencer/README.md b/dawn-1/sequencer/README.md index d6c8eff..d662191 100644 --- a/dawn-1/sequencer/README.md +++ b/dawn-1/sequencer/README.md @@ -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 diff --git a/dawn-1/sequencer/full-node-values.yaml b/dawn-1/sequencer/full-node-values.yaml index b43e377..53fa17e 100644 --- a/dawn-1/sequencer/full-node-values.yaml +++ b/dawn-1/sequencer/full-node-values.yaml @@ -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 @@ -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 diff --git a/dawn-1/sequencer/full-node.md b/dawn-1/sequencer/full-node.md index 6f8a316..34fdddb 100644 --- a/dawn-1/sequencer/full-node.md +++ b/dawn-1/sequencer/full-node.md @@ -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 cd crates/astria-sequencer/ cargo build --release cd ../../../ @@ -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 +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 ``` @@ -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 @@ -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 diff --git a/dawn-1/sequencer/upgrades.json b/dawn-1/sequencer/upgrades.json new file mode 100644 index 0000000..f82db83 --- /dev/null +++ b/dawn-1/sequencer/upgrades.json @@ -0,0 +1,21 @@ +{ + "aspen": { + "baseInfo": { + "activationHeight": "8105000", + "appVersion": "3" + }, + "priceFeedChange": { + "marketMapGenesis": { + "marketMap": { + "markets": {} + } + }, + "oracleGenesis": { + "currencyPairGenesis": [], + "nextId": "0" + } + }, + "validatorUpdateActionChange": {}, + "ibcAcknowledgementFailureChange": {} + } +} diff --git a/dusk-11/sequencer/full-node-values.yaml b/dusk-11/sequencer/full-node-values.yaml index 2093187..22a1978 100644 --- a/dusk-11/sequencer/full-node-values.yaml +++ b/dusk-11/sequencer/full-node-values.yaml @@ -1,88 +1,19 @@ global: namespace: "" # add namespace here useTTY: true + network: "dusk-11" # Override value example for full-node from main chart moniker: '' # add node moniker here secretProvider: enabled: false - -cometbft: - config: - p2p: - externalAddress: "" # Add external address - secrets: # TODO: Add secrets, recommended not to use devContent in prodcution environments - nodeKey: - filename: nodeKey.json - devContent: - priv_key: - type: tendermint/PrivKeyEd25519 - value: "" # can override with a value for local testing - secret: - resourceName: "projects/$PROJECT_ID/secrets/privValidatorKey/versions/latest" - privValidatorKey: - filename: privValidatorKey.json - devContent: - # Ed25519 address of validator - address: "" # can override with a value for local testing - # public key for the validator address - pub_key: - type: tendermint/PubKeyEd25519 - value: "" # can override with a value for local testing - # private key for the validator address - # This is a secret key, should use a secret manager for production deployments - priv_key: - type: tendermint/PrivKeyEd25519 - value: "" # can override with a value for local testing - secret: - resourceName: "projects/$PROJECT_ID/secrets/privValidatorKey/versions/latest" - -genesis: - chainId: astria-dusk-11 - genesisTime: "2024-07-27T00:49:11.964127Z" - authoritySudoAddress: astria1hwxgjjp8f7a46a2sr0mxffn5r7udkpfrcavpul - allowedFeeAssets: [] - ibc: - enabled: true - inboundEnabled: true - outboundEnabled: true - sudoAddress: astria10z89e25n2fs754a0v9nnsh0kvzh90wf4ukk6jc - relayerAddresses: [] - genesisAccounts: - - address: astria1hwxgjjp8f7a46a2sr0mxffn5r7udkpfrcavpul - balance: "333333333333333333" - - address: astria1luwmgezc63qg0jt4aw5ey207tw7dcd20fqt44z - balance: "333333333333333333" - - address: astria1g9p32uu5r4am2uae0n0xfnxpnqmlymrh9yrqng - balance: "333333333333333333" - - address: astria1ved3v3k2a80wad756xhwd7r75ycuaf6z9y60rl - balance: "333333333333333333" - - address: astria1yqdjnnmrp7w5ygwj0dkldsgzjhv5vcakp7yeu9 - balance: "60" - - address: astria1f0dw5muma062mwfz7g46229adaycpjevnyw9fc - balance: "1000000000000" - validators: - - name: node0 - power: '1' - address: FDDBAF2EFB176DD25A3EDDE9106E78D329A38562 - pubKey: U46eweNkf5swUyu45cK0qABsaxFoPL7OK+Hqqahr8fg= - - name: node1 - address: 2F5AEE50975F56F59C4C5248277CB1E4A8320593 - pubKey: pJeqSiLKgjKHYIKSCxEGeJiMhhlLDC4SoE3Pb1Noi7I= - power: '1' - - name: node2 - power: '1' - address: C8FAD5B264F7D5B5446978E96AEC3549E41F1353 - pubKey: /zck8pXQM9AzdBaDsfaoTkRxQgQQyGoCC3q1Ohirlbc= - - name: node3 - power: '1' - address: 0DC9BAF2CB94F4897F2A569EF2A33EE1D4E7B50B - pubKey: E6gYdFSWp8SQYd60JSZBhADZgB8lV8FAbqsmAvX6RPY= - + sequencer: metrics: enabled: true + priceFeed: + enabled: false otel: enabled: true endpoint: http://otel-collector.monitoring.svc.cluster.local:4317 @@ -104,6 +35,31 @@ cometbft: - ca3bc3562919b82575fe3ac5b11fa5962ce8cd3b@34.94.1.224:26656 - 4418000e355967ecc8e03004f5850dfde51c410b@34.102.98.161:26656 - 7a117e7906d8428ad20341aca94af03c980c11d8@34.102.109.86:26656 + secrets: # TODO: Add secrets, recommended not to use devContent in prodcution environments + nodeKey: + filename: nodeKey.json + devContent: + priv_key: + type: tendermint/PrivKeyEd25519 + value: "" # can override with a value for local testing + secret: + resourceName: "projects/$PROJECT_ID/secrets/privValidatorKey/versions/latest" + privValidatorKey: + filename: privValidatorKey.json + devContent: + # Ed25519 address of validator + address: "" # can override with a value for local testing + # public key for the validator address + pub_key: + type: tendermint/PubKeyEd25519 + value: "" # can override with a value for local testing + # private key for the validator address + # This is a secret key, should use a secret manager for production deployments + priv_key: + type: tendermint/PrivKeyEd25519 + value: "" # can override with a value for local testing + secret: + resourceName: "projects/$PROJECT_ID/secrets/privValidatorKey/versions/latest" storage: enabled: true diff --git a/dusk-11/sequencer/full-node.md b/dusk-11/sequencer/full-node.md index 3c4103c..3a3b70e 100644 --- a/dusk-11/sequencer/full-node.md +++ b/dusk-11/sequencer/full-node.md @@ -60,7 +60,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 cd crates/astria-sequencer/ cargo build --release cd ../../../ @@ -96,10 +96,19 @@ mv genesis.json ~/.cometbft/config/genesis.json > ❗ Replace `/home/astria_org` **everywhere below** with the absolute path to your home 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/dusk-11/sequencer/upgrades.json +mv upgrades.json /home/astria_org/upgrades.json +``` + #### From `/home/astria_org` ```bash 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 ``` @@ -232,5 +241,5 @@ has default storage classes. ### Install ```bash -helm install dusk11-full-node astria/astria-sequencer-validator --version 1.0.0-rc.1 \ +helm install dusk11-full-node astria/astria-sequencer-validator --version 3.0.0-rc.1 \ --namespace astria-dusk11-node --create-namespace -f full-node-values.yaml diff --git a/dusk-11/sequencer/upgrades.json b/dusk-11/sequencer/upgrades.json new file mode 100644 index 0000000..cf6f80e --- /dev/null +++ b/dusk-11/sequencer/upgrades.json @@ -0,0 +1,21 @@ +{ + "aspen": { + "baseInfo": { + "activationHeight": "14372000", + "appVersion": "3" + }, + "priceFeedChange": { + "marketMapGenesis": { + "marketMap": { + "markets": {} + } + }, + "oracleGenesis": { + "currencyPairGenesis": [], + "nextId": "0" + } + }, + "validatorUpdateActionChange": {}, + "ibcAcknowledgementFailureChange": {} + } +}