Add ctx to vm calls, simplify Throttler logic. #2102
79.62% of diff hit (target 60.00%)
View this Pull Request on Codecov
79.62% of diff hit (target 60.00%)
Annotations
Check warning on line 30 in node/throttled_vm.go
codecov / codecov/patch
node/throttled_vm.go#L30
Added line #L30 was not covered by tests
Check warning on line 48 in node/throttled_vm.go
codecov / codecov/patch
node/throttled_vm.go#L48
Added line #L48 was not covered by tests
Check warning on line 97 in rpc/estimate_fee.go
codecov / codecov/patch
rpc/estimate_fee.go#L96-L97
Added lines #L96 - L97 were not covered by tests
Check warning on line 370 in rpc/trace.go
codecov / codecov/patch
rpc/trace.go#L369-L370
Added lines #L369 - L370 were not covered by tests
Check warning on line 50 in utils/throttler.go
codecov / codecov/patch
utils/throttler.go#L49-L50
Added lines #L49 - L50 were not covered by tests
Check warning on line 63 in utils/throttler.go
codecov / codecov/patch
utils/throttler.go#L63
Added line #L63 was not covered by tests