Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ require (
github.com/smartcontractkit/chain-selectors v1.0.89
github.com/smartcontractkit/chainlink-common/pkg/chipingress v0.0.10
github.com/smartcontractkit/chainlink-protos/billing/go v0.0.0-20251024234028-0988426d98f4
github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20260326111235-8c09d1a4491f
github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20260401201627-3792bc50e91d
github.com/smartcontractkit/chainlink-protos/linking-service/go v0.0.0-20251002192024-d2ad9222409b
github.com/smartcontractkit/chainlink-protos/node-platform v0.0.0-20260205130626-db2a2aab956b
github.com/smartcontractkit/chainlink-protos/storage-service v0.3.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 11 additions & 2 deletions pkg/capabilities/v2/chain-capabilities/evm/client.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions pkg/capabilities/v2/chain-capabilities/evm/proto_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ func ConvertCallMsgToProto(msg *evmtypes.CallMsg) (*CallMsg, error) {
From: msg.From[:],
To: msg.To[:],
Data: msg.Data,
Gas: msg.Gas,
}, nil
}

Expand All @@ -173,6 +174,7 @@ func ConvertCallMsgFromProto(protoMsg *CallMsg) (*evmtypes.CallMsg, error) {
callMsg := &evmtypes.CallMsg{
Data: protoMsg.GetData(),
To: toAddress,
Gas: protoMsg.Gas,
}

// fromAddress is optional
Expand Down
13 changes: 11 additions & 2 deletions pkg/chains/evm/evm.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pkg/chains/evm/evm.proto
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ message CallMsg {
bytes from = 1; // sender address in evm address [20]byte fix-sized array format
bytes to = 2; // contract address in evm address [20]byte fix-sized array format
bytes data = 3; // solidity-spec abi encoded bytes
uint64 gas = 4; // gas limit, 0 is unbounded
}

message Topics {
Expand Down
2 changes: 2 additions & 0 deletions pkg/chains/evm/proto_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ func ConvertCallMsgToProto(msg *evmtypes.CallMsg) (*CallMsg, error) {
From: msg.From[:],
To: msg.To[:],
Data: msg.Data,
Gas: msg.Gas,
}, nil
}

Expand All @@ -260,6 +261,7 @@ func ConvertCallMsgFromProto(protoMsg *CallMsg) (*evmtypes.CallMsg, error) {
callMsg := &evmtypes.CallMsg{
Data: protoMsg.GetData(),
To: toAddress,
Gas: protoMsg.Gas,
}

// fromAddress is optional
Expand Down
1 change: 1 addition & 0 deletions pkg/types/chains/evm/evm.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ type CallMsg struct {
To Address
From Address // from field is needed if contract read depends on msg.sender
Data ABIPayload
Gas uint64 // max gas allowed for the call (0 means no limit)
}

// matches evm-style transaction
Expand Down
Loading