Removed unnecessary test (#3342)
This commit is contained in:
parent
1deeb0d901
commit
6ad909e7b3
@ -119,19 +119,6 @@ describe('api/contract/Contract', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
describe('parseTransactionEvents', () => {
|
describe('parseTransactionEvents', () => {
|
||||||
it('checks for unmatched signatures', () => {
|
|
||||||
const contract = new Contract(eth, [{ anonymous: false, name: 'Message', type: 'event' }]);
|
|
||||||
expect(() => contract.parseTransactionEvents({
|
|
||||||
logs: [{
|
|
||||||
data: '0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000063cf90d3f0410092fc0fca41846f5962239791950000000000000000000000000000000000000000000000000000000056e6c85f0000000000000000000000000000000000000000000000000001000000004fcd00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000d706f7374286d6573736167652900000000000000000000000000000000000000',
|
|
||||||
topics: [
|
|
||||||
'0x954ba6c157daf8a26539574ffa64203c044691aa57251af95f4b48d85ec00dd5',
|
|
||||||
'0x0000000000000000000000000000000000000000000000000001000000004fe0'
|
|
||||||
]
|
|
||||||
}]
|
|
||||||
})).to.throw(/event matching signature/);
|
|
||||||
});
|
|
||||||
|
|
||||||
it('parses a transaction log into the data', () => {
|
it('parses a transaction log into the data', () => {
|
||||||
const contract = new Contract(eth, [
|
const contract = new Contract(eth, [
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user