Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

test: use offset for first block num of subscription #302

Merged
merged 1 commit into from
May 28, 2021

Conversation

mattsse
Copy link
Collaborator

@mattsse mattsse commented May 27, 2021

Motivation

The ipc::subscription test is unreliable and not deterministic wrt block numbers.

Solution

Use the diff of the block_num and the first subscription value as initial offset when comparing the block numbers.

@gakonst gakonst merged commit 4036cfb into gakonst:master May 28, 2021
meetmangukiya pushed a commit to meetmangukiya/ethers-rs that referenced this pull request Mar 21, 2022
* decode expectRevert in call traces

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

Successfully merging this pull request may close these issues.

2 participants