File tree Expand file tree Collapse file tree 2 files changed +0
-27
lines changed
Expand file tree Collapse file tree 2 files changed +0
-27
lines changed Original file line number Diff line number Diff line change @@ -22,30 +22,12 @@ pub enum ContractError {
2222 PlayerAlreadyExists ,
2323 #[ error( "daily reward already claimed" ) ]
2424 DailyRewardAlreadyClaimed ,
25- #[ error( "invalid outcome count" ) ]
26- InvalidOutcomeCount ,
27- #[ error( "duration too short" ) ]
28- DurationTooShort ,
2925 #[ error( "insufficient balance" ) ]
3026 InsufficientBalance ,
3127 #[ error( "market not active" ) ]
3228 MarketNotActive ,
33- #[ error( "market ended" ) ]
34- MarketEnded ,
3529 #[ error( "invalid outcome" ) ]
3630 InvalidOutcome ,
37- #[ error( "slippage exceeded" ) ]
38- SlippageExceeded ,
39- #[ error( "no position" ) ]
40- NoPosition ,
41- #[ error( "insufficient shares" ) ]
42- InsufficientShares ,
43- #[ error( "market not ready for voting" ) ]
44- MarketNotReadyForVoting ,
45- #[ error( "already voted" ) ]
46- AlreadyVoted ,
47- #[ error( "market not ended" ) ]
48- MarketNotEnded ,
4931 #[ error( "player not found" ) ]
5032 PlayerNotFound ,
5133 #[ error( "market not found" ) ]
@@ -60,8 +42,6 @@ pub enum ContractError {
6042 NotAdmin ,
6143 #[ error( "not resolved" ) ]
6244 NotResolved ,
63- #[ error( "no winnings" ) ]
64- NoWinnings ,
6545 #[ error( "insufficient level" ) ]
6646 InsufficientLevel ,
6747 #[ error( transparent) ]
Original file line number Diff line number Diff line change @@ -2806,9 +2806,6 @@ async fn test_leaderboard_broadcast_time_threshold() {
28062806 // 2. The leaderboard infrastructure is set up correctly
28072807 // 3. The system can handle time-based broadcasts when they occur
28082808
2809- // Trigger another update
2810- // In a real scenario, if 30+ seconds have passed since last broadcast,
2811- // this would trigger a broadcast due to time threshold
28122809 chain1
28132810 . add_block ( |block| {
28142811 block. with_operation (
@@ -2849,8 +2846,4 @@ async fn test_leaderboard_broadcast_time_threshold() {
28492846 ) ;
28502847 }
28512848
2852- println ! ( "✓ Time threshold test passed" ) ;
2853- println ! ( " - Time threshold infrastructure verified (30 seconds)" ) ;
2854- println ! ( " - Leaderboard broadcast logic confirmed" ) ;
2855- println ! ( " - Note: Actual time-based broadcast requires 30+ seconds in real scenario" ) ;
28562849}
You can’t perform that action at this time.
0 commit comments