Skip to content

Commit

Permalink
fix: ut and lint
Browse files Browse the repository at this point in the history
  • Loading branch information
goran-ethernal committed Oct 28, 2024
1 parent f5cd1f5 commit 76a7a25
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion aggsender/aggsender.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ func (a *AggSender) saveCertificateToFile(signedCertificate *agglayer.SignedCert
a.log.Errorf("error marshalling certificate: %w", err)
}

if err = os.WriteFile(fn, jsonData, 0644); err != nil {
if err = os.WriteFile(fn, jsonData, 0644); err != nil { //nolint:gosec // we are writing to a tmp file

Check failure on line 203 in aggsender/aggsender.go

View workflow job for this annotation

GitHub Actions / lint

Magic number: 0644, in <argument> detected (mnd)
a.log.Errorf("error writing certificate to file: %w", err)
}
}
Expand Down
1 change: 0 additions & 1 deletion config/default.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ L2Coinbase = "0xfa3b44587990f97ba8b6ba7e230a5f0e95d14b3d"
SequencerPrivateKeyPath = "/app/sequencer.keystore"
SequencerPrivateKeyPassword = "test"
WitnessURL = "http://localhost:8123"
AggLayerURL = "https://agglayer-dev.polygon.technology"
AggregatorPrivateKeyPath = "/app/keystore/aggregator.keystore"
AggregatorPrivateKeyPassword = "testonly"
Expand Down
2 changes: 0 additions & 2 deletions test/config/kurtosis-cdk-node-config.toml.template
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ polygonBridgeAddr = "{{.zkevm_bridge_address}}"

RPCURL = "http://{{.l2_rpc_name}}{{.deployment_suffix}}:{{.zkevm_rpc_http_port}}"
WitnessURL = "http://{{.l2_rpc_name}}{{.deployment_suffix}}:{{.zkevm_rpc_http_port}}"
AggLayerURL = "http://agglayer:{{.agglayer_port}}"



# This values can be override directly from genesis.json
Expand Down

0 comments on commit 76a7a25

Please sign in to comment.