-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hotfix/1027 #1782
Hotfix/1027 #1782
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @mustermeiszer and @wischli for taking care of this 🙏🏻
Just a couple of minor comments, not blocked. LGTM
Err(e) => log::info!( | ||
"{LOG_PREFIX}: Failed to register PriceId: {:?}, with error: {:?}.", | ||
pricing.price_id(), | ||
e | ||
), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should only consider it as an error if the loan is BorrowRestrictions::OraclePriceRequired
. Otherwise, getting an error from register_id()
is fine. But not sure if for Anemoy we have this case. If we do not see any error right now here, then we do not need to modify it.
@@ -109,7 +109,7 @@ mod benchmarks { | |||
} | |||
|
|||
#[benchmark] | |||
fn update_collection(n: Linear<1, 10>, m: Linear<1, 10>) -> Result<(), BenchmarkError> { | |||
fn update_collection(n: Linear<1, 5>, m: Linear<1, 100>) -> Result<(), BenchmarkError> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why 100?
What is left in this PR? |
Nothing, just merged :) |
Description
update_collection
call ofpallet-oracle-collection
which is uncallable right now due to PoV ExcessChanges and Descriptions
[List your changes here]
Checklist: