We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4799797 commit c824cdeCopy full SHA for c824cde
clarity/src/vm/functions/post_conditions.rs
@@ -208,7 +208,6 @@ pub fn special_restrict_assets(
208
// - Emit an event
209
if let Some(violation_index) = check_allowances(&asset_owner, &allowances, asset_maps)? {
210
env.global_context.roll_back()?;
211
- // TODO: Emit an event about the allowance violation
212
return Value::error(Value::UInt(violation_index));
213
}
214
@@ -293,7 +292,6 @@ pub fn special_as_contract(
293
292
Ok(None) => {}
294
Ok(Some(violation_index)) => {
295
nested_env.global_context.roll_back()?;
296
297
298
299
Err(e) => {
0 commit comments