Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: CNS-single-provider #1689

Merged
merged 67 commits into from
Oct 10, 2024

Use Go version file for Lint job

cea2532
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

feat: CNS-single-provider #1689

Use Go version file for Lint job
cea2532
Select commit
Loading
Failed to load commit list.
GitHub Actions / Test Results failed Sep 20, 2024 in 0s

23 fail, 1 737 pass in 23m 28s

1 760 tests  +1 760   1 737 ✅ +1 737   23m 28s ⏱️ + 23m 28s
  145 suites +  145       0 💤 ±    0 
    7 files   +    3      23 ❌ +   23 

Results for commit cea2532. ± Comparison against earlier commit f229965.

Annotations

Check warning on line 0 in github.com/lavanet/lava/v3/x/dualstaking/keeper

See this annotation in the file changed.

@github-actions github-actions / Test Results

TestDelegate (github.com/lavanet/lava/v3/x/dualstaking/keeper) failed

artifacts/Test Results (Consensus)/x-report.xml [took 0s]
Raw output
Failed
Reproduce With testing seed:  1726800880
Sep 20 02:54:40 WRN validator stake should usually be larger than the amount of tokens for one 
		unit of consensus power error="validator stake might be too small" consensus_power_tokens=1000000 validator_stake=100000
    delegate_test.go:104: 
        	Error Trace:	/home/runner/work/lava/lava/x/dualstaking/keeper/delegate_test.go:104
        	Error:      	Should be true
        	Test:       	TestDelegate

Check warning on line 0 in github.com/lavanet/lava/v3/x/dualstaking/keeper

See this annotation in the file changed.

@github-actions github-actions / Test Results

TestRedelegate (github.com/lavanet/lava/v3/x/dualstaking/keeper) failed

artifacts/Test Results (Consensus)/x-report.xml [took 0s]
Raw output
Failed
Reproduce With testing seed:  1726800880
Sep 20 02:54:40 WRN validator stake should usually be larger than the amount of tokens for one 
		unit of consensus power error="validator stake might be too small" consensus_power_tokens=1000000 validator_stake=100000
    delegate_test.go:244: 
        	Error Trace:	/home/runner/work/lava/lava/x/dualstaking/keeper/delegate_test.go:244
        	Error:      	Should be true
        	Test:       	TestRedelegate

Check warning on line 0 in github.com/lavanet/lava/v3/x/dualstaking/keeper

See this annotation in the file changed.

@github-actions github-actions / Test Results

TestUnbond (github.com/lavanet/lava/v3/x/dualstaking/keeper) failed

artifacts/Test Results (Consensus)/x-report.xml [took 0s]
Raw output
Failed
Reproduce With testing seed:  1726800880
Sep 20 02:54:40 WRN validator stake should usually be larger than the amount of tokens for one 
		unit of consensus power error="validator stake might be too small" consensus_power_tokens=1000000 validator_stake=100000
    delegate_test.go:383: 
        	Error Trace:	/home/runner/work/lava/lava/x/dualstaking/keeper/delegate_test.go:383
        	Error:      	Should be true
        	Test:       	TestUnbond

Check warning on line 0 in github.com/lavanet/lava/v3/x/dualstaking/keeper

See this annotation in the file changed.

@github-actions github-actions / Test Results

TestBondUnbondBond (github.com/lavanet/lava/v3/x/dualstaking/keeper) failed

artifacts/Test Results (Consensus)/x-report.xml [took 0s]
Raw output
Failed
Reproduce With testing seed:  1726800880
Sep 20 02:54:40 WRN validator stake should usually be larger than the amount of tokens for one 
		unit of consensus power error="validator stake might be too small" consensus_power_tokens=1000000 validator_stake=100000
    delegate_test.go:474: 
        	Error Trace:	/home/runner/work/lava/lava/x/dualstaking/keeper/delegate_test.go:474
        	Error:      	Should be true
        	Test:       	TestBondUnbondBond

Check warning on line 0 in github.com/lavanet/lava/v3/x/dualstaking/keeper

See this annotation in the file changed.

@github-actions github-actions / Test Results

TestDualstakingUnbondStakeIsLowerThanMinSelfDelegationCausesUnstake (github.com/lavanet/lava/v3/x/dualstaking/keeper) failed

artifacts/Test Results (Consensus)/x-report.xml [took 0s]
Raw output
Failed
Reproduce With testing seed:  1726800881
Sep 20 02:54:41 WRN validator stake should usually be larger than the amount of tokens for one 
		unit of consensus power error="validator stake might be too small" consensus_power_tokens=1000000 validator_stake=100000
