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

Fixed update chainId script #1160

Conversation

Yashk767
Copy link
Contributor

@Yashk767 Yashk767 commented Oct 25, 2023

Problem Statement

[System os: macOS]
npm run build-all fails on update-chainid.sh script with error expecting input to -i option for stream editor sed.
The -i option expects an extension for in-place editing backup. On GNU/Linux, it's optional, but on macOS, it's mandatory.

Fixes: https://linear.app/interstellar-research/issue/RAZ-528

Implementation

Created cases for input to -i in sed command for macOS and different os.

This PR also sync develop branch with main branch by fetching the updated commit from main branch.

Testing

Ran all the build commands like npm run build-all, npm run build-noargs, npm run build all-testnet which uses update-chainId.sh script. All of them ran successfully with correct changes reflected.

SkandaBhat and others added 3 commits October 13, 2023 15:06
* feat: Github Migration  (razor-network#1146)

* feat: migrate to github actions

* chore: migrate from circle ci

* Update develop.yml (razor-network#1148)

* Update develop.yml (razor-network#1149)

* Update develop.yml

* Update develop.yml

* Update develop.yml

* Fix go mod tidy

* Replaced curve instance elliptic.P256() with crypto.S256() (razor-network#1150)

* fix: Update Dockerfile with version bumps (razor-network#1152)

* chore: hotfix missing workflow

* chore: fix dockerfile versions

---------

Co-authored-by: Yohan Nelson <[email protected]>
Co-authored-by: SkandaBhat <[email protected]>
Co-authored-by: Yashk767 <[email protected]>
@Yashk767 Yashk767 merged commit ab83868 into razor-network:develop Oct 26, 2023
6 checks passed
@Yashk767 Yashk767 changed the title Yash/raz 528 npm run build all fails with new update chainid script Fixed update chainId script Oct 26, 2023
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.

4 participants