Update babel, fix CI build due to breaking changes (#3754)

* Update babel to latest version

* Re-add circular deps plugin

* Bump for build

* Fixes for babel build
This commit is contained in:
Jaco Greeff
2016-12-09 02:33:12 +01:00
committed by GitHub
parent e1ad347cdb
commit f9a24f3c8e
10 changed files with 31 additions and 194 deletions

View File

@@ -262,12 +262,11 @@ export default class Contract {
}
const options = this._getFilterOptions(event, _options);
options.fromBlock = 0;
options.toBlock = 'latest';
return this._api.eth
.getLogs({
fromBlock: 0,
toBlock: 'latest',
...options
})
.getLogs(options)
.then((logs) => this.parseEventLogs(logs));
}