This repository was archived by the owner on Apr 6, 2026. It is now read-only.
Commit 370394b
fix(context-config): clean up visibility/allowlist on unregister and fix migration schemas
- Add context_visibility and context_allowlists cleanup to both
unregister_context_from_group and proxy_unregister_from_group to
prevent storage leaks and stale data on re-registration
- Remove nonexistent context_count field from OldOnChainGroupMeta in
migrations 04-06 to match the actual on-chain schema and prevent
borsh deserialization corruption
Co-Authored-By: Claude Opus 4.6 <[email protected]>1 parent 5833948 commit 370394b
4 files changed
Lines changed: 4 additions & 3 deletions
File tree
- contracts/near/context-config/src
- sys/migrations
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
872 | 872 | | |
873 | 873 | | |
874 | 874 | | |
| 875 | + | |
875 | 876 | | |
| 877 | + | |
876 | 878 | | |
877 | 879 | | |
878 | 880 | | |
| |||
1309 | 1311 | | |
1310 | 1312 | | |
1311 | 1313 | | |
| 1314 | + | |
1312 | 1315 | | |
| 1316 | + | |
1313 | 1317 | | |
1314 | 1318 | | |
1315 | 1319 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | 52 | | |
54 | 53 | | |
55 | 54 | | |
| |||
0 commit comments