Skip to content

Commit

Permalink
make generate
Browse files Browse the repository at this point in the history
  • Loading branch information
lumtis committed Aug 21, 2024
1 parent f899d24 commit 41e81c1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 5 additions & 1 deletion cmd/zetae2e/local/local.go
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,11 @@ func localE2ETest(cmd *cobra.Command, _ []string) {
if testV2Migration {
// deposit erc20 to ensure that the custody contract has funds to migrate
oneThousand := big.NewInt(0).Mul(big.NewInt(1e18), big.NewInt(1000))
erc20Deposit := deployerRunner.DepositERC20WithAmountAndMessage(deployerRunner.EVMAddress(), oneThousand, []byte{})
erc20Deposit := deployerRunner.DepositERC20WithAmountAndMessage(
deployerRunner.EVMAddress(),
oneThousand,
[]byte{},
)
deployerRunner.WaitForMinedCCTX(erc20Deposit)

deployerRunner.RunV2Migration()
Expand Down
4 changes: 3 additions & 1 deletion zetaclient/chains/evm/observer/v2_inbound.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@ func (ob *Observer) ObserveGatewayDeposit(ctx context.Context, startBlock, toBlo
metrics.GetFilterLogsPerChain.WithLabelValues(ob.Chain().Name).Inc()

// TODO: remove in this PR
ob.Logger().Inbound.Info().Msgf("ObserveGatewayDeposit: observing deposits with gateway contract %s", gatewayAddr.Hex())
ob.Logger().
Inbound.Info().
Msgf("ObserveGatewayDeposit: observing deposits with gateway contract %s", gatewayAddr.Hex())

Check warning on line 96 in zetaclient/chains/evm/observer/v2_inbound.go

View check run for this annotation

Codecov / codecov/patch

zetaclient/chains/evm/observer/v2_inbound.go#L94-L96

Added lines #L94 - L96 were not covered by tests

// post to zetacore
lastScanned := uint64(0)
Expand Down

0 comments on commit 41e81c1

Please sign in to comment.