@@ -289,127 +289,127 @@ pub enum GovernanceError {
289
289
290
290
/// Realm council mint change is not supported
291
291
#[ error( "Realm council mint change is not supported" ) ]
292
- RealmCouncilMintChangeIsNotSupported ,
292
+ RealmCouncilMintChangeIsNotSupported , // 568
293
293
294
294
/// Invalid max voter weight absolute value
295
295
#[ error( "Invalid max voter weight absolute value" ) ]
296
- InvalidMaxVoterWeightAbsoluteValue ,
296
+ InvalidMaxVoterWeightAbsoluteValue , // 569
297
297
298
298
/// Invalid max voter weight supply fraction
299
299
#[ error( "Invalid max voter weight supply fraction" ) ]
300
- InvalidMaxVoterWeightSupplyFraction ,
300
+ InvalidMaxVoterWeightSupplyFraction , // 570
301
301
302
302
/// Owner doesn't have enough governing tokens to create Governance
303
303
#[ error( "Owner doesn't have enough governing tokens to create Governance" ) ]
304
- NotEnoughTokensToCreateGovernance ,
304
+ NotEnoughTokensToCreateGovernance , // 571
305
305
306
306
/// Too many outstanding proposals
307
307
#[ error( "Too many outstanding proposals" ) ]
308
- TooManyOutstandingProposals ,
308
+ TooManyOutstandingProposals , // 572
309
309
310
310
/// All proposals must be finalized to withdraw governing tokens
311
311
#[ error( "All proposals must be finalized to withdraw governing tokens" ) ]
312
- AllProposalsMustBeFinalisedToWithdrawGoverningTokens ,
312
+ AllProposalsMustBeFinalisedToWithdrawGoverningTokens , // 573
313
313
314
314
/// Invalid VoterWeightRecord for Realm
315
315
#[ error( "Invalid VoterWeightRecord for Realm" ) ]
316
- InvalidVoterWeightRecordForRealm ,
316
+ InvalidVoterWeightRecordForRealm , // 574
317
317
318
318
/// Invalid VoterWeightRecord for GoverningTokenMint
319
319
#[ error( "Invalid VoterWeightRecord for GoverningTokenMint" ) ]
320
- InvalidVoterWeightRecordForGoverningTokenMint ,
320
+ InvalidVoterWeightRecordForGoverningTokenMint , // 575
321
321
322
322
/// Invalid VoterWeightRecord for TokenOwner
323
323
#[ error( "Invalid VoterWeightRecord for TokenOwner" ) ]
324
- InvalidVoterWeightRecordForTokenOwner ,
324
+ InvalidVoterWeightRecordForTokenOwner , // 576
325
325
326
326
/// VoterWeightRecord expired
327
327
#[ error( "VoterWeightRecord expired" ) ]
328
- VoterWeightRecordExpired ,
328
+ VoterWeightRecordExpired , // 577
329
329
330
330
/// Invalid RealmConfig for Realm
331
331
#[ error( "Invalid RealmConfig for Realm" ) ]
332
- InvalidRealmConfigForRealm ,
332
+ InvalidRealmConfigForRealm , // 578
333
333
334
334
/// TokenOwnerRecord already exists
335
335
#[ error( "TokenOwnerRecord already exists" ) ]
336
- TokenOwnerRecordAlreadyExists ,
336
+ TokenOwnerRecordAlreadyExists , // 579
337
337
338
338
/// Governing token deposits not allowed
339
339
#[ error( "Governing token deposits not allowed" ) ]
340
- GoverningTokenDepositsNotAllowed ,
340
+ GoverningTokenDepositsNotAllowed , // 580
341
341
342
342
/// Invalid vote choice weight percentage
343
343
#[ error( "Invalid vote choice weight percentage" ) ]
344
- InvalidVoteChoiceWeightPercentage ,
344
+ InvalidVoteChoiceWeightPercentage , // 581
345
345
346
346
/// Vote type not supported
347
347
#[ error( "Vote type not supported" ) ]
348
- VoteTypeNotSupported ,
348
+ VoteTypeNotSupported , // 582
349
349
350
350
/// InvalidProposalOptions
351
351
#[ error( "Invalid proposal options" ) ]
352
- InvalidProposalOptions ,
352
+ InvalidProposalOptions , // 583
353
353
354
354
/// Proposal is not not executable
355
355
#[ error( "Proposal is not not executable" ) ]
356
- ProposalIsNotExecutable ,
356
+ ProposalIsNotExecutable , // 584
357
357
358
358
/// Invalid vote
359
359
#[ error( "Invalid vote" ) ]
360
- InvalidVote ,
360
+ InvalidVote , // 585
361
361
362
362
/// Cannot execute defeated option
363
363
#[ error( "Cannot execute defeated option" ) ]
364
- CannotExecuteDefeatedOption ,
364
+ CannotExecuteDefeatedOption , // 586
365
365
366
366
/// VoterWeightRecord invalid action
367
367
#[ error( "VoterWeightRecord invalid action" ) ]
368
- VoterWeightRecordInvalidAction ,
368
+ VoterWeightRecordInvalidAction , // 587
369
369
370
370
/// VoterWeightRecord invalid action target
371
371
#[ error( "VoterWeightRecord invalid action target" ) ]
372
- VoterWeightRecordInvalidActionTarget ,
372
+ VoterWeightRecordInvalidActionTarget , // 588
373
373
374
374
/// Invalid MaxVoterWeightRecord for Realm
375
375
#[ error( "Invalid MaxVoterWeightRecord for Realm" ) ]
376
- InvalidMaxVoterWeightRecordForRealm ,
376
+ InvalidMaxVoterWeightRecordForRealm , // 589
377
377
378
378
/// Invalid MaxVoterWeightRecord for GoverningTokenMint
379
379
#[ error( "Invalid MaxVoterWeightRecord for GoverningTokenMint" ) ]
380
- InvalidMaxVoterWeightRecordForGoverningTokenMint ,
380
+ InvalidMaxVoterWeightRecordForGoverningTokenMint , // 590
381
381
382
382
/// MaxVoterWeightRecord expired
383
383
#[ error( "MaxVoterWeightRecord expired" ) ]
384
- MaxVoterWeightRecordExpired ,
384
+ MaxVoterWeightRecordExpired , // 591
385
385
386
386
/// Not supported VoteType
387
387
#[ error( "Not supported VoteType" ) ]
388
- NotSupportedVoteType ,
388
+ NotSupportedVoteType , // 592
389
389
390
390
/// RealmConfig change not allowed
391
391
#[ error( "RealmConfig change not allowed" ) ]
392
- RealmConfigChangeNotAllowed ,
392
+ RealmConfigChangeNotAllowed , // 593
393
393
394
394
/// GovernanceConfig change not allowed
395
395
#[ error( "GovernanceConfig change not allowed" ) ]
396
- GovernanceConfigChangeNotAllowed ,
396
+ GovernanceConfigChangeNotAllowed , // 594
397
397
398
398
/// At least one VoteThreshold is required
399
399
#[ error( "At least one VoteThreshold is required" ) ]
400
- AtLeastOneVoteThresholdRequired ,
400
+ AtLeastOneVoteThresholdRequired , // 595
401
401
402
402
/// Reserved buffer must be empty
403
403
#[ error( "Reserved buffer must be empty" ) ]
404
- ReservedBufferMustBeEmpty ,
404
+ ReservedBufferMustBeEmpty , // 596
405
405
406
406
/// Cannot Relinquish in Finalizing state
407
407
#[ error( "Cannot Relinquish in Finalizing state" ) ]
408
- CannotRelinquishInFinalizingState ,
408
+ CannotRelinquishInFinalizingState , // 597
409
409
410
410
/// Invalid RealmConfig account address
411
411
#[ error( "Invalid RealmConfig account address" ) ]
412
- InvalidRealmConfigAddress ,
412
+ InvalidRealmConfigAddress , // 598
413
413
414
414
/// Cannot deposit dormant tokens
415
415
#[ error( "Cannot deposit dormant tokens" ) ]
0 commit comments