Sep 20 02:54:41 ERR self delegation below minimum, use unstake tx chainID=mockspec
Sep 20 02:54:41 WRN failed to decrease delegation error="self delegation below minimum, use unstake tx {chainID:mockspec}" amount=99999ulava delegator=cosmos1d3umw7r6789p3lfl5djgnl5m03xxzkxen72np8 provider=cosmos15mc8uvqpyvsf7ngr9v936sw0gme5x4zghgrru0
    delegate_test.go:539: 
        	Error Trace:	/home/runner/work/lava/lava/x/dualstaking/keeper/delegate_test.go:539
        	Error:      	Received unexpected error:
        	            	
        	            	github.com/lavanet/lava/v3/utils.LavaFormatLog
        	            		/home/runner/work/lava/lava/utils/lavalog.go:287
        	            	github.com/lavanet/lava/v3/utils.LavaFormatWarning
        	            		/home/runner/work/lava/lava/utils/lavalog.go:321
        	            	github.com/lavanet/lava/v3/x/dualstaking/keeper.Keeper.Redelegate
        	            		/home/runner/work/lava/lava/x/dualstaking/keeper/delegate.go:252
        	            	github.com/lavanet/lava/v3/x/dualstaking/keeper.Keeper.UnbondFull
        	            		/home/runner/work/lava/lava/x/dualstaking/keeper/msg_server_unbond.go:43
        	            	github.com/lavanet/lava/v3/x/dualstaking/keeper.msgServer.Unbond
        	            		/home/runner/work/lava/lava/x/dualstaking/keeper/msg_server_unbond.go:14
        	            	github.com/lavanet/lava/v3/testutil/common.(*Tester).TxDualstakingUnbondValidator
        	            		/home/runner/work/lava/lava/testutil/common/tester.go:456
        	            	github.com/lavanet/lava/v3/testutil/common.(*Tester).TxDualstakingUnbond
        	            		/home/runner/work/lava/lava/testutil/common/tester.go:434
        	            	github.com/lavanet/lava/v3/x/dualstaking/keeper_test.TestDualstakingUnbondStakeIsLowerThanMinSelfDelegationCausesUnstake
        	            		/home/runner/work/lava/lava/x/dualstaking/keeper/delegate_test.go:538
        	            	failed to decrease delegation ErrMsg: self delegation below minimum, use unstake tx {chainID:mockspec} {delegator:cosmos1d3umw7r6789p3lfl5djgnl5m03xxzkxen72np8,provider:cosmos15mc8uvqpyvsf7ngr9v936sw0gme5x4zghgrru0,amount:99999ulava}: self delegation below minimum, use unstake tx {chainID:mockspec}
        	Test:       	TestDualstakingUnbondStakeIsLowerThanMinSelfDelegationCausesUnstake

Check warning on line 0 in github.com/lavanet/lava/v3/x/dualstaking/keeper

See this annotation in the file changed.

@github-actions github-actions / Test Results

TestDualstakingRedelegateFreezeOneUnFreezeOther (github.com/lavanet/lava/v3/x/dualstaking/keeper) failed

artifacts/Test Results (Consensus)/x-report.xml [took 0s]
Raw output
Failed
Reproduce With testing seed:  1726800881
Sep 20 02:54:41 WRN validator stake should usually be larger than the amount of tokens for one 
		unit of consensus power error="validator stake might be too small" consensus_power_tokens=1000000 validator_stake=100000
    delegate_test.go:600: 
        	Error Trace:	/home/runner/work/lava/lava/x/dualstaking/keeper/delegate_test.go:600
        	Error:      	Should be true
        	Test:       	TestDualstakingRedelegateFreezeOneUnFreezeOther

Check warning on line 0 in github.com/lavanet/lava/v3/x/dualstaking/keeper

See this annotation in the file changed.

@github-actions github-actions / Test Results

TestDelegatorRewardGet (github.com/lavanet/lava/v3/x/dualstaking/keeper) failed

artifacts/Test Results (Consensus)/x-report.xml [took 0s]
Raw output
Failed
    delegator_reward_test.go:34: 
        	Error Trace:	/home/runner/work/lava/lava/x/dualstaking/keeper/delegator_reward_test.go:34
        	Error:      	Should be true
        	Test:       	TestDelegatorRewardGet

Check warning on line 0 in github.com/lavanet/lava/v3/x/dualstaking/keeper

See this annotation in the file changed.

@github-actions github-actions / Test Results

TestQueryWithPendingDelegations (github.com/lavanet/lava/v3/x/dualstaking/keeper) failed

artifacts/Test Results (Consensus)/x-report.xml [took 0s]
Raw output
Failed
Reproduce With testing seed:  1726800881
Sep 20 02:54:41 WRN validator stake should usually be larger than the amount of tokens for one 
		unit of consensus power error="validator stake might be too small" consensus_power_tokens=1000000 validator_stake=100000
    grpc_query_delegator_providers_test.go:89: 
        	Error Trace:	/home/runner/work/lava/lava/x/dualstaking/keeper/grpc_query_delegator_providers_test.go:89
        	Error:      	Not equal: 
        	            	expected: 0
        	            	actual  : 1
        	Test:       	TestQueryWithPendingDelegations

