Skip to content

refactor(gas): simplify EstimateGasForEvmCallType

Codecov / codecov/patch succeeded Nov 2, 2024 in 0s

72.19% of diff hit (target 0.00%)

View this Pull Request on Codecov

72.19% of diff hit (target 0.00%)

Annotations

Check warning on line 67 in x/evm/evmtest/test_deps.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/evmtest/test_deps.go#L65-L67

Added lines #L65 - L67 were not covered by tests

Check warning on line 45 in x/evm/keeper/call_contract.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/keeper/call_contract.go#L44-L45

Added lines #L44 - L45 were not covered by tests

Check warning on line 101 in x/evm/keeper/call_contract.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/keeper/call_contract.go#L99-L101

Added lines #L99 - L101 were not covered by tests

Check warning on line 115 in x/evm/keeper/call_contract.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/keeper/call_contract.go#L111-L115

Added lines #L111 - L115 were not covered by tests

Check warning on line 135 in x/evm/keeper/call_contract.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/keeper/call_contract.go#L133-L135

Added lines #L133 - L135 were not covered by tests

Check warning on line 87 in x/evm/keeper/erc20.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/keeper/erc20.go#L87

Added line #L87 was not covered by tests

Check warning on line 92 in x/evm/keeper/erc20.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/keeper/erc20.go#L92

Added line #L92 was not covered by tests

Check warning on line 103 in x/evm/keeper/erc20.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/keeper/erc20.go#L103

Added line #L103 was not covered by tests

Check warning on line 109 in x/evm/keeper/erc20.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/keeper/erc20.go#L109

Added line #L109 was not covered by tests

Check warning on line 114 in x/evm/keeper/erc20.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/keeper/erc20.go#L114

Added line #L114 was not covered by tests

Check warning on line 124 in x/evm/keeper/erc20.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/keeper/erc20.go#L124

Added line #L124 was not covered by tests

Check warning on line 329 in x/evm/keeper/grpc_query.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/keeper/grpc_query.go#L328-L329

Added lines #L328 - L329 were not covered by tests

Check warning on line 451 in x/evm/keeper/grpc_query.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/keeper/grpc_query.go#L450-L451

Added lines #L450 - L451 were not covered by tests

Check warning on line 454 in x/evm/keeper/grpc_query.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/keeper/grpc_query.go#L454

Added line #L454 was not covered by tests

Check warning on line 161 in x/evm/keeper/keeper.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/keeper/keeper.go#L156-L161

Added lines #L156 - L161 were not covered by tests

Check warning on line 166 in x/evm/keeper/keeper.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/keeper/keeper.go#L164-L166

Added lines #L164 - L166 were not covered by tests

Check warning on line 83 in x/evm/keeper/msg_server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/keeper/msg_server.go#L82-L83

Added lines #L82 - L83 were not covered by tests

Check warning on line 106 in x/evm/keeper/msg_server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/keeper/msg_server.go#L105-L106

Added lines #L105 - L106 were not covered by tests

Check warning on line 355 in x/evm/keeper/msg_server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/keeper/msg_server.go#L354-L355

Added lines #L354 - L355 were not covered by tests

Check warning on line 697 in x/evm/keeper/msg_server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/keeper/msg_server.go#L696-L697

Added lines #L696 - L697 were not covered by tests

Check warning on line 166 in x/evm/precompile/funtoken.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/precompile/funtoken.go#L166

Added line #L166 was not covered by tests

Check warning on line 175 in x/evm/precompile/funtoken.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/precompile/funtoken.go#L175

Added line #L175 was not covered by tests

Check warning on line 237 in x/evm/precompile/precompile.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/precompile/precompile.go#L236-L237

Added lines #L236 - L237 were not covered by tests