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 encoding of nested Scilla maps #2486

Merged
merged 2 commits into from
Mar 11, 2025
Merged

Conversation

JamesHinshelwood
Copy link
Collaborator

When returning a nested map to the Scilla interpreter, we need to omit the requested prefix map keys in the response. Also we now decode the keys as strings, rather than JSON strings.

Copy link
Contributor

github-actions bot commented Mar 10, 2025

🐰 Bencher Report

Branchjh-scilla-state-nested-maps
Testbedself-hosted
Click to view all benchmark results
BenchmarkLatencyBenchmark Result
milliseconds (ms)
(Result Δ%)
Upper Boundary
milliseconds (ms)
(Limit %)
full-blocks-erc20-transfers/full-blocks-erc20-transfers📈 view plot
🚷 view threshold
1,055.60 ms
(-1.43%)Baseline: 1,070.95 ms
1,388.33 ms
(76.03%)
full-blocks-evm-transfers/full-blocks-evm-transfers📈 view plot
🚷 view threshold
443.93 ms
(+9.52%)Baseline: 405.33 ms
490.74 ms
(90.46%)
full-blocks-zil-transfers/full-blocks-zil-transfers📈 view plot
🚷 view threshold
3,373.00 ms
(-16.17%)Baseline: 4,023.54 ms
5,575.47 ms
(60.50%)
process-empty/process-empty📈 view plot
🚷 view threshold
10.30 ms
(+3.21%)Baseline: 9.98 ms
10.72 ms
(96.06%)
🐰 View full continuous benchmarking report in Bencher

When returning a nested map to the Scilla interpreter, we need to
omit the requested prefix map keys in the response. Also we now
decode the keys as strings, rather than JSON strings.

Co-authored-by: Bartosz Zawistowski <[email protected]>
@JamesHinshelwood JamesHinshelwood added this pull request to the merge queue Mar 11, 2025
Merged via the queue into main with commit 6c3c1bd Mar 11, 2025
5 of 6 checks passed
@JamesHinshelwood JamesHinshelwood deleted the jh-scilla-state-nested-maps branch March 11, 2025 09:37
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.

3 participants