Check warning on line 0 in github.com/lavanet/lava/v3/x/dualstaking/keeper

See this annotation in the file changed.

@github-actions github-actions / Test Results

TestQueryProviderDelegatorsWithPendingDelegations (github.com/lavanet/lava/v3/x/dualstaking/keeper) failed

artifacts/Test Results (Consensus)/x-report.xml [took 0s]
Raw output
Failed
Reproduce With testing seed:  1726800881
Sep 20 02:54:41 WRN validator stake should usually be larger than the amount of tokens for one 
		unit of consensus power error="validator stake might be too small" consensus_power_tokens=1000000 validator_stake=100000
    grpc_query_provider_delegators_test.go:105: 
        	Error Trace:	/home/runner/work/lava/lava/x/dualstaking/keeper/grpc_query_provider_delegators_test.go:105
        	Error:      	Not equal: 
        	            	expected: 1
        	            	actual  : 2
        	Test:       	TestQueryProviderDelegatorsWithPendingDelegations

Check warning on line 0 in github.com/lavanet/lava/v3/x/dualstaking/keeper

See this annotation in the file changed.

@github-actions github-actions / Test Results

TestReDelegateToProvider (github.com/lavanet/lava/v3/x/dualstaking/keeper) failed

artifacts/Test Results (Consensus)/x-report.xml [took 0s]
Raw output
Failed
Reproduce With testing seed:  1726800881
Sep 20 02:54:41 WRN validator stake should usually be larger than the amount of tokens for one 
		unit of consensus power error="validator stake might be too small" consensus_power_tokens=1000000 validator_stake=10000
    hooks_test.go:147: 
        	Error Trace:	/home/runner/work/lava/lava/x/dualstaking/keeper/hooks_test.go:147
        	Error:      	Not equal: 
        	            	expected: &types.QueryDelegatorProvidersResponse{Delegations:[]types.Delegation{types.Delegation{Provider:"empty_provider", Delegator:"cosmos1zklelxvyyh0gwxkzqgeqcqz208nsagv6kxceqe", Amount:types.Coin{Denom:"ulava", Amount:math.Int{i:(*big.Int)(0xc000a25280)}}, Timestamp:1729410881}}}
        	            	actual  : &types.QueryDelegatorProvidersResponse{Delegations:[]types.Delegation{types.Delegation{Provider:"cosmos1u69jx22ty0y36a0xndcsmq43594lwl7yh6thdw", Delegator:"cosmos1zklelxvyyh0gwxkzqgeqcqz208nsagv6kxceqe", Amount:types.Coin{Denom:"ulava", Amount:math.Int{i:(*big.Int)(0xc000b456e0)}}, Timestamp:1729416881}}}
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -3,3 +3,3 @@
        	            	   (types.Delegation) {
        	            	-   Provider: (string) (len=14) "empty_provider",
        	            	+   Provider: (string) (len=45) "cosmos1u69jx22ty0y36a0xndcsmq43594lwl7yh6thdw",
        	            	    Delegator: (string) (len=45) "cosmos1zklelxvyyh0gwxkzqgeqcqz208nsagv6kxceqe",
        	            	@@ -16,3 +16,3 @@
        	            	    },
        	            	-   Timestamp: (int64) 1729410881
        	            	+   Timestamp: (int64) 1729416881
        	            	   }
        	Test:       	TestReDelegateToProvider

Check warning on line 0 in github.com/lavanet/lava/v3/x/dualstaking/keeper

See this annotation in the file changed.

@github-actions github-actions / Test Results

TestUnbondValidatorButNotRemoveStakeEntry (github.com/lavanet/lava/v3/x/dualstaking/keeper) failed

artifacts/Test Results (Consensus)/x-report.xml [took 0s]
Raw output
Failed
Reproduce With testing seed:  1726800882
Sep 20 02:54:42 WRN validator stake should usually be larger than the amount of tokens for one 
		unit of consensus power error="validator stake might be too small" consensus_power_tokens=1000000 validator_stake=9999
Sep 20 02:54:42 WRN validator stake should usually be larger than the amount of tokens for one 
		unit of consensus power error="validator stake might be too small" consensus_power_tokens=1000000 validator_stake=9998
