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 transactions where Scilla messages are sent to EVM contracts #2153

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

JamesHinshelwood
Copy link
Contributor

The correct behaviour is that EVM contracts should be treated as if they were EOAs in most non-exceptional cases. The exceptional cases are mentioned in #1610 and we'll make another change to this logic to deal with them later. This PR just adds the easy case and treats all EVM contracts as EOAs.

For now, we've just enabled this change in the proto-testnet, where we can easily update the nodes by the time the fork height is reached in ~1.5 days. There are further execution changes being worked on that we can release together in a single fork on the proto-mainnet.

The correct behaviour is that EVM contracts should be treated as
if they were EOAs in most non-exceptional cases. The exceptional
cases are mentioned in #1610 and we'll make another change to this
logic to deal with them later. This PR just adds the easy case and
treats all EVM contracts as EOAs.

For now, we just enable this change in the proto-testnet, where we
can easily update the nodes by the time the fork height is reached
in ~1.5 days. There are further execution changes being worked on
that we can release together in a single fork on the proto-mainnet.
Copy link
Contributor

🐰 Bencher Report

Branchfix-scilla-call-to-evm
Testbedself-hosted
Click to view all benchmark results
BenchmarkLatencyBenchmark Result
milliseconds (ms)
(Result Δ%)
Upper Boundary
milliseconds (ms)
(Limit %)
process-empty/process-empty📈 view plot
🚷 view threshold
8.39
(-8.93%)
10.35
(81.10%)
produce-full/produce-full📈 view plot
🚷 view threshold
1,719.20
(-12.32%)
2,274.86
(75.57%)
🐰 View full continuous benchmarking report in Bencher

@DrZoltanFazekas DrZoltanFazekas added this pull request to the merge queue Jan 14, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 14, 2025
@DrZoltanFazekas DrZoltanFazekas added this pull request to the merge queue Jan 14, 2025
Merged via the queue into main with commit fa61738 Jan 14, 2025
6 checks passed
@DrZoltanFazekas DrZoltanFazekas deleted the fix-scilla-call-to-evm branch January 14, 2025 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants