diff --git a/dataavailability/datacommittee/datacommittee.go b/dataavailability/datacommittee/datacommittee.go index a817644a..3613ecd5 100644 --- a/dataavailability/datacommittee/datacommittee.go +++ b/dataavailability/datacommittee/datacommittee.go @@ -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 } @@ -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 } @@ -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 } diff --git a/test/scripts/config_kurtosis_for_local_run.sh b/test/scripts/config_kurtosis_for_local_run.sh index 98cf369c..a96146f3 100755 --- a/test/scripts/config_kurtosis_for_local_run.sh +++ b/test/scripts/config_kurtosis_for_local_run.sh @@ -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",