Skip to content

Commit

Permalink
PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
joanestebanr committed Jul 25, 2024
1 parent f499b7f commit f1085b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 deletions.
10 changes: 5 additions & 5 deletions dataavailability/datacommittee/datacommittee.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,9 @@ type signatureMsg struct {
err error
}

func (s *Backend) PostSequenceElderberry(ctx context.Context, batchesData [][]byte) ([]byte, error) {
func (d *Backend) PostSequenceElderberry(ctx context.Context, batchesData [][]byte) ([]byte, error) {
// Get current committee
committee, err := s.getCurrentDataCommittee()
committee, err := d.getCurrentDataCommittee()
if err != nil {
return nil, err
}
Expand All @@ -172,7 +172,7 @@ func (s *Backend) PostSequenceElderberry(ctx context.Context, batchesData [][]by
for _, batchData := range batchesData {
sequence = append(sequence, batchData)
}
signedSequence, err := sequence.Sign(s.privKey)
signedSequence, err := sequence.Sign(d.privKey)
if err != nil {
return nil, err
}
Expand All @@ -191,9 +191,9 @@ func (s *Backend) PostSequenceElderberry(ctx context.Context, batchesData [][]by
return collectSignatures(committee, ch, cancelSignatureCollection)
}

func (s *Backend) PostSequence(ctx context.Context, sequence etherman.SequenceBanana) ([]byte, error) {
func (d *Backend) PostSequence(ctx context.Context, sequence etherman.SequenceBanana) ([]byte, error) {
// Get current committee
committee, err := s.getCurrentDataCommittee()
committee, err := d.getCurrentDataCommittee()
if err != nil {
return nil, err
}
Expand Down
9 changes: 0 additions & 9 deletions test/scripts/config_kurtosis_for_local_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,6 @@ echo "- Add next configuration to vscode launch.json"
cat << EOF
{
"name": "run local_docker",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "cmd/",
"args":["run","-cfg","$DEST/test.kurtosis.toml",
"--components", "sequence-sender",
"--custom-network-file", "$DEST/local_config/genesis.json"
]
},
"type": "go",
"request": "launch",
"mode": "auto",
Expand Down

0 comments on commit f1085b6

Please sign in to comment.