mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-29 23:19:49 +00:00
depend-o-pocalipse (#9450)
Remove unneeded dependencies and dev-dependencies. Made self_destruct test not dependent on wasm bin size. Updated code related to deprecated warning on tracing-subscriber `scope()` ( See https://github.com/tokio-rs/tracing/issues/1429 )
This commit is contained in:
1 parent
76504e56d7
commit
7e9b8d278e
129 files changed
+487
-726
No files matched your search
@@ -300,8 +300,9 @@ impl offchain::Externalities for TestOffchainExt {
|
||||
|
||||
ids.iter()
|
||||
.map(|id| match state.requests.get(id) {
|
||||
Some(req) if req.response.is_none() =>
|
||||
panic!("No `response` provided for request with id: {:?}", id),
|
||||
Some(req) if req.response.is_none() => {
|
||||
panic!("No `response` provided for request with id: {:?}", id)
|
||||
},
|
||||
None => RequestStatus::Invalid,
|
||||
_ => RequestStatus::Finished(200),
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user