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

Only emit cosmos events if no error in precompiles #1744

Merged
merged 3 commits into from
Jun 25, 2024

add event handling logic & tests

382466f
Select commit
Loading
Failed to load commit list.
Merged

Only emit cosmos events if no error in precompiles #1744

add event handling logic & tests
382466f
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Jun 25, 2024 in 0s

77.48% of diff hit (target 60.63%)

View this Pull Request on Codecov

77.48% of diff hit (target 60.63%)

Annotations

Check warning on line 351 in precompiles/bank/bank.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

precompiles/bank/bank.go#L351

Added line #L351 was not covered by tests

Check warning on line 47 in precompiles/common/precompiles.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

precompiles/common/precompiles.go#L43-L47

Added lines #L43 - L47 were not covered by tests

Check warning on line 54 in precompiles/common/precompiles.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

precompiles/common/precompiles.go#L49-L54

Added lines #L49 - L54 were not covered by tests

Check warning on line 64 in precompiles/common/precompiles.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

precompiles/common/precompiles.go#L64

Added line #L64 was not covered by tests

Check warning on line 124 in precompiles/common/precompiles.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

precompiles/common/precompiles.go#L123-L124

Added lines #L123 - L124 were not covered by tests

Check warning on line 151 in precompiles/common/precompiles.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

precompiles/common/precompiles.go#L150-L151

Added lines #L150 - L151 were not covered by tests

Check warning on line 156 in precompiles/common/precompiles.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

precompiles/common/precompiles.go#L155-L156

Added lines #L155 - L156 were not covered by tests

Check warning on line 174 in precompiles/common/precompiles.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

precompiles/common/precompiles.go#L173-L174

Added lines #L173 - L174 were not covered by tests

Check warning on line 239 in precompiles/common/precompiles.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

precompiles/common/precompiles.go#L236-L239

Added lines #L236 - L239 were not covered by tests

Check warning on line 241 in precompiles/common/precompiles.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

precompiles/common/precompiles.go#L241

Added line #L241 was not covered by tests

Check warning on line 97 in precompiles/distribution/distribution.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

precompiles/distribution/distribution.go#L97

Added line #L97 was not covered by tests

Check warning on line 280 in precompiles/ibc/ibc.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

precompiles/ibc/ibc.go#L280

Added line #L280 was not covered by tests

Check warning on line 292 in precompiles/ibc/ibc.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

precompiles/ibc/ibc.go#L292

Added line #L292 was not covered by tests

Check warning on line 306 in precompiles/ibc/ibc.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

precompiles/ibc/ibc.go#L306

Added line #L306 was not covered by tests

Check warning on line 77 in precompiles/json/json.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

precompiles/json/json.go#L76-L77

Added lines #L76 - L77 were not covered by tests

Check warning on line 92 in precompiles/oracle/oracle.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

precompiles/oracle/oracle.go#L91-L92

Added lines #L91 - L92 were not covered by tests

Check warning on line 143 in precompiles/oracle/oracle.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

precompiles/oracle/oracle.go#L143

Added line #L143 was not covered by tests

Check warning on line 169 in precompiles/pointer/pointer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

precompiles/pointer/pointer.go#L169

Added line #L169 was not covered by tests

Check warning on line 223 in precompiles/pointer/pointer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

precompiles/pointer/pointer.go#L223

Added line #L223 was not covered by tests

Check warning on line 67 in precompiles/pointerview/pointerview.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

precompiles/pointerview/pointerview.go#L67

Added line #L67 was not covered by tests

Check warning on line 71 in precompiles/pointerview/pointerview.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

precompiles/pointerview/pointerview.go#L71

Added line #L71 was not covered by tests

Check warning on line 58 in precompiles/wasmd/wasmd.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

precompiles/wasmd/wasmd.go#L58

Added line #L58 was not covered by tests