We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a931c3f commit 8bdbd9fCopy full SHA for 8bdbd9f
1 file changed
pkg/types/ccipocr3/contractconfigsnapshot.go
@@ -85,7 +85,13 @@ type ConfigInfo struct {
85
}
86
87
type RMNCurseResponse struct {
88
- CursedSubjects [][16]byte
+ // CursedSubjects is a list of cursed subjects.
89
+ //
90
+ // Note that the mapstructure tag is required for correct decoding of the response
91
+ // from the EVM RPC. Due to the field named `CursedSubjects` not matching
92
+ // the named return `subjects` from the contract, without it the codec would silently
93
+ // ignore the field and not populate it with the cursed subjects from the contract.
94
+ CursedSubjects [][16]byte `mapstructure:"subjects"`
95
96
97
// OffRampStaticChainConfig is used to parse the response from the offRamp contract's getStaticConfig method.
0 commit comments