Skip to content

Commit 1447386

Browse files
committed
add new fields to unmarshal yaml
1 parent a1ab2a3 commit 1447386

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/types/types.go

+4
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,8 @@ func (s *LoadTestSpec) UnmarshalYAML(unmarshal func(interface{}) error) error {
167167
GasDenom string `yaml:"gas_denom"`
168168
Bech32Prefix string `yaml:"bech32_prefix"`
169169
Msgs []LoadTestMsg `yaml:"msgs"`
170+
UnorderedTxs bool `yaml:"unordered_txs"`
171+
TxTimeout time.Duration `yaml:"tx_timeout"`
170172
}
171173

172174
var aux LoadTestSpecAux
@@ -184,6 +186,8 @@ func (s *LoadTestSpec) UnmarshalYAML(unmarshal func(interface{}) error) error {
184186
GasDenom: aux.GasDenom,
185187
Bech32Prefix: aux.Bech32Prefix,
186188
Msgs: aux.Msgs,
189+
UnorderedTxs: aux.UnorderedTxs,
190+
TxTimeout: aux.TxTimeout,
187191
}
188192

189193
return nil

0 commit comments

Comments
 (0)