Skip to content

Commit

Permalink
e2e test fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
manojkgorle committed Jan 8, 2025
1 parent 13adad4 commit b06d68a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ func (c *Controller) Accepted(ctx context.Context, blk *chain.StatelessBlock) er
}
if result.Success {
for _, act := range tx.Actions {
switch act.(type) { //nolint:gocritic
switch act.(type) { //nolint:gocritic,gosimple
case *actions.Transfer:
c.metrics.transfer.Inc()
case *actions.SequencerMsg:
Expand Down
4 changes: 2 additions & 2 deletions tests/e2e/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -887,7 +887,7 @@ var _ = ginkgo.Describe("[Test]", func() {
},
&actions.Auction{
AuctionInfo: actions.AuctionInfo{
EpochNumber: epochNumber + 2,
EpochNumber: epochNumber + 1,
BidPrice: 100,
BuilderSEQAddress: builderSEQAddress,
},
Expand All @@ -899,7 +899,7 @@ var _ = ginkgo.Describe("[Test]", func() {
require.NoError(err)
_, tx, _, err := instances[0].cli.GenerateTransaction(ctx, parser, txActions, factory, 0)
require.NoError(err)
hutils.Outf("{{green}}txID of submitted data:{{/}}%s at height:{{/}}\n", tx.ID().String(), hght)
hutils.Outf("{{green}}txID of submitted data:{{/}}%s at height:{{/}}%d\n", tx.ID().String(), hght)

err = instances[0].wsCli.RegisterTx(tx)
require.NoError(err)
Expand Down

0 comments on commit b06d68a

Please sign in to comment.