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

feat(evm): gas usage in precompiles: limits, local gas meters #2093

Merged
merged 33 commits into from
Nov 5, 2024

fix: eth api test

8d0e2fb
Select commit
Loading
Failed to load commit list.
Merged

feat(evm): gas usage in precompiles: limits, local gas meters #2093

fix: eth api test
8d0e2fb
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Nov 5, 2024 in 1s

68.95% of diff hit (target 0.00%)

View this Pull Request on Codecov

68.95% of diff hit (target 0.00%)

Annotations

Check warning on line 299 in eth/rpc/backend/call_tx.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

eth/rpc/backend/call_tx.go#L298-L299

Added lines #L298 - L299 were not covered by tests

Check warning on line 301 in eth/rpc/backend/call_tx.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

eth/rpc/backend/call_tx.go#L301

Added line #L301 was not covered by tests

Check warning on line 60 in x/evm/errors.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/errors.go#L56-L60

Added lines #L56 - L60 were not covered by tests

Check warning on line 63 in x/evm/errors.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/errors.go#L63

Added line #L63 was not covered by tests

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 137 in x/evm/keeper/call_contract.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

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

Added lines #L135 - L137 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/keeper/erc20.go#L82

Added line #L82 was not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/keeper/erc20.go#L93

Added line #L93 was not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/keeper/erc20.go#L99

Added line #L99 was not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/keeper/erc20.go#L104

Added line #L104 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 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 112 in x/evm/keeper/keeper.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/keeper/keeper.go#L112

Added line #L112 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 81 in x/evm/keeper/msg_server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/keeper/msg_server.go#L80-L81

Added lines #L80 - L81 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/keeper/msg_server.go#L91

Added line #L91 was not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/keeper/msg_server.go#L99-L100

Added lines #L99 - L100 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/keeper/msg_server.go#L103

Added line #L103 was not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/keeper/msg_server.go#L285

Added line #L285 was not covered by tests