Skip to content
Merged
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
8 changes: 7 additions & 1 deletion pkg/types/ccipocr3/contractconfigsnapshot.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,13 @@ type ConfigInfo struct {
}

type RMNCurseResponse struct {
CursedSubjects [][16]byte
// CursedSubjects is a list of cursed subjects.
//
// Note that the mapstructure tag is required for correct decoding of the response
// from the EVM RPC. Due to the field named `CursedSubjects` not matching
// the named return `subjects` from the contract, without it the codec would silently
// ignore the field and not populate it with the cursed subjects from the contract.
CursedSubjects [][16]byte `mapstructure:"subjects"`
}

// OffRampStaticChainConfig is used to parse the response from the offRamp contract's getStaticConfig method.
Expand Down
Loading