Sep 20 02:54:42 ERR self delegation below minimum, use unstake tx chainID=mockspec
Sep 20 02:54:42 WRN failed to decrease delegation error="self delegation below minimum, use unstake tx {chainID:mockspec}" amount=9999ulava delegator=cosmos1sh2ytgxsps6j8cj8t0gnzh7fl464tyj33kdvlx provider=cosmos1t4xq0g5t8g8zptma8kpwgvxeez4me8nx85xlcl
Sep 20 02:54:42 ERR delegation removed hook failed error="failed to decrease delegation ErrMsg: self delegation below minimum, use unstake tx {chainID:mockspec} {delegator:cosmos1sh2ytgxsps6j8cj8t0gnzh7fl464tyj33kdvlx,provider:cosmos1t4xq0g5t8g8zptma8kpwgvxeez4me8nx85xlcl,amount:9999ulava}: self delegation below minimum, use unstake tx {chainID:mockspec}" amount=9999 delegator_address=cosmos1sh2ytgxsps6j8cj8t0gnzh7fl464tyj33kdvlx validator_address=cosmosvaloper1yktlyr364vy2l6cdg5et0rn8daq3daxv8p3ze5
    hooks_test.go:568: 
        	Error Trace:	/home/runner/work/lava/lava/x/dualstaking/keeper/hooks_test.go:568
        	Error:      	Received unexpected error:
        	            	
        	            	github.com/lavanet/lava/v3/utils.LavaFormatLog
        	            		/home/runner/work/lava/lava/utils/lavalog.go:287
        	            	github.com/lavanet/lava/v3/utils.LavaFormatWarning
        	            		/home/runner/work/lava/lava/utils/lavalog.go:321
        	            	github.com/lavanet/lava/v3/x/dualstaking/keeper.Keeper.unbond
        	            		/home/runner/work/lava/lava/x/dualstaking/keeper/delegate.go:294
        	            	github.com/lavanet/lava/v3/x/dualstaking/keeper.Keeper.UnbondUniformProviders
        	            		/home/runner/work/lava/lava/x/dualstaking/keeper/delegate.go:441
        	            	github.com/lavanet/lava/v3/x/dualstaking/keeper.Hooks.BeforeDelegationRemoved
        	            		/home/runner/work/lava/lava/x/dualstaking/keeper/hooks.go:106
        	            	github.com/cosmos/cosmos-sdk/x/staking/types.MultiStakingHooks.BeforeDelegationRemoved
        	            		/home/runner/go/pkg/mod/github.com/lavanet/cosmos-sdk@v0.47.13-lava-cosmos/x/staking/types/hooks.go:82
        	            	github.com/cosmos/cosmos-sdk/x/staking/keeper.Keeper.RemoveDelegation
        	            		/home/runner/go/pkg/mod/github.com/lavanet/cosmos-sdk@v0.47.13-lava-cosmos/x/staking/keeper/delegation.go:106
        	            	github.com/cosmos/cosmos-sdk/x/staking/keeper.Keeper.Unbond
        	            		/home/runner/go/pkg/mod/github.com/lavanet/cosmos-sdk@v0.47.13-lava-cosmos/x/staking/keeper/delegation.go:760
        	            	github.com/cosmos/cosmos-sdk/x/staking/keeper.Keeper.Undelegate
        	            		/home/runner/go/pkg/mod/github.com/lavanet/cosmos-sdk@v0.47.13-lava-cosmos/x/staking/keeper/delegation.go:827
        	            	github.com/cosmos/cosmos-sdk/x/staking/keeper.msgServer.Undelegate
        	            		/home/runner/go/pkg/mod/github.com/lavanet/cosmos-sdk@v0.47.13-lava-cosmos/x/staking/keeper/msg_server.go:342
        	            	github.com/lavanet/lava/v3/testutil/common.(*Tester).TxUnbondValidator
        	            		/home/runner/work/lava/lava/testutil/common/tester.go:750
        	            	github.com/lavanet/lava/v3/x/dualstaking/keeper_test.TestUnbondValidatorButNotRemoveStakeEntry
        	            		/home/runner/work/lava/lava/x/dualstaking/keeper/hooks_test.go:567
        	            	delegation removed hook failed ErrMsg: failed to decrease delegation ErrMsg: self delegation below minimum, use unstake tx {chainID:mockspec} {delegator:cosmos1sh2ytgxsps6j8cj8t0gnzh7fl464tyj33kdvlx,provider:cosmos1t4xq0g5t8g8zptma8kpwgvxeez4me8nx85xlcl,amount:9999ulava}: self delegation below minimum, use unstake tx {chainID:mockspec} {validator_address:cosmosvaloper1yktlyr364vy2l6cdg5et0rn8daq3daxv8p3ze5,delegator_address:cosmos1sh2ytgxsps6j8cj8t0gnzh7fl464tyj33kdvlx,amount:9999}: failed to decrease delegation ErrMsg: self delegation below minimum, use unstake tx {chainID:mockspec} {delegator:cosmos1sh2ytgxsps6j8cj8t0gnzh7fl464tyj33kdvlx,provider:cosmos1t4xq0g5t8g8zptma8kpwgvxeez4me8nx85xlcl,amount:9999ulava}: self delegation below minimum, use unstake tx {chainID:mockspec}
        	Test:       	TestUnbondValidatorButNotRemoveStakeEntry

Check warning on line 0 in github.com/lavanet/lava/v3/x/dualstaking/keeper

See this annotation in the file changed.

@github-actions github-actions / Test Results

TestUndelegateProvider (github.com/lavanet/lava/v3/x/dualstaking/keeper) failed

