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

Fix GetGenesisInfo after monorepo #1291 #38

Merged
merged 7 commits into from
Jul 25, 2024

Conversation

ethanoroshiba
Copy link
Contributor

@ethanoroshiba ethanoroshiba commented Jul 23, 2024

Summary

PR in tandem with astriaorg/astria#1291. Adjusts GetGenesisInfo to utilize primitive type RollupId instead of bytes.

Changes

  • Updated grpc and protobuf SDKs.
  • Changed GetGenesisInfo to use primitive RollupId.
  • Updated sever tests to run correctly with RollupId.

Copy link
Member

@joroshiba joroshiba left a comment

Choose a reason for hiding this comment

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

can you run go fmt ./... over this pr? Otherwise lgtm. Hold off on merging until we update protos after merge of astriaorg/astria#1291

@ethanoroshiba
Copy link
Contributor Author

@joroshiba go fmt ./... didn't make any changes. Was there a specific change you wanted to see? Once #1291 gets reviewed and merged, I'll update protos and merge this.

github-merge-queue bot pushed a commit to astriaorg/astria that referenced this pull request Jul 25, 2024
## Summary
Changed execution API `rollup_id` to use primitive `RollupId` instead of
bytes.

## Background
`RollupId` is defined in primitives protobuf specs, but
`astria.execution.v1alpha2.GenesisInfo.rollup_id` was still using type
bytes instead of the primitive type.

## Changes
- Changed execution `rollup_id` to be of type `RollupId`.
- Regenerated Rust sources with protobuf compiler.
- Changed affected conductor functions to utilize `RollupId` instead of
bytes.
- Updated `evm-stack` and `evm-rollup` versions.

## Testing
With changes in `astria-geth`, passes smoke-test.

## Breaking Changelist
- Execution API changed, requires corresponding `astria-geth`
[changes](astriaorg/astria-geth#38) to function
properly.
- Will require followup PR to update geth `devTag` to `latest` once geth
PR is merged.

## Related Issues
With `astria-geth`
[#38](astriaorg/astria-geth#38), closes #1287

---------

Co-authored-by: Jordan Oroshiba <[email protected]>
Co-authored-by: Richard Janis Goldschmidt <[email protected]>
@ethanoroshiba ethanoroshiba merged commit eb710b9 into main Jul 25, 2024
2 checks passed
@ethanoroshiba ethanoroshiba deleted the eoroshiba/fix_get_genesis_info branch July 25, 2024 21:05
github-merge-queue bot pushed a commit to astriaorg/astria that referenced this pull request Jul 25, 2024
## Summary
Update EVM-Rollup Geth `devTag` after #1291 and astria-geth
[#38](astriaorg/astria-geth#38).

## Background
#1291 relied on astria-geth PR
[#38](astriaorg/astria-geth#38) for `evm-rollup`
chart. Now that both PRs have been merged, the `devTag` can be updated
to `latest`.

## Changes
- Updated geth `devTag` to `latest` in `evm-rollup` `values.yaml`. 
- Updated `evm-rollup` and `evm-stack` versions.

## Testing
Passing e2e tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants