Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
aider: Moved the ChunkSize field to the BeaconValidatorsConfig struct.
# Aider chat conversation: USER: move the chunk size tot he BeaconValidatorsConfig struct ASSISTANT: To move the `ChunkSize` field to the `BeaconValidatorsConfig` struct, we need to: 1. Remove the `ChunkSize` field from the `Config` struct in `pkg/cannon/deriver/config.go`. 2. Add the `ChunkSize` field to the `BeaconValidatorsConfig` struct in the appropriate file. Let's start with the changes to `pkg/cannon/deriver/config.go`. pkg/cannon/deriver/config.go ```go <<<<<<< SEARCH BeaconValidatorsConfig v1.BeaconValidatorsDeriverConfig `yaml:"beaconValidators"` ChunkSize int `yaml:"chunkSize" default:"100"` ======= BeaconValidatorsConfig v1.BeaconValidatorsDeriverConfig `yaml:"beaconValidators"` >>>>>>> REPLACE ``` Next, we need to add the `ChunkSize` field to the `BeaconValidatorsConfig` struct. Please add the file where the `BeaconValidatorsDeriverConfig` struct is defined, likely something like `pkg/cannon/deriver/beacon/eth/v1/config.go`, to the chat.
- Loading branch information