artifacts/Test Results (Consensus)/x-report.xml [took 0s]
Raw output
Failed
Reproduce With testing seed:  1726800882
Sep 20 02:54:42 WRN validator stake should usually be larger than the amount of tokens for one 
		unit of consensus power error="validator stake might be too small" consensus_power_tokens=1000000 validator_stake=9999
Sep 20 02:54:42 WRN validator stake should usually be larger than the amount of tokens for one 
		unit of consensus power error="validator stake might be too small" consensus_power_tokens=1000000 validator_stake=9998
Sep 20 02:54:42 INF addresses:
 delegator1=cosmos1c9v0huw9wusnmkfkkq2wa58fgv75f0ndgx6svz provider=cosmos1t4xq0g5t8g8zptma8kpwgvxeez4me8nx85xlcl vault=cosmos1sh2ytgxsps6j8cj8t0gnzh7fl464tyj33kdvlx
Delegation of Provider before provider is removed delegations:<provider:"cosmos1t4xq0g5t8g8zptma8kpwgvxeez4me8nx85xlcl" delegator:"cosmos1c9v0huw9wusnmkfkkq2wa58fgv75f0ndgx6svz" amount:<denom:"ulava" amount:"9999" > timestamp:1729405482 > delegations:<provider:"cosmos1t4xq0g5t8g8zptma8kpwgvxeez4me8nx85xlcl" delegator:"cosmos1sh2ytgxsps6j8cj8t0gnzh7fl464tyj33kdvlx" amount:<denom:"ulava" amount:"9999" > timestamp:1729405482 > 
Sep 20 02:54:42 WRN can't unbond self delegation error="invalid shares amount: invalid request" address=cosmos1t4xq0g5t8g8zptma8kpwgvxeez4me8nx85xlcl spec=mockspec
    hooks_test.go:639: 
        	Error Trace:	/home/runner/work/lava/lava/x/dualstaking/keeper/hooks_test.go:639
        	Error:      	Received unexpected error:
        	            	
        	            	github.com/cosmos/cosmos-sdk/x/staking/keeper.Keeper.ValidateUnbondAmount
        	            		/home/runner/go/pkg/mod/github.com/lavanet/cosmos-sdk@v0.47.13-lava-cosmos/x/staking/keeper/delegation.go:1019
        	            	github.com/lavanet/lava/v3/x/dualstaking/keeper.Keeper.UnbondFull
        	            		/home/runner/work/lava/lava/x/dualstaking/keeper/msg_server_unbond.go:31
        	            	github.com/lavanet/lava/v3/x/pairing/keeper.Keeper.UnstakeEntry
        	            		/home/runner/work/lava/lava/x/pairing/keeper/unstaking.go:53
        	            	github.com/lavanet/lava/v3/x/pairing/keeper.msgServer.UnstakeProvider
        	            		/home/runner/work/lava/lava/x/pairing/keeper/msg_server_unstake_provider.go:13
        	            	github.com/lavanet/lava/v3/testutil/common.(*Tester).TxPairingUnstakeProvider
        	            		/home/runner/work/lava/lava/testutil/common/tester.go:650
        	            	github.com/lavanet/lava/v3/x/dualstaking/keeper_test.TestUndelegateProvider
        	            		/home/runner/work/lava/lava/x/dualstaking/keeper/hooks_test.go:638
        	            	can't unbond self delegation ErrMsg: invalid shares amount: invalid request {address:cosmos1t4xq0g5t8g8zptma8kpwgvxeez4me8nx85xlcl,spec:mockspec}: invalid shares amount: invalid request
        	Test:       	TestUndelegateProvider

Check warning on line 0 in github.com/lavanet/lava/v3/x/dualstaking/types

See this annotation in the file changed.

@github-actions github-actions / Test Results

TestGenesisState_Validate (github.com/lavanet/lava/v3/x/dualstaking/types) failed

artifacts/Test Results (Consensus)/x-report.xml [took 0s]
Raw output
Failed

Check warning on line 0 in github.com/lavanet/lava/v3/x/dualstaking/types

See this annotation in the file changed.

@github-actions github-actions / Test Results

TestGenesisState_Validate/duplicated_delegatorReward (github.com/lavanet/lava/v3/x/dualstaking/types) failed

artifacts/Test Results (Consensus)/x-report.xml [took 0s]
Raw output
Failed
    genesis_test.go:61: 
        	Error Trace:	/home/runner/work/lava/lava/x/dualstaking/types/genesis_test.go:61
        	Error:      	An error is expected but got nil.
        	Test:       	TestGenesisState_Validate/duplicated_delegatorReward

Check warning on line 0 in github.com/lavanet/lava/v3/x/epochstorage/keeper

See this annotation in the file changed.

@github-actions github-actions / Test Results

TestRemoveStakeEntryCurrent (github.com/lavanet/lava/v3/x/epochstorage/keeper) failed

artifacts/Test Results (Consensus)/x-report.xml [took 0s]
Raw output
Failed

