Skip to content

Commit aad5176

Browse files
feat: add support for abi errors in contract.event.solo.test.ts
1 parent ca2b259 commit aad5176

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/network/tests/thor-client/contracts/contract.event.solo.test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {
1111
eventExampleAbi,
1212
eventExampleBytecode
1313
} from './fixture';
14-
import { InvalidAbiEventError } from '@vechain/sdk-errors';
14+
import { InvalidAbiFragment } from '@vechain/sdk-errors';
1515
import { ERC20_ABI } from '@vechain/sdk-core';
1616

1717
/**
@@ -266,7 +266,7 @@ describe('ThorClient - ERC20 Contracts', () => {
266266
}
267267
]
268268
})
269-
).rejects.toThrowError(InvalidAbiEventError);
269+
).rejects.toThrowError(InvalidAbiFragment);
270270
}, 30000); // Set a timeout of 10000ms for this test
271271

272272
/**

0 commit comments

Comments
 (0)