Skip to content
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

refactor: use errors.As to detect out of gas exceptions #3320

Merged
merged 7 commits into from
Dec 19, 2024

Merge branch 'dev/morgan/errors-as-vmkeeper' of github.com:thehowl/gn…

3f95424
Select commit
Loading
Failed to load commit list.
Merged

refactor: use errors.As to detect out of gas exceptions #3320

Merge branch 'dev/morgan/errors-as-vmkeeper' of github.com:thehowl/gn…
3f95424
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Dec 19, 2024 in 1s

33.89% of diff hit (target 63.14%)

View this Pull Request on Codecov

33.89% of diff hit (target 63.14%)

Annotations

Check warning on line 599 in gno.land/pkg/sdk/vm/keeper.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gno.land/pkg/sdk/vm/keeper.go#L599

Added line #L599 was not covered by tests

Check warning on line 620 in gno.land/pkg/sdk/vm/keeper.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gno.land/pkg/sdk/vm/keeper.go#L618-L620

Added lines #L618 - L620 were not covered by tests

Check warning on line 29 in gnovm/cmd/benchops/main.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/cmd/benchops/main.go#L21-L29

Added lines #L21 - L29 were not covered by tests

Check warning on line 38 in gnovm/cmd/benchops/main.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/cmd/benchops/main.go#L31-L38

Added lines #L31 - L38 were not covered by tests

Check warning on line 54 in gnovm/cmd/benchops/main.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/cmd/benchops/main.go#L41-L54

Added lines #L41 - L54 were not covered by tests

Check warning on line 25 in gnovm/cmd/benchops/run.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/cmd/benchops/run.go#L19-L25

Added lines #L19 - L25 were not covered by tests

Check warning on line 35 in gnovm/cmd/benchops/run.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/cmd/benchops/run.go#L28-L35

Added lines #L28 - L35 were not covered by tests

Check warning on line 49 in gnovm/cmd/benchops/run.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/cmd/benchops/run.go#L41-L49

Added lines #L41 - L49 were not covered by tests

Check warning on line 76 in gnovm/cmd/benchops/run.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/cmd/benchops/run.go#L67-L76

Added lines #L67 - L76 were not covered by tests

Check warning on line 129 in gnovm/cmd/benchops/run.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/cmd/benchops/run.go#L127-L129

Added lines #L127 - L129 were not covered by tests

Check warning on line 34 in gnovm/cmd/benchops/stats.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/cmd/benchops/stats.go#L31-L34

Added lines #L31 - L34 were not covered by tests

Check warning on line 49 in gnovm/cmd/benchops/stats.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/cmd/benchops/stats.go#L36-L49

Added lines #L36 - L49 were not covered by tests

Check warning on line 54 in gnovm/cmd/benchops/stats.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/cmd/benchops/stats.go#L51-L54

Added lines #L51 - L54 were not covered by tests

Check warning on line 58 in gnovm/cmd/benchops/stats.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/cmd/benchops/stats.go#L56-L58

Added lines #L56 - L58 were not covered by tests

Check warning on line 60 in gnovm/cmd/benchops/stats.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/cmd/benchops/stats.go#L60

Added line #L60 was not covered by tests

Check warning on line 69 in gnovm/cmd/benchops/stats.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/cmd/benchops/stats.go#L64-L69

Added lines #L64 - L69 were not covered by tests

Check warning on line 77 in gnovm/cmd/benchops/stats.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/cmd/benchops/stats.go#L71-L77

Added lines #L71 - L77 were not covered by tests

Check warning on line 81 in gnovm/cmd/benchops/stats.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/cmd/benchops/stats.go#L79-L81

Added lines #L79 - L81 were not covered by tests

Check warning on line 85 in gnovm/cmd/benchops/stats.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/cmd/benchops/stats.go#L84-L85

Added lines #L84 - L85 were not covered by tests

Check warning on line 96 in gnovm/cmd/benchops/stats.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/cmd/benchops/stats.go#L88-L96

Added lines #L88 - L96 were not covered by tests

Check warning on line 102 in gnovm/cmd/benchops/stats.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/cmd/benchops/stats.go#L98-L102

Added lines #L98 - L102 were not covered by tests

Check warning on line 112 in gnovm/cmd/benchops/stats.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/cmd/benchops/stats.go#L105-L112

Added lines #L105 - L112 were not covered by tests

Check warning on line 119 in gnovm/cmd/benchops/stats.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/cmd/benchops/stats.go#L115-L119

Added lines #L115 - L119 were not covered by tests

Check warning on line 132 in gnovm/cmd/benchops/stats.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/cmd/benchops/stats.go#L121-L132

Added lines #L121 - L132 were not covered by tests

Check warning on line 142 in gnovm/cmd/benchops/stats.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gnovm/cmd/benchops/stats.go#L135-L142

Added lines #L135 - L142 were not covered by tests