Skip to content

Commit

Permalink
fix: set deployment heights when starting from genesis
Browse files Browse the repository at this point in the history
  • Loading branch information
wwestgarth committed Sep 2, 2024
1 parent 6058ab1 commit ef05eaf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
- [11616](https://github.com/vegaprotocol/vega/issues/11616) - `AMM` tradable volume now calculated purely in positions to prevent loss of precision.
- [11544](https://github.com/vegaprotocol/vega/issues/11544) - Fix empty candles stream.
- [11583](https://github.com/vegaprotocol/vega/issues/11583) - Rough bound on price interval when matching with `AMMs` is now looser and calculated in the `AMM` engine.
- [11633](https://github.com/vegaprotocol/vega/issues/11633) - Use bridge deployment heights from network parameter when starting network from genesis.
- [11619](https://github.com/vegaprotocol/vega/issues/11619) - Fix `EstimatePositions` API for capped futures.
- [11579](https://github.com/vegaprotocol/vega/issues/11579) - Spot calculate fee on amend, use order price if no amended price is provided.
- [11585](https://github.com/vegaprotocol/vega/issues/11585) - Initialise rebate stats service in API.
Expand Down
8 changes: 4 additions & 4 deletions core/evtforward/ethereum/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,10 @@ func NewEngine(
poller: newPoller(cfg.PollEventRetryDuration.Get()),
filterer: filterer,
forwarder: fwdWrapper{forwarder, chainID},
stakingDeployment: &Contract{stakingDeployment, 0, 0},
vestingDeployment: &Contract{vestingDeployment, 0, 0},
multisigDeployment: &Contract{multiSigDeployment, 0, 0},
collateralDeployment: &Contract{collateralDeployment, 0, 0},
stakingDeployment: &Contract{stakingDeployment, stakingDeployment.DeploymentBlockHeight(), stakingDeployment.DeploymentBlockHeight()},
vestingDeployment: &Contract{vestingDeployment, vestingDeployment.DeploymentBlockHeight(), vestingDeployment.DeploymentBlockHeight()},
multisigDeployment: &Contract{multiSigDeployment, multiSigDeployment.DeploymentBlockHeight(), multiSigDeployment.DeploymentBlockHeight()},
collateralDeployment: &Contract{collateralDeployment, collateralDeployment.DeploymentBlockHeight(), collateralDeployment.DeploymentBlockHeight()},
chainID: chainID,
heartbeatInterval: uint64(heartbeatInterval),
}
Expand Down

0 comments on commit ef05eaf

Please sign in to comment.