-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
feat: implement auto-mining #4622
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
a9745f4
to
c50a9d7
Compare
@@ -1108,6 +1108,8 @@ describe("Eth module", function () { | |||
); | |||
} | |||
|
|||
const chainId = await this.provider.send("eth_chainId"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fvictorio & @alcuadrado, the test was using the chainId
specified in the provider config, but for a forked provider, we set it based on the remote's chain ID.
I just wanted to validate whether the fix follows the spirit of the original test?
@@ -688,6 +688,14 @@ impl ProviderData { | |||
} | |||
} | |||
|
|||
while self.mem_pool.has_pending_transactions() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fvictorio & @alcuadrado, I noticed that this part was lost in the port. Just checking; do we actually need to mine all pending transactions?
821d03d
to
d3e33a2
Compare
8d80fef
to
15e9ff0
Compare
No description provided.