Skip to content

Commit

Permalink
Cleaned out unused dependency and fixed remaining golang lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
amit-momin committed Dec 6, 2024
1 parent d2a9ed5 commit 8625614
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ require (
github.com/smartcontractkit/chainlink-common v0.3.1-0.20241112140826-0e2daed34ef6
github.com/smartcontractkit/libocr v0.0.0-20241007185508-adbe57025f12
github.com/stretchr/testify v1.9.0
github.com/test-go/testify v1.1.4
go.uber.org/zap v1.27.0
golang.org/x/exp v0.0.0-20240909161429-701f63a606c0
golang.org/x/sync v0.8.0
Expand Down
3 changes: 2 additions & 1 deletion pkg/solana/chainwriter/chain_writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ type SolanaChainWriterService struct {
codecs map[string]types.Codec
}

//nolint // ignoring naming suggestion
type ChainWriterConfig struct {
Programs map[string]ProgramConfig
}
Expand Down Expand Up @@ -285,7 +286,7 @@ func (s *SolanaChainWriterService) GetFeeComponents(ctx context.Context) (*types

fee := s.ge.BaseComputeUnitPrice()
return &types.ChainFeeComponents{
ExecutionFee: big.NewInt(int64(fee)),
ExecutionFee: new(big.Int).SetUint64(fee),
DataAvailabilityFee: nil,
}, nil
}
Expand Down

0 comments on commit 8625614

Please sign in to comment.