Skip to content

tell a renter it is their workspace being refused - #183

Open
winterstacks wants to merge 1 commit into
mainfrom
fix/workspace-refusal-names-a-workspace
Open

winterstacks wants to merge 1 commit into
mainfrom
fix/workspace-refusal-names-a-workspace

Conversation

@winterstacks

Copy link
Copy Markdown
Contributor

Verifying the trust floor against a real lease produced this:

service refused: vault_trust_floor_unmet
the lease's trust class is below the floor sealed into this item

The enforcement is right, the wording is not. A workspace is not an item, and a renter who has never touched the vault is told about one. Workspaces now carry their own error and code.

Found by running it rather than reading it.

a restore below the trust floor answered with the vault's error, so the
message said the floor was sealed into an item and the code read
vault_trust_floor_unmet. verified against a real lease, which is how the
wrong noun turned up.

Signed-off-by: Prism Network <opensource@prismnetwork.tech>
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.

1 participant