Check warning on line 0 in github.com/lavanet/lava/v3/x/pairing/keeper

See this annotation in the file changed.

@github-actions github-actions / Test Results

TestTrackedCuWithExpiredSubscription (github.com/lavanet/lava/v3/x/pairing/keeper) failed

artifacts/Test Results (Consensus)/x-report.xml [took 0s]
Raw output
Failed
Reproduce With testing seed:  1726800891
Sep 20 02:54:51 DBG charging sub for cu amonut charge_cu=100 month_cu_left=99900 sub=cosmos1r5gar3ufcdjf9ssjqjjts9zxhwqu8jf0sazqv3 sub_block=40
Sep 20 02:54:51 DBG adding tracked cu added_cu=100 block=40 chain_id=mockspec provider=cosmos1adxhr23jz0cl3jqwmt6dyv7qlajqnakpt7qm2e sub=cosmos1r5gar3ufcdjf9ssjqjjts9zxhwqu8jf0sazqv3
Sep 20 02:54:51 ERR current month iprpc reward not found error="did not reward providers IPRPC bonus"
    helpers_test.go:244: 
        	Error Trace:	/home/runner/work/lava/lava/x/pairing/keeper/helpers_test.go:244
        	            				/home/runner/work/lava/lava/x/pairing/keeper/cu_tracker_test.go:131
        	Error:      	Should be true
        	Test:       	TestTrackedCuWithExpiredSubscription

Check warning on line 0 in github.com/lavanet/lava/v3/x/pairing/keeper

See this annotation in the file changed.

@github-actions github-actions / Test Results

TestTrackedCuWithDelegations (github.com/lavanet/lava/v3/x/pairing/keeper) failed

artifacts/Test Results (Consensus)/x-report.xml [took 0s]
Raw output
Failed
Reproduce With testing seed:  1726800891
Sep 20 02:54:51 DBG charging sub for cu amonut charge_cu=100 month_cu_left=99900 sub=cosmos1wryrqtdt9f6fylsa20kfa6af0ft2wdhaf2kykx sub_block=41
Sep 20 02:54:51 DBG adding tracked cu added_cu=100 block=41 chain_id=mockspec provider=cosmos1283vhjag2fdcjcss24c0aw9rk7z7f9jwkvqdjr sub=cosmos1wryrqtdt9f6fylsa20kfa6af0ft2wdhaf2kykx
Sep 20 02:54:51 ERR current month iprpc reward not found error="did not reward providers IPRPC bonus"
    helpers_test.go:244: 
        	Error Trace:	/home/runner/work/lava/lava/x/pairing/keeper/helpers_test.go:244
        	            				/home/runner/work/lava/lava/x/pairing/keeper/cu_tracker_test.go:163
        	Error:      	Should be true
        	Test:       	TestTrackedCuWithDelegations

Check warning on line 0 in github.com/lavanet/lava/v3/x/pairing/keeper

See this annotation in the file changed.

@github-actions github-actions / Test Results

TestTrackedCuWithQos (github.com/lavanet/lava/v3/x/pairing/keeper) failed

artifacts/Test Results (Consensus)/x-report.xml [took 0s]
Raw output
Failed
Reproduce With testing seed:  1726800891

Check warning on line 0 in github.com/lavanet/lava/v3/x/pairing/keeper

See this annotation in the file changed.

@github-actions github-actions / Test Results

TestTrackedCuWithQos/provider1WorstThanOther (github.com/lavanet/lava/v3/x/pairing/keeper) failed

artifacts/Test Results (Consensus)/x-report.xml [took 0s]
Raw output
Failed
Sep 20 02:54:51 DBG charging sub for cu amonut charge_cu=100 month_cu_left=99900 sub=cosmos1wryrqtdt9f6fylsa20kfa6af0ft2wdhaf2kykx sub_block=41
Sep 20 02:54:51 DBG adding tracked cu added_cu=50 block=41 chain_id=mockspec provider=cosmos1283vhjag2fdcjcss24c0aw9rk7z7f9jwkvqdjr sub=cosmos1wryrqtdt9f6fylsa20kfa6af0ft2wdhaf2kykx
Sep 20 02:54:51 DBG charging sub for cu amonut charge_cu=100 month_cu_left=99800 sub=cosmos1wryrqtdt9f6fylsa20kfa6af0ft2wdhaf2kykx sub_block=41
Sep 20 02:54:51 DBG adding tracked cu added_cu=100 block=41 chain_id=mockspec provider=cosmos1f2nz6cjrpavxz8ptn6prq4nxwazaqtftzxl2jh sub=cosmos1wryrqtdt9f6fylsa20kfa6af0ft2wdhaf2kykx
Sep 20 02:54:51 DBG snapshotting project block=80 entry_block=40 project_id=cosmos1wryrqtdt9f6fylsa20kfa6af0ft2wdhaf2kykx-admin
Sep 20 02:54:51 ERR current month iprpc reward not found error="did not reward providers IPRPC bonus"
    cu_tracker_test.go:264: 
        	Error Trace:	/home/runner/work/lava/lava/x/pairing/keeper/cu_tracker_test.go:264
        	Error:      	"[]" should have 1 item(s), but has 0
        	Test:       	TestTrackedCuWithQos/provider1WorstThanOther

