Skip to content

fix(charts, bridge): fix ci test#1310

Merged
joroshiba merged 10 commits intomainfrom
joroshiba/fix-main
Jul 30, 2024
Merged

fix(charts, bridge): fix ci test#1310
joroshiba merged 10 commits intomainfrom
joroshiba/fix-main

Conversation

@joroshiba
Copy link
Member

@joroshiba joroshiba commented Jul 29, 2024

Summary

Fixes bridge withdrawer code which was broken + CI test setup issue which allowed broken test to get in.

Background

We were not using the latest bridge withdrawer code correctly, this fixes that + fixes the code which broke main CI tests

@github-actions github-actions bot added the cd label Jul 29, 2024
{{ 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
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

repository: "file://../evm-faucet"
condition: evm-faucet.enabled
- name: bridge-withdrawer
- name: evm-bridge-withdrawer
Copy link
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.

.wrap_err_with(|| {
format!("failed to connect to sequencer at `{sequencer_grpc_endpoint}`")
})?;
let sequencer_client = SequencerServiceClient::connect(sequencer_grpc_endpoint.clone())
Copy link
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.

@joroshiba joroshiba marked this pull request as ready for review July 30, 2024 16:06
@joroshiba joroshiba requested review from a team as code owners July 30, 2024 16:06
@joroshiba joroshiba requested review from SuperFluffy, noot and steezeburger and removed request for noot July 30, 2024 16:06
Copy link
Contributor

@SuperFluffy SuperFluffy left a comment

Choose a reason for hiding this comment

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

Rust is correct. I could have sworn I flagged this in a review, but maybe forgot.

This should be refactored so that there is a single point of failure when constructing this client. I will create a follow-up.

@github-actions github-actions bot added the ci issues that are related to ci and github workflows label Jul 30, 2024
@joroshiba joroshiba added this pull request to the merge queue Jul 30, 2024
Merged via the queue into main with commit 4286bba Jul 30, 2024
@joroshiba joroshiba deleted the joroshiba/fix-main branch July 30, 2024 20:05
steezeburger added a commit that referenced this pull request Aug 2, 2024
* main:
  chore(core): Implement Protobuf trait for tx actions (#1320)
  refactor(sequencer): remove global state (#1317)
  refactor(sequencer): move asset state methods to asset module (#1313)
  feat(sequencer, core): Add fee reporting (#1305)
  chore(bridge-withdrawer): cleanup nonce handling (#1292)
  fix(charts, bridge): fix ci test (#1310)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cd ci issues that are related to ci and github workflows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments