Skip to content

Commit

Permalink
Merge pull request #256 from spacemeshos/post-212-make-provider-optional
Browse files Browse the repository at this point in the history
Make PoST provider optional
  • Loading branch information
fasmat authored Aug 9, 2023
2 parents 0f6d1b9 + 1af0fe8 commit b6cad9d
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 47 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: lint and check build
run: |
# Runs the buf linter and checks for breaking changes
make https
# make https
# Attempts to build using `protoc`. Probably redundant given the next step.
make protoc
Expand Down
92 changes: 47 additions & 45 deletions release/go/spacemesh/v1/smesher_types.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spacemesh/v1/smesher_types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ message PostSetupOpts {
string data_dir = 1; // User provided path to create the setup data files at
uint32 num_units = 2; // Number of Post data units to generate
uint64 max_file_size = 3; // Max size in bytes of a single file within the data files
uint32 provider_id = 4; // A `PostSetupProvider` id
optional uint32 provider_id = 4; // A `PostSetupProvider` id
bool throttle = 5; // Throttle down setup phase computations while user is interactive on system
}

Expand Down

0 comments on commit b6cad9d

Please sign in to comment.