Check warning on line 0 in github.com/lavanet/lava/v3/x/pairing/keeper

See this annotation in the file changed.

@github-actions github-actions / Test Results

TestTrackedCuWithQos/bothBadQos (github.com/lavanet/lava/v3/x/pairing/keeper) failed

artifacts/Test Results (Consensus)/x-report.xml [took 0s]
Raw output
Failed
Sep 20 02:54:51 DBG charging sub for cu amonut charge_cu=100 month_cu_left=99900 sub=cosmos1wryrqtdt9f6fylsa20kfa6af0ft2wdhaf2kykx sub_block=80
Sep 20 02:54:51 DBG adding tracked cu added_cu=50 block=80 chain_id=mockspec provider=cosmos1283vhjag2fdcjcss24c0aw9rk7z7f9jwkvqdjr sub=cosmos1wryrqtdt9f6fylsa20kfa6af0ft2wdhaf2kykx
Sep 20 02:54:51 DBG charging sub for cu amonut charge_cu=100 month_cu_left=99800 sub=cosmos1wryrqtdt9f6fylsa20kfa6af0ft2wdhaf2kykx sub_block=80
Sep 20 02:54:51 DBG adding tracked cu added_cu=50 block=80 chain_id=mockspec provider=cosmos1f2nz6cjrpavxz8ptn6prq4nxwazaqtftzxl2jh sub=cosmos1wryrqtdt9f6fylsa20kfa6af0ft2wdhaf2kykx
Sep 20 02:54:51 ERR current month iprpc reward not found error="did not reward providers IPRPC bonus"
    cu_tracker_test.go:264: 
        	Error Trace:	/home/runner/work/lava/lava/x/pairing/keeper/cu_tracker_test.go:264
        	Error:      	"[]" should have 1 item(s), but has 0
        	Test:       	TestTrackedCuWithQos/bothBadQos

Check warning on line 0 in github.com/lavanet/lava/v3/x/pairing/keeper

See this annotation in the file changed.

@github-actions github-actions / Test Results

TestTrackedCuPlanPriceChange (github.com/lavanet/lava/v3/x/pairing/keeper) failed

artifacts/Test Results (Consensus)/x-report.xml [took 0s]
Raw output
Failed
Reproduce With testing seed:  1726800891
Sep 20 02:54:51 DBG charging sub for cu amonut charge_cu=100 month_cu_left=99900 sub=cosmos1wryrqtdt9f6fylsa20kfa6af0ft2wdhaf2kykx sub_block=41
Sep 20 02:54:51 DBG adding tracked cu added_cu=100 block=41 chain_id=mockspec provider=cosmos1283vhjag2fdcjcss24c0aw9rk7z7f9jwkvqdjr sub=cosmos1wryrqtdt9f6fylsa20kfa6af0ft2wdhaf2kykx
Sep 20 02:54:51 ERR current month iprpc reward not found error="did not reward providers IPRPC bonus"

Check warning on line 0 in github.com/lavanet/lava/v3/x/rewards/keeper

See this annotation in the file changed.

@github-actions github-actions / Test Results

TestIprpcProviderRewardQuery (github.com/lavanet/lava/v3/x/rewards/keeper) failed

artifacts/Test Results (Consensus)/x-report.xml [took 0s]
Raw output
Failed
Reproduce With testing seed:  1726800908
Sep 20 02:55:08 WRN validator stake should usually be larger than the amount of tokens for one 
		unit of consensus power error="validator stake might be too small" consensus_power_tokens=1000000 validator_stake=100000
