Skip to content

fix(evmante): check balance in wei, deduct unibi gas

Codecov / codecov/patch succeeded Aug 5, 2024 in 0s

70.70% of diff hit (target 0.00%)

View this Pull Request on Codecov

70.70% of diff hit (target 0.00%)

Annotations

Check warning on line 59 in eth/eth_account.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

eth/eth_account.go#L58-L59

Added lines #L58 - L59 were not covered by tests

Check warning on line 63 in eth/eth_account.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

eth/eth_account.go#L62-L63

Added lines #L62 - L63 were not covered by tests

Check warning on line 66 in eth/eth_account.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

eth/eth_account.go#L66

Added line #L66 was not covered by tests

Check warning on line 74 in eth/eth_account.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

eth/eth_account.go#L74

Added line #L74 was not covered by tests

Check warning on line 91 in eth/eth_account.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

eth/eth_account.go#L91

Added line #L91 was not covered by tests

Check warning on line 264 in x/evm/evmtest/tx.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/evmtest/tx.go#L249-L264

Added lines #L249 - L264 were not covered by tests

Check warning on line 269 in x/evm/evmtest/tx.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/evmtest/tx.go#L267-L269

Added lines #L267 - L269 were not covered by tests

Check warning on line 271 in x/evm/evmtest/tx.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/evmtest/tx.go#L271

Added line #L271 was not covered by tests

Check warning on line 97 in x/evm/keeper/gas_fees.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/keeper/gas_fees.go#L97

Added line #L97 was not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/keeper/gas_fees.go#L100

Added line #L100 was not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/keeper/grpc_query.go#L426

Added line #L426 was not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/keeper/grpc_query.go#L441

Added line #L441 was not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/keeper/msg_server.go#L475

Added line #L475 was not covered by tests

Check warning on line 36 in x/evm/query.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/query.go#L36

Added line #L36 was not covered by tests

Check warning on line 54 in x/evm/query.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/query.go#L46-L54

Added lines #L46 - L54 were not covered by tests

Check warning on line 73 in x/evm/statedb/state_object.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/statedb/state_object.go#L72-L73

Added lines #L72 - L73 were not covered by tests