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

feat!: local-ic remove relayer file dependency #908

Merged
merged 6 commits into from
Dec 14, 2023

Conversation

Reecepbcups
Copy link
Member

@Reecepbcups Reecepbcups commented Dec 14, 2023

ref #795

Previously it was required for developers to maintain a relayer.json file with the image information. For most use cases this is excessive as the defaults work. Instead it should be a startup option to override default relayer image information.

If none are specific, the latest cosmos relayer image is used.

Only a breaking change if a team uses a custom relayer image for local-ic

@Reecepbcups Reecepbcups added the BACKPORT backport into all maintained branches label Dec 14, 2023
@Reecepbcups Reecepbcups changed the title feat!: LocalIC Remove relayer file dependency feat!: local-ic remove relayer file dependency Dec 14, 2023
@Reecepbcups Reecepbcups marked this pull request as ready for review December 14, 2023 15:08
@Reecepbcups Reecepbcups requested a review from a team as a code owner December 14, 2023 15:08
Copy link
Member

@jtieri jtieri left a comment

Choose a reason for hiding this comment

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

changes look straightforward enough.

what's up with the empty .gitkeep file? is there some assumption that this empty directory needs to exist for tests to run or something?

local-interchain/python/helpers/file_cache.py Show resolved Hide resolved
@Reecepbcups
Copy link
Member Author

Reecepbcups commented Dec 14, 2023

let's see, the python modifications may have resolved it

edit: add I had a hard check in the local-ic binary for it due to old relayer, will remove that to be good

@Reecepbcups Reecepbcups enabled auto-merge (squash) December 14, 2023 17:56
@Reecepbcups Reecepbcups merged commit b85a060 into main Dec 14, 2023
11 checks passed
@Reecepbcups Reecepbcups deleted the reece/local-interchain-improvements branch December 14, 2023 17:58
mergify bot pushed a commit that referenced this pull request Dec 14, 2023
* Remove `relayer.json` in favor of CLI arguments

* py: make nested directories for config

* git keep `configs`

* exist_ok=True

* remove .gitkeep

* remove forced `config` directory check

(cherry picked from commit b85a060)
Reecepbcups added a commit that referenced this pull request Dec 14, 2023
* Remove `relayer.json` in favor of CLI arguments

* py: make nested directories for config

* git keep `configs`

* exist_ok=True

* remove .gitkeep

* remove forced `config` directory check

(cherry picked from commit b85a060)

Co-authored-by: Reece Williams <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BACKPORT backport into all maintained branches
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants