Conversation
apidiff results - backwards-incompatible changes detected ❌Module:
|
| Element | Change |
|---|---|
./pkg/types.CCIPProviderArgs.OffRampAddress |
changed from string to github.com/smartcontractkit/chainlink-common/pkg/types/ccipocr3.UnknownAddress |
./pkg/types.CCIPProviderArgs.PluginType |
changed from uint32 to github.com/smartcontractkit/chainlink-common/pkg/types/ccipocr3.PluginType |
(Full summary: https://github.com/smartcontractkit/chainlink-common/actions/runs/17987758849/#summary-51170136424)
| // pluginType is actually a uint8 but uint32 is the smallest supported by protobuf | ||
| uint32 pluginType = 5; | ||
| map<string, bytes> synced_addresses = 6; // map[contract_name]contract_address | ||
| string transmitter = 7; |
There was a problem hiding this comment.
nit: could we name this TransmitterAddress or TransmitterAddrString to make it clear what it is
There was a problem hiding this comment.
Updated in the latest commit. Went with TransmitterAddress
| bytes offRampAddress = 4; | ||
| // pluginType is actually a uint8 but uint32 is the smallest supported by protobuf | ||
| uint32 pluginType = 5; | ||
| map<string, bytes> synced_addresses = 6; // map[contract_name]contract_address | ||
| string transmitterAddress = 7; |
There was a problem hiding this comment.
you had mentioned bytes offRampAddress is easier to manage if it's passed in as bytes, does the same apply for transmitterAddress?
There was a problem hiding this comment.
Keeping transmitter as a string is ok since we don't have to decode it. It's just used to serve as a string out of the transmitter here
| OffRampAddress: rargs.OffRampAddress, | ||
| PluginType: rargs.PluginType, | ||
| PluginType: ccipocr3types.PluginType(rargs.PluginType), | ||
| Transmitter: rargs.Transmitter, |
| pluginType uint32 | ||
| offRampAddress ccipocr3.UnknownAddress | ||
| pluginType ccipocr3.PluginType | ||
| transmitter string |
| ExternalJobID uuid.UUID | ||
| OffRampAddress ccipocr3.UnknownAddress | ||
| PluginType ccipocr3.PluginType | ||
| TransmitterAddress string |
There was a problem hiding this comment.
similar to above, could we make this ccipocr3.UnknownAddress for consistency, or does that introduce codec complications
1405e13 to
076fb06
Compare
No description provided.