Comments (3)
We should not be copying the code
cell from the output of the setUp
function, just the storage
, origStorage
, balance
, and nonce
. That way, it won't break in this way. Requires modification here:
evm-semantics/kevm-pyk/src/kontrol/foundry.py
Line 1338 in 75583c1
from evm-semantics.
We should not be copying the
code
cell from the output of thesetUp
function, just thestorage
,origStorage
,balance
, andnonce
. That way, it won't break in this way. Requires modification here:evm-semantics/kevm-pyk/src/kontrol/foundry.py
Line 1338 in 75583c1
@ehildenb Are you sure that is the preferable behavior (just copying storage, origStorage, balance, and nonce? I am thinking about the case where setUp()
creates a contract. In that case wouldn't we want the account for that contract to be copied with its code?
I tried to address the issue in #2064 now by, after copying the accounts cell, overwriting the code cell for the account Foundry.address_TEST_CONTRACT()
to make sure it gets the newer version of the code.
from evm-semantics.
Yeah, if the setup function creates another contract, that should be copied as well. But the code from the test contract shouldn't be included I think, because that code can change even if the setup or storage doesn't.
from evm-semantics.
Related Issues (20)
- Kontrol does not `kup install` in system aarch64-linux
- Add `--port`, `--maude-port` to `rpc_args`
- KEVM build instructions are out of date
- `#parseHexBytes` should be declared total HOT 6
- Opt in to new type inference method HOT 2
- Constructor calls with symbolic parameters HOT 1
- De-duplicate rules introduced as part of the no-gas PR
- Segfaults on arm64 macOS
- Add option to break on every basic block HOT 1
- Fix warnings on non-exhaustive matches for rules HOT 2
- Duplicate lemmas between two different files HOT 2
- Default Behavior for Lemma File and Module Import in Kontrol
- Tests missing from Pytest harness HOT 1
- Examples in `VERIFICATION.md` do not work as expected
- `fast_check_subsumption` causes `Could not convert ML predicate to sort Bool` error
- Rule coverage and configuration well-formedness HOT 1
- Turn off `fast_check_subsumption` in CLI by default
- Investigate SMT timeout in `test-arithmetictest-test_wmul_wdiv_inverse_underflow-uint256-uint256-0-spec.k`
- Outdated examples in KEVM HOT 2
- Failure to make libcryptopp libff libsecp256k1 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from evm-semantics.