Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
3 changes: 2 additions & 1 deletion charts/deploy.just
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,10 @@ deploy-smoke-cli tag=defaultTag:
--create-namespace > /dev/null
@just wait-for-sequencer > /dev/null
@echo "Starting EVM rollup..." && helm install -n astria-dev-cluster astria-chain-chart ./charts/evm-stack -f dev/values/rollup/dev.yaml \
{{ if tag != '' { replace('--set evm-rollup.images.conductor.devTag=# --set composer.images.composer.devTag=# --set evm-bridge-withdrawer.images.evmBridgeWithdrawer.devTag=#', '#', tag) } else { '' } }} \
{{ if tag != '' { replace('--set evm-rollup.images.conductor.devTag=# --set composer.images.composer.devTag=#', '#', tag) } else { '' } }} \
--set blockscout-stack.enabled=false \
--set postgresql.enabled=false \
--set evm-bridge-withdrawer.enabled=false \

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

this is in the cli test, it shouldn't be running the bridge withdrawer

--set evm-faucet.enabled=false > /dev/null
@just wait-for-rollup > /dev/null

Expand Down
6 changes: 3 additions & 3 deletions charts/evm-stack/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dependencies:
- name: evm-faucet
repository: file://../evm-faucet
version: 0.1.0
- name: bridge-withdrawer
- name: evm-bridge-withdrawer
repository: file://../evm-bridge-withdrawer
version: 0.1.0
- name: postgresql
Expand All @@ -17,5 +17,5 @@ dependencies:
- name: blockscout-stack
repository: https://blockscout.github.io/helm-charts
version: 1.6.2
digest: sha256:ff21c9da378275fdffee8af268a64a0b846893699c334082305e8487dde93ede
generated: "2024-07-25T16:40:06.411653-05:00"
digest: sha256:3bef467e035b3e66c44cf04ec587a2999a3c26b07d665ec73ad170ce8089220d
generated: "2024-07-29T15:24:16.217451-07:00"
6 changes: 3 additions & 3 deletions charts/evm-stack/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.1
version: 0.3.0

dependencies:
- name: evm-rollup
Expand All @@ -29,10 +29,10 @@ dependencies:
version: 0.1.0
repository: "file://../evm-faucet"
condition: evm-faucet.enabled
- name: bridge-withdrawer
- name: evm-bridge-withdrawer

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Our overrides were over the wrong chart sha in tests. The name here wasn't following norms, the name here should match the chart name, fixed the chart instead of just changing values overrides.

version: 0.1.0
repository: "file://../evm-bridge-withdrawer"
condition: bridge-withdrawer.enabled
condition: evm-bridge-withdrawer.enabled
- name: postgresql
version: "15.2.4"
repository: "https://charts.bitnami.com/bitnami"
Expand Down
2 changes: 1 addition & 1 deletion charts/evm-stack/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ evm-faucet:
rollupName: "{{ .Values.global.rollupName }}"
providerUrl: "http://{{ .Values.global.rollupName }}-evm-service.{{ default .Release.Namespace .Values.global.namespaceOverride }}.svc.cluster.local:8545"

bridge-withdrawer:
evm-bridge-withdrawer:
enabled: false
config:
sequencerChainId: "{{ .Values.global.sequencerChainId }}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -409,12 +409,11 @@ async fn wait_for_empty_mempool(
futures::future::ready(())
},
);
let sequencer_client =
SequencerServiceClient::connect(format!("http://{}", sequencer_grpc_endpoint.clone()))
.await
.wrap_err_with(|| {
format!("failed to connect to sequencer at `{sequencer_grpc_endpoint}`")
})?;
let sequencer_client = SequencerServiceClient::connect(sequencer_grpc_endpoint.clone())

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

We shouldn't be forcing http on the url path here, uri protocol specified in the env var.

.await
.wrap_err_with(|| {
format!("failed to connect to sequencer at `{sequencer_grpc_endpoint}`")
})?;

tryhard::retry_fn(|| {
let sequencer_client = sequencer_client.clone();
Expand Down
2 changes: 1 addition & 1 deletion dev/values/rollup/dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ composer:
privateKey:
devContent: "2bd806c97f0e00af1a1fc3328fa763a9269723c8db8fac4f93af71db186d6e90"

bridge-withdrawer:
evm-bridge-withdrawer:
enabled: true
config:
minExpectedFeeAssetBalance: "0"
Expand Down