This repository has no description
1use crate::grant::grant_set_cob;
2
3grant_set_cob! {
4 change = BlocklistChange,
5 cob = BlocklistCob,
6 state = Blocklist,
7 type_name = "sh.tangled.knot.block",
8 add = block_account,
9 remove = unblock_account,
10}
11
12#[cfg(test)]
13mod tests {
14 use knot_cob::ChangePayload;
15
16 #[test]
17 fn type_name_is_stable() {
18 assert_eq!(super::BlocklistChange::TYPE, "sh.tangled.knot.block");
19 }
20}