Skip to content

Commit

Permalink
docs: update docs with report issue links
Browse files Browse the repository at this point in the history
  • Loading branch information
jmg-duarte committed Sep 3, 2024
1 parent 937b6ba commit 04df5ab
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 26 deletions.
19 changes: 4 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
# mdBook of Polka Storage
# Home of the Polka Storage Book

## Development
> [!WARNING]
> If you find issues, please file them [here](https://github.com/eigerco/polka-storage-book/issues/new)!
```bash
mdbook serve
```

## Build

```bash
mdbook build
```

## Reference

[mdBook docs](https://rust-lang.github.io/mdBook/)
To read the book, please head to <https://eigerco.github.io/polka-storage-book/>.
4 changes: 2 additions & 2 deletions src/pallets/market.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,8 @@ The Market Pallet actions can fail with following errors:
- Deal is not pending.
- `DealsTooLargeToFitIntoSector` - Sum of all deals piece sizes for a sector exceeds sector size. The sector size is based on the registered proof type. We currently only support registered `StackedDRG2KiBV1P1` proofs, which have 2KiB sector sizes.
- `TooManyDealsPerBlock` - Tried to activate too many deals at a given `start_block`.
- `UnexpectedValidationError` - `publish_storage_deals`'s core logic was invoked with a broken invariant that should be called by `validate_deals`. Please report an issue to the developers.
- `DealPreconditionFailed` - Due to a programmer bug. Please report an issue to the developers.
- `UnexpectedValidationError` - `publish_storage_deals`'s core logic was invoked with a broken invariant that should be called by `validate_deals`. Please [report an issue](https://github.com/eigerco/polka-storage-book/issues/new) to the developers.
- `DealPreconditionFailed` - Due to a programmer bug. Please [report an issue](https://github.com/eigerco/polka-storage-book/issues/new) to the developers.

## Constants

Expand Down
18 changes: 9 additions & 9 deletions src/pallets/storage-provider.md
Original file line number Diff line number Diff line change
Expand Up @@ -323,16 +323,16 @@ The Storage Provider Pallet actions can fail with the following errors:
- `InvalidUnsealedCidForSector` - This error is emitted when the declared unsealed_cid for pre_commit is different from the one calculated by the system.
- `FaultDeclarationTooLate` - A fault declaration was submitted after the fault declaration cutoff. The fault declaration can be submitted after the upcoming deadline is closed.
- `FaultRecoveryTooLate` - A fault recovery was submitted after the fault recovery cutoff. The fault recovery can be submitted after the upcoming deadline is closed.
- `DeadlineError` - An error was encountered in the deadline module. Please report an issue to the developers.
- `PartitionError` - An error was encountered in the partition module. Please report an issue to the developers.
- `StorageProviderError` - An error was encountered in the storage provider module. Please report an issue to the developers.
- `DeadlineError` - An error was encountered in the deadline module. Please [report an issue](https://github.com/eigerco/polka-storage-book/issues/new) to the developers.
- `PartitionError` - An error was encountered in the partition module. Please [report an issue](https://github.com/eigerco/polka-storage-book/issues/new) to the developers.
- `StorageProviderError` - An error was encountered in the storage provider module. Please [report an issue](https://github.com/eigerco/polka-storage-book/issues/new) to the developers.
- `SectorMapError` - An error was encountered in the sector map module. These errors can be:
- `FailedToInsertSector` - Internal bounds violation with Sectors. Please report an issue to the developers.
- `FailedToInsertPartition` - Internal bounds violation with partitions. Please report an issue to the developers.
- `CouldNotActivateSector` - Failure during prove commit when trying to convert a previously pre-committed sector due to a programming error. Please report an issue to the developers.
- `CouldNotVerifySectorForPreCommit` - Failure during pre-commit due to the [commd](../glossary.md#commitment-of-data) calculation failing due to a programming error. Please report an issue to the developers.
- `SlashingFailed` - Slashing of funds fails due to a programmer error. Please report an issue to the developers.
- `ConversionError` - Due to a programmer error. Please report an issue to the developers.
- `FailedToInsertSector` - Internal bounds violation with Sectors. Please [report an issue](https://github.com/eigerco/polka-storage-book/issues/new) to the developers.
- `FailedToInsertPartition` - Internal bounds violation with partitions. Please [report an issue](https://github.com/eigerco/polka-storage-book/issues/new) to the developers.
- `CouldNotActivateSector` - Failure during prove commit when trying to convert a previously pre-committed sector due to a programming error. Please [report an issue](https://github.com/eigerco/polka-storage-book/issues/new) to the developers.
- `CouldNotVerifySectorForPreCommit` - Failure during pre-commit due to the [commd](../glossary.md#commitment-of-data) calculation failing due to a programming error. Please [report an issue](https://github.com/eigerco/polka-storage-book/issues/new) to the developers.
- `SlashingFailed` - Slashing of funds fails due to a programmer error. Please [report an issue](https://github.com/eigerco/polka-storage-book/issues/new) to the developers.
- `ConversionError` - Due to a programmer error. Please [report an issue](https://github.com/eigerco/polka-storage-book/issues/new) to the developers.

## Pallet constants

Expand Down

0 comments on commit 04df5ab

Please sign in to comment.