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

[Dependencies] Update deps #673

Merged
merged 5 commits into from
Apr 13, 2023
Merged

[Dependencies] Update deps #673

merged 5 commits into from
Apr 13, 2023

Conversation

h5law
Copy link
Contributor

@h5law h5law commented Apr 12, 2023

Description

This PR updates the dependencies to use pocket-network/smt (our fork) instead of celestiaorg/smt for the SMT.

It is recommended to run the following:

rm -vfrd vendor/
go clean -modcache
make develop_start

Issue

Fixes N/A

Type of change

Please mark the relevant option(s):

  • New feature, functionality or library
  • Bug fix
  • Code health or cleanup
  • Major breaking change
  • Documentation
  • Other

List of changes

  • Update go.mod and the codebase to use the pocket-network/smt fork of celestia's SMT now it is archived

Testing

  • make develop_test; if any code changes were made
  • Docker Compose LocalNet; if any major functionality was changed or introduced
  • k8s LocalNet; if any infrastructure or configuration changes were made

Required Checklist

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added, or updated, godoc format comments on touched members (see: tip.golang.org/doc/comment)
  • I have tested my changes using the available tooling
  • I have updated the corresponding CHANGELOG

If Applicable Checklist

  • I have updated the corresponding README(s); local and/or global
  • I have added tests that prove my fix is effective or that my feature works
  • I have added, or updated, mermaid.js diagrams in the corresponding README(s)
  • I have added, or updated, documentation and mermaid.js diagrams in shared/docs/* if I updated shared/*README(s)

@cr-gpt
Copy link

cr-gpt bot commented Apr 12, 2023

Seems you are using me but didn't get OPENAI_API_KEY seted in Variables for this repo. you could follow readme for more information

@h5law h5law requested a review from Olshansk April 12, 2023 23:58
@h5law h5law self-assigned this Apr 12, 2023
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

The changelog validation failed with the following output:
Missing changelog in module: persistence/

Changelog verification failed. See error messages for more detail.

Please update the relevant CHANGELOG.md files and ensure they follow the correct format.

@Olshansk Olshansk added core Core infrastructure - protocol related persistence Persistence specific changes code health Nice to have code improvement labels Apr 13, 2023
@h5law h5law requested a review from Olshansk April 13, 2023 21:08
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

The changelog validation failed with the following output:
Missing changelog in module: persistence/

Changelog verification failed. See error messages for more detail.

Please update the relevant CHANGELOG.md files and ensure they follow the correct format.

Copy link
Member

@Olshansk Olshansk left a comment

Choose a reason for hiding this comment

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

Tested it on my M1 and it works!

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

The changelog validation failed with the following output:
Missing changelog in module: persistence/

Changelog verification failed. See error messages for more detail.

Please update the relevant CHANGELOG.md files and ensure they follow the correct format.

@github-actions github-actions bot dismissed stale reviews from themself April 13, 2023 21:35

The check succeeded, dismissing the review comment.

@h5law h5law merged commit 8bf1797 into main Apr 13, 2023
@h5law h5law deleted the update-deps branch April 13, 2023 21:46
h5law added a commit that referenced this pull request Apr 13, 2023
## Description

This PR aims to consolidate all the different `TxResult` protobufs and
interfaces into a single `TxResult` protobuf located in
`shared/core/types`

It also gives the `TxIndexer` a persistent path in the 4 config files
located in `build/config`

## Issue

Fixes N/A

## Type of change

Please mark the relevant option(s):

- [ ] New feature, functionality or library
- [ ] Bug fix
- [x] Code health or cleanup
- [ ] Major breaking change
- [ ] Documentation
- [ ] Other

## List of changes

- Consolidate `TxResult` protobufs into a single file in the coreTypes
module
- Give `TxIndexer` a persistent path

## Testing

- [x] `make develop_test`; if any code changes were made
- [x] [Docker Compose
LocalNet](https://github.com/pokt-network/pocket/blob/main/docs/development/README.md);
if any major functionality was changed or introduced
- [x] [k8s
LocalNet](https://github.com/pokt-network/pocket/blob/main/build/localnet/README.md);
if any infrastructure or configuration changes were made

## Required Checklist

- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] I have added, or updated, [`godoc` format
comments](https://go.dev/blog/godoc) on touched members (see:
[tip.golang.org/doc/comment](https://tip.golang.org/doc/comment))
- [x] I have tested my changes using the available tooling
- [x] I have updated the corresponding CHANGELOG

### If Applicable Checklist

- [ ] I have updated the corresponding README(s); local and/or global
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have added, or updated,
[mermaid.js](https://mermaid-js.github.io) diagrams in the corresponding
README(s)
- [ ] I have added, or updated, documentation and
[mermaid.js](https://mermaid-js.github.io) diagrams in `shared/docs/*`
if I updated `shared/*`README(s)
bryanchriswhite added a commit that referenced this pull request Apr 14, 2023
…p-modules

* pokt/main:
  [Shared] `TxResult` consolidation (Merge After #673) (#676)
  [Dependencies] Update deps (#673)
  [Infra] Update reviewpad configuration (#675)
bryanchriswhite added a commit that referenced this pull request Apr 14, 2023
* refactor/consolidate-p2p-modules: (72 commits)
  chore: update changelog
  chore: tidy type assertions
  chore: simplify log
  fix: module restart `WithHost` (again)
  chore: improve comments
  chore: add TECHDEBT comment
  fix: test helper & add TECHDEBT comment
  [Shared] `TxResult` consolidation (Merge After #673) (#676)
  [Dependencies] Update deps (#673)
  [Infra] Update reviewpad configuration (#675)
  chore: update changelog
  fix: re-evaluate options on p2p module `#Start()`
  chore: group imports
  chore: `RainTreeConfig#isValid()` returns multierr
  chore: remove `use_libp2p` from k8s config
  test: pass `*testing.T` to `getPeerstore` helper
  chore: improve error log messaging
  chore: remove unnecessary multierror usage
  chore: update/improve comments
  use pod IP for POCKET_P2P_HOSTNAME
  ...
bryanchriswhite added a commit that referenced this pull request Apr 14, 2023
* refactor/consolidate-p2p-modules:
  chore: update changelog
  chore: tidy type assertions
  chore: simplify log
  fix: module restart `WithHost` (again)
  chore: improve comments
  chore: add TECHDEBT comment
  fix: test helper & add TECHDEBT comment
  [Shared] `TxResult` consolidation (Merge After #673) (#676)
  [Dependencies] Update deps (#673)
  [Infra] Update reviewpad configuration (#675)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code health Nice to have code improvement core Core infrastructure - protocol related persistence Persistence specific changes waiting-for-review
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants