Skip to content

Commit

Permalink
small fix to enable version compatiblity (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
AnieeG authored Aug 23, 2023
1 parent 2fde2cc commit 68732b7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions integration-tests/load/ccip_loadgen.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,11 @@ func (c *CCIPE2ELoad) BeforeAllCall(msgType string) {
if msgType == actions.TokenTransfer {
c.msg.TokenAmounts = tokenAndAmounts
}
dCfg, err := sourceCCIP.OnRamp.Instance.GetDynamicConfig(nil)
require.NoError(c.t, err, "failed to fetch dynamic config")
c.MaxDataSize = dCfg.MaxDataSize
if c.SendMaxDataIntermittently {
dCfg, err := sourceCCIP.OnRamp.Instance.GetDynamicConfig(nil)
require.NoError(c.t, err, "failed to fetch dynamic config")
c.MaxDataSize = dCfg.MaxDataSize
}

// wait for any pending txs before moving on
err = sourceCCIP.Common.ChainClient.WaitForEvents()
Expand Down

0 comments on commit 68732b7

Please sign in to comment.