Skip to content

Commit f7ad0df

Browse files
Cey suggestion
1 parent a693a15 commit f7ad0df

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

plugin/evm/tx_gossip_test.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,12 @@ import (
3838
func TestEthTxGossip(t *testing.T) {
3939
require := require.New(t)
4040
ctx := t.Context()
41-
snowCtx := snowtest.Context(t, snowtest.CChainID)
41+
4242
validatorState := utilstest.NewTestValidatorState()
43+
subnetID, err := validatorState.GetSubnetID(t.Context(), snowtest.CChainID)
44+
require.NoError(err)
45+
46+
snowCtx := snowtest.Context(t, subnetID)
4347
snowCtx.ValidatorState = validatorState
4448

4549
responseSender := &enginetest.SenderStub{

0 commit comments

Comments
 (0)