Skip to content
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

MESH-1882: Allow non-zero priority #1377

Merged
merged 3 commits into from
Jan 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ jobs:
docker push --all-tags $IMAGE_NAME
publish-github-release:
docker:
- image: circleci/golang:1.16
- image: circleci/golang:1.17
steps:
- attach_workspace:
at: ./assets
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pallets/compliance-manager/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ decl_module! {
const MaxConditionComplexity: u32 = T::MaxConditionComplexity::get();

/// Adds a compliance requirement to an asset's compliance by ticker.
/// If the compliance requirement is a duplicate, it does nothing.
/// If there are duplicate ClaimTypes for a particular trusted issuer, duplicates are removed.
///
/// # Arguments
/// * origin - Signer of the dispatchable. It should be the owner of the ticker
Expand Down
4 changes: 1 addition & 3 deletions pallets/runtime/extensions/src/check_weight.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,8 @@ where
/// Do the validate checks. This can be applied to both signed and unsigned.
///
/// It only checks that the block weight and length limit will not exceed.
/// NOTE The returned transaction priority is 0 on success.
fn do_validate(info: &DispatchInfoOf<T::Call>, len: usize) -> TransactionValidity {
let mut tv = CW::<T>::do_validate(info, len)?;
tv.priority = 0;
let tv = CW::<T>::do_validate(info, len)?;
Ok(tv)
}
}
Expand Down