Skip to content

Commit

Permalink
fixup: Respond to review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
maru-ava committed Jan 12, 2024
1 parent de3ae94 commit 6578aaf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 2 additions & 3 deletions plugin/evm/shared_test_vm.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import (

"github.com/ethereum/go-ethereum/common"

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

"github.com/ava-labs/avalanchego/api/keystore"
Expand Down Expand Up @@ -219,8 +218,8 @@ func GenesisVM(t require.TestingT,
require.NoError(t, err)

if finishBootstrapping {
assert.NoError(t, vm.SetState(context.Background(), snow.Bootstrapping))
assert.NoError(t, vm.SetState(context.Background(), snow.NormalOp))
require.NoError(t, vm.SetState(context.Background(), snow.Bootstrapping))
require.NoError(t, vm.SetState(context.Background(), snow.NormalOp))
}

return issuer, vm, db, m, appSender
Expand Down
6 changes: 4 additions & 2 deletions tests/integration/vm/atomic_tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@ var _ = ginkgo.Describe("[VM] [Atomic TX]", func() {
recipientEthAddress := evm.GetEthAddress(recipientKey)
tests.Outf("{{blue}} using recipient address: %+v{{/}}\n", recipientEthAddress)

xChainID := f.GetXChainID()

_ = f.IssueImportTx(
f.GetXChainID(),
xChainID,
importAmount,
recipientEthAddress,
[]*secp256k1.PrivateKey{
Expand All @@ -45,7 +47,7 @@ var _ = ginkgo.Describe("[VM] [Atomic TX]", func() {
_ = f.IssueExportTx(
f.GetAVAXAssetID(),
exportAmount,
f.GetXChainID(),
xChainID,
recipientKey.Address(),
[]*secp256k1.PrivateKey{
recipientKey,
Expand Down

0 comments on commit 6578aaf

Please sign in to comment.