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

fix(evm): commit temporary state on precompile start, avoiding bug stemming from uncommitted, dirty journal entries in the EVM StateDB #2086

Merged
merged 17 commits into from
Oct 24, 2024

chore: changelog + small cleanup

516aece
Select commit
Loading
Failed to load commit list.
Merged

fix(evm): commit temporary state on precompile start, avoiding bug stemming from uncommitted, dirty journal entries in the EVM StateDB #2086

chore: changelog + small cleanup
516aece
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Oct 22, 2024 in 1s

34.41% of diff hit (target 0.00%)

View this Pull Request on Codecov

34.41% of diff hit (target 0.00%)

Annotations

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/evmtest/test_deps.go#L60-L61

Added lines #L60 - L61 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/evmtest/tx.go#L129-L131

Added lines #L129 - L131 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/evmtest/tx.go#L161

Added line #L161 was not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/evmtest/tx.go#L166

Added line #L166 was not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/evmtest/tx.go#L170-L171

Added lines #L170 - L171 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/evmtest/tx.go#L174

Added line #L174 was not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/evmtest/tx.go#L184

Added line #L184 was not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/evmtest/tx.go#L220-L222

Added lines #L220 - L222 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/evmtest/tx.go#L225

Added line #L225 was not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/evmtest/tx.go#L237-L248

Added lines #L237 - L248 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/evmtest/tx.go#L250-L255

Added lines #L250 - L255 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/evmtest/tx.go#L257-L261

Added lines #L257 - L261 were 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#L263-L264

Added lines #L263 - L264 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/evmtest/tx.go#L280

Added line #L280 was not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/evmtest/tx.go#L283

Added line #L283 was not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/evmtest/tx.go#L295

Added line #L295 was not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/evmtest/tx.go#L299-L301

Added lines #L299 - L301 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/precompile/funtoken.go#L69-L70

Added lines #L69 - L70 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/precompile/funtoken.go#L72-L73

Added lines #L72 - L73 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/precompile/precompile.go#L143-L145

Added lines #L143 - L145 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/precompile/precompile.go#L163-L164

Added lines #L163 - L164 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/precompile/precompile.go#L168-L170

Added lines #L168 - L170 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/precompile/precompile.go#L173-L174

Added lines #L173 - L174 were not covered by tests

Check warning on line 109 in x/evm/precompile/wasm.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/precompile/wasm.go#L108-L109

Added lines #L108 - L109 were not covered by tests

Check warning on line 172 in x/evm/statedb/journal.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/evm/statedb/journal.go#L161-L172

Added lines #L161 - L172 were not covered by tests