mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-28 13:29:55 +00:00
Implement HTTP request in offchain workers (#3461)
* Implement HTTP request in offchain workers
* Bump impl_version
* Don't compile offchain workers for WASM anymore
* Initialize HttpConnector as a fallback.
* Apply review suggestions 😳
This commit is contained in:
1 parent
986876e174
commit
7df089241c
10 files changed
+1194
-74
No files matched your search
@@ -1163,7 +1163,7 @@ impl OffchainApi for () {
|
||||
|
||||
statuses
|
||||
.into_iter()
|
||||
.map(|status| status.try_into().unwrap_or(offchain::HttpRequestStatus::Unknown))
|
||||
.map(|status| status.try_into().unwrap_or(offchain::HttpRequestStatus::Invalid))
|
||||
.collect()
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user