Skip to content

Commit 4f4a926

Browse files
authored
bump common (#44)
* bump common
1 parent 2df4841 commit 4f4a926

File tree

3 files changed

+15
-11
lines changed

3 files changed

+15
-11
lines changed

chains/go.mod

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/smartcontractkit/chainlink-framework/chains
22

3-
go 1.24
3+
go 1.24.1
44

55
toolchain go1.24.2
66

@@ -9,7 +9,7 @@ require (
99
github.com/jpillora/backoff v1.0.0
1010
github.com/prometheus/client_golang v1.21.1
1111
github.com/shopspring/decimal v1.4.0
12-
github.com/smartcontractkit/chainlink-common v0.7.1-0.20250421201900-888b361327e8
12+
github.com/smartcontractkit/chainlink-common v0.7.1-0.20250509155341-2b5a5170a351
1313
github.com/smartcontractkit/chainlink-framework/multinode v0.0.0-20250115203616-a2ea5e50b260
1414
github.com/stretchr/testify v1.10.0
1515
go.uber.org/multierr v1.11.0
@@ -44,6 +44,7 @@ require (
4444
github.com/prometheus/client_model v0.6.1 // indirect
4545
github.com/prometheus/common v0.63.0 // indirect
4646
github.com/prometheus/procfs v0.16.0 // indirect
47+
github.com/smartcontractkit/freeport v0.1.0 // indirect
4748
github.com/smartcontractkit/libocr v0.0.0-20250220133800-f3b940c4f298 // indirect
4849
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
4950
go.opentelemetry.io/otel v1.35.0 // indirect
@@ -68,7 +69,7 @@ require (
6869
golang.org/x/crypto v0.36.0 // indirect
6970
golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c // indirect
7071
golang.org/x/net v0.38.0 // indirect
71-
golang.org/x/sys v0.31.0 // indirect
72+
golang.org/x/sys v0.32.0 // indirect
7273
golang.org/x/text v0.23.0 // indirect
7374
google.golang.org/genproto/googleapis/api v0.0.0-20250218202821-56aae31c358a // indirect
7475
google.golang.org/genproto/googleapis/rpc v0.0.0-20250324211829-b45e905df463 // indirect

chains/go.sum

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,12 @@ github.com/sasha-s/go-deadlock v0.3.5 h1:tNCOEEDG6tBqrNDOX35j/7hL5FcFViG6awUGROb
9090
github.com/sasha-s/go-deadlock v0.3.5/go.mod h1:bugP6EGbdGYObIlx7pUZtWqlvo8k9H6vCBBsiChJQ5U=
9191
github.com/shopspring/decimal v1.4.0 h1:bxl37RwXBklmTi0C79JfXCEBD1cqqHt0bbgBAGFp81k=
9292
github.com/shopspring/decimal v1.4.0/go.mod h1:gawqmDU56v4yIKSwfBSFip1HdCCXN8/+DMd9qYNcwME=
93-
github.com/smartcontractkit/chainlink-common v0.7.1-0.20250421201900-888b361327e8 h1:eId0v+nd9DsDJHoHZ+P21/QUlDq8MrABFji6htEyu10=
94-
github.com/smartcontractkit/chainlink-common v0.7.1-0.20250421201900-888b361327e8/go.mod h1:vHs/mPpAztdKJtzRKLnmLinmpS78fBh9sAuyKqQrQ+I=
93+
github.com/smartcontractkit/chainlink-common v0.7.1-0.20250509155341-2b5a5170a351 h1:luR7oS01qzkw8anxnSYaXurzKzMdgl5ROKFm1/I6llY=
94+
github.com/smartcontractkit/chainlink-common v0.7.1-0.20250509155341-2b5a5170a351/go.mod h1:uNF6+noody47ZdmRwymDZAnQ7eKTXLzMKvl41LA63lo=
9595
github.com/smartcontractkit/chainlink-framework/multinode v0.0.0-20250115203616-a2ea5e50b260 h1:See2isL6KdrTJDlVKWv8qiyYqWhYUcubU2e5yKXV1oY=
9696
github.com/smartcontractkit/chainlink-framework/multinode v0.0.0-20250115203616-a2ea5e50b260/go.mod h1:4JqpgFy01LaqG1yM2iFTzwX3ZgcAvW9WdstBZQgPHzU=
97+
github.com/smartcontractkit/freeport v0.1.0 h1:3MZHeti5m+tSTBCq5R8rhawFHxrnQZYBZVL+xgS1sPo=
98+
github.com/smartcontractkit/freeport v0.1.0/go.mod h1:T4zH9R8R8lVWKfU7tUvYz2o2jMv1OpGCdpY2j2QZXzU=
9799
github.com/smartcontractkit/libocr v0.0.0-20250220133800-f3b940c4f298 h1:PKiqnVOTChlH4a4ljJKL3OKGRgYfIpJS4YD1daAIKks=
98100
github.com/smartcontractkit/libocr v0.0.0-20250220133800-f3b940c4f298/go.mod h1:Mb7+/LC4edz7HyHxX4QkE42pSuov4AV68+AxBXAap0o=
99101
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
@@ -160,8 +162,8 @@ golang.org/x/net v0.38.0 h1:vRMAPTMaeGqVhG5QyLJHqNDwecKTomGeqbnfZyKlBI8=
160162
golang.org/x/net v0.38.0/go.mod h1:ivrbrMbzFq5J41QOQh0siUuly180yBYtLp+CKbEaFx8=
161163
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
162164
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
163-
golang.org/x/sys v0.31.0 h1:ioabZlmFYtWhL+TRYpcnNlLwhyxaM9kWTDEmfnprqik=
164-
golang.org/x/sys v0.31.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=
165+
golang.org/x/sys v0.32.0 h1:s77OFDvIQeibCmezSnk/q6iAfkdiQaJi4VzroCFrN20=
166+
golang.org/x/sys v0.32.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=
165167
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
166168
golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
167169
golang.org/x/text v0.23.0 h1:D71I7dUrlY+VX0gQShAThNGHFxZ13dGLBHQLVl1mJlY=

chains/txmgr/txmgr.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import (
1717
"github.com/smartcontractkit/chainlink-common/pkg/logger"
1818
"github.com/smartcontractkit/chainlink-common/pkg/services"
1919
commontypes "github.com/smartcontractkit/chainlink-common/pkg/types"
20+
evmtypes "github.com/smartcontractkit/chainlink-common/pkg/types/chains/evm"
2021
"github.com/smartcontractkit/chainlink-common/pkg/utils"
2122

2223
"github.com/smartcontractkit/chainlink-framework/chains"
@@ -57,7 +58,7 @@ type TxManager[CID chains.ID, HEAD chains.Head[BHASH], ADDR chains.Hashable, THA
5758
FindEarliestUnconfirmedTxAttemptBlock(ctx context.Context) (nullv4.Int, error)
5859
CountTransactionsByState(ctx context.Context, state txmgrtypes.TxState) (count uint32, err error)
5960
GetTransactionStatus(ctx context.Context, transactionID string) (state commontypes.TransactionStatus, err error)
60-
GetTransactionFee(ctx context.Context, transactionID string) (fee *commontypes.TransactionFee, err error)
61+
GetTransactionFee(ctx context.Context, transactionID string) (fee *evmtypes.TransactionFee, err error)
6162
}
6263

6364
type TxmV2Wrapper[CID chains.ID, HEAD chains.Head[BHASH], ADDR chains.Hashable, THASH chains.Hashable, BHASH chains.Hashable, SEQ chains.Sequence, FEE fees.Fee] interface {
@@ -731,7 +732,7 @@ func (b *Txm[CID, HEAD, ADDR, THASH, BHASH, R, SEQ, FEE]) GetTransactionStatus(c
731732
}
732733
}
733734

734-
func (b *Txm[CID, HEAD, ADDR, THASH, BHASH, R, SEQ, FEE]) GetTransactionFee(ctx context.Context, transactionID string) (fee *commontypes.TransactionFee, err error) {
735+
func (b *Txm[CID, HEAD, ADDR, THASH, BHASH, R, SEQ, FEE]) GetTransactionFee(ctx context.Context, transactionID string) (fee *evmtypes.TransactionFee, err error) {
735736
receipt, err := b.txStore.FindReceiptWithIdempotencyKey(ctx, transactionID, b.chainID)
736737
if err != nil {
737738
return fee, fmt.Errorf("failed to find receipt with IdempotencyKey %s: %w", transactionID, err)
@@ -755,7 +756,7 @@ func (b *Txm[CID, HEAD, ADDR, THASH, BHASH, R, SEQ, FEE]) GetTransactionFee(ctx
755756
return fee, fmt.Errorf("tx status is not finalized")
756757
}
757758

758-
fee = &commontypes.TransactionFee{
759+
fee = &evmtypes.TransactionFee{
759760
TransactionFee: totalFee,
760761
}
761762

@@ -843,7 +844,7 @@ func (n *NullTxManager[CID, HEAD, ADDR, THASH, BHASH, SEQ, FEE]) GetTransactionS
843844
return
844845
}
845846

846-
func (n *NullTxManager[CID, HEAD, ADDR, THASH, BHASH, SEQ, FEE]) GetTransactionFee(ctx context.Context, transactionID string) (fee *commontypes.TransactionFee, err error) {
847+
func (n *NullTxManager[CID, HEAD, ADDR, THASH, BHASH, SEQ, FEE]) GetTransactionFee(ctx context.Context, transactionID string) (fee *evmtypes.TransactionFee, err error) {
847848
return
848849
}
849850

0 commit comments

Comments
 (0)