-
Notifications
You must be signed in to change notification settings - Fork 491
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
core,eth,internal/cli,internal/ethapi: add --rpc.allow-unprotected-txs flag to allow txs to get replayed (for shadow node) #705
Conversation
…s flag to allow txs to get replayed (for shadow node)
Codecov ReportBase: 56.55% // Head: 56.49% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## develop #705 +/- ##
===========================================
- Coverage 56.55% 56.49% -0.06%
===========================================
Files 610 610
Lines 71129 71289 +160
===========================================
+ Hits 40230 40278 +48
- Misses 27443 27533 +90
- Partials 3456 3478 +22
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
This patch is also useful for testing 4337 so that deterministic deployer contracts can be deployed at the correct address for testing. cc: @pratikspatil024 |
I'm afraid I don't have much context. But perhaps you could enlighten me on this :) |
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.
Please update all the TOML config files.
Done: 4917fde |
This PR is stale because it has been open 21 days with no activity. Remove stale label or comment or this will be closed in 14 days. |
Just noticed this gem while merging the latest changes. Does anyone actually review these patches? ` if pool.config.AllowUnprotectedTxs { Why the hell is this changing global pool configuration inside the transaction add path? |
Hey @kaber2 , firstly let's please try to watch our tone in these conversations; we're all trying to collaborate here. Secondly, the signer change happens only when |
Description
This PR introduces
rpc.allow-unprotected-txs
flag to facilitate replaying of transactions from a different network to a shadow node (i.e a node producing blocks in isolation with the state of the network from which transactions are being relayed).Changes
Nodes audience
Currently, this flag is only meant to be enabled if we are running a shadow node.
Checklist
Testing