Skip to content

Commit d9e05e5

Browse files
committed
MCMS destroy rebalancer cap
1 parent 9c8535b commit d9e05e5

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

bindings/generated/ccip/ccip_token_pools/lock_release_token_pool/lock_release_token_pool.go

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

contracts/ccip/ccip_token_pools/lock_release_token_pool/sources/lock_release_token_pool.move

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ fun set_rebalancer_cap_id<T>(
631631
event::emit(RebalancerSet<T> { old_rebalancer_cap_id, new_rebalancer_cap_id });
632632
}
633633

634-
public fun mcms_destroy_mcms_cap<T>(
634+
public fun mcms_destroy_rebalancer_cap<T>(
635635
state: &mut LockReleaseTokenPoolState<T>,
636636
registry: &mut Registry,
637637
params: ExecutingCallbackParams,
@@ -645,7 +645,7 @@ public fun mcms_destroy_mcms_cap<T>(
645645
McmsCallback<T> {},
646646
params,
647647
);
648-
assert!(function == string::utf8(b"destroy_mcms_cap"), EInvalidFunction);
648+
assert!(function == string::utf8(b"destroy_rebalancer_cap"), EInvalidFunction);
649649
assert!(mcms_cap.rebalancer_cap.is_some(), ERebalancerCapDoesNotExist);
650650

651651
let mut stream = bcs_stream::new(data);

0 commit comments

Comments
 (0)