Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Offchain-worker: Accessing time is not HTTP #10220

Merged
merged 1 commit into from
Nov 8, 2021
Merged

Conversation

bkchr
Copy link
Member

@bkchr bkchr commented Nov 8, 2021

Accessing time related functionality is clearly not related to HTTP. So, this pr introduces a TIME capability.

Fixes: paritytech/polkadot#4238

Accessing time related functionality is clearly not related to HTTP. So, this pr introduces a `TIME` capability.
@bkchr bkchr added A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit labels Nov 8, 2021
@bkchr bkchr requested review from ordian and HCastano November 8, 2021 20:06
Copy link
Member

@ordian ordian left a comment

Choose a reason for hiding this comment

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

👍

@bkchr bkchr merged commit c6a9f64 into master Nov 8, 2021
@bkchr bkchr deleted the bkchr-time-capability branch November 8, 2021 21:03
grishasobol pushed a commit to gear-tech/substrate that referenced this pull request Mar 28, 2022
Accessing time related functionality is clearly not related to HTTP. So, this pr introduces a `TIME` capability.
ark0f pushed a commit to gear-tech/substrate that referenced this pull request Feb 27, 2023
Accessing time related functionality is clearly not related to HTTP. So, this pr introduces a `TIME` capability.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Thread 'offchain-worker' panicked at 'Accessing a forbidden API: timestamp. No: HTTP capability.
3 participants