Skip to content

Commit f8683bf

Browse files
committed
fix: make remove-staker-from-set-for-cycle private
1 parent 8174959 commit f8683bf

2 files changed

Lines changed: 16 additions & 16 deletions

File tree

contrib/core-contract-tests/contracts/pox-5.clar

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2132,7 +2132,7 @@
21322132
)
21332133
)
21342134

2135-
(define-public (remove-staker-from-set-for-cycle
2135+
(define-private (remove-staker-from-set-for-cycle
21362136
(stacker principal)
21372137
(cycle uint)
21382138
)

contrib/core-contract-tests/tests/clarigen-types.ts

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4020,6 +4020,21 @@ export const contracts = {
40204020
bigint
40214021
>
40224022
>,
4023+
removeStakerFromSetForCycle: {
4024+
name: 'remove-staker-from-set-for-cycle',
4025+
access: 'private',
4026+
args: [
4027+
{ name: 'stacker', type: 'principal' },
4028+
{ name: 'cycle', type: 'uint128' },
4029+
],
4030+
outputs: { type: { response: { ok: 'bool', error: 'uint128' } } },
4031+
} as TypedAbiFunction<
4032+
[
4033+
stacker: TypedAbiArg<string, 'stacker'>,
4034+
cycle: TypedAbiArg<number | bigint, 'cycle'>,
4035+
],
4036+
Response<boolean, bigint>
4037+
>,
40234038
removeStakerFromSignerForCycle: {
40244039
name: 'remove-staker-from-signer-for-cycle',
40254040
access: 'private',
@@ -4576,21 +4591,6 @@ export const contracts = {
45764591
bigint
45774592
>
45784593
>,
4579-
removeStakerFromSetForCycle: {
4580-
name: 'remove-staker-from-set-for-cycle',
4581-
access: 'public',
4582-
args: [
4583-
{ name: 'stacker', type: 'principal' },
4584-
{ name: 'cycle', type: 'uint128' },
4585-
],
4586-
outputs: { type: { response: { ok: 'bool', error: 'uint128' } } },
4587-
} as TypedAbiFunction<
4588-
[
4589-
stacker: TypedAbiArg<string, 'stacker'>,
4590-
cycle: TypedAbiArg<number | bigint, 'cycle'>,
4591-
],
4592-
Response<boolean, bigint>
4593-
>,
45944594
revokeSignerGrant: {
45954595
name: 'revoke-signer-grant',
45964596
access: 'public',

0 commit comments

Comments
 (0)