Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: provide configuration for locked id response value #65

Merged
merged 2 commits into from
Oct 21, 2019

Conversation

InoMurko
Copy link
Member

Hi!
We're using ethereumex at OmiseGO and we're recording Eth client responses with ExVCR but because of the stateful protocol property (incrementing ID's) we're hacking it around with reseting counters in ETS. But I guess it could be done cleaner by locking yourself on a specific value... here's a PR that does that.

lib/ethereumex/counter.ex Outdated Show resolved Hide resolved
lib/ethereumex/counter.ex Outdated Show resolved Hide resolved
@ayrat555 ayrat555 merged commit e0f98e3 into master Oct 21, 2019
@ayrat555 ayrat555 deleted the exvcr_recording_helpers branch October 21, 2019 12:07
@ayrat555
Copy link
Member

@InoMurko
Copy link
Member Author

Thanks @ayrat555!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants