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

Bug in Shell Scripts #373

Merged
merged 2 commits into from
Jun 22, 2021
Merged

Bug in Shell Scripts #373

merged 2 commits into from
Jun 22, 2021

Conversation

NoSkillGuy
Copy link
Contributor

@NoSkillGuy NoSkillGuy commented Jun 22, 2021

Solves the bug referenced in #370

I have checked all the files in this #353, tried to run all the scripts, where there is a difference in behaviour and made the fixes accordingly!

Why it happened?

Since I did changes based on best practices, suggestions by shell check. I tested few scripts for which I had context and then assumed the changes are safe!

How to make sure issues like this won't occur again?

We can have a GitHub workflow which builds from the source and starts the servers. And then we can run integration tests. This should ensure the above.

I believe someone in the team is already working on it. so that's already taken care 😄

@NoSkillGuy NoSkillGuy requested a review from Sriep June 22, 2021 17:59
@NoSkillGuy NoSkillGuy changed the title [WIP] Bug in Shell Scripts Bug in Shell Scripts Jun 22, 2021
@Sriep Sriep merged commit 8e06a72 into 0chain:master Jun 22, 2021
peterlimg added a commit that referenced this pull request Jul 11, 2021
* master: (23 commits)
  🐛 writePoolLock creats a new wrteipool if non exists (#383)
  ✨ Add immutable allocations (#375)
  ✨ Select diverse blobbers by geo location (#315)
  ✨ Blobber block rewards (#317)
  📚 Unit test doc (#325)
  ✨ Free storage allocation (#358)
  Fixes for smart contract blobber add/update methods (#361)
  ✨ Add curator and transfer allocatin ownership (#366)
  read pool lock creat read pool (#377)
  add condition check to handle empty block hash #297
  Update state_handler_test.go
  Update state_handler_test.go
  Update handler.go
  Bug in Shell Scripts (#373)
  Return empty list, if there is no challenges
  fixing issue that caused build fail
  more shell corrections
  Added M1 support to docker files (#351)
  updated shell files according to shellchecks (github.com/koalaman/shellcheck)
  readme fixes
  ...
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.

None yet

2 participants