Skip to content

Commit

Permalink
Merge pull request #532 from bifrost-finance/slp-rc3
Browse files Browse the repository at this point in the history
temporarily banned Queries storage removing checking
  • Loading branch information
herryho committed Apr 1, 2022
2 parents e4c0678 + 49a303d commit 97181f1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion runtime/bifrost-kusama/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1669,7 +1669,13 @@ impl QueryResponseManager<QueryId, MultiLocation, BlockNumber> for SubstrateResp
}

fn remove_query_record(query_id: QueryId) -> bool {
PolkadotXcm::take_response(query_id).is_some()
// Temporarily banned. Querries from pallet_xcm cannot be removed unless it is in ready
// status. And we are not allowed to mannually change query status.
// So in the manual mode, it is not possible to remove the query at all.
// PolkadotXcm::take_response(query_id).is_some()

PolkadotXcm::take_response(query_id);
true
}
}

Expand Down

0 comments on commit 97181f1

Please sign in to comment.