contract.js simplified

This commit is contained in:
Marek Kotewicz
2015-01-29 13:32:32 +01:00
parent 842b8cf323
commit c8ee08c24b
6 changed files with 289 additions and 246 deletions

View File

@@ -7,13 +7,9 @@ describe('event', function () {
// given
var address = '0x012345';
var signature = '0x987654';
var e = {
name: 'test',
type: 'event',
};
// when
var impl = event(e, address, signature);
var impl = event(address, signature);
var result = impl();
// then
@@ -23,3 +19,4 @@ describe('event', function () {
});
});