Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

Cached safety checking alternative #310

Draft
wants to merge 45 commits into
base: master
Choose a base branch
from

Conversation

maurelian
Copy link
Collaborator

@maurelian maurelian commented Mar 10, 2021

Description

A variation on #253, which hashes the bytecode locally and checking the cache first.

This means there are two calls when the bytecode is not cached.

Version Uncached gas Cached gas
PR 253 7_044_545 (saves 133_166) 5_536_215
This one 7_177_711 5_428_717 (saves 107_498)

Tests will fail, as the benchmarks are set for the other version.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants