smartnode icon indicating copy to clipboard operation
smartnode copied to clipboard

Re-set the gas settings for iterated client calls, fixing a bug with several activation paths

Open jshufro opened this issue 3 years ago • 0 comments

This is a less-than-optimal but quick solution to https://github.com/rocket-pool/smartnode/issues/194

Optimally, the Client struct should be made less stateful. Users of the client interface should be required to pass the gas settings in at time of invocation, providing a compile-time enforcement that the settings are correctly derived.

I have only minimally tested this code.

jshufro avatar Mar 11 '22 22:03 jshufro