Documentation ¶
Index ¶
- type AccountsList
- type AggregationConcurrentSigning
- type AggregationDoubleSigning
- type AggregationProofReferenceSigning
- type AggregationReferenceSigning
- type AggregationSigning
- type AggregationSigningAccountNotFound
- type AttestationConcurrentSigning
- type AttestationDoubleSigning
- type AttestationFarFutureSigning
- type AttestationNoSlashingDataSigning
- type AttestationReferenceSigning
- type AttestationSigning
- type AttestationSigningAccountNotFound
- type ConfigRead
- type ConfigUpdate
- type ProposalConcurrentSigning
- type ProposalDoubleSigning
- type ProposalFarFutureSigning
- type ProposalReferenceSigning
- type ProposalSigning
- type ProposalSigningAccountNotFound
- type RandaoReferenceSigning
- type SlashingStorageRead
- type TestData
- type VoluntaryExitSigning
- type VoluntaryExitSigningAccountNotFound
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountsList ¶
type AccountsList struct { }
AccountsList tests accounts list endpoint.
func (*AccountsList) Name ¶
func (test *AccountsList) Name() string
Name returns the name of the test.
type AggregationConcurrentSigning ¶
type AggregationConcurrentSigning struct { }
AggregationConcurrentSigning tests aggregation signing method concurrently.
func (*AggregationConcurrentSigning) Name ¶
func (test *AggregationConcurrentSigning) Name() string
Name returns the name of the test.
func (*AggregationConcurrentSigning) Run ¶
func (test *AggregationConcurrentSigning) Run(t *testing.T)
Run runs the test.
type AggregationDoubleSigning ¶
type AggregationDoubleSigning struct { }
AggregationDoubleSigning tests aggregation signing method concurrently.
func (*AggregationDoubleSigning) Name ¶
func (test *AggregationDoubleSigning) Name() string
Name returns the name of the test.
func (*AggregationDoubleSigning) Run ¶
func (test *AggregationDoubleSigning) Run(t *testing.T)
Run runs the test.
type AggregationProofReferenceSigning ¶
type AggregationProofReferenceSigning struct { }
AggregationProofReferenceSigning tests sign aggregation endpoint. tested against a block and sig generated from https://github.com/prysmaticlabs/prysm/blob/develop/beacon-chain/sync/validate_aggregate_proof_test.go#L300
func (*AggregationProofReferenceSigning) Name ¶
func (test *AggregationProofReferenceSigning) Name() string
Name returns the name of the test.
func (*AggregationProofReferenceSigning) Run ¶
func (test *AggregationProofReferenceSigning) Run(t *testing.T)
Run run the test.
type AggregationReferenceSigning ¶
type AggregationReferenceSigning struct { }
AggregationReferenceSigning tests sign aggregation endpoint. tested against a block and sig generated from https://github.com/prysmaticlabs/prysm/blob/develop/beacon-chain/sync/validate_aggregate_proof_test.go#L300
func (*AggregationReferenceSigning) Name ¶
func (test *AggregationReferenceSigning) Name() string
Name returns the name of the test.
func (*AggregationReferenceSigning) Run ¶
func (test *AggregationReferenceSigning) Run(t *testing.T)
Run run the test.
type AggregationSigning ¶
type AggregationSigning struct { }
AggregationSigning tests sign aggregation endpoint.
func (*AggregationSigning) Name ¶
func (test *AggregationSigning) Name() string
Name returns the name of the test.
func (*AggregationSigning) Run ¶
func (test *AggregationSigning) Run(t *testing.T)
Run run the test.
type AggregationSigningAccountNotFound ¶
type AggregationSigningAccountNotFound struct { }
AggregationSigningAccountNotFound tests sign aggregation when account not found
func (*AggregationSigningAccountNotFound) Name ¶
func (test *AggregationSigningAccountNotFound) Name() string
Name returns the name of the test
func (*AggregationSigningAccountNotFound) Run ¶
func (test *AggregationSigningAccountNotFound) Run(t *testing.T)
Run runs the test.
type AttestationConcurrentSigning ¶
type AttestationConcurrentSigning struct { }
AttestationConcurrentSigning tests signing method concurrently.
func (*AttestationConcurrentSigning) Name ¶
func (test *AttestationConcurrentSigning) Name() string
Name returns the name of the test.
func (*AttestationConcurrentSigning) Run ¶
func (test *AttestationConcurrentSigning) Run(t *testing.T)
Run runs the test.
type AttestationDoubleSigning ¶
type AttestationDoubleSigning struct { }
AttestationDoubleSigning tests double signing case
func (*AttestationDoubleSigning) Name ¶
func (test *AttestationDoubleSigning) Name() string
Name returns the name of the test.
func (*AttestationDoubleSigning) Run ¶
func (test *AttestationDoubleSigning) Run(t *testing.T)
Run runs the test.
type AttestationFarFutureSigning ¶
type AttestationFarFutureSigning struct { }
AttestationFarFutureSigning tests sign attestation endpoint with future signing.
func (*AttestationFarFutureSigning) Name ¶
func (test *AttestationFarFutureSigning) Name() string
Name returns the name of the test.
func (*AttestationFarFutureSigning) Run ¶
func (test *AttestationFarFutureSigning) Run(t *testing.T)
Run run the test.
type AttestationNoSlashingDataSigning ¶
type AttestationNoSlashingDataSigning struct { }
AttestationNoSlashingDataSigning tests sign attestation endpoint.
func (*AttestationNoSlashingDataSigning) Name ¶
func (test *AttestationNoSlashingDataSigning) Name() string
Name returns the name of the test.
func (*AttestationNoSlashingDataSigning) Run ¶
func (test *AttestationNoSlashingDataSigning) Run(t *testing.T)
Run run the test.
type AttestationReferenceSigning ¶
type AttestationReferenceSigning struct { }
AttestationReferenceSigning tests sign attestation endpoint. tested against a block and sig generated from https://github.com/prysmaticlabs/prysm/blob/master/shared/testutil/block.go#L357
func (*AttestationReferenceSigning) Name ¶
func (test *AttestationReferenceSigning) Name() string
Name returns the name of the test.
func (*AttestationReferenceSigning) Run ¶
func (test *AttestationReferenceSigning) Run(t *testing.T)
Run run the test.
type AttestationSigning ¶
type AttestationSigning struct { }
AttestationSigning tests sign attestation endpoint.
func (*AttestationSigning) Name ¶
func (test *AttestationSigning) Name() string
Name returns the name of the test.
func (*AttestationSigning) Run ¶
func (test *AttestationSigning) Run(t *testing.T)
Run run the test.
type AttestationSigningAccountNotFound ¶
type AttestationSigningAccountNotFound struct { }
AttestationSigningAccountNotFound tests sign attestation when account not found
func (*AttestationSigningAccountNotFound) Name ¶
func (test *AttestationSigningAccountNotFound) Name() string
Name returns the name of the test
func (*AttestationSigningAccountNotFound) Run ¶
func (test *AttestationSigningAccountNotFound) Run(t *testing.T)
Run runs the test.
type ConfigUpdate ¶ added in v1.5.0
type ConfigUpdate struct { }
ConfigUpdate tests update config endpoint.
func (*ConfigUpdate) Name ¶ added in v1.5.0
func (test *ConfigUpdate) Name() string
Name returns the name of the test.
func (*ConfigUpdate) Run ¶ added in v1.5.0
func (test *ConfigUpdate) Run(t *testing.T)
Run runs the test.
type ProposalConcurrentSigning ¶
type ProposalConcurrentSigning struct {
BlockVersion spec.DataVersion
}
ProposalConcurrentSigning tests signing method concurrently.
func (*ProposalConcurrentSigning) Name ¶
func (test *ProposalConcurrentSigning) Name() string
Name returns the name of the test.
func (*ProposalConcurrentSigning) Run ¶
func (test *ProposalConcurrentSigning) Run(t *testing.T)
Run runs the test.
type ProposalDoubleSigning ¶
type ProposalDoubleSigning struct {
BlockVersion spec.DataVersion
}
ProposalDoubleSigning tests signing method concurrently.
func (*ProposalDoubleSigning) Name ¶
func (test *ProposalDoubleSigning) Name() string
Name returns the name of the test.
func (*ProposalDoubleSigning) Run ¶
func (test *ProposalDoubleSigning) Run(t *testing.T)
Run runs the test.
type ProposalFarFutureSigning ¶
type ProposalFarFutureSigning struct {
BlockVersion spec.DataVersion
}
ProposalFarFutureSigning tests sign proposal endpoint with future signing.
func (*ProposalFarFutureSigning) Name ¶
func (test *ProposalFarFutureSigning) Name() string
Name returns the name of the test.
func (*ProposalFarFutureSigning) Run ¶
func (test *ProposalFarFutureSigning) Run(t *testing.T)
Run run the test.
type ProposalReferenceSigning ¶
type ProposalReferenceSigning struct {
BlockVersion spec.DataVersion
}
ProposalReferenceSigning tests sign proposal endpoint.
func (*ProposalReferenceSigning) Name ¶
func (test *ProposalReferenceSigning) Name() string
Name returns the name of the test.
func (*ProposalReferenceSigning) Run ¶
func (test *ProposalReferenceSigning) Run(t *testing.T)
Run run the test.
type ProposalSigning ¶
type ProposalSigning struct {
BlockVersion spec.DataVersion
}
ProposalSigning tests sign proposal endpoint.
func (*ProposalSigning) Name ¶
func (test *ProposalSigning) Name() string
Name returns the name of the test.
type ProposalSigningAccountNotFound ¶
type ProposalSigningAccountNotFound struct {
BlockVersion spec.DataVersion
}
ProposalSigningAccountNotFound tests sign attestation when account not found
func (*ProposalSigningAccountNotFound) Name ¶
func (test *ProposalSigningAccountNotFound) Name() string
Name returns the name of the test
func (*ProposalSigningAccountNotFound) Run ¶
func (test *ProposalSigningAccountNotFound) Run(t *testing.T)
Run runs the test.
type RandaoReferenceSigning ¶
type RandaoReferenceSigning struct { }
RandaoReferenceSigning tests sign proposal endpoint.
func (*RandaoReferenceSigning) Name ¶
func (test *RandaoReferenceSigning) Name() string
Name returns the name of the test. tested against a block and sig generated from https://github.com/prysmaticlabs/prysm/blob/master/shared/testutil/block.go#L86
func (*RandaoReferenceSigning) Run ¶
func (test *RandaoReferenceSigning) Run(t *testing.T)
Run run the test.
type SlashingStorageRead ¶
type SlashingStorageRead struct {
BlockVersion spec.DataVersion
}
SlashingStorageRead tests slashing storage reading endpoint.
func (*SlashingStorageRead) Name ¶
func (test *SlashingStorageRead) Name() string
Name returns the name of the test.
func (*SlashingStorageRead) Run ¶
func (test *SlashingStorageRead) Run(t *testing.T)
Run run the test.
type VoluntaryExitSigning ¶ added in v1.6.0
type VoluntaryExitSigning struct { }
VoluntaryExitSigning tests sign voluntary exit endpoint.
func (*VoluntaryExitSigning) Name ¶ added in v1.6.0
func (test *VoluntaryExitSigning) Name() string
Name returns the name of the test.
func (*VoluntaryExitSigning) Run ¶ added in v1.6.0
func (test *VoluntaryExitSigning) Run(t *testing.T)
Run run the test.
type VoluntaryExitSigningAccountNotFound ¶ added in v1.6.0
type VoluntaryExitSigningAccountNotFound struct { }
VoluntaryExitSigningAccountNotFound tests sign voluntary exit when account not found
func (*VoluntaryExitSigningAccountNotFound) Name ¶ added in v1.6.0
func (test *VoluntaryExitSigningAccountNotFound) Name() string
Name returns the name of the test
func (*VoluntaryExitSigningAccountNotFound) Run ¶ added in v1.6.0
func (test *VoluntaryExitSigningAccountNotFound) Run(t *testing.T)
Run runs the test.
Source Files ¶
- accounts_list.go
- aggregation_concurrent_signing.go
- aggregation_double_signing.go
- aggregation_proof_reference_signing.go
- aggregation_reference_signing.go
- aggregation_signing.go
- aggregation_signing_account_not_found.go
- attestation_concurrent_signing.go
- attestation_double_signing.go
- attestation_far_future_signing.go
- attestation_no_slashing_data.go
- attestation_reference_signing.go
- attestation_signing.go
- attestation_signing_account_not_found.go
- config_read.go
- config_update.go
- proposal_concurrent_signing.go
- proposal_double_signing.go
- proposal_far_future_signing.go
- proposal_reference_signing.go
- proposal_signing.go
- proposal_signing_account_not_found.go
- randao_reference_signing.go
- slashing_storage_read.go
- voluntary_exit_signing.go
- voluntary_exit_signing_account_not_found.go