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!: ICS provider integration #28

Merged
merged 20 commits into from
Nov 29, 2024
Merged

feat!: ICS provider integration #28

merged 20 commits into from
Nov 29, 2024

Conversation

Reecepbcups
Copy link
Contributor

@Reecepbcups Reecepbcups commented Nov 26, 2024

Summary

  • Adds ICS provider support to Prysm
  • Adds the following CCV verification test
TestAllocateTokens
TestAllocateTokensToConsumerValidators
TestAllocateTokensToConsumerValidators/tokens_are_empty
TestAllocateTokensToConsumerValidators/consumer_valset_is_empty_-_total_voting_power_is_zero
TestAllocateTokensToConsumerValidators/expect_all_tokens_to_be_allocated_to_a_single_validator
TestAllocateTokensToConsumerValidators/expect_tokens_to_be_allocated_evenly_between_validators
TestAllocateTokensToConsumerValidatorsWithDifferentValidatorHeights
TestBasicSlashPacketThrottling
TestCISBeforeCCVEstablished
TestCheckMisbehaviour
TestCheckMisbehaviour/identical_headers_-_shouldn't_pass
TestCheckMisbehaviour/misbehaviour_isn't_for_a_consumer_chain_-_shouldn't_pass
TestCheckMisbehaviour/client_ID_doesn't_correspond_to_the_client_ID_of_consumer_chain__-_shouldn't_pass
TestCheckMisbehaviour/invalid_misbehaviour_with_different_header_height__-_shouldn't_pass
TestCheckMisbehaviour/invalid_misbehaviour_older_than_the_min_equivocation_evidence_height_-_shouldn't_pass
TestCheckMisbehaviour/one_header_of_the_misbehaviour_has_insufficient_voting_power_-_shouldn't_pass
TestCheckMisbehaviour/valid_misbehaviour_-_should_pass
TestConsumerPacketSendExpiredClient
TestDoubleSignDoesNotAffectThrottling
TestEndBlockRD
TestGetByzantineValidators
TestGetByzantineValidators/invalid_misbehaviour_-_Header1_is_empty
TestGetByzantineValidators/invalid_headers_-_Header2_is_empty
TestGetByzantineValidators/incorrect_valset_-_shouldn't_pass
TestGetByzantineValidators/incorrect_valset_2_-_shouldn't_pass
TestGetByzantineValidators/incorrect_signatures_-_shouldn't_pass
TestGetByzantineValidators/light_client_attack_-_lunatic_attack
TestGetByzantineValidators/light_client_attack_-_equivocation
TestGetByzantineValidators/light_client_attack_-_amnesia
TestHandleConsumerDoubleVoting
TestHandleConsumerDoubleVoting/cannot_find_consumer_chain_for_the_given_chain_ID_-_shouldn't_pass
TestHandleConsumerDoubleVoting/evidence_is_older_than_equivocation_evidence_min_height_-_shouldn't_pass
TestHandleConsumerDoubleVoting/the_votes_in_the_evidence_are_for_different_height_-_shouldn't_pass
TestHandleConsumerDoubleVoting/wrong_public_key_-_shouldn't_pass
TestHandleConsumerDoubleVoting/invalid_double_voting_evidence_with_identical_votes_-_shouldn't_pass
TestHandleConsumerDoubleVoting/valid_double_voting_evidence_1_-_should_pass
TestHandleConsumerDoubleVoting/valid_double_voting_evidence_2_-_should_pass
TestHandleConsumerDoubleVotingSlashesUndelegationsAndRelegations
TestHandleConsumerDoubleVotingSlashesUndelegationsAndRelegations/slash_undelegations_and_redelegations_when_getting_double_voting_evidence
TestHandleConsumerMisbehaviour
TestHandleSlashPacketDowntime
TestHistoricalInfo
TestIBCTransferMiddleware
TestIBCTransferMiddleware/invalid_IBC_packet
TestIBCTransferMiddleware/IBC_packet_sender_isn't_a_consumer_chain
TestIBCTransferMiddleware/IBC_Transfer_recipient_is_not_the_consumer_rewards_pool_address
TestIBCTransferMiddleware/IBC_Transfer_coin_denom_isn't_registered
TestIBCTransferMiddleware/successful_token_transfer_to_empty_pool
TestIBCTransferMiddleware/successful_token_transfer_to_filled_pool
TestKeyAssignment
TestMultiConsumerRewardsDistribution
TestMultiConsumerSlashPacketThrottling
TestOnRecvSlashPacketErrors
TestPacketRoundtrip
TestPacketSpam
TestQueueAndSendSlashPacket
TestQueueAndSendVSCMaturedPackets
TestRecycleTransferChannel
TestRelayAndApplyDowntimePacket
TestRewardsDistribution
TestSendRewardsRetries
TestSendRewardsToProvider
TestSlashAllValidators
TestSlashMeterAllowanceChanges
TestSlashPacketAcknowledgement
TestSlashRetries
TestSlashingSmallValidators
TestStopConsumerChain
TestStopConsumerOnChannelClosed
TestUndelegationCompletion
TestVSCPacketSendExpiredClient
TestValidatorDowntime
  • integration test w/ new provider suite

@Reecepbcups Reecepbcups changed the title feat: ICS provider integration feat!: ICS provider integration Nov 29, 2024
@Reecepbcups Reecepbcups marked this pull request as ready for review November 29, 2024 19:41
@Reecepbcups Reecepbcups merged commit 1d0d669 into main Nov 29, 2024
12 checks passed
@Reecepbcups Reecepbcups deleted the reece/ics-integration branch November 29, 2024 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant