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

docs: add os checking for sed -i option #184

Merged
merged 3 commits into from
Oct 21, 2021

Conversation

dongsam
Copy link
Contributor

@dongsam dongsam commented Oct 21, 2021

Description

Uses FreeBSD sed command (which is default for MacOS) but I have installed gnu sed command (which is default for linux distros) and due to this reason the sed commands from the script can't be work

so need to add simple os checking and using different -i options for each os

Tasks

  • add checking os script on demo script
  • review and modify other same sed codes @kogisin

Ref


Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

  • Appropriate labels applied
  • Targeted PR against correct branch
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
  • Code follows the module structure standards.
  • Wrote unit and integration
  • Updated relevant documentation (docs/) or specification (x/<module>/spec/)
  • Added relevant godoc comments.
  • Re-reviewed Files changed in the Github PR explorer
  • Review Codecov Report in the comment section below once CI passes

* commit '305f2fb7da43f1050dd6aa591b43bbdadefa63bd': (23 commits)
  chore: bump Cosmos SDK version to 0.44.2
  fix: emit `rewards_withdrawn` event (tendermint#166)
  chore: fix linter issue
  feat: refactor validating EpochAmount, EpochRatio
  feat: refactory ValidateStakingCoinTotalWeights
  fix: apply suggestions from review
  fix: terminate plan when deleting public plan proposal (tendermint#162)
  fix: change the logic to determine what the request is for
  chore: fix typo and use nil EpochRatio instead of zero
  chore: change error message
  test: update proposal handler tests
  fix: allow optional fields in UpdateRequestProposal
  fix: more strict validation and allow optional addrs
  fix: EpochAmount/EpochRatio fields can be both empty
  fix: allow empty plan name in UpdateRequestProposal
  fix!: forbid empty plan name and allow empty weights
  test: change expected error messages
  test: add tests for proposal validation
  test: add TestValidateStakingCoinTotalWeights
  fix: fix proposal validation logic
  ...
Copy link
Contributor

@jaybxyz jaybxyz left a comment

Choose a reason for hiding this comment

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

LGTM other than the typo

docs/Tutorials/demo/budget_with_farming.md Outdated Show resolved Hide resolved
@dongsam dongsam merged commit d34e624 into tendermint:master Oct 21, 2021
jaybxyz added a commit to jaybxyz/farming that referenced this pull request Oct 27, 2021
* master: (22 commits)
  fix: use farmingPoolAcc and terminationAcc for consistency
  docs: add missing comments
  fix: last add_request_proposals
  docs: update renamed variables and remove mvp_legacy.md
  feat: rename public plan proposal requests
  feat: rename NewPublicPlanProposal to NewPublicPlanProposalHandler
  docs: update README.md
  fix: workflow target branch and description for main branch
  doc: fix to be broken links by renaming branch name
  move codeowners from contributing file to the CODEOWNERS file
  create CODEOWNERS file
  feat: generate proto files
  edit farming.proto
  docs: add os checking for sed -i option (tendermint#184)
  docs: specify which module is used for module name
  feat: bump budget to v0.1.1 (tendermint#177)
  docs: improve documentation for audit release (tendermint#178)
  fix: withdraw rewards only when staked amount changes (tendermint#180)
  fix: emit rewards_withdrawn only when positive amount is withdrawn
  docs: add helpful docs for audit (tendermint#176)
  ...

# Conflicts:
#	x/farming/simulation/proposals.go
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants