Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Force toBlock not being set when calling myContract.events.<eventName> or myContract.events.allEvents #3208

Closed
wants to merge 766 commits into from

Conversation

nachomazzara
Copy link
Contributor

@nachomazzara nachomazzara commented Nov 14, 2019

Description

Throw if toBlock is set when calling myContract.events.<eventName> or myContract.events.allEvents

Fixes #3207

Type of change

  • Breaking change (fix or feature that would cause existing functionality to not work as expected). If it is being called with toBlock: 'latest'

@nachomazzara nachomazzara changed the title Issue/3207 Force toBlock not being set when calling myContract.events.<eventName> or myContract.events.allEvents Nov 14, 2019
@nachomazzara
Copy link
Contributor Author

See this commint to better understand the change.

The files had a wrong format based on the .editorconfig rules.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) to 84.358% when pulling ac5f90b on nachomazzara:issue/3207 into 79d0aff on ethereum:1.x.

@nivida nivida added 1.x 1.0 related issues Bug Addressing a bug labels Nov 19, 2019
@nivida nivida self-requested a review November 28, 2019 13:49
@nivida nivida added the Review Needed Maintainer(s) need to review label Nov 28, 2019
@wbt
Copy link
Contributor

wbt commented May 29, 2020

Looks like those automated tests hung.

@nachomazzara
Copy link
Contributor Author

Do we want it? I can resolve the conflicts

@ryanio
Copy link
Collaborator

ryanio commented May 30, 2020

@nachomazzara that would be awesome, thank you

@ryanio ryanio requested review from ryanio and removed request for nivida and ryanio May 30, 2020 00:27
@ryanio ryanio self-assigned this May 30, 2020
@ryanio
Copy link
Collaborator

ryanio commented Jun 3, 2020

@nachomazzara when you get a chance to update the branch, could you leave out any lint/format changes for now? just so we have a clean diff of just the most relevant changes.

it looks good though and i hope to include this in v1.2.10

nivida and others added 24 commits June 3, 2020 21:16
…d web3-core. Constructor types updated to improve TS DX
…mber) and BlockNumber type in web3-core extended with BigNumber
The position parameter was set as number, but a string is required to specify
a position for a slot with a large index (ie greater than 53 bits) since it
requires more precision that js max int.
…ed version, CHANGELOG updated and new web3 version defined if required
…s to the root README file with all the required details
…te smaller bundles without the 'browser' entry it's webpack who can't handle this that good
@nachomazzara
Copy link
Contributor Author

Closed By #3567

@nachomazzara nachomazzara deleted the issue/3207 branch June 4, 2020 01:09
@nachomazzara
Copy link
Contributor Author

@ryanio Github gots crazy and I needed to create a new PR #3567

@ryanio
Copy link
Collaborator

ryanio commented Jun 4, 2020

@nachomazzara no problem, thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
1.x 1.0 related issues Bug Addressing a bug Review Needed Maintainer(s) need to review
Projects
None yet