@@ -49,14 +49,14 @@ import (
4949 "github.com/ava-labs/subnet-evm/params/extras"
5050 "github.com/ava-labs/subnet-evm/plugin/evm/config"
5151 "github.com/ava-labs/subnet-evm/plugin/evm/header"
52+ "github.com/ava-labs/subnet-evm/plugin/evm/vmerrors"
5253 "github.com/ava-labs/subnet-evm/precompile/allowlist"
5354 "github.com/ava-labs/subnet-evm/precompile/contracts/deployerallowlist"
5455 "github.com/ava-labs/subnet-evm/precompile/contracts/feemanager"
5556 "github.com/ava-labs/subnet-evm/precompile/contracts/rewardmanager"
5657 "github.com/ava-labs/subnet-evm/precompile/contracts/txallowlist"
5758 "github.com/ava-labs/subnet-evm/rpc"
5859 "github.com/ava-labs/subnet-evm/utils"
59- "github.com/ava-labs/subnet-evm/vmerrs"
6060
6161 avagoconstants "github.com/ava-labs/avalanchego/utils/constants"
6262)
@@ -2163,7 +2163,7 @@ func TestTxAllowListSuccessfulTx(t *testing.T) {
21632163 }
21642164
21652165 errs = vm .txPool .AddRemotesSync ([]* types.Transaction {signedTx1 })
2166- if err := errs [0 ]; ! errors .Is (err , vmerrs .ErrSenderAddressNotAllowListed ) {
2166+ if err := errs [0 ]; ! errors .Is (err , vmerrors .ErrSenderAddressNotAllowListed ) {
21672167 t .Fatalf ("expected ErrSenderAddressNotAllowListed, got: %s" , err )
21682168 }
21692169
@@ -2173,7 +2173,7 @@ func TestTxAllowListSuccessfulTx(t *testing.T) {
21732173 require .NoError (t , err )
21742174
21752175 errs = vm .txPool .AddRemotesSync ([]* types.Transaction {signedTx2 })
2176- require .ErrorIs (t , errs [0 ], vmerrs .ErrSenderAddressNotAllowListed )
2176+ require .ErrorIs (t , errs [0 ], vmerrors .ErrSenderAddressNotAllowListed )
21772177
21782178 blk := issueAndAccept (t , issuer , vm )
21792179 newHead := <- newTxPoolHeadChan
@@ -2377,7 +2377,7 @@ func TestTxAllowListDisablePrecompile(t *testing.T) {
23772377 }
23782378
23792379 errs = vm .txPool .AddRemotesSync ([]* types.Transaction {signedTx1 })
2380- if err := errs [0 ]; ! errors .Is (err , vmerrs .ErrSenderAddressNotAllowListed ) {
2380+ if err := errs [0 ]; ! errors .Is (err , vmerrors .ErrSenderAddressNotAllowListed ) {
23812381 t .Fatalf ("expected ErrSenderAddressNotAllowListed, got: %s" , err )
23822382 }
23832383
@@ -2597,7 +2597,7 @@ func TestAllowFeeRecipientDisabled(t *testing.T) {
25972597
25982598 modifiedBlk := vm .newBlock (modifiedBlock )
25992599
2600- require .ErrorIs (t , modifiedBlk .Verify (context .Background ()), vmerrs .ErrInvalidCoinbase )
2600+ require .ErrorIs (t , modifiedBlk .Verify (context .Background ()), vmerrors .ErrInvalidCoinbase )
26012601}
26022602
26032603func TestAllowFeeRecipientEnabled (t * testing.T ) {
0 commit comments