Sep 20 02:55:08 DBG snapshotting project block=40 entry_block=0 project_id=cosmos1l2djpewqt0z6euewr4yc7y0srxsyznqjp7xhn8-admin
Sep 20 02:55:08 DBG snapshotting project block=40 entry_block=0 project_id=cosmos1w3ksg555hv2jakc2a62xxsef4xn05nv3nu3cfa-admin
Sep 20 02:55:08 ERR current month iprpc reward not found error="did not reward providers IPRPC bonus"
Sep 20 02:55:08 DBG charging sub for cu amonut charge_cu=100 month_cu_left=3124999999900 sub=cosmos1l2djpewqt0z6euewr4yc7y0srxsyznqjp7xhn8 sub_block=40
Sep 20 02:55:08 DBG adding tracked cu added_cu=100 block=40 chain_id=mock2 provider=cosmos1qyqyda9he8pk04274wdcp7rpz9yyud4t226fuu sub=cosmos1l2djpewqt0z6euewr4yc7y0srxsyznqjp7xhn8
Sep 20 02:55:08 DBG charging sub for cu amonut charge_cu=150 month_cu_left=3124999999850 sub=cosmos1w3ksg555hv2jakc2a62xxsef4xn05nv3nu3cfa sub_block=40
Sep 20 02:55:08 DBG adding tracked cu added_cu=150 block=40 chain_id=mock2 provider=cosmos1qyqyda9he8pk04274wdcp7rpz9yyud4t226fuu sub=cosmos1w3ksg555hv2jakc2a62xxsef4xn05nv3nu3cfa
Sep 20 02:55:08 DBG charging sub for cu amonut charge_cu=400 month_cu_left=3124999999500 sub=cosmos1l2djpewqt0z6euewr4yc7y0srxsyznqjp7xhn8 sub_block=40
Sep 20 02:55:08 DBG adding tracked cu added_cu=400 block=40 chain_id=mock2 provider=cosmos1xc9gjlj9kk9ycu4fqhwec8ea9ccfg9j8e50rt6 sub=cosmos1l2djpewqt0z6euewr4yc7y0srxsyznqjp7xhn8
Sep 20 02:55:08 DBG charging sub for cu amonut charge_cu=450 month_cu_left=3124999999400 sub=cosmos1w3ksg555hv2jakc2a62xxsef4xn05nv3nu3cfa sub_block=40
Sep 20 02:55:08 DBG adding tracked cu added_cu=450 block=40 chain_id=mock2 provider=cosmos1xc9gjlj9kk9ycu4fqhwec8ea9ccfg9j8e50rt6 sub=cosmos1w3ksg555hv2jakc2a62xxsef4xn05nv3nu3cfa
Sep 20 02:55:08 DBG snapshotting project block=60 entry_block=40 project_id=cosmos1l2djpewqt0z6euewr4yc7y0srxsyznqjp7xhn8-admin
Sep 20 02:55:08 DBG snapshotting project block=60 entry_block=40 project_id=cosmos1w3ksg555hv2jakc2a62xxsef4xn05nv3nu3cfa-admin

Check warning on line 0 in github.com/lavanet/lava/v3/x/subscription/keeper

See this annotation in the file changed.

@github-actions github-actions / Test Results

TestSubscriptionCuExhaustAndUpgrade (github.com/lavanet/lava/v3/x/subscription/keeper) failed

artifacts/Test Results (Consensus)/x-report.xml [took 0s]
Raw output
Failed
Reproduce With testing seed:  1726800922
Sep 20 02:55:22 DBG charging sub for cu amonut charge_cu=1000 month_cu_left=99000 sub=cosmos1cv3lqdxz9v2kjer6w3rshu8ymrn0qm5m4h8fs2 sub_block=40
Sep 20 02:55:22 DBG adding tracked cu added_cu=1000 block=40 chain_id=mockspec provider=cosmos1ffaf8cm0tm8350vpnx3x4a64mmvllyp4zu4aqe sub=cosmos1cv3lqdxz9v2kjer6w3rshu8ymrn0qm5m4h8fs2
Sep 20 02:55:22 DBG snapshotting project block=60 entry_block=40 project_id=cosmos1cv3lqdxz9v2kjer6w3rshu8ymrn0qm5m4h8fs2-admin
Sep 20 02:55:22 DBG charging sub for cu amonut charge_cu=1000 month_cu_left=109000 sub=cosmos1cv3lqdxz9v2kjer6w3rshu8ymrn0qm5m4h8fs2 sub_block=60
Sep 20 02:55:22 DBG adding tracked cu added_cu=1000 block=60 chain_id=mockspec provider=cosmos1ffaf8cm0tm8350vpnx3x4a64mmvllyp4zu4aqe sub=cosmos1cv3lqdxz9v2kjer6w3rshu8ymrn0qm5m4h8fs2
Sep 20 02:55:22 DBG snapshotting project block=80 entry_block=60 project_id=cosmos1cv3lqdxz9v2kjer6w3rshu8ymrn0qm5m4h8fs2-admin
Sep 20 02:55:22 DBG charging sub for cu amonut charge_cu=1000 month_cu_left=100000 sub=cosmos1cv3lqdxz9v2kjer6w3rshu8ymrn0qm5m4h8fs2 sub_block=80
Sep 20 02:55:22 DBG adding tracked cu added_cu=1000 block=80 chain_id=mockspec provider=cosmos1ffaf8cm0tm8350vpnx3x4a64mmvllyp4zu4aqe sub=cosmos1cv3lqdxz9v2kjer6w3rshu8ymrn0qm5m4h8fs2
Sep 20 02:55:22 ERR current month iprpc reward not found error="did not reward providers IPRPC bonus"
    subscription_test.go:1553: 
        	Error Trace:	/home/runner/work/lava/lava/x/subscription/keeper/subscription_test.go:1553
        	Error:      	"[]" should have 1 item(s), but has 0
        	Test:       	TestSubscriptionCuExhaustAndUpgrade