Skip to content

Commit

Permalink
Add named params.
Browse files Browse the repository at this point in the history
  • Loading branch information
winder committed Feb 25, 2025
1 parent 3a02939 commit 926456a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/capabilities/ccip/ocrimpls/contract_transmitter.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func ToExecCalldata(
report ocr3types.ReportWithInfo[[]byte],
_, _ [][32]byte,
_ [32]byte,
) (string, string, any, error) {
) (contract string, method string, args any, err error) {
// Note that the name of the struct field is very important, since the encoder used
// by the chainwriter uses mapstructure, which will use the struct field name to map
// to the argument name in the function call.
Expand Down

0 comments on commit 926456a

Please sign in to comment.