Commit 327d323
authored
Increase gas price for quote verifications (#3952)
# Description
Currently ~0.9% of the quote verifications fail because we pick an
insufficient gas price (see
[here](https://aws-es.cow.fi/_dashboards/app/data-explorer/discover#?_a=(discover:(columns:!(log,log_level),isDirty:!f,sort:!()),metadata:(indexPattern:'86e4a5a0-4e4b-11ef-85c5-3946a99ed1a7',view:discover))&_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-1h,to:now))&_q=(filters:!(('$state':(store:appState),meta:(alias:!n,disabled:!f,index:'86e4a5a0-4e4b-11ef-85c5-3946a99ed1a7',key:kubernetes.container_image,negate:!t,params:(query:nginx),type:phrase),query:(match_phrase:(kubernetes.container_image:nginx)))),query:(language:kuery,query:'%22failed%20to%20simulate%20quote%22%20and%20%22max%20fee%20per%20gas%20less%20than%20block%20base%20fee%22'))).
Not providing a gas price does not work because some tokens have special
logic depending on the block's gas price. However, since we only need
some working non-zero gas amount we can simply multiply it by 2 to
ensure the gas price is always sufficient.
The exact gas price we use doesn't really matter since we are only
interested in computing the used gas units.
# Changes
Double the gas price used for the quote verification simulation.1 parent 810c975 commit 327d323
File tree
1 file changed
+5
-1
lines changed1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
178 | 182 | | |
179 | | - | |
| 183 | + | |
180 | 184 | | |
181 | 185 | | |
182 | 186 | | |
| |||